[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115412609B - Service processing method, device, server and storage medium - Google Patents

Service processing method, device, server and storage medium Download PDF

Info

Publication number
CN115412609B
CN115412609B CN202210981108.8A CN202210981108A CN115412609B CN 115412609 B CN115412609 B CN 115412609B CN 202210981108 A CN202210981108 A CN 202210981108A CN 115412609 B CN115412609 B CN 115412609B
Authority
CN
China
Prior art keywords
target
node
computing
computing power
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210981108.8A
Other languages
Chinese (zh)
Other versions
CN115412609A (en
Inventor
刘莹
张帅
曹畅
李建飞
何涛
张雪贝
徐治理
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210981108.8A priority Critical patent/CN115412609B/en
Publication of CN115412609A publication Critical patent/CN115412609A/en
Application granted granted Critical
Publication of CN115412609B publication Critical patent/CN115412609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Power Sources (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a business processing method, a business processing device, a server and a storage medium, relates to the technical field of communication, and solves the technical problem that in the related art, a mode that a computing power arrangement device randomly selects one computing power node from a plurality of computing power nodes may be unreasonable, for example, the computing power node has faults (such as downtime and the like), so that the processing efficiency of a computing task is affected. The method comprises the following steps: acquiring the power demand information of a target service, wherein the power demand information comprises the power resource size corresponding to the target service and the target time length of the target service; determining a target computing node from the at least one computing node; and sending a service processing instruction to the target computing power node, wherein the service processing instruction comprises an identification of the target service, and the service processing instruction is used for instructing the target computing power node to process the target service.

Description

Service processing method, device, server and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service processing method, a device, a server, and a storage medium.
Background
Currently, when a device has a computing power demand, a computing power orchestration device may arbitrarily select one computing power node from a plurality of computing power nodes to process a computing task included in the computing power demand.
However, in the above method, the manner in which the computing power arrangement device arbitrarily selects one computing power node from the plurality of computing power nodes may be unreasonable, for example, the computing power node has failed (for example, is down, etc.), which may affect the processing efficiency of the computing task.
Disclosure of Invention
The invention provides a business processing method, a business processing device, a server and a storage medium, which solve the technical problem that in the related art, the mode of arbitrarily selecting one computing node from a plurality of computing nodes by computing force arrangement equipment is possibly unreasonable, for example, the computing force node has failed (such as downtime and the like), so that the processing efficiency of a computing task can be influenced.
In a first aspect, the present invention provides a service processing method, including: acquiring the power demand information of a target service, wherein the power demand information comprises the power resource size corresponding to the target service and the target time length of the target service; determining a target power node from at least one power node, wherein the residual power resource size of the at least one power node is larger than or equal to the corresponding power resource size of the target service, the residual service time length of the at least one power node is larger than or equal to the target time length of the target service, and the credit score of the target power node is larger than or equal to a score threshold value; and sending a service processing instruction to the target computing power node, wherein the service processing instruction comprises an identification of the target service, and the service processing instruction is used for instructing the target computing power node to process the target service.
Optionally, before the determining the target computing node from the at least one computing node, the service processing method further includes: receiving a computing power resource registration request sent by a plurality of computing power nodes, wherein the computing power resource registration request sent by one computing power node comprises computing power resource information of the computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the computing power node, and the computing power resource information of the computing power node comprises the residual computing power resource size of the computing power node, the service starting time of the computing power node and the service ending time of the computing power node; and determining the difference between the service end time and the current time of the first computing node as the residual service duration of the first computing node, wherein the first computing node is one of the computing nodes.
Optionally, after receiving the computing power resource registration request sent by the plurality of computing power nodes, the service processing method further includes: determining that the power management equipment does not receive a preset message sent by the first power node within a first time length threshold; and deleting the computing power resource information of the first computing power node.
Optionally, after receiving the computing power resource registration request sent by the plurality of computing power nodes, the service processing method further includes: receiving an account power resource cancellation request sent by the target account power node, wherein the account power resource cancellation request is used for requesting to cancel account power resource information of the target account power node, and the account power resource cancellation request is sent by the target account power node under the condition that the residual service duration of the target account power node is less than or equal to a second duration threshold; deleting the computing power resource information of the target computing power node under the condition that the target computing power node is in an idle state; and sending a computing power resource cancellation response to the target computing power node, wherein the computing power resource cancellation response is used for notifying that the computing power resource information of the target computing power node is successfully cancelled.
In a second aspect, the present invention provides a service processing method, including: receiving a service processing instruction sent by a computing power management device, wherein the service processing instruction comprises an identifier of a target service, the service processing instruction is used for instructing a target computing power node to process the target service, the credit score of the target computing power node is greater than or equal to a score threshold, the target computing power node is determined by the computing power management device from at least one computing power node, the residual computing power resource size of the at least one computing power node is greater than or equal to the corresponding computing power resource size of the target service, and the residual service time of the at least one computing power node is greater than or equal to the target time of the target service; the target service is processed based on the service processing indication.
Optionally, before receiving the service processing instruction sent by the computing management device, the service processing method further includes: and sending an computing power resource registration request to the computing power management equipment, wherein the computing power resource registration request comprises computing power resource information of the target computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the target computing power node, and the computing power resource information of the target computing power node comprises the residual computing power resource size of the target computing power node, the service starting time of the target computing power node and the service ending time of the target computing power node.
Optionally, after the sending the computing resource registration request to the computing management device, the service processing method further includes: determining that the target power calculation node does not receive a preset message sent by the power management equipment within a first time length threshold; and re-sending the computing resource registration request to the computing management equipment under the condition that the residual service time of the target computing node is longer than a second time threshold.
Optionally, after the sending the computing resource registration request to the computing management device, the service processing method further includes: sending a computing resource cancellation request to the computing management device when the remaining service duration of the target computing node is less than or equal to a second duration threshold, wherein the computing resource cancellation request is used for requesting cancellation of computing resource information of the target computing node; and receiving a computing power resource cancellation response sent by the computing power management equipment, wherein the computing power resource cancellation response is used for notifying that the computing power resource information of the target computing power node is successfully cancelled, and the computing power resource cancellation response is sent by the computing power management equipment under the condition that the target computing power node is in an idle state.
In a third aspect, the present invention provides a service processing apparatus, including: the device comprises an acquisition module, a determination module and a sending module; the acquisition module is used for acquiring the power demand information of the target service, wherein the power demand information comprises the power resource size corresponding to the target service and the target time length of the target service; the determining module is used for determining a target computing power node from at least one computing power node, wherein the residual computing power resource size of the at least one computing power node is larger than or equal to the computing power resource size corresponding to the target service, the residual service time of the at least one computing power node is longer than or equal to the target time of the target service, and the credit score of the target computing power node is larger than or equal to a score threshold value; the sending module is configured to send a service processing instruction to the target computing node, where the service processing instruction includes an identifier of the target service, and the service processing instruction is configured to instruct the target computing node to process the target service.
Optionally, the service processing device further comprises a receiving module; the receiving module is used for receiving an account resource registration request sent by a plurality of account nodes, wherein the account resource registration request sent by one account node comprises account resource information of the account node, the account resource registration request is used for requesting to register the account resource information of the account node, and the account resource information of the account node comprises the residual account resource size of the account node, the service starting time of the account node and the service ending time of the account node; the determining module is further configured to determine a difference between a service end time and a current time of a first computing node as a remaining service duration of the first computing node, where the first computing node is one of the plurality of computing nodes.
Optionally, the service processing device further comprises a deletion module; the determining module is used for determining that the power management equipment does not receive a preset message sent by the first power node within a first time length threshold; and the deleting module deletes the computing power resource information of the first computing power node.
Optionally, the receiving module is further configured to receive a power resource cancellation request sent by the target power node, where the power resource cancellation request is used to request cancellation of power resource information of the target power node, where the power resource cancellation request is sent by the target power node when a remaining service duration of the target power node is less than or equal to a second duration threshold; the deleting module is used for deleting the computing power resource information of the target computing power node under the condition that the target computing power node is in an idle state; the sending module is further configured to send a power resource cancellation response to the target power node, where the power resource cancellation response is used to notify the target power node that the power resource information cancellation of the target power node is successful.
In a fourth aspect, the present invention provides a service processing apparatus, including: a receiving module and a processing module;
the receiving module is used for receiving a service processing instruction sent by the computing power management equipment, the service processing instruction comprises an identifier of a target service, the service processing instruction is used for instructing a target computing power node to process the target service, the credit score of the target computing power node is larger than or equal to a score threshold value, the target computing power node is determined by the computing power management equipment from at least one computing power node, the residual computing power resource size of the at least one computing power node is larger than or equal to the corresponding computing power resource size of the target service, and the residual service time of the at least one computing power node is longer than or equal to the target time of the target service; the processing module is used for processing the target service based on the service processing instruction.
Optionally, the service processing device further comprises a sending module; the sending module is configured to send, to the power management device, a power resource registration request, where the power resource registration request includes power resource information of the target power node, and the power resource registration request is used to request registration of power resource information of the target power node, and the power resource information of the target power node includes a remaining power resource size of the target power node, a service start time of the target power node, and a service end time of the target power node.
Optionally, the service processing device further comprises a determining module; the determining module is used for determining that the target power computing node does not receive a preset message sent by the power management equipment within a first time length threshold; the sending module is further configured to resend the computing resource registration request to the computing management device when the remaining service time period of the target computing node is greater than a second time period threshold.
Optionally, the sending module is further configured to send, to the computing management device, a computing resource cancellation request, where the computing resource cancellation request is used to request cancellation of computing resource information of the target computing node, if a remaining service duration of the target computing node is less than or equal to a second duration threshold; the receiving module is further configured to receive a power resource cancellation response sent by the power management device, where the power resource cancellation response is used to notify that power resource information of the target power node is cancelled successfully, and the power resource cancellation response is sent by the power management device when the target power node is in an idle state.
In a fifth aspect, the present invention 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 above-described alternative business processing methods of the first aspect or to implement any of the above-described alternative business processing methods of the second aspect.
In a sixth aspect, the present invention provides a computer readable storage medium having instructions stored thereon which, when executed by a server, enable the server to perform any one of the above-described first aspect, or to perform any one of the above-described second aspect.
According to the business processing method, the business processing device, the server and the storage medium, the power management equipment can acquire the power demand information of the target business, wherein the power demand information comprises the power resource size corresponding to the target business and the target time length of the target business; the computing management device may then determine a target computing node from the at least one node and send a traffic handling indication to the target computing node, the traffic handling indication being indicative of the target computing node handling the target traffic. Further, the target power node may process the target traffic based on the traffic handling indication after receiving the traffic handling indication. In the invention, as the corresponding computing power resource of the target service is the computing power resource needed by processing the target service, the target time length of the target service is the time length needed by processing the target service; the remaining computing power resource size of at least one is greater than or equal to the computing power resource size corresponding to the target service, and the remaining service time of the at least one computing power node is greater than or equal to the target duration of the target service indicating that the at least one computing power node is a computing power node capable of processing the target service. And the credit score of the target computing node is larger than or equal to the score threshold value, so that the reliability of the target computing node is higher. The power management node can determine the power node with higher reliability (namely the target power node) in the power nodes capable of processing the target service as the power node for processing the target service, can effectively complete the power demand of power demand equipment, and improves the service processing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 service processing system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a service processing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another service processing method according to an embodiment of the present invention;
fig. 4 is a flow chart of another service processing method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another service processing method according to an embodiment of the present invention;
fig. 6 is a flow chart of another service processing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service processing device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present invention.
Detailed Description
The service processing method, device, server and storage medium provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
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 invention, 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 "e.g." in an embodiment of the present invention is not to be taken 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.
The term "and/or" as used herein includes the use of either or both of these methods.
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 in the related art, the manner in which the computing power arrangement device arbitrarily selects one computing power node from the plurality of computing power nodes may be unreasonable, for example, the computing power node has failed (for example, is down, etc.), which may affect the processing efficiency of the computing task. Based on this, the embodiment of the invention provides a service processing method, a device, a server and a storage medium, because the computing power resource size corresponding to a target service is the computing power resource size required for processing the target service, the target duration of the target service is the duration required for processing the target service; the remaining computing power resource size of at least one is greater than or equal to the computing power resource size corresponding to the target service, and the remaining service time of the at least one computing power node is greater than or equal to the target duration of the target service indicating that the at least one computing power node is a computing power node capable of processing the target service. And the credit score of the target computing node is larger than or equal to the score threshold value, so that the reliability of the target computing node is higher. The power management node can determine the power node with higher reliability (namely the target power node) in the power nodes capable of processing the target service as the power node for processing the target service, can effectively complete the power demand of power demand equipment, and improves the service processing efficiency.
The service processing method, the device, the server and the storage medium provided by the embodiment of the invention can be applied to a service processing system. As shown in fig. 1, the business processing system includes a computing node 101, a computing node 102, a computing node 103, a computing management device 104, and a computing demand device 105. In general, in practical applications, the connection between the above-mentioned devices or service functions may be a wireless connection, and for convenience and intuitiveness, the connection relationship between the devices is schematically shown by a solid line in fig. 1.
Wherein the computing power node (including computing power node 101, computing power node 102, and computing power node 103) is configured to send a computing power resource registration request to the computing power management device 104, where the computing power resource registration request includes computing power resource information of the computing power node, and the computing power resource registration request is configured to request registration of computing power resource information of the computing power node.
The power management device 104 is configured to obtain power demand information of a target service, where the power demand information includes a power resource size corresponding to the target service and a target duration of the target service. The computing force management device 104 is further configured to determine a target computing force node (e.g., computing force node 102) from at least one computing force node (e.g., computing force node 101, computing force node 102, and computing force node 103), and send a traffic handling indication to the target computing force node, the traffic handling indication including an identification of the target traffic, the traffic handling indication being configured to instruct the target computing force node to handle the target traffic.
The power demand device 105 is configured to send a service processing request to the power management device 104, where the service processing request includes power demand information of the target service, and the service processing request is used to request determination of a power node for processing the target service.
It should be noted that, in fig. 1, 3 computing nodes, 1 computing management device, and 1 computing demand device are shown, and the data of each device is not specifically limited in the embodiment of the present invention.
The business processing method, the business processing device, the server and the storage medium provided by the embodiment of the invention are applied to a scene of business processing (particularly processing a target business of a force calculation demand device by a force calculation node). After the computing power management device obtains the computing power demand information of the target service, a target computing power node may be determined from the at least one computing power node, and a service processing indication may be sent to the target computing power node. Further, the target computing power node may process the target traffic based on the traffic handling indication after receiving the traffic handling indication.
The service processing method provided by the embodiment of the present invention is fully described below from the point of interaction of each device in the service processing system with the service processing system shown in fig. 1.
As shown in fig. 2, the service processing method provided in the embodiment of the present invention may include S101-S105.
S101, the power management equipment acquires power demand information of the target service.
The computing power demand information comprises computing power resource size corresponding to the target service and target duration of the target service.
It should be appreciated that the target service may include computing tasks such as video rendering, artificial intelligence (artificial intelligence, AI) processing, and the like. The computing power resource size corresponding to the target service is the computing power resource size required by processing the target service, and the target duration of the target service is the duration required by processing the target service.
In an alternative implementation, the target duration may be predicted, i.e., the target duration may characterize a predicted duration for processing the target service.
In one implementation manner of the embodiment of the present invention, when the power demand device has a power demand (i.e., there is a target service in the power demand device that needs to be processed by the power node), the power demand device may send a service processing request to the power management device, where the service processing request includes power demand information of the target service, and the service processing request is used to request to determine the power node that processes the target service. The power management device may obtain power demand information of the target service, and further determine a power node for the power demand device to process the target service.
Optionally, the computing resources in the embodiment of the present invention may include a memory and a central processing unit (central processing unit, CPU) and the like.
S102, the computing force management device determines a target computing force node from at least one computing force node.
The size of the residual computing power resource of the at least one computing power node is larger than or equal to the size of the computing power resource corresponding to the target service, the time length of the residual service of the at least one computing power node is larger than or equal to the target time length of the target service, and the credit score of the target computing power node is larger than or equal to the score threshold value.
In connection with the above description of the embodiments, it should be understood that the computing power resource size corresponding to the target service is the computing power resource size required for processing the target service, and the target duration of the target service is the duration required for processing the target service.
It can be appreciated that the remaining computing power resource size of the at least one computing power node is greater than or equal to the computing power resource size corresponding to the target service, which indicates that the remaining computing power resource size of the at least one computing power node can meet the computing power size required for processing the target service. The remaining service time length of the at least one computing node being greater than or equal to the target time length of the target service indicates that the remaining service time length of the at least one computing node can satisfy the time length required to process the target service. The remaining computing power resource size of the at least one computing power node is capable of satisfying the computing power size required to process the target service, and the remaining service duration of the at least one computing power node is capable of satisfying the duration required to process the target service, indicating that the at least one computing power node is capable of processing the target service. The computing management device may then process the target computing node from the at least one computing node capable of processing the target traffic.
It should be appreciated that the credit score of a power node is used to characterize the reliability of the power node, and that the credit score of the target power node is greater than or equal to the score threshold value indicates that the credit score of the target power node is greater, i.e., the reliability of the target power node is higher. In the embodiment of the present invention, the power management device may determine a power node with higher reliability among the at least one power node as the target power node.
In one implementation of an embodiment of the present invention, a network (e.g., the traffic processing system shown in fig. 1, described above) may include a plurality of computing nodes. The computing management device may obtain a remaining computing power resource size of each computing power node of the plurality of computing power nodes and a remaining service duration of each computing power node; and then the computing management device can determine the computing node with the residual computing resource size larger than or equal to the computing resource size corresponding to the target service and the residual service time longer than or equal to the target time length of the target service from the plurality of computing nodes, and can determine the at least one computing node.
In one implementation of the embodiment of the present invention, the power management device may further obtain a credit score of each of the plurality of power calculation nodes (including the at least one power calculation node); the computing node may then determine a computing node from the at least one computing node for which the credit score is greater than or equal to the score threshold, i.e., the target computing node may be determined.
In an embodiment of the present invention, the above-mentioned plurality of computing nodes may also be understood as a computing force providing device for providing computing force resources or computing services to a computing force demand device (in particular, a business of the computing force demand device).
S103, the power management equipment sends a service processing instruction to the target power node.
The service processing instruction comprises the identification of the target service, and the service processing instruction is used for instructing the target computing power node to process the target service.
It should be appreciated that the power management device sends a business process indication to the target power node, so that the target power node may process the target business based on the business process indication after receiving the business process indication, i.e. the power demand of the power demand device described above may be completed.
S104, the target power node receives a service processing instruction sent by the power management equipment.
In connection with the above description of the embodiments, it should be understood that the traffic handling indication includes an identification of a target traffic, the traffic handling indication is used to instruct the target computing node to handle the target traffic, the credit score of the target computing node is greater than or equal to a score threshold, the target computing node is determined by the computing management device from at least one computing node, the remaining computing resource size of the at least one computing node is greater than or equal to the computing resource size corresponding to the target traffic, and the remaining service time period of the at least one computing node is greater than or equal to the target time period of the target traffic.
S105, the target power node processes the target service based on the service processing instruction.
In an alternative implementation, the target power node may send the processing result of the target service to the power management device, so that the power management device may send the processing result to the power demand device.
In another alternative implementation, after the target computing node receives the above-described traffic handling indication, the target computing node may establish a communication connection with the computing force demand device. In this way, the target computing power node may directly send the processing result of the target service to the computing power demand device.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S101-S105, the power management device may acquire power demand information of a target service, where the power demand information includes a power resource size corresponding to the target service and a target duration of the target service; the computing management device may then determine a target computing node from the at least one node and send a traffic handling indication to the target computing node, the traffic handling indication being indicative of the target computing node handling the target traffic. Further, the target power node may process the target traffic based on the traffic handling indication after receiving the traffic handling indication. In the embodiment of the invention, as the corresponding computing power resource size of the target service is the computing power resource size required for processing the target service, the target duration of the target service is the duration required for processing the target service; the remaining computing power resource size of at least one is greater than or equal to the computing power resource size corresponding to the target service, and the remaining service time of the at least one computing power node is greater than or equal to the target duration of the target service indicating that the at least one computing power node is a computing power node capable of processing the target service. And the credit score of the target computing node is larger than or equal to the score threshold value, so that the reliability of the target computing node is higher. The power management node can determine the power node with higher reliability (namely the target power node) in the power nodes capable of processing the target service as the power node for processing the target service, can effectively complete the power demand of power demand equipment, and improves the service processing efficiency.
Referring to fig. 2, as shown in fig. 3, before the aforementioned power management device determines the target power node from at least one power node, the service processing method provided by the embodiment of the present invention further includes S106-S108.
S106, the target computing power node sends a computing power resource registration request to the computing power management equipment.
The computing power resource registration request comprises computing power resource information of the target computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the target computing power node, and the computing power resource information of the target computing power node comprises the residual computing power resource size of the target computing power node, the service starting time of the target computing power node and the service ending time of the target computing power node.
It should be understood that the service start time of the target computing node and the service end time of the target computing node may form a time interval, and the time interval may be understood as a service time interval of the target computing node, that is, the target computing node may provide the computing service in the service time interval.
In the embodiment of the present invention, the remaining computing power resources of the target computing power node may also be understood as idle resources of the target computing power node (i.e. not used by the target computing power node), and the target computing power node may provide the idle resources to the computing power demand device in the service time interval.
The time length of the service time period may be 1 day, 1 week, 1 month, etc., and the service start time and the service end time may be any time, for example, 6 points and 15 minutes. The embodiment of the invention does not specifically limit the time length represented by the service time interval of one computing node, the service starting time of the computing node and the service ending time of the computing node.
It should be appreciated that each of the plurality of computing nodes described above may send a computing resource registration request to the computing management device, the target computing node belonging to the plurality of computing nodes.
And S107, the computing power management equipment receives computing power resource registration requests sent by a plurality of computing power nodes.
The computing power resource registration request sent by one computing power node comprises computing power resource information of the computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the computing power node, and the computing power resource information of the computing power node comprises the residual computing power resource size of the computing power node, the service starting time of the computing power node and the service ending time of the computing power node.
Optionally, the computing force management device may store computing force resource information for each of the plurality of computing force nodes.
S108, the power management equipment determines the difference value between the service end time and the current time of the first power node as the residual service duration of the first power node.
Wherein the first computing node is one of the plurality of computing nodes.
It should be appreciated that, after obtaining the service end time for each of the plurality of computing nodes, the computing management device may determine a remaining service duration for each computing node based on the service end time for each computing node and the current time. Further, the computing management device may determine the at least one computing node from the plurality of computing nodes in combination with a remaining computing resource size of each computing node.
In the embodiment of the invention, each of a plurality of computing nodes (including a target computing node) can send a computing registration request to computing management equipment, wherein the computing registration request sent by one computing node to the computing management equipment comprises computing resource information of the computing node, the computing resource registration request is used for requesting to register the computing resource information of the computing node, and the computing resource information of the computing node comprises the residual computing resource size of the computing node, the service starting time of the computing node and the service ending time of the computing node; the power management device may determine, after receiving the power registration request sent by the plurality of power nodes, a difference between a service end time and a current time of a certain power node (for example, a first power node) of the plurality of power nodes as a remaining service duration of the first power node. In the embodiment of the invention, the power management equipment can accurately and effectively determine the residual service duration of each power node based on the service end time and the current time of each power node, so that the accuracy of the power management equipment for determining the target power node from at least one power node can be improved.
In one implementation manner of the embodiment of the present invention, when the computing management device receives the computing resource registration request sent by the plurality of computing nodes, the computing management device may perform identity verification on each of the plurality of computing nodes. Specifically, two cases may be included: first registration and non-first registration; the computing management device may determine whether each computing node is not first registered based on an identification of whether the computing node is stored in the computing management device. That is, the computing power registration request sent by one of the computing power nodes (for example, the first computing power node) further includes an identifier of the first computing power node; in the case where the identity of the first computing node is stored in the computing management device, the computing management device determines that the first computing node is not first registered; in the event that the identity of the first power node is not stored in the power management device, the power management device determines the first power node as first registered.
In one case, the computing management device may send a test task to the first computing node when the first computing node is first registered; when the power management device receives target data (specifically, a correct result of the test task) sent by the first power node within a preset time period, the power management device can determine that the identity verification of the first power node is successful; conversely, the power management device may determine that the authentication of the first power node fails, i.e., when the power management device does not receive the target data sent by the first power node within the preset time period.
In another case, when the first computing power node is not first registered, the computing power management device may determine a credit score for the first computing power node based on the identification of the first computing power node; when the credit score of the first computing force node is greater than or equal to a certain threshold (the threshold may be less than the score threshold), the computing force device may determine that the authentication of the first computing force node is successful; conversely, i.e. when the credit score of the first computing force node is less than the threshold value, the computing force device may determine that the authentication of the first computing force node fails.
In the embodiment of the invention, the credit score of each of the plurality of credit nodes can be recorded by the credit management equipment based on the form of the blockchain ledger.
Referring to fig. 3, as shown in fig. 4, after the foregoing power management device receives the power resource registration request sent by the plurality of power nodes, the service processing method provided by the embodiment of the present invention further includes S109-S110.
S109, the power management device determines that the power management device does not receive a preset message sent by the first power node within a first time length threshold.
It should be appreciated that when a link between a first computing node and a computing management device is damaged, or the first computing node fails, the computing management device may not be able to receive a preset message sent by the first computing node; when the power management device does not receive the preset message sent by the first power node within the first time length threshold value, the link between the first power node and the power management device may be damaged for a long time, or the first power node may be failed for a long time.
S110, the computing power management device deletes computing power resource information of the first computing power node.
It will be appreciated that when the link between the first computing node and the computing management device may have been damaged for a long period of time, or the first computing node has been failed for a long period of time, indicating that the first computing node is temporarily unable to provide computing tasks, the computing management device may delete the computing resource information of the first computing node. The method and the device can improve the processing capacity of the power management equipment, avoid determining (or selecting) a power calculation node which cannot process the target service for the power calculation demand equipment, and ensure the effectiveness of service processing.
In the embodiment of the invention, deleting the computing power resource information of the first computing power node by the computing power management device can be understood as canceling the computing power resource information of the first computing power node by the computing power management device. After the computing power resource information of the first computing power node is deleted (or logged off), the first computing power node cannot accept the computing task (e.g., the target service) allocated by the computing power management device.
In an implementation manner of the embodiment of the present invention, the power management device may store a preset corresponding relationship, where the preset corresponding relationship includes an identifier of each power node in the plurality of power nodes and power resource information of each power node. The deleting, by the power management device, the power resource information of the first power node may specifically be deleting the power resource information of the first power node (and the identifier of the first power node) from the preset correspondence.
Referring to fig. 3, as shown in fig. 5, after the target computing node sends a computing resource registration request to the computing management device, the service processing method provided by the embodiment of the present invention further includes S111-S112.
S111, the target power computing node determines that the target power computing node does not receive a preset message sent by power management equipment within a first time length threshold.
It should be appreciated that when a link between a target power node and a power management device is damaged, or the power management device fails, the target power node may not be able to receive a preset message sent by the power management device; when the target power node does not receive the preset message sent by the power management equipment within the first time length threshold value, the link between the target power node and the power management equipment may be damaged for a long time, or the power management equipment may be failed for a long time.
And S112, when the remaining service time of the target computing node is longer than the second time threshold, the target computing node sends a computing resource registration request to the computing management equipment again.
It will be appreciated that when the link between the target power node and the power management device may have been damaged for a long period of time, or the power management device has been malfunctioning for a long period of time, it is stated that the power management device may not be able to receive the power resource registration request sent by the target power node for reasons that may not be the target power node. At this time, the target computing node may determine whether a remaining service duration of the target computing node is greater than a second duration threshold; when the remaining service time of the target computing node is longer than the second time threshold, it is indicated that the remaining service time of the target computing node is longer, that is, the remaining time of the target computing node capable of providing computing service is longer, at this time, the target computing node may send the computing resource registration request to the computing management device again, so that the target computing node may continue to provide computing tasks, and may also understand that the service issued by the computing management device is continuously accepted, so that resource waste can be avoided to a certain extent.
In the embodiment of the present invention, the preset message may be periodically sent to each other between each of the plurality of computing nodes (including the target computing node and the first computing node) and the computing management device, that is, each computing node may periodically send the preset message to the computing management device, and the computing management device may also periodically send the preset message to each computing node. The preset message is used for determining whether the state of each computing node, the state of the computing management equipment and the state of a link between each computing node and the computing management equipment are abnormal or not.
The preset message may be a keep alive message, for example.
Referring to fig. 3, as shown in fig. 6, after the foregoing power management device receives the power resource registration request sent by the plurality of power nodes, the service processing method provided by the embodiment of the present invention further includes S113-S117.
And S113, under the condition that the residual service duration of the target power node is less than or equal to the second duration threshold, the target power node sends a power resource cancellation request to power management equipment.
The computing power resource cancellation request is used for requesting to cancel computing power resource information of the target computing power node.
It should be appreciated that, in a case where the remaining service duration of the target computing node is less than or equal to the second duration threshold, it is indicated that the remaining service duration of the target computing node is shorter, that is, the remaining time that the target computing node is capable of providing the computing service is less, where the target computing node may send a computing resource cancellation request to the computing management device to request the computing management device to cancel computing resource information of the target computing node.
And S114, the computing power management equipment receives a computing power resource cancellation request sent by the target computing power node.
In connection with the above description of the embodiments, it should be understood that the computing power resource cancellation request is used to request cancellation of computing power resource information of the target computing power node, where the computing power resource cancellation request is sent by the target computing power node if the remaining service duration of the target computing power node is less than or equal to the second duration threshold.
And S115, deleting the computing power resource information of the target computing power node by the computing power management equipment under the condition that the target computing power node is in an idle state.
In connection with the above description of the embodiments, it should be understood that deleting the computing resource information of one computing node (e.g., the target computing node) by the computing management device is that the computing management device logs off the computing resource information of the computing node.
It will be appreciated that in the case where the target power node is in an idle state, indicating that there is no traffic in the target power node being processed (or not processed), the power management device may delete the power resource information of the target power node.
And S116, the computing power management equipment sends a computing power resource cancellation response to the target computing power node.
The computing power resource cancellation response is used for notifying the computing power resource information of the target computing power node that cancellation is successful.
In an alternative implementation, where the target power node is in an occupied state, indicating that there is traffic in the target power node that is being processed (or not processed), the power management device may send a resource cancellation failure response to the target power node, where the resource cancellation failure response is used to notify the target power node that the power resource information of the target power node fails to cancel. Further, the target power node may also receive the resource cancellation failure response.
S117, the target computing power node receives a computing power resource cancellation response sent by the computing power management equipment.
In connection with the above description of the embodiments, it should be appreciated that the computing resource cancellation response is used to inform the target computing node that the computing resource cancellation was successful, the computing resource cancellation response being sent by the computing management device with the target computing node in an idle state.
In the embodiment of the invention, under the condition that the remaining service duration of the target computing node is less than or equal to the second duration threshold, the remaining service duration of the target computing node is short, that is, the remaining time that the target computing node can provide computing service is short, at this time, the target computing node can send a computing resource cancellation request to computing management equipment, and the computing resource cancellation request is used for requesting to cancel computing resource information of the target computing node; the power management device may determine, after receiving the power resource cancellation request, whether the target power node is in an idle state; under the condition that the target computing power node is in an idle state, the fact that no service which is being processed (or is not processed) exists in the target computing power node is indicated, and the computing power management equipment can delete computing power resource information of the target computing power node; the computing management device may then send a computing resource cancellation response to the target computing node, the computing resource cancellation response being used to inform the target computing node that the cancellation of the computing resource information of the target computing node was successful; and the target computing power node may receive the computing power resource cancellation response. In the embodiment of the disclosure, when the remaining time that a certain computing node can provide a computing service is less, the computing management device may determine whether there is a service being processed (or not processed) in the computing node; when the service being processed (or being processed) does not exist in the computing node, the computing resource information of the computing node can be deleted (or logged off) by the computing management equipment, so that the resource waste of the computing node can be avoided, and the processing capacity of the computing management equipment is improved.
In one implementation manner of the embodiment of the present invention, since the service end time of each of the plurality of computing nodes may be obtained (or stored) by the computing management device; when the service end time of one computing node is before the current time (the service duration of the computing node is 0), the computing node is not capable of bearing the service issued by the computing management equipment; at this point the computing management device may determine whether the computing node is in an idle state; when the computing power node is in an idle state, the computing power management device may delete computing power resource information of the computing power node and send the computing power resource cancellation response to the computing power node.
In an alternative implementation, a computing node may also determine whether the computing node is in an occupied state. When the computing node is in an occupied state, the computing node may send a deferred cancellation request to a computing management device, the deferred cancellation request being for requesting an increase in a service duration of the computing node.
In one implementation manner of the embodiment of the present invention, the target service may delay delivery, specifically, the processing time of the target service is longer than the target time of the target service, where the processing time may be understood as the actual time of processing the target service.
In one case, when the processing time period is longer than the target time period due to the target power node (e.g., the target power node fails), the power management apparatus may reduce the credit score of the target power node by a preset step size.
In another case, the power management device may allocate a preset virtual resource to an account of the target power node when the processing time period is longer than the target time period due to a cause of the power management device (e.g., the power management device fails) and/or a cause of the power demand device (e.g., the target time period prediction is inaccurate).
The embodiment of the invention can divide the functional modules of the power management equipment, the target power node and the like according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in 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 invention, 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 by the respective functions, fig. 7 shows a schematic diagram of one possible configuration of the service processing apparatus involved in the above-described embodiment, and as shown in fig. 7, the service processing apparatus 20 may include: an acquisition module 201, a determination module 202 and a transmission module 203.
The obtaining module 201 is configured to obtain power demand information of a target service, where the power demand information includes a power resource size corresponding to the target service and a target duration of the target service.
A determining module 202, configured to determine a target computing power node from at least one computing power node, where a remaining computing power resource size of the at least one computing power node is greater than or equal to a computing power resource size corresponding to the target service, and a remaining service time period of the at least one computing power node is greater than or equal to a target time period of the target service, and a credit score of the target computing power node is greater than or equal to a score threshold.
A sending module 203, configured to send a service processing instruction to the target computing node, where the service processing instruction includes an identifier of the target service, and the service processing instruction is used to instruct the target computing node to process the target service.
Optionally, the service processing device 20 further includes a receiving module 204.
The receiving module 204 is configured to receive an account resource registration request sent by a plurality of account nodes, where the account resource registration request sent by one account node includes account resource information of the account node, the account resource registration request is used for requesting to register account resource information of the account node, and the account resource information of the account node includes a remaining account resource size of the account node, a service start time of the account node, and a service end time of the account node.
The determining module 202 is further configured to determine a difference between a service end time and a current time of a first computing node as a remaining service duration of the first computing node, where the first computing node is one of the plurality of computing nodes.
Optionally, the service processing device 20 further includes a deletion module 205.
The determining module 202 determines that the power management device does not receive the preset message sent by the first power node within the first time length threshold.
The deletion module 205 deletes the computing power resource information of the first computing power node.
Optionally, the receiving module 204 is further configured to receive a power resource cancellation request sent by the target power node, where the power resource cancellation request is used to request cancellation of power resource information of the target power node, where the power resource cancellation request is sent by the target power node if a remaining service duration of the target power node is less than or equal to a second duration threshold.
And the deleting module 205 is configured to delete the computing power resource information of the target computing power node when the target computing power node is in an idle state.
The sending module 203 is further configured to send a power resource cancellation response to the target power node, where the power resource cancellation response is used to notify that the power resource information of the target power node is cancelled successfully.
In case of an integrated unit, fig. 8 shows a schematic diagram of one possible architecture of the service processing device involved in the above-described embodiment. As shown in fig. 8, the service processing apparatus 30 may include: a processing module 301 and a communication module 302. The processing module 301 may be configured to control and manage the operation of the service processing device 30. The communication module 302 may be used to support communication of the service processing device 30 with other entities. Optionally, as shown in fig. 8, the service processing device 30 may further include a storage module 303 for storing program codes and data of the service processing 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.
In the case of dividing the respective functional modules with the respective functions, fig. 9 shows a schematic diagram of one possible configuration of the service processing apparatus involved in the above-described embodiment, and as shown in fig. 9, the service processing apparatus 40 may include: a receiving module 401 and a processing module 402.
A receiving module 401, configured to receive a service processing instruction sent by a power management device, where the service processing instruction includes an identifier of a target service, where the service processing instruction is used to instruct a target power node to process the target service, where a credit score of the target power node is greater than or equal to a score threshold, where the target power node is determined by the power management device from at least one power node, a remaining power resource size of the at least one power node is greater than or equal to a power resource size corresponding to the target service, and a remaining service time of the at least one power node is greater than or equal to a target duration of the target service.
A processing module 402, configured to process the target service based on the service processing instruction.
Optionally, the service processing device 40 further includes a sending module 403.
A sending module 403, configured to send, to the power management device, a power resource registration request, where the power resource registration request includes power resource information of the target power node, where the power resource registration request is used to request registration of power resource information of the target power node, and the power resource information of the target power node includes a remaining power resource size of the target power node, a service start time of the target power node, and a service end time of the target power node.
Optionally, the service processing device 40 further includes a determining module 404.
A determining module 404, configured to determine that the target power node does not receive the preset message sent by the power management device within the first time length threshold.
The sending module 403 is further configured to resend the computing resource registration request to the computing management device if the remaining service time period of the target computing node is greater than the second time period threshold.
Optionally, the sending module 403 is further configured to send, to the computing management device, a computing resource cancellation request, where the computing resource cancellation request is used to request cancellation of computing resource information of the target computing node, if the remaining service duration of the target computing node is less than or equal to the second duration threshold.
The receiving module 401 is further configured to receive a power resource cancellation response sent by the power management device, where the power resource cancellation response is used to notify that power resource information of the target power node is cancelled successfully, and the power resource cancellation response is sent by the power management device when the target power node is in an idle state.
In case of an integrated unit, fig. 10 shows a schematic diagram of one possible architecture of the service processing device involved in the above-described embodiment. As shown in fig. 10, the service processing apparatus 50 may include: a processing module 501 and a communication module 502. The processing module 501 may be configured to control and manage the operation of the service processing device 50. The communication module 502 may be used to support communication of the service processing device 50 with other entities. Optionally, as shown in fig. 10, the service processing device 50 may further include a storage module 503 for storing program codes and data of the service processing device 50.
Wherein the processing module 501 may be a processor or a controller. The communication module 502 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 503 may be a memory.
Where the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, the transceiver, and the memory may be connected by a bus. The bus may be a PCI bus or an EISA bus, etc. The buses may be divided into address buses, data buses, control buses, etc.
It should be understood that, in various embodiments of the present invention, 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 invention.
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 invention.
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 invention 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 illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A business processing method, characterized by being applied to a power management apparatus, the method comprising:
acquiring calculation force demand information of a target service, wherein the calculation force demand information comprises calculation force resource size corresponding to the target service and target time length of the target service;
receiving a computing power resource registration request sent by a plurality of computing power nodes, wherein the computing power resource registration request sent by one computing power node comprises computing power resource information of the computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the computing power node, and the computing power resource information of the computing power node comprises the residual computing power resource size of the computing power node, the service starting time of the computing power node and the service ending time of the computing power node;
Determining a difference value between a service end time and a current time of a first computing node as a residual service duration of the first computing node, wherein the first computing node is one of the plurality of computing nodes;
determining a target computing power node from at least one computing power node, wherein the residual computing power resource size of the at least one computing power node is larger than or equal to the computing power resource size corresponding to the target service, the residual service time length of the at least one computing power node is larger than or equal to the target time length of the target service, and the credit score of the target computing power node is larger than or equal to a score threshold value;
and sending a service processing instruction to the target computing node, wherein the service processing instruction comprises an identifier of the target service, and the service processing instruction is used for instructing the target computing node to process the target service.
2. The traffic processing method according to claim 1, wherein after said receiving a computing power resource registration request sent by a plurality of computing power nodes, the method further comprises:
determining that the power management equipment does not receive a preset message sent by the first power node within a first time length threshold;
And deleting the computing power resource information of the first computing power node.
3. The traffic processing method according to claim 1 or 2, characterized in that after said receiving a computing power resource registration request sent by a plurality of computing power nodes, the method further comprises:
receiving a computing power resource cancellation request sent by the target computing power node, wherein the computing power resource cancellation request is used for requesting cancellation of computing power resource information of the target computing power node, and the computing power resource cancellation request is sent by the target computing power node under the condition that the residual service duration of the target computing power node is less than or equal to a second duration threshold;
deleting computing power resource information of the target computing power node under the condition that the target computing power node is in an idle state;
and sending a computing power resource cancellation response to the target computing power node, wherein the computing power resource cancellation response is used for notifying the target computing power node that the computing power resource information cancellation of the target computing power node is successful.
4. A method of business processing, for application to a target computing node, the method comprising:
sending an computing power resource registration request to computing power management equipment, wherein the computing power resource registration request comprises computing power resource information of a target computing power node, the computing power resource registration request is used for requesting to register the computing power resource information of the target computing power node, and the computing power resource information of the target computing power node comprises the residual computing power resource size of the target computing power node, the service starting time of the target computing power node and the service ending time of the target computing power node;
Receiving a service processing instruction sent by a computing power management device, wherein the service processing instruction comprises an identifier of a target service, the service processing instruction is used for instructing a target computing power node to process the target service, the credit score of the target computing power node is greater than or equal to a score threshold, the target computing power node is determined by the computing power management device from at least one computing power node, the residual computing power resource size of the at least one computing power node is greater than or equal to the computing power resource size corresponding to the target service, and the residual service time of the at least one computing power node is greater than or equal to the target time length of the target service;
and processing the target service based on the service processing instruction.
5. The business processing method of claim 4, wherein after said sending a computing power resource registration request to said computing power management device, said method further comprises:
determining that the target power calculation node does not receive a preset message sent by the power management equipment within a first time length threshold;
and re-sending the computing resource registration request to the computing management equipment under the condition that the remaining service time of the target computing node is longer than a second time threshold.
6. The business processing method of claim 4 or 5, wherein after said sending a computing power resource registration request to the computing power management device, the method further comprises:
transmitting a computing power resource cancellation request to the computing power management equipment under the condition that the remaining service duration of the target computing power node is less than or equal to a second duration threshold, wherein the computing power resource cancellation request is used for requesting to cancel computing power resource information of the target computing power node;
and receiving a computing power resource cancellation response sent by the computing power management equipment, wherein the computing power resource cancellation response is used for notifying that the computing power resource information of the target computing power node is successfully cancelled, and the computing power resource cancellation response is sent by the computing power management equipment under the condition that the target computing power node is in an idle state.
7. A service processing apparatus, comprising: the device comprises an acquisition module, a receiving module, a determining module and a sending module;
the acquisition module is used for acquiring the calculation force demand information of the target service, wherein the calculation force demand information comprises the calculation force resource size corresponding to the target service and the target time length of the target service;
The receiving module is configured to receive an account resource registration request sent by a plurality of account nodes, where the account resource registration request sent by one account node includes account resource information of the account node, the account resource registration request is used to request to register account resource information of the account node, and the account resource information of the account node includes a remaining account resource size of the account node, a service start time of the account node, and a service end time of the account node;
the determining module is configured to determine a difference between a service end time and a current time of a first computing node as a remaining service duration of the first computing node, where the first computing node is one of the plurality of computing nodes;
the determining module is further configured to determine a target computing power node from at least one computing power node, where a remaining computing power resource size of the at least one computing power node is greater than or equal to a computing power resource size corresponding to the target service, and a remaining service time period of the at least one computing power node is greater than or equal to a target duration of the target service, and a credit score of the target computing power node is greater than or equal to a score threshold;
The sending module is configured to send a service processing instruction to the target computing node, where the service processing instruction includes an identifier of the target service, and the service processing instruction is configured to instruct the target computing node to process the target service.
8. The service processing device of claim 7, wherein the service processing device further comprises a deletion module;
the determining module is used for determining that the power management equipment does not receive a preset message sent by the first power node within a first time length threshold;
and the deleting module deletes the computing power resource information of the first computing power node.
9. The service processing device according to claim 7 or 8, wherein the service processing device further comprises a deletion module;
the receiving module is further configured to receive an account resource cancellation request sent by the target account node, where the account resource cancellation request is used to request cancellation of account resource information of the target account node, where the account resource cancellation request is sent by the target account node when a remaining service duration of the target account node is less than or equal to a second duration threshold;
The deleting module is used for deleting the computing power resource information of the target computing power node under the condition that the target computing power node is in an idle state;
the sending module is further configured to send a power resource cancellation response to the target power node, where the power resource cancellation response is used to notify the target power node that power resource information cancellation of the target power node is successful.
10. A service processing apparatus, comprising: the device comprises a sending module, a receiving module and a processing module;
the sending module is configured to send an account resource registration request to an account management device, where the account resource registration request includes account resource information of a target account node, and the account resource registration request is used to request registration of account resource information of the target account node, and the account resource information of the target account node includes a remaining account resource size of the target account node, a service start time of the target account node, and a service end time of the target account node;
the receiving module is configured to receive a service processing instruction sent by the computing power management device, where the service processing instruction includes an identifier of a target service, and the service processing instruction is configured to instruct a target computing power node to process the target service, where a credit score of the target computing power node is greater than or equal to a score threshold, the target computing power node is determined by the computing power management device from at least one computing power node, a remaining computing power resource size of the at least one computing power node is greater than or equal to a computing power resource size corresponding to the target service, and a remaining service time of the at least one computing power node is greater than or equal to a target duration of the target service;
The processing module is used for processing the target service based on the service processing instruction.
11. The service processing apparatus according to claim 10, wherein the service processing apparatus further comprises a determination module;
the determining module is used for determining that the target computing power node does not receive a preset message sent by the computing power management equipment within a first time length threshold;
the sending module is further configured to resend the computing resource registration request to the computing management device when the remaining service time period of the target computing node is greater than a second time period threshold.
12. The service processing device according to claim 10 or 11, wherein,
the sending module is further configured to send, to the computing management device, a computing resource cancellation request when the remaining service duration of the target computing node is less than or equal to a second duration threshold, where the computing resource cancellation request is used to request cancellation of computing resource information of the target computing node;
the receiving module is further configured to receive a power resource cancellation response sent by the power management device, where the power resource cancellation response is used to notify that power resource information of the target power node is cancelled successfully, and the power resource cancellation response is sent by the power management device when the target power node is in an idle state.
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 traffic processing method according to any of claims 1-3 or to implement the traffic processing method according to any of claims 4-6.
14. A computer readable storage medium having instructions stored thereon, which, when executed by a server, enable the server to perform the business processing method of any one of claims 1-3 or the business processing method of any one of claims 4-6.
CN202210981108.8A 2022-08-16 2022-08-16 Service processing method, device, server and storage medium Active CN115412609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210981108.8A CN115412609B (en) 2022-08-16 2022-08-16 Service processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210981108.8A CN115412609B (en) 2022-08-16 2022-08-16 Service processing method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN115412609A CN115412609A (en) 2022-11-29
CN115412609B true CN115412609B (en) 2023-07-28

Family

ID=84159960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210981108.8A Active CN115412609B (en) 2022-08-16 2022-08-16 Service processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115412609B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112572A (en) * 2023-01-29 2023-05-12 中国联合网络通信集团有限公司 Service processing method, device, network equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112132447A (en) * 2020-09-21 2020-12-25 江苏省未来网络创新研究院 Calculation power network trust evaluation and guarantee algorithm based on block chain
CN114327827A (en) * 2021-12-28 2022-04-12 中国联合网络通信集团有限公司 Task processing method and device and storage medium
CN115622904A (en) * 2021-07-14 2023-01-17 中国移动通信有限公司研究院 Management and scheduling method, device, node and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12010144B2 (en) * 2020-06-18 2024-06-11 Intel Corporation End-to-end device attestation
CN111866162B (en) * 2020-07-28 2022-02-18 中国联合网络通信集团有限公司 Service distribution method and device
CN114095579B (en) * 2020-08-04 2024-03-22 中国移动通信有限公司研究院 Network system for computing power processing, service processing method and equipment
CN112600887B (en) * 2020-12-03 2023-03-24 中国联合网络通信集团有限公司 Computing power management method and device
CN114691349A (en) * 2020-12-31 2022-07-01 维沃移动通信有限公司 Information processing method, device, equipment and storage medium
CN113069760A (en) * 2021-04-26 2021-07-06 腾讯科技(深圳)有限公司 Resource allocation method, device, computing equipment and computer readable storage medium
CN113590282A (en) * 2021-07-19 2021-11-02 海宁奕斯伟集成电路设计有限公司 Calculation force scheduling method, system, electronic equipment and computer readable storage medium
US20220116455A1 (en) * 2021-11-16 2022-04-14 Arun Raghunath Computational storage in a function-as-a-service architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112132447A (en) * 2020-09-21 2020-12-25 江苏省未来网络创新研究院 Calculation power network trust evaluation and guarantee algorithm based on block chain
CN115622904A (en) * 2021-07-14 2023-01-17 中国移动通信有限公司研究院 Management and scheduling method, device, node and storage medium
CN114327827A (en) * 2021-12-28 2022-04-12 中国联合网络通信集团有限公司 Task processing method and device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于负载基尼系数的服务网络公平均衡调度;陈华鹏;林杰;;计算机工程与科学(第07期);全文 *

Also Published As

Publication number Publication date
CN115412609A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN107172171B (en) Service request processing method and device and computer readable storage medium
CN112672357B (en) Method and device for processing user account in service system and computer equipment
CN109766172B (en) Asynchronous task scheduling method and device
CN110808948B (en) Remote procedure calling method, device and system
CN105991412A (en) Method and device for pushing message
CN112565319B (en) Transmission control method, network management server, base station and storage medium
CN114268957B (en) Abnormal business data processing method, device, server and storage medium
CN113904847B (en) Cloud platform binding method, system, equipment and medium of Internet of things card
CN115412609B (en) Service processing method, device, server and storage medium
KR101028298B1 (en) Method and system for distributing data processing units in a communication network
CN113434293A (en) Method and apparatus for processing repeat request, storage medium, and electronic apparatus
CN113691520B (en) Method and device for acquiring streaming media information, storage medium and electronic device
CN112799796A (en) Timed task management method, device and storage medium
CN111147468A (en) User access method, device, electronic equipment and storage medium
CN111556125B (en) Access request distribution method, load balancing equipment and electronic equipment
CN110460486A (en) The monitoring method and system of service node
CN108156086B (en) Policy rule issuing method and device
CN117579611A (en) Data transmission method and device, storage medium and electronic device
CN112437146B (en) Equipment state synchronization method, device and system
CN112153580B (en) Method, equipment and system for setting MCPTT group
CN110635927A (en) Node switching method, network node and network system
CN114143403A (en) Intelligent outbound method, device, outbound system and storage medium
EP1163766B1 (en) A data transfer management system and method for a telecommunications network
CN111586115A (en) Data transmission system and method
CN111614747B (en) Information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant