CN116755886A - Method, device, storage medium and system for forwarding and calculating force task - Google Patents

Method, device, storage medium and system for forwarding and calculating force task Download PDF

Info

Publication number
CN116755886A
CN116755886A CN202310759358.1A CN202310759358A CN116755886A CN 116755886 A CN116755886 A CN 116755886A CN 202310759358 A CN202310759358 A CN 202310759358A CN 116755886 A CN116755886 A CN 116755886A
Authority
CN
China
Prior art keywords
computing
calculation
database
task
power
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
CN202310759358.1A
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.)
Jiangsu Future Network Group Co ltd
Original Assignee
Jiangsu Future Network 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 Jiangsu Future Network Group Co ltd filed Critical Jiangsu Future Network Group Co ltd
Priority to CN202310759358.1A priority Critical patent/CN116755886A/en
Publication of CN116755886A publication Critical patent/CN116755886A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a method, a device, a storage medium and a system for forwarding a computing power task, wherein the method comprises the following steps: when a calculation force request sent by a client host is received, calculation force request information and a preset service SLA database are obtained; determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and a preset service SLA database, and generating a computational power task; determining a network slice carrying a computing power task in a preset slice database based on transmission performance requirements; acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and computing power resource requirements; acquiring an optimal link with optimal network transmission capacity between a client host address and a target computing node through a network database; and sending the calculation task to a target calculation node through an optimal link for calculation. The embodiment of the application can ensure the transmission quality and the calculation speed of the calculation task.

Description

Method, device, storage medium and system for forwarding and calculating force task
Technical Field
The present application relates to the field of deterministic power calculation networks, and in particular, to a method, an apparatus, a storage medium, and a system for forwarding and calculating a power calculation task.
Background
With the rapid development of cloud on intelligent industry and enterprises, for business (computing task) such as industrial internet, telemedicine and the like, lower time delay and determined bandwidth are required to ensure the determined transmission quality, and sufficient computing resources are also required to ensure the computing speed. However, the conventional best-effort forwarding manner of the internet cannot meet the requirement of such services on network quality, and has the defects of uncertainty in calculation and transmission.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a method, a device, a storage medium and a system for forwarding and calculating a calculation force task, which can ensure the transmission quality and the calculation speed of the calculation force task and jointly ensure the deterministic processing of the calculation force task in two dimensions of calculation and transmission.
The embodiment of the application provides a method for forwarding and calculating a computing power task, which comprises the following steps:
when a calculation force request sent by a client host is received, calculation force request information in the calculation force request is obtained, and a preset service SLA database is obtained;
Determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database, and generating a computational power task;
determining a network slice carrying the power calculation task in a preset slice database based on the transmission performance requirement;
acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement;
acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database;
and sending the calculation task to the target calculation node through the optimal link for calculation.
In the method for forwarding and calculating the power calculation task according to the embodiment of the application, the power calculation request information comprises a service identifier, a service type, a calculated amount and a key transmission index.
In the method for forwarding and calculating a computing power task according to the embodiment of the present application, the determining, based on the address of the client host, the computing power database, the network slice, and the computing power resource requirement, a target computing node meeting a preset condition includes:
Determining, based on the network slice, a plurality of first computing nodes contained by the network slice;
determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements;
and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
In the method for forwarding and calculating a computing power task according to the embodiment of the present application, the computing power database includes computing power resources corresponding to each of the first computing nodes, and the determining, based on the computing power database and the computing power resource requirements, a plurality of second computing nodes that meet the computing power resource requirements from a plurality of first computing nodes includes:
comparing the computing power resource requirement with computing power resources corresponding to each first computing node in the computing power database;
and acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
In the method for forwarding and calculating a computing power task according to the embodiment of the present application, the network database includes network transmission capability information of each link between the client host address and the target computing node, and the obtaining, by the pre-generated network database, an optimal link with optimal network transmission capability between the client host address and the target computing node includes:
Acquiring network transmission capacity information of each link between the client host address and the target computing node from the network database;
and comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
In the method for forwarding and calculating a computing power task according to the embodiment of the present application, when the optimal link with the optimal network transmission capability between the client host address and the computing node is obtained through a pre-generated network database, the method further includes:
acquiring a suboptimal link with suboptimal network transmission capacity between the client host address and the computing node;
after the power calculation task is sent to the target computing node for calculation through the optimal link, the method further comprises the following steps:
monitoring network resources and link states of the optimal link to monitor transmission performance of the optimal link;
and when the transmission performance of the optimal link is monitored to reach a preset alarm threshold, switching the optimal link to the suboptimal link.
In the method for forwarding and calculating the force calculation task according to the embodiment of the present application, after the force calculation task is sent to the target calculation node for calculation through the optimal link, the method further includes:
Generating a calculation result, and judging whether the calculation performance meets the standard or not based on the calculation result;
if not, adjusting the computing power resources in the computing power database to improve the computing power requirement.
The embodiment of the application also provides a device for forwarding the computing force task, which comprises:
the first acquisition module is used for acquiring the calculation force request information in the calculation force request and acquiring a preset service SLA database when the calculation force request sent by the client host is received;
the generation module is used for determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database and generating a computational power task;
the first determining module is used for determining a network slice carrying the computing power task in a preset slice database based on the transmission performance requirement;
the second determining module is used for acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement;
the second acquisition module is used for acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database;
And the sending module is used for sending the power calculation task to the target computing node through the optimal link for calculation.
The embodiment of the application also provides a computing power task forwarding computing system, which comprises the computing power task forwarding computing device.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program runs on a computer, the computer is caused to execute the calculation task forwarding calculation method of any embodiment.
According to the power calculation task forwarding calculation method provided by the embodiment of the application, when a power calculation request sent by a client is received, power calculation request information in the power calculation request is acquired, a preset service SLA database is acquired, the power calculation resource requirement and the transmission performance requirement of the power calculation request are determined based on the power calculation request information and the preset service SLA database, a power calculation task is generated, then a network slice carrying the power calculation task is determined in the preset slice database based on the transmission performance requirement, then a client address and a pre-generated power calculation database are acquired, a target calculation node meeting preset conditions is determined based on the client address, the power calculation database, the network slice and the power calculation resource requirement, and the power calculation task is calculated through the target calculation node, so that the calculation speed of the power calculation task can be ensured, and the deterministic processing of the power calculation task is ensured in calculation. And finally, acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database, and sending the computing task to the target computing node through the optimal link for computing, so that the transmission quality of the computing task can be ensured, and the deterministic processing of the computing task is ensured on transmission. The embodiment of the application determines the optimal computing node and the optimal transmission path through calculation, transmits the force calculation task through the optimal transmission path, and calculates the force calculation task through the optimal computing node, thereby realizing a deterministic force calculation network, jointly guaranteeing the deterministic processing of the force calculation task in two dimensions of calculation and transmission, and guaranteeing the transmission quality and the calculation speed of the force calculation task.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is evident that the drawings in the following description are only some embodiments of the application and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for forwarding and calculating a computing power task according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a computing power task forwarding computing device according to an embodiment of the present application.
Fig. 3 is another schematic structural diagram of a computing device for forwarding a task according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a computing power task forwarding computing system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
The embodiment of the application provides a calculation force task forwarding calculation method which can be applied to a calculation force task forwarding calculation system.
Referring to fig. 1, fig. 1 is a flowchart of a method for forwarding and calculating a computing task according to an embodiment of the present application. The method for calculating the forwarding of the computing power task is applied to a computing power task forwarding calculation system, and can comprise the following steps:
step 101, when a calculation force request sent by a client host is received, calculation force request information in the calculation force request is obtained, and a preset service SLA database is obtained.
The preset service SLA database comprises service information, network slice information and link indexes (transmission indexes including bandwidth, time delay, packet loss rate and jitter). The service information includes service types, which may include four types, which are established for four indexes of the link information, and each type of service has its own priority, service identification (service type identification), and required computational power resource requirements. The differentiated SLA guarantee service can ensure the services with different demands. The preset service database stores the data for comparison with the power calculation database, the slicing database and the network database, and selects the optimal power calculation node and transmission path.
The design format corresponding to the preset service SLA database is as follows: { Service, resource, net }, where Service is Service information, resource is computing power Resource information required for completing the Service, and Net is network transmission quality that must be achieved for completing the Service (different services have respective sensitivities to different network parameters). The information in the preset service SLA database is preset, and the calculation power resources and the network transmission performance indexes which are required to be allocated are determined according to the performance test data of the service and the actual calculation power data of the historical service. In the service process of the deterministic algorithm power network, historical business is periodically summarized and analyzed, and algorithm power resources and network performance parameters in a preset business SLA database are automatically optimized and adjusted.
In some embodiments, the power request information includes a service identification, a service type, a calculation amount, and a key transmission index.
And step 102, determining the computing power resource requirement and the transmission performance requirement of the computing power request based on the computing power request information and the preset service SLA database, and generating a computing power task.
The method comprises the steps of comparing service identification, service type, calculated amount and key transmission indexes in the calculation force request information with information in a preset service SLA database, so as to determine the calculation force resource requirement and transmission performance requirement of the calculation force request, and then generating a calculation force task.
And step 103, determining the network slice carrying the computing power task in a preset slice database based on the transmission performance requirement.
The deterministic network slicing is initialized and configured once, automatic configuration is completed on each intermediate network node in the deterministic network through a FlexE hard isolation technology, slicing information is stored in a preset slicing database, and slicing marks are used as keywords. The network transmission performance (bandwidth, time delay, packet loss and jitter) which can be achieved by each slice is set with reasonable values after actual test and stored in a preset slice database. The transmission performance determines the type of service which can be carried by the slice, and after the slice is determined, the transmission performance is synchronously fixed and becomes a transmission capability index of the slice. Each type of service is divided into corresponding slices meeting the conditions according to the required network performance parameters such as bandwidth, time delay, packet loss, jitter and the like, and the corresponding service information is stored in a preset slice database, and service identifiers are used as keywords and correspond to slice marks one by one.
The design format corresponding to the preset slice database is as follows: { Service, slice, net }, where Net includes { band, loss, delay, jetter }, abbreviated { Se, sl, N }. The information in the preset slice database is fixedly set data, and solidification is carried out after the network slice is set. The modification is only performed again when the slice changes or the transmission properties of the slice itself change.
Because each network slice in the preset slice database corresponds to a transmission performance, the network slice bearing the calculation task can be determined in the preset slice database according to the transmission performance requirement.
Step 104, obtaining the address of the client host and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the address of the client host, the computing power database, the network slice and the computing power resource requirement.
The computing power database is constructed by collecting computing information, storage information and node network information of each computing power node (computing node) in real time, so that the integrated perception of computing resources, storage resources and network states is realized. The node network information is used for calculating the optimal path of the whole network.
The design format corresponding to the calculation force database is as follows: { Node, com, store }, abbreviated as { N, C, S }. The data information in the calculation force database adopts a real-time synchronous updating mode.
In some embodiments, the determining a target computing node meeting a preset condition based on the client host address, the computing power database, the network slice, and the computing power resource requirement comprises:
Determining, based on the network slice, a plurality of first computing nodes contained by the network slice;
determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements;
and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
And under the condition that the plurality of second computing nodes meet the demand of computational power resources, taking the second computing node with the shortest distance to the address of the client host as a target computing node, wherein the target computing node is the optimal computing node at the moment.
In some embodiments, the computing power database includes computing power resources corresponding to each of the first computing nodes, and the determining, based on the computing power database and the computing power resource requirements, a plurality of second computing nodes that meet the computing power resource requirements from the plurality of first computing nodes includes:
comparing the computing power resource requirement with computing power resources corresponding to each first computing node in the computing power database;
And acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
The computing power resources corresponding to the plurality of first computing nodes may not all meet the computing power resource requirement, so that the computing power resource requirement is required to be compared with the computing power resource corresponding to each first computing node in the computing power database, and then the plurality of first computing nodes meeting the computing power resource requirement are obtained from the computing power database as a plurality of second computing nodes based on comparison results.
And 105, acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database.
In some embodiments, the network database includes network transmission capability information of each link between the client host address and the target computing node, and the acquiring, by the pre-generated network database, the optimal link with optimal network transmission capability between the client host address and the target computing node includes:
acquiring network transmission capacity information of each link between the client host address and the target computing node from the network database;
And comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
The network database is generated by collecting information of all-network forwarding equipment of a deterministic algorithm network in real time, wherein the information comprises network equipment information, interconnection information, forwarding performance, link performance and the like, and key information comprises key indexes such as current computing node information, next hop computing node information, link bandwidth, link packet loss rate, link delay, link jitter and the like.
The design format corresponding to the network database is as follows: { Node, next, link }, where Node/Next is Node information of a current network Node (computing Node) and a Next hop network Node, and Link is Link quality between nodes, including bandwidth, packet loss rate, delay, jitter, and the like. The data information in the network database adopts a real-time synchronous updating mode, and the transmission quality of all network nodes and links is periodically detected in the whole network and updated in real time.
And step 106, the power calculation task is sent to the target computing node for calculation through the optimal link.
The power calculation task is sent to the target computing node for calculation through the optimal link, so that the transmission quality of the power calculation task can be ensured. Because the target computing node meets the computing power resource requirement of the computing power task, the computing speed of the computing power task can be ensured by computing the computing power task through the target computing node, so that the deterministic processing of the computing power task is jointly ensured in two dimensions of computing and transmitting.
In some embodiments, when the optimal link with optimal network transmission capability between the client host address and the computing node is obtained through a pre-generated network database, the method further includes:
acquiring a suboptimal link with suboptimal network transmission capacity between the client host address and the computing node;
after the power calculation task is sent to the target computing node for calculation through the optimal link, the method further comprises the following steps:
monitoring network resources and link states of the optimal link to monitor transmission performance of the optimal link;
and when the transmission performance of the optimal link is monitored to reach a preset alarm threshold, switching the optimal link to the suboptimal link.
When the transmission performance of the optimal link is monitored to reach a preset alarm threshold, the optimal link is switched to the suboptimal link so as to ensure the normal operation of the calculation task. Because the switching process is rapid, the influence on network transmission is small, and the performance index of the whole calculation task is not influenced.
In some embodiments, after the computing task is sent to the target computing node through the optimal link for computing, the method further includes:
Generating a calculation result, and judging whether the calculation performance meets the standard or not based on the calculation result;
if not, adjusting the computing power resources in the computing power database to improve the computing power requirement.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
It can be seen from the foregoing that, in the computing method for forwarding a computing power task provided by the embodiment of the present application, when a computing power request sent by a client host is received, computing power request information in the computing power request is obtained, a preset service SLA database is obtained, computing power resource requirements and transmission performance requirements of the computing power request are determined based on the computing power request information and the preset service SLA database, a computing power task is generated, then a network slice carrying the computing power task is determined in the preset slice database based on the transmission performance requirements, then a client host address and a pre-generated computing power database are obtained, a target computing node meeting preset conditions is determined based on the client host address, the computing power database, the network slice and the computing power resource requirements, and computing of the computing power task is performed through the target computing node, so that computing speed of the computing power task can be ensured, and deterministic processing of the computing power task is ensured on computing. And finally, acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database, and sending the computing task to the target computing node through the optimal link for computing, so that the transmission quality of the computing task can be ensured, and the deterministic processing of the computing task is ensured on transmission. The embodiment of the application determines the optimal computing node and the optimal transmission path through calculation, transmits the force calculation task through the optimal transmission path, and calculates the force calculation task through the optimal computing node, thereby realizing a deterministic force calculation network, jointly guaranteeing the deterministic processing of the force calculation task in two dimensions of calculation and transmission, and guaranteeing the transmission quality and the calculation speed of the force calculation task.
The embodiment of the application also provides a computing force task forwarding computing device which can be integrated in the computing force task forwarding computing system.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a computing device for forwarding a task according to an embodiment of the application. The computing force task forwarding computing device 30 may include:
the first obtaining module 31 is configured to obtain, when receiving a calculation request sent by the client host, calculation request information in the calculation request, and obtain a preset service SLA database;
a generating module 32, configured to determine a computing power resource requirement and a transmission performance requirement of the computing power request based on the computing power request information and the preset service SLA database, and generate a computing power task;
a first determining module 33, configured to determine, in a preset slice database, a network slice carrying the computing task based on the transmission performance requirement;
a second determining module 34, configured to obtain a client host address and a pre-generated computing power database, and determine a target computing node that meets a preset condition based on the client host address, the computing power database, a network slice, and the computing power resource requirement;
a second obtaining module 35, configured to obtain, through a pre-generated network database, an optimal link with optimal network transmission capability between the client host address and the target computing node;
And the sending module 36 is configured to send the power calculation task to the target computing node through the optimal link for calculation.
In some embodiments, the second determining module 34 is configured to determine, based on the network slice, a plurality of first computing nodes included in the network slice; determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements; and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
In some embodiments, the second determining module 34 is configured to compare the computing power resource requirement with the computing power resource corresponding to each of the first computing nodes in the computing power database; and acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
In some embodiments, the second obtaining module 35 is configured to obtain, from the network database, network transmission capability information of each link between the client host address and the target computing node; and comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
In some embodiments, the second obtaining module 35 is configured to obtain a suboptimal link with suboptimal network transmission capability between the client host address and the computing node.
In specific implementation, each module may be implemented as a separate entity, or may be combined arbitrarily and implemented as the same entity or several entities.
As can be seen from the above, when the computing task forwarding computing device 30 provided in the embodiment of the present application receives the computing request sent by the client host, the computing request information in the computing request is obtained through the first obtaining module 31, and the preset service SLA database is obtained; determining, by the generating module 32, a computing power resource requirement and a transmission performance requirement of the computing power request based on the computing power request information and the preset service SLA database, and generating a computing power task; determining, by the first determining module 33, a network slice carrying the computing task in a preset slice database based on the transmission performance requirement; acquiring a client host address and a pre-generated computing power database through a second determining module 34, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement; acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database by a second acquisition module 35; the power calculation task is sent to the target computing node for calculation through the optimal link by the sending module 36. According to the embodiment of the application, the optimal computing node and the optimal transmission path are determined through computation, the computing force task is transmitted through the optimal transmission path, and the computing force task is computed through the optimal computing node, so that a deterministic computing force network is realized, deterministic processing of the computing force task is guaranteed in two dimensions of computation and transmission, and the transmission quality and the computing speed of the computing force task are guaranteed.
Referring to fig. 3, fig. 3 is a schematic diagram of another architecture of a computing device for forwarding task according to an embodiment of the present application. The computing task forwarding computing device 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a first acquisition module 31, a generation module 32, a first determination module 33, a second determination module 34, a second acquisition module 35, and a transmission module 36. For example, the structures and connection relationships of the above respective components may be as follows:
memory 120 may be used to store applications and data. The memory 120 stores application programs including executable code. Applications may constitute various functional modules. The processor 180 executes various functional applications and data processing by running application programs stored in the memory 120. In addition, memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 120 may also include a memory controller to provide access to the memory 120 by the processor 180.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the device and processes data by running or executing application programs stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the device. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, user interfaces, application programs, and the like.
In particular, in this embodiment, the processor 180 loads executable codes corresponding to the processes of one or more application programs into the memory 120 according to the following instructions, and the processor 180 executes the application programs stored in the memory 120, so as to implement various functions:
the first obtaining module 31 is configured to obtain, when receiving a calculation request sent by the client host, calculation request information in the calculation request, and obtain a preset service SLA database;
a generating module 32, configured to determine a computing power resource requirement and a transmission performance requirement of the computing power request based on the computing power request information and the preset service SLA database, and generate a computing power task;
A first determining module 33, configured to determine, in a preset slice database, a network slice carrying the computing task based on the transmission performance requirement;
a second determining module 34, configured to obtain a client host address and a pre-generated computing power database, and determine a target computing node that meets a preset condition based on the client host address, the computing power database, a network slice, and the computing power resource requirement;
a second obtaining module 35, configured to obtain, through a pre-generated network database, an optimal link with optimal network transmission capability between the client host address and the target computing node;
and the sending module 36 is configured to send the power calculation task to the target computing node through the optimal link for calculation.
In some embodiments, the second determining module 34 is configured to determine, based on the network slice, a plurality of first computing nodes included in the network slice; determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements; and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
In some embodiments, the second determining module 34 is configured to compare the computing power resource requirement with the computing power resource corresponding to each of the first computing nodes in the computing power database; and acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
In some embodiments, the second obtaining module 35 is configured to obtain, from the network database, network transmission capability information of each link between the client host address and the target computing node; and comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
In some embodiments, the second obtaining module 35 is configured to obtain a suboptimal link with suboptimal network transmission capability between the client host address and the computing node.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a computing task forwarding computing system according to an embodiment of the present application, where the computing task forwarding computing system may be used to implement the computing task forwarding computing method provided in the foregoing embodiment.
As shown in fig. 4, the computing force task forwarding computing system 1200 may include a computing force task forwarding computing device 30, a monitoring module 37, a determination module 38, and a switching module 39.
The monitoring module 37 is electrically connected to the computing device 30 for monitoring the network resource and the link status of the optimal link, so as to monitor the transmission performance of the optimal link.
The judging module 38 is electrically connected to the computing device 30 for generating a computing result, and judging whether the computing performance meets the standard based on the computing result.
The switching module 39 is electrically connected to the computing device 30 for switching the optimal link to the suboptimal link.
Wherein the processor in the computing device 30 is configured to:
when a calculation force request sent by a client host is received, calculation force request information in the calculation force request is obtained, and a preset service SLA database is obtained;
determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database, and generating a computational power task;
determining a network slice carrying the power calculation task in a preset slice database based on the transmission performance requirement;
Acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement;
acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database;
and sending the calculation task to the target calculation node through the optimal link for calculation.
In some embodiments, processor 180 is configured to determine, based on the network slice, a plurality of first computing nodes that the network slice includes; determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements; and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
In some embodiments, the processor 180 is configured to compare the computing power resource requirement with the computing power resource corresponding to each of the first computing nodes in the computing power database; and acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
In some embodiments, processor 180 is configured to obtain network transport capability information for each link between the client host address and the target computing node from the network database; and comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
In some embodiments, processor 180 is configured to obtain a suboptimal link with suboptimal network transmission capability between the client host address and the computing node; monitoring network resources and link states of the optimal link to monitor transmission performance of the optimal link; and when the transmission performance of the optimal link is monitored to reach a preset alarm threshold, switching the optimal link to the suboptimal link.
In some embodiments, the processor 180 is configured to generate a calculation result, and determine whether the calculation performance meets the criterion based on the calculation result; if not, adjusting the computing power resources in the computing power database to improve the computing power requirement.
From the foregoing, it can be seen that an embodiment of the present application provides a computing power task forwarding computing system 1200, wherein the computing power task forwarding computing system 1200 performs the following steps: when a calculation force request sent by a client host is received, calculation force request information in the calculation force request is obtained, and a preset service SLA database is obtained; determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database, and generating a computational power task; determining a network slice carrying the power calculation task in a preset slice database based on the transmission performance requirement; acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement; acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database; and sending the calculation task to the target calculation node through the optimal link for calculation. Through the steps, the embodiment of the application can ensure the transmission quality and the calculation speed of the calculation task, and jointly ensure the deterministic processing of the calculation task in two dimensions of calculation and transmission.
The embodiment of the application also provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the method for forwarding the computing task according to any embodiment.
It should be noted that, for the computing method for forwarding a computing task according to the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the computing method for forwarding a computing task according to the embodiments of the present application may be implemented by controlling related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a system, and executed by at least one processor in the system, and the execution may include the flow of implementing the computing method for forwarding a computing task according to the embodiments of the present application. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), or the like.
The method, the device, the storage medium and the system for calculating the forwarding of the computing power task provided by the embodiment of the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (10)

1. A method for computing force task forwarding, the method comprising:
when a calculation force request sent by a client host is received, calculation force request information in the calculation force request is obtained, and a preset service SLA database is obtained;
determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database, and generating a computational power task;
determining a network slice carrying the power calculation task in a preset slice database based on the transmission performance requirement;
acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement;
acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database;
and sending the calculation task to the target calculation node through the optimal link for calculation.
2. The method for forwarding and calculating a computing power task according to claim 1, wherein the computing power request information includes a service identifier, a service type, a calculation amount and a key transmission index.
3. The method of claim 1, wherein the determining a target computing node meeting a preset condition based on the client host address, the computing power database, the network slice, and the computing power resource requirement comprises:
determining, based on the network slice, a plurality of first computing nodes contained by the network slice;
determining a plurality of second computing nodes meeting the computing power resource requirements from a plurality of first computing nodes based on the computing power database and the computing power resource requirements;
and acquiring the second computing node with the shortest distance from the client host address from a plurality of second computing nodes based on the client host address as the target computing node.
4. The method of claim 3, wherein the computing power database includes computing power resources corresponding to each of the first computing nodes, and the determining, based on the computing power database and the computing power resource requirements, a plurality of second computing nodes that meet the computing power resource requirements from the plurality of first computing nodes includes:
comparing the computing power resource requirement with computing power resources corresponding to each first computing node in the computing power database;
And acquiring a plurality of first computing nodes meeting the computing power resource requirement from the computing power database based on the comparison result as a plurality of second computing nodes.
5. The method according to claim 1, wherein the network database includes network transmission capability information of each link between the client host address and the target computing node, and the obtaining, by the pre-generated network database, an optimal link with optimal network transmission capability between the client host address and the target computing node includes:
acquiring network transmission capacity information of each link between the client host address and the target computing node from the network database;
and comparing the network transmission capacity information, and acquiring the link with the optimal network transmission capacity from a plurality of links based on the comparison result as the optimal link.
6. The method for computing power task forwarding according to claim 1, wherein when the optimal link with optimal network transmission capability between the client host address and the computing node is obtained through a pre-generated network database, the method further comprises:
Acquiring a suboptimal link with suboptimal network transmission capacity between the client host address and the computing node;
after the power calculation task is sent to the target computing node for calculation through the optimal link, the method further comprises the following steps:
monitoring network resources and link states of the optimal link to monitor transmission performance of the optimal link;
and when the transmission performance of the optimal link is monitored to reach a preset alarm threshold, switching the optimal link to the suboptimal link.
7. The method for forwarding and calculating the computing power task according to claim 1, wherein after the computing power task is sent to the target computing node for calculation through the optimal link, the method further comprises:
generating a calculation result, and judging whether the calculation performance meets the standard or not based on the calculation result;
if not, adjusting the computing power resources in the computing power database to improve the computing power requirement.
8. A computing device for forwarding a task of a computing force, the device comprising:
the first acquisition module is used for acquiring the calculation force request information in the calculation force request and acquiring a preset service SLA database when the calculation force request sent by the client host is received;
The generation module is used for determining the computational power resource requirement and the transmission performance requirement of the computational power request based on the computational power request information and the preset service SLA database and generating a computational power task;
the first determining module is used for determining a network slice carrying the computing power task in a preset slice database based on the transmission performance requirement;
the second determining module is used for acquiring a client host address and a pre-generated computing power database, and determining a target computing node meeting preset conditions based on the client host address, the computing power database, a network slice and the computing power resource requirement;
the second acquisition module is used for acquiring an optimal link with optimal network transmission capacity between the client host address and the target computing node through a pre-generated network database;
and the sending module is used for sending the power calculation task to the target computing node through the optimal link for calculation.
9. A computing force task forwarding computing system, characterized in that it comprises the computing force task forwarding computing device of claim 8.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the calculation method of the calculation task forwarding of any one of claims 1 to 7.
CN202310759358.1A 2023-06-26 2023-06-26 Method, device, storage medium and system for forwarding and calculating force task Pending CN116755886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310759358.1A CN116755886A (en) 2023-06-26 2023-06-26 Method, device, storage medium and system for forwarding and calculating force task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310759358.1A CN116755886A (en) 2023-06-26 2023-06-26 Method, device, storage medium and system for forwarding and calculating force task

Publications (1)

Publication Number Publication Date
CN116755886A true CN116755886A (en) 2023-09-15

Family

ID=87960632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310759358.1A Pending CN116755886A (en) 2023-06-26 2023-06-26 Method, device, storage medium and system for forwarding and calculating force task

Country Status (1)

Country Link
CN (1) CN116755886A (en)

Similar Documents

Publication Publication Date Title
CN107204894B (en) Method and device for monitoring network service quality
CN108989136B (en) Business end-to-end performance monitoring method and device
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN114268640B (en) Intelligent routing system of industrial Internet of things with cloud edge cooperation
US20210042578A1 (en) Feature engineering orchestration method and apparatus
CN115562879B (en) Computing power sensing method, computing power sensing device, electronic equipment and storage medium
CN113840317A (en) Calculation capacity reporting method, calculation capacity obtaining method, calculation capacity network element and calculation capacity sensing control network element
CN113472659B (en) Method and device for determining forwarding path and SDN controller
US20220368606A1 (en) Fault Detection Model Training Method, Apparatus, and System
CN114706675A (en) Task deployment method and device based on cloud edge cooperative system
EP3295567B1 (en) Pattern-based data collection for a distributed stream data processing system
CN113543246B (en) Network switching method and device
US20220368590A1 (en) Fault Detection Method, Apparatus, and System
CN113114480A (en) Data reporting method and related equipment
CN116755886A (en) Method, device, storage medium and system for forwarding and calculating force task
US20230275807A1 (en) Data processing method and device
CN106533730B (en) Hadoop cluster component index acquisition method and device
CN107147694B (en) Information processing method and device
CN112953844B (en) Network traffic optimization method and device
CN115037625B (en) Network slice processing method and device, electronic equipment and readable storage medium
CN113765805B (en) Calling-based communication method, device, storage medium and equipment
CN117768467B (en) Data transmission method, device, computer equipment and computer readable storage medium
CN114979009B (en) Processing method and device of network request, computer readable medium and electronic equipment
US20170325107A1 (en) Managing infrastructure equipment maintenance
WO2024093219A1 (en) Service path optimization method and apparatus, 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