CN117544688A - Network service method, device, server and storage medium - Google Patents

Network service method, device, server and storage medium Download PDF

Info

Publication number
CN117544688A
CN117544688A CN202311296451.XA CN202311296451A CN117544688A CN 117544688 A CN117544688 A CN 117544688A CN 202311296451 A CN202311296451 A CN 202311296451A CN 117544688 A CN117544688 A CN 117544688A
Authority
CN
China
Prior art keywords
node
node set
computing
value
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311296451.XA
Other languages
Chinese (zh)
Inventor
杨洋
居先
张岩
曹畅
佟恬
马力俊
王施霁
曹云飞
霍龙社
崔煜喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311296451.XA priority Critical patent/CN117544688A/en
Publication of CN117544688A publication Critical patent/CN117544688A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

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

Abstract

The application provides a network service method, a device, a server and a storage medium, relates to the technical field of networks, and solves the technical problem that the capability of a node for providing network service for a terminal in the related technology may be insufficient. The method comprises the following steps: acquiring node performance parameters of each of a plurality of computing nodes; determining a performance value of each node set based on node performance parameters of computing power nodes included in each node set in at least one node set, wherein the number of computing power nodes included in one node set is the same as the number of sub-services included in a target network service, and one computing power node included in the node set is one of at least one computing power node corresponding to one sub-service included in the target network service; and providing the target network service for the user terminal based on the computing power nodes included in the target node set under the condition that the performance value of the target node set is greater than or equal to the value threshold.

Description

Network service method, device, server and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a network service method, a device, a server, and a storage medium.
Background
Currently, a server acquires a network request sent by a terminal, determines a node capable of providing the network service for the terminal based on an identifier of the network service included in the network request, and provides the network service for the terminal by the node.
However, in the above method, the capability of the node for providing the network service to the terminal may be insufficient, so that the network service cannot be provided to the terminal, and the effectiveness of the network service is reduced.
Disclosure of Invention
The application provides a network service method, a device, a server and a storage medium, which solve the technical problem that the capability of a node for providing network service for a terminal in the related technology may be insufficient.
In a first aspect, the present application provides a network service method, including: acquiring node performance parameters of each of a plurality of computing nodes, wherein the node performance parameter of one computing node is used for representing the computing quality of the computing node; determining a performance value of each node set based on node performance parameters of computing power nodes included in each node set in at least one node set, wherein the number of computing power nodes included in one node set is the same as the number of sub-services included in a target network service, and one computing power node included in the node set is one of at least one computing power node corresponding to one sub-service included in the target network service; and providing the target network service for the user terminal based on the computing power node included in the target node set, wherein the target node set is one of the at least one node set, under the condition that the performance value of the target node set is greater than or equal to a value threshold.
Optionally, the node performance parameter of a computing node includes one or more of a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
Optionally, the node performance parameter of one computing node includes a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node, and the determining the performance value of each node set based on the node performance parameter of the computing node included in each node set in at least one node set includes: determining a time delay value of each node set based on the time delay of the computing power node included in each node set, determining a guarantee value of each node set based on the fault rate of the computing power node included in each node set, and determining a resource utilization value of each node set based on the resource utilization rate of the computing power node included in each node set; and determining the performance value of each node set based on the time delay value of each node set, the guarantee value of each node set and the resource utilization value of each node set.
Optionally, the determining the delay value of each node set based on the delay of the computing power node included in the each node set includes: and determining the sum of the time delays of the computing power nodes included in the target node set as the time delay value of the target node set.
Optionally, the determining the delay value of each node set based on the delay of the computing power node included in the each node set includes: determining a total time delay of each node set in the at least one node set, wherein the total time delay of one node set is a sum of time delays of computing power nodes included in the node set; and determining the ratio of the total time delay of the target node set to the target time delay as the time delay value of the target node set, wherein the target time delay is the average value of the total time delay of each node set.
Optionally, the determining the guarantee value of each node set based on the failure rate of the computing power node included in the each node set includes: determining a guarantee value of each computing node included in the target node set, wherein the guarantee value of one computing node is a difference value between the failure rate of the computing node and the target value; and determining the product of the guarantee values of each computing node included in the target node set as the guarantee value of the target node set.
In a second aspect, the present application provides a network service device, including: the device comprises an acquisition module, a determination module and a processing module; the acquisition module is used for acquiring the node performance parameters of each of a plurality of computing nodes, wherein the node performance parameter of one computing node is used for representing the computing quality of the computing node; the determining module is configured to determine a performance value of each node set based on a node performance parameter of an computing node included in each node set in at least one node set, where a number of computing nodes included in one node set is the same as a number of sub-services included in a target network service, and one computing node included in the node set is one of at least one computing node corresponding to one sub-service included in the target network service; the processing module is configured to provide the target network service for the user terminal based on the computing power node included in the target node set, where the performance value of the target node set is greater than or equal to a value threshold, and the target node set is one of the at least one node set.
Optionally, the node performance parameter of a computing node includes one or more of a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
Optionally, the node performance parameter of one computing node includes a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node, and the determining module is specifically configured to determine a time delay value of each node set based on the time delay of the computing node included in each node set, determine a guarantee value of each node set based on the failure rate of the computing node included in each node set, and determine a resource utilization value of each node set based on the resource utilization rate of the computing node included in each node set; the determining module is further specifically configured to determine a performance value of each node set based on the delay value of each node set, the guarantee value of each node set, and the resource utilization value of each node set.
Optionally, the determining module is specifically configured to determine a sum of delays of the computing nodes included in the target node set as a delay value of the target node set.
Optionally, the determining module is specifically configured to determine a total delay of each node set in the at least one node set, where the total delay of one node set is a sum of delays of computing power nodes included in the node set; the determining module is specifically further configured to determine a ratio between a total time delay of the target node set and a target time delay as a time delay value of the target node set, where the target time delay is an average value of the total time delay of each node set.
Optionally, the determining module is specifically configured to determine a guarantee value of each computing node included in the target node set, where the guarantee value of one computing node is a difference between a failure rate of the computing node and the target value; the determining module is further specifically configured to determine a product of the security values of each computing node included in the target node set as the security value of the target node set.
In a third aspect, the present application provides a server comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the alternative network service methods of the first aspect described above.
In a fourth aspect, the present application provides a computer readable storage medium having instructions stored thereon that, when executed by a server, enable the server to perform any one of the selectable network service methods of the first aspect.
According to the network service method, device, server and storage medium, the server obtains the node performance parameters of each of a plurality of computing nodes, the server determines the performance value of each node set based on the node performance parameters of the computing nodes included in each node set in at least one node set, and because the node performance parameters of one computing node in the plurality of computing nodes are used for representing the computing quality of the computing node, the performance value of each node set can be used for representing the stability and reliability of computing resources provided by the one node set to the target network service, and under the condition that the performance value of the target node set is greater than or equal to a numerical threshold, the target node set can provide computing resources with high performance level to the target network service, so that the service quality of the target network service can be effectively ensured, and the effectiveness of the network service is reliably ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a network architecture of a network service system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a network service method according to an embodiment of the present application;
fig. 3 is a flow chart of another network service method according to an embodiment of the present application;
fig. 4 is a flow chart of another network service method according to an embodiment of the present application;
fig. 5 is a flow chart of another network service method according to an embodiment of the present application;
fig. 6 is a flowchart of another network service method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network service device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another network service device according to an embodiment of the present application.
Detailed Description
The network service method, device, server and storage medium provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The terms "first" and "second" and the like in the description and the drawings of the present application are used for distinguishing between different objects and not for describing a particular sequence of objects, e.g. the first weight parameter and the second weight parameter etc. are used for distinguishing between different weight parameters and not for describing a particular sequence of weight parameters.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
Based on the description in the background art, since the capability of a node for providing a network service to a terminal may be insufficient in the related art, the network service cannot be provided to the terminal, and the effectiveness of the network service is reduced. Based on this, the embodiment of the application provides a network service method, device, server and storage medium, the server obtains the node performance parameters of each of a plurality of computing nodes, the server determines the performance value of each node set based on the node performance parameters of the computing nodes included in each node set in at least one node set, and because the node performance parameters of one computing node in the plurality of computing nodes are used for representing the computing quality of the computing node, the performance value of each node set can be used for representing the stability and reliability of the computing resources provided by one node set to the target network service, and when the performance value of the target node set is greater than or equal to a value threshold, it is explained that the target node set can provide the computing resources with high performance level to the target network service, and the service quality of the target network service can be effectively ensured.
The network service method, device, server and storage medium provided in the embodiments of the present application may be applied to a network service system, as shown in fig. 1, where the network service system includes a server 101, a node set 102 and a terminal 103. In general, in practical application, the connection between the above devices may be a wireless connection, and for convenience and intuitionistic representation of the connection relationship between the devices, a solid line is used in fig. 1 to illustrate.
The server 101 provides, for the terminal 103, a target network service based on the computing nodes included in the node set 102, where the number of sub-services included in the target network service is the same as the number of computing nodes included in the node set 102, at least one sub-service included in the target network service corresponds to at least one computing node, and one computing node included in the node set 102 corresponds to one of the at least one computing nodes for one sub-service included in the target network service.
Each of the at least one computing node included in the node set 102 is configured to provide computing power support to a sub-service corresponding to the each computing node.
The terminal 103 is configured to send a network service request to the server 101, where the network service request includes the identifier of the target network service.
Optionally, the electronic device may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (content delivery network, CDN), basic cloud computing services such as big data and an artificial intelligence platform.
As shown in fig. 2, the network service method provided in the embodiment of the present application may include S101-S103.
S101, a server acquires respective node performance parameters of a plurality of computing nodes.
Wherein the node performance parameter of one computing node is used to characterize the computing quality of the computing node.
In an implementation manner of the embodiment of the present application, the node performance parameter of the foregoing one computing node includes one or more of a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
Optionally, the delay of the computing node includes a service delay and a network delay, the service delay is used for representing a delay (or a time interval) between when the computing node receives the network service request and when the computing node transmits a response corresponding to the network service to the terminal, and the network delay is used for representing a delay (or a time interval) between when the terminal transmits the network service request to the computing node and when the computing node receives the network service request.
Optionally, the failure rate of the computing node includes a hardware failure rate, a network failure rate and a service failure rate, where the hardware failure rate includes a power failure rate of basic hardware corresponding to the computing node, a failure rate of storage device corresponding to the computing node, the network failure rate includes a failure rate of a network corresponding to the computing node (such as a network failure rate caused by a network device failure), and a network jitter rate corresponding to the computing node, and the service failure rate includes a packet loss rate corresponding to the computing node and a processing failure rate of a network service request corresponding to the computing node.
Optionally, the resource utilization rate of the computing node includes a CPU resource utilization rate, a memory utilization rate, a network bandwidth utilization rate, a storage utilization rate, and the like, which correspond to the computing node.
S102, the server determines a performance value of each node set based on the node performance parameters of the computing power nodes included in each node set in at least one node set.
The number of the computing power nodes included in one node set is the same as the number of the sub-services included in the target network service, and the computing power node included in the node set is one of at least one computing power node corresponding to the sub-service included in the target network service.
It should be appreciated that the number of computing nodes included in the one set of nodes is the same as the number of sub-services included in the target network service, because each computing node in the set of nodes is configured to provide computing power support to a corresponding one of the sub-services of the node, i.e., each computing node in the set of nodes respectively provides computing power support to a respective sub-service of the target network service that corresponds to the each computing node.
It may be understood that one computing node included in the node set is one of at least one computing node corresponding to one sub-service included in the target network service, which illustrates that the target network service includes at least one sub-service, where one sub-service corresponds to at least one computing node, and the computing node corresponding to the sub-service in the node set is one of the at least one computing node, that is, the server determines a node from the at least one computing node corresponding to one sub-service as a node in the node set, so that the server can determine at least one node set corresponding to the target network service, where each node set can independently provide computing support to the target network service, and the server has completed the target network service in the terminal.
In one implementation manner of the embodiment of the present application, the node performance parameter of the foregoing one computing node includes a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node, and, as shown in fig. 3 in conjunction with fig. 2, the foregoing server determines, based on the node performance parameter of the computing node included in each of the at least one node set, a performance value of each node set, including S1021-S1022.
S1021, the server determines a time delay value of each node set based on the time delay of the computing power node included in each node set, determines a guarantee value of each node set based on the fault rate of the computing power node included in each node set, and determines a resource utilization value of each node set based on the resource utilization rate of the computing power node included in each node set.
It should be appreciated that the value of the guarantee for each set of nodes is used to characterize the stability of the providing of the computing resources to the server by each set of nodes; the time delay value of each node set is used for representing the response speed of the computing power resource provided by each node set to the server when the network service is carried out; the resource utilization value of each node set is used to characterize the sufficiency of the available computing power resources of the computing power resources provided by each node set to the server when performing the network service traffic.
In one implementation manner of the embodiment of the present application, the determining, by the server, the resource utilization value of each node set based on the resource utilization rate of the computing power node included in each node set specifically includes: the server determines the difference between the product of the resource utilization rate values of each computing node in a node set and a preset value as the resource utilization value of the node set.
Optionally, in the case that the resource utilization rate of one computing node in the node set includes multiple utilization rates, the server determines a product between the multiple utilization rates corresponding to the computing node as a utilization rate value of the computing node, and the server determines a difference between the product between the utilization rate value of each computing node in the node set and a preset value as the resource utilization value of the node set.
Illustratively, the preset value is 1.
In an alternative implementation, the server may also determine each utilization of a computing node, the server determining that one utilization of a computing node satisfies the following formula:
U i representing the utilization rate value of the computing power node, R j used R is the used amount of j-th resource of the computing node j total The j-th resource total amount of the computing node.
In an alternative implementation, the server determines the product between the multiple utilization rates corresponding to one computing node as the utilization rate value of the computing node satisfies the following formula:
wherein U is i The utilization rate value of the ith computing node is represented by U ij The j-th utilization rate corresponding to the i-th calculation node is represented, and m is the number of multiple utilization rates corresponding to the i-th calculation node, and j is more than or equal to 1 and less than or equal to m.
In an alternative implementation, the server determines that the resource utilization value of a set of nodes satisfies the following formula:
wherein H is k Resource utilization value, U, representing the kth node set i And (3) representing the utilization rate value of the ith computing node, wherein M is the number of nodes included in the kth node set.
Referring to fig. 3, as shown in fig. 4, the server determines a delay value of each node set based on a delay of an computing power node included in each node set, and specifically includes: s1021a.
S1021a, the server determines the sum of the time delays of the computing power nodes included in the target node set as a time delay value of the target node set.
It should be understood that the server determines the sum of the delays of the computing nodes included in the target node set as the delay value of the target node set, so that the server can accurately and rapidly determine the delay value of each node set, and further the server can rapidly and accurately determine the delay value of each node set, so as to accurately represent the response speed of each node set in providing computing support for the target network service.
Referring to fig. 3, as shown in fig. 5, in an implementation manner of the embodiment of the present application, the server determines a delay value of each node set based on a delay of a computing node included in each node set, and specifically includes S1021b-S1021c.
S1021b, the server determines the total time delay of each node set in at least one node set.
Wherein the total time delay of a node set is the sum of the time delays of the computing nodes included in the node set.
In one implementation, the server determines that the total latency of each of the at least one set of nodes satisfies the following formula:
wherein E is k Representing the total delay of the kth node set,representing the service delay of the ith computing node,/->Representing the network delay of the ith computational node, M is the number of nodes included in the kth node set.
S1021c, the server determines the ratio of the total time delay of the target node set to the target time delay as the time delay value of the target node set.
Wherein the target time delay is an average value of the total time delay of each node set.
In one implementation, the server determines a ratio between a total delay of the set of target nodes and the target delay as a delay value of the set of target nodes satisfying the following formula:
Wherein D is k Time delay value representing the node set, E k Representing the total delay of the kth node set, AV e represents an average of the total time delay of each of the at least one node set (optionally, the at least one node set includes M nodes).
In the embodiment of the present application, the server determines the total delay of each node set in at least one node set, and the server determines the ratio between the total delay of the target node set and the target delay as the delay value of the target node set, and because the delay value of the target node set is the ratio between the total delay of the target node set and the target delay, the delay value can reflect the response speed of the target node set to the target network service, and can reflect whether the response speed of the target node set to the target network service is high or low relative to the response speed of the average level in at least one node set, so that the service can determine the node set with higher response speed to the target network service more quickly.
Referring to fig. 3, as shown in fig. 6, the server determines a guarantee value of each node set based on a failure rate of the computing power node included in each node set, including: s1021d-S1021f.
S1021d, the server determines a guarantee value of each computing power node included in the target node set.
The guarantee value of one computing node is the difference value between the failure rate of the computing node and the target value.
Illustratively, the target value is 1.
It should be appreciated that the assurance value of the one computing node is used to characterize the stability of the computing node in providing computing support for the sub-service to which the computing node corresponds.
S1021f, the server determines the product of the guarantee values of all the computing power nodes in the target node set as the guarantee value of the target node set.
It should be appreciated that the product of the assurance values for each of the computing nodes included in the set of target nodes may be used to characterize the stability of each computing node together in providing computing support to the respective corresponding sub-service.
In one implementation, the server determines that the value of the guarantee for the set of target nodes satisfies the following formula:
wherein G is k A guarantee value representing the kth node set, V i Y Representing hardware failure rate V of ith computing power node i W Representing the network failure rate of the ith computing node, V i F Representing the service failure rate of the ith computing node, M is the number of nodes included in the kth node set.
In this embodiment of the present invention, the server determines a guarantee value of each computing node included in the target node set, and since the guarantee value of one computing node is used to represent stability of the computing node when providing computing support for a sub-service corresponding to the computing node, a product of the guarantee values of each computing node included in the target node set may be used to represent stability of the computing node when the computing node together provides computing support for the respective corresponding sub-service, so the server determines the product of the guarantee values of each computing node included in the target node set as the guarantee value of the target node set, where the guarantee value of the target node set may accurately represent stability of computing resources provided by the target node set to the server (or the target network service).
S1022, the server determines the performance value of each node set based on the delay value of each node set, the guarantee value of each node set and the resource utilization value of each node set.
In one implementation manner of the embodiment of the present application, the server determines a sum of a latency value of a node set, a guarantee value of the node set, and a resource utilization value of the node set as a performance value of the node set.
In one implementation manner of the embodiment of the present application, the server allocates a first weight parameter, a second weight parameter, and a third weight parameter to a delay value of a node set, a guarantee value of the node set, and a resource utilization value of the node set, and determines a performance value (specifically, may be determined in a weighted average manner) of the node set based on the delay value of the node set, the guarantee value of the node set, the resource utilization value of the node set, the first weight parameter, the second weight parameter, and the third weight parameter.
Optionally, the sum of the first weight parameter, the second weight parameter and the third weight parameter is a preset value.
Illustratively, the preset value is 1.
In one implementation, based on the latency value of the node set, the guarantee value of the node set, the resource utilization value of the node set, the first weight parameter, the second weight parameter, and the third weight parameter, it is determined that the performance value of the node set satisfies the following formula:
w k =α·(1-D k )+β·G k +γ·H k
wherein w is k Representing the performance value of the kth node set, D k A delay value G representing the node set k A guarantee value representing the kth node set, H k The resource utilization value of the kth node set is represented, α represents a first weight parameter, β represents a second weight parameter, γ represents a third weight parameter, α+β+γ=1.
In this embodiment of the present application, the server determines a delay value of each node set based on a delay of an computing power node included in each node set, and the server determines a guarantee value of each node set based on a failure rate of the computing power node included in each node set, and the server determines a resource utilization value of each node set based on a resource utilization rate of the computing power node included in each node set, and determines a performance value of each node set based on the delay value of each node set, the guarantee value of each node set, and the resource utilization value of each node set, so that the performance value of each node set can accurately represent a performance level of the computing power resource provided by each node set to a target network service (or server) in terms of delay, stability, and resource utilization rate, and further, the server can reliably determine one node set from the performance level of each node set to provide computing power support for the target network service, so as to reliably ensure validity of the network service.
S103, when the performance value of the target node set is greater than or equal to the value threshold, the server provides the target network service for the user terminal based on the computing power nodes included in the target node set.
Wherein the set of target nodes is one of the at least one set of nodes.
It should be appreciated that, in the case where the performance value of the target node set is greater than or equal to the value threshold, it is illustrated that the target node set is capable of providing a high-performance level of computing power resource for the target network service, so that the service quality of the target network service can be effectively ensured, and thus, the server can provide the target network service for the user terminal based on the computing power node included in the target node set.
In one implementation of an embodiment of the present application, a server receives a network service request from a user, where the network service request is used to request the target network service.
In one implementation manner of the embodiment of the present application, the server determines, as the target node set, a node set having the highest numerical value in the at least one node set.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S101 to S104, it is known that: the server obtains the node performance parameters of each of the plurality of computing nodes, the server determines the performance value of each node set based on the node performance parameters of the computing nodes included in each node set in at least one node set, and because the node performance parameters of one computing node in the plurality of computing nodes are used for representing the computing quality of the computing node, the performance value of each node set can be used for representing the stability and reliability of computing resources provided by one node set to the target network service, and under the condition that the performance value of the target node set is greater than or equal to a value threshold, the target node set can provide computing resources with high performance level to the target network service, so that the service quality of the target network service can be effectively ensured, and the server provides the target network service for the user terminal based on the computing nodes included in the target node set, so that the effectiveness of the network service is reliably ensured.
The embodiment of the present application may divide the functional modules of the server or the like according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of dividing the respective functional modules with the respective functions, fig. 7 shows a schematic diagram of one possible configuration of the network service device involved in the above-described embodiment, and as shown in fig. 7, the network service device 20 may include: an acquisition module 201, a determination module 202 and a processing module 203.
The obtaining module 201 is configured to obtain node performance parameters of each of the plurality of computing nodes, where the node performance parameter of one computing node is used to characterize the computing quality of the computing node.
A determining module 202, configured to determine, based on a node performance parameter of an computing node included in each node set of at least one node set, a performance numerical value of each node set, where a number of computing nodes included in one node set is the same as a number of sub-services included in a target network service, and one computing node included in the node set is one of at least one computing node corresponding to one sub-service included in the target network service.
The processing module 203 is configured to provide the target network service for the user terminal based on the computing power node included in the target node set, where the performance value of the target node set is greater than or equal to the value threshold, and the target node set is one of the at least one node set.
Optionally, the node performance parameter of a computing node includes one or more of a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
Optionally, the node performance parameter of one computing node includes a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node, and the determining module 202 is specifically configured to determine a time delay value of the each node set based on the time delay of the computing node included in the each node set, determine a guarantee value of the each node set based on the failure rate of the computing node included in the each node set, and determine the resource utilization value of the each node set based on the resource utilization rate of the computing node included in the each node set.
The determining module 202 is further specifically configured to determine a performance value of each node set based on the delay value of each node set, the guarantee value of each node set, and the resource utilization value of each node set.
Optionally, the determining module 202 is specifically configured to determine the sum of the delays of the computing power nodes included in the target node set as the delay value of the target node set.
Optionally, the determining module 202 is specifically configured to determine a total delay of each node set in the at least one node set, where the total delay of one node set is a sum of delays of computing power nodes included in the node set.
The determining module 202 is specifically further configured to determine a ratio between a total delay of the target node set and a target delay as a delay value of the target node set, where the target delay is an average value of the total delay of each node set.
Optionally, the determining module 202 is specifically configured to determine a guarantee value of each computing node included in the target node set, where the guarantee value of one computing node is a difference between the failure rate of the computing node and the target value.
The determining module 202 is further specifically configured to determine, as the guarantee value of the target node set, a product of the guarantee values of each computing node included in the target node set.
In case of using an integrated unit, fig. 8 shows a schematic diagram of a possible configuration of the network service device involved in the above embodiment. As shown in fig. 8, the network service device 30 may include: a processing module 301 and a communication module 302. The processing module 301 may be configured to control and manage the actions of the network service device 30. The communication module 302 may be used to support communication of the network service device 30 with other entities. Optionally, as shown in fig. 8, the network service device 30 may further include a storage module 303 for storing program codes and data of the network service device 30.
Wherein the processing module 301 may be a processor or a controller. The communication module 302 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 303 may be a memory.
When the processing module 301 is a processor, the communication module 302 is a transceiver, and the storage module 303 is a memory, the processor, the transceiver, and the memory may be connected through a bus. The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. 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.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber terminal line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method of network service, the method comprising:
acquiring node performance parameters of each of a plurality of computing nodes, wherein the node performance parameter of one computing node is used for representing computing quality of the computing node;
determining a performance value of each node set based on node performance parameters of computing power nodes included in each node set in at least one node set, wherein the number of computing power nodes included in one node set is the same as the number of sub-services included in a target network service, and one computing power node included in the node set is one of at least one computing power node corresponding to one sub-service included in the target network service;
and providing the target network service for the user terminal based on the computing power node included in the target node set when the performance value of the target node set is greater than or equal to a value threshold, wherein the target node set is one of the at least one node set.
2. The network service method of claim 1, wherein the node performance parameter of a computing node comprises one or more of a latency of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
3. The network service method according to claim 1, wherein the node performance parameters of one computing node include a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node, and the determining the performance value of each node set based on the node performance parameters of the computing node included in each node set in at least one node set includes:
determining a time delay value of each node set based on the time delay of the computing power node included by each node set, determining a guarantee value of each node set based on the fault rate of the computing power node included by each node set, and determining a resource utilization value of each node set based on the resource utilization rate of the computing power node included by each node set;
and determining the performance value of each node set based on the time delay value of each node set, the guarantee value of each node set and the resource utilization value of each node set.
4. The network service method according to claim 3, wherein said determining the delay value of each node set based on the delay of the computing power node included in each node set includes:
and determining the sum of the time delays of the computing power nodes included in the target node set as a time delay value of the target node set.
5. The network service method according to claim 3, wherein said determining the delay value of each node set based on the delay of the computing power node included in each node set includes:
determining the total time delay of each node set in the at least one node set, wherein the total time delay of one node set is the sum of the time delays of the computing force nodes included in the node sets;
and determining the ratio of the total time delay of the target node set to the target time delay as the time delay value of the target node set, wherein the target time delay is the average value of the total time delay of each node set.
6. The network service method according to any one of claims 3 to 5, wherein the determining the guarantee value of each node set based on the failure rate of the computing power node included in the each node set includes:
Determining a guarantee value of each computing node included in the target node set, wherein the guarantee value of one computing node is a difference value between the failure rate of the computing node and the target value;
and determining the product of the guarantee values of each computing node included in the target node set as the guarantee value of the target node set.
7. A network service apparatus, comprising: the device comprises an acquisition module, a determination module and a processing module;
the acquisition module is used for acquiring the node performance parameters of each of a plurality of computing nodes, wherein the node performance parameter of one computing node is used for representing the computing quality of the computing node;
the determining module is configured to determine, based on a node performance parameter of an computing node included in each node set in at least one node set, a performance numerical value of each node set, where a number of computing nodes included in one node set is the same as a number of sub-services included in a target network service, and one computing node included in the node set is one of at least one computing node corresponding to one sub-service included in the target network service;
The processing module is configured to provide, for a user terminal, the target network service based on an algorithm node included in a target node set, where the performance value of the target node set is greater than or equal to a value threshold, and the target node set is one of the at least one node set.
8. The network service device of claim 7, wherein the node performance parameter of a computing node comprises one or more of a latency of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node.
9. The network service device of claim 7, wherein the node performance parameters of one computing node include a time delay of the computing node, a failure rate of the computing node, and a resource utilization rate of the computing node;
the determining module is specifically configured to determine a delay value of each node set based on a delay of an computing power node included in each node set, determine a guarantee value of each node set based on a failure rate of the computing power node included in each node set, and determine a resource utilization value of each node set based on a resource utilization rate of the computing power node included in each node set;
The determining module is further specifically configured to determine a performance value of each node set based on the delay value of each node set, the guarantee value of each node set, and the resource utilization value of each node set.
10. The network service device of claim 9, wherein,
the determining module is specifically configured to determine a sum of time delays of computing power nodes included in the target node set as a time delay value of the target node set.
11. The network service device of claim 9, wherein,
the determining module is specifically configured to determine a total time delay of each node set in the at least one node set, where the total time delay of one node set is a sum of time delays of computing power nodes included in the node set;
the determining module is specifically further configured to determine a ratio between a total time delay of the target node set and a target time delay as a time delay value of the target node set, where the target time delay is an average value of the total time delay of each node set.
12. The network service device according to any of the claims 9-11, characterized in that,
The determining module is specifically configured to determine a guarantee value of each computing node included in the target node set, where the guarantee value of one computing node is a difference value between a failure rate of the computing node and a target value;
the determining module is further specifically configured to determine a product of the security values of each computing node included in the target node set as the security value of the target node set.
13. A server, the server comprising:
a processor;
a memory configured to store the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the network service method of any of claims 1-6.
14. A computer readable storage medium having instructions stored thereon, which when executed by a server, cause the server to perform the network service method of any of claims 1-6.
CN202311296451.XA 2023-10-08 2023-10-08 Network service method, device, server and storage medium Pending CN117544688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311296451.XA CN117544688A (en) 2023-10-08 2023-10-08 Network service method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311296451.XA CN117544688A (en) 2023-10-08 2023-10-08 Network service method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN117544688A true CN117544688A (en) 2024-02-09

Family

ID=89781372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311296451.XA Pending CN117544688A (en) 2023-10-08 2023-10-08 Network service method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN117544688A (en)

Similar Documents

Publication Publication Date Title
US10637916B2 (en) Method and device for storage resource allocation for video cloud storage
CN110896355B (en) Network slice selection method and device
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN114040467B (en) Transmission path determining method, device, server and storage medium
CN110519183B (en) Node speed limiting method and device, electronic equipment and storage medium
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
CN111866162A (en) Service distribution method and device
WO2015096680A1 (en) Node distribution method and control center
CN113938435B (en) Data transmission method, device, electronic equipment, storage medium and program product
CN111181873B (en) Data transmission method, data transmission device, storage medium and electronic equipment
CN111654561B (en) Method and device for determining IP address number, electronic equipment and storage medium
CN111147468A (en) User access method, device, electronic equipment and storage medium
CN110035128B (en) Live broadcast scheduling method and device, live broadcast system and storage medium
CN113032410A (en) Data processing method and device, electronic equipment and computer storage medium
CN114003337A (en) Access request distribution method and device
CN110515728B (en) Server scheduling method and device, electronic equipment and machine-readable storage medium
CN113472591B (en) Method and device for determining service performance
CN116112572A (en) Service processing method, device, network equipment and storage medium
CN109526032B (en) Method and device for modifying network slice example
CN114173396B (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN117544688A (en) Network service method, device, server and storage medium
CN113204433B (en) Dynamic allocation method, device, equipment and storage medium for cluster resources
EP2930617A1 (en) Resource management method and device
CN115665262A (en) Request processing method and device, electronic equipment and storage medium
CN114173318A (en) Method, device and equipment for identifying to-be-optimized area

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