CN116112572A - Service processing method, device, network equipment and storage medium - Google Patents

Service processing method, device, network equipment and storage medium Download PDF

Info

Publication number
CN116112572A
CN116112572A CN202310093162.3A CN202310093162A CN116112572A CN 116112572 A CN116112572 A CN 116112572A CN 202310093162 A CN202310093162 A CN 202310093162A CN 116112572 A CN116112572 A CN 116112572A
Authority
CN
China
Prior art keywords
service
computing node
computing
node
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310093162.3A
Other languages
Chinese (zh)
Inventor
曹畅
佟恬
张岩
庞冉
何涛
易昕昕
李建飞
李贝
魏汝翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310093162.3A priority Critical patent/CN116112572A/en
Publication of CN116112572A publication Critical patent/CN116112572A/en
Pending legal-status Critical Current

Links

Images

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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a service processing method, a device, network equipment and a storage medium, relates to the technical field of communication, and solves the technical problem that a computing node arbitrarily selected by a routing node in the related technology cannot process related service flows, and influences service processing efficiency. The method comprises the following steps: acquiring a service processing request of a terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service; determining a plurality of computing nodes based on the service type of the target service under the condition that the first corresponding relation does not comprise the first destination address; and sending the service processing request to a first service gateway, so that the first service gateway sends the service processing request to a first computing node, wherein the first service gateway is the service gateway corresponding to the first computing node, and the first computing node is used for processing the target service.

Description

Service processing method, device, network equipment 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 network device, and a storage medium.
Background
Currently, after a routing node receives a certain traffic flow, it may arbitrarily select one computing node from a plurality of computing nodes to process the traffic flow.
However, in the above method, the way in which the routing node arbitrarily selects the computing node may be unreasonable. For example, the service type that the computing node can provide is different from the service type of the service flow, so that the computing node cannot process the service flow, and the service processing efficiency is affected.
Disclosure of Invention
The application provides a service processing method, a device, network equipment and a storage medium, which solve the technical problems that a computing node arbitrarily selected by a routing node in the related technology cannot process related service flows and the service processing efficiency is affected.
In a first aspect, the present application provides a service processing method, applied to a routing node, where the service processing method includes: acquiring a service processing request of a terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relation with a service type of the target service; under the condition that the first corresponding relation does not comprise the first destination address, determining a plurality of computing nodes based on the service type of the target service, wherein the computing nodes can provide computing service for the terminal, and the first corresponding relation comprises a plurality of destination addresses and computing nodes corresponding to the destination addresses; determining a computing node with the largest capability value in the plurality of computing nodes as a first computing node, wherein the capability value of one computing node is used for representing the capability of the computing node for providing computing service; and sending the service processing request to a first service gateway, so that the first service gateway sends the service processing request to the first computing node, wherein the first service gateway is the service gateway corresponding to the first computing node, and the first computing node is used for processing the target service.
Optionally, the method further comprises: and under the condition that the first corresponding relation comprises the first destination address, sending the service processing request to a second service gateway, wherein the second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
Optionally, the method further comprises: receiving a first-level service identifier of each computing node in M computing nodes sent by the first service gateway, wherein the first-level service identifier of each computing node comprises a target remaining resource duty ratio of each computing node and a service type of each computing node, the M computing nodes are computing nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1; acquiring network state information of the first computing node, wherein the network state information of the first computing node comprises at least one of time delay of the first computing node, bandwidth of the first computing node and packet loss rate of the first computing node; and determining the capacity value of the first computing node according to the target remaining resource duty ratio of the first computing node and the network state information of the first computing node.
Optionally, the method further comprises: receiving a service identifier update indication sent by the first service gateway, wherein the service identifier update indication comprises a target service identifier and a node identifier of the first computing node; and updating the primary service identifier of the first computing node to the target service identifier.
In a second aspect, the present application provides a service processing method, applied to a first service gateway, where the service processing method includes: receiving a service processing request sent by a routing node, wherein the service processing request comprises a first destination address and a service identifier of a target service; under the condition that the second corresponding relation comprises the first destination address, determining a first computing node corresponding to the first destination address, wherein the second corresponding relation comprises a plurality of destination addresses and computing nodes corresponding to the destination addresses respectively; the service processing request is sent to the first computing node to cause the first computing node to process the target service.
Optionally, the service processing method further includes: determining the respective used resource duty ratio of at least one computing node under the condition that the first destination address is not included in the second corresponding relation, wherein the used resource duty ratio of one computing node is the ratio between the used resource amount of the computing node and the total resource amount of the computing node, the at least one computing node is a computing node capable of processing the target service, which is included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to the first service gateway; and sending the service processing request to the third computing node, wherein the third computing node is the computing node with the least occupied resource in the at least one computing node.
Optionally, the service processing method further includes: receiving computing power service configuration information sent by network management equipment, wherein the computing power service configuration information comprises a service type of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1; determining a resource proportion interval to which the initial residual resource proportion of each computing node belongs, wherein the initial residual resource proportion of each computing node is a ratio between the residual resource quantity of each computing node and the total resource quantity of each computing node; determining a first value as a target remaining resource duty ratio of the first power node, wherein the first value is a value corresponding to a first resource duty ratio interval, the first power node is one of the M power computing nodes, and the first resource duty ratio interval is a resource duty ratio interval to which an initial remaining resource duty ratio of the first power node belongs; generating a primary service identifier of each computing node based on the target remaining resource duty ratio of each computing node and the service type of each computing node; and sending the primary service identification of each computing node to a plurality of routing nodes.
Optionally, the service processing method further includes: determining whether a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is a second resource duty cycle interval or not according to the interval preset time length; generating a target service identifier based on a second value and a service type of the first computing node under the condition that a resource occupation ratio interval to which the initial remaining resource occupation ratio of the first computing node belongs is the second resource occupation ratio interval, wherein the second value is a value corresponding to the second resource occupation ratio interval; and sending a service identifier updating instruction to the plurality of routing nodes, wherein the service identifier updating instruction comprises the target service identifier and the node identifier of the first computing power node, and the service identifier updating instruction is used for indicating each routing node in the plurality of routing nodes to update the primary service identifier of the first computing power node to the target service identifier.
In a third aspect, the present application 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 a service processing request of a terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relation with a service type of the target service; the determining module is configured to determine, based on a service type of the target service, a plurality of computing nodes if the first destination address is not included in a first correspondence, where the plurality of computing nodes are computing nodes capable of providing computing services for the terminal, and the first correspondence includes a plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses; the determining module is further configured to determine, as a first computing node, a computing node with a largest capability value among the plurality of computing nodes, where the capability value of one computing node is used to characterize a capability of the computing node to provide a computing service; the sending module is configured to send the service processing request to a first service gateway, so that the first service gateway sends the service processing request to the first computing node, where the first service gateway is a service gateway corresponding to the first computing node, and the first computing node is configured to process the target service.
Optionally, the sending module is further configured to send the service processing request to a second service gateway when the first corresponding relationship includes the first destination address, where the second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
Optionally, the service processing device further comprises a receiving module; the receiving module is configured to receive a primary service identifier of each computing node in M computing nodes sent by the first service gateway, where the primary service identifier of each computing node includes a target remaining resource duty ratio of each computing node and a service type of each computing node, the M computing nodes are computing nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1; the acquiring module is further configured to acquire network state information of the first power node, where the network state information of the first power node includes at least one of a delay of the first power node, a bandwidth of the first power node, and a packet loss rate of the first power node; the determining module is further configured to determine a capability value of the first computing node according to the target remaining resource duty ratio of the first computing node and the network status information of the first computing node.
Optionally, the service processing device further comprises a processing module; the receiving module is further configured to receive a service identifier update indication sent by the first service gateway, where the service identifier update indication includes a target service identifier and a node identifier of the first computing node; the processing module is used for updating the primary service identifier of the first computing node into the target service identifier.
In a fourth aspect, the present application provides a service processing apparatus, including: the device comprises a receiving module, a determining module and a sending module; the receiving module is used for receiving a service processing request sent by the routing node, wherein the service processing request comprises a first destination address and a service identifier of a target service; the determining module is configured to determine, when the second correspondence includes the first destination address, a first computing node corresponding to the first destination address, where the second correspondence includes a plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses; the sending module is configured to send the service processing request to the first computing node, so that the first computing node processes the target service.
Optionally, the determining module is further configured to determine, when the first destination address is not included in the second correspondence, a used resource duty ratio of each of at least one computing node, where the used resource duty ratio of one computing node is a ratio between a used resource amount of the computing node and a total resource amount of the computing node, the at least one computing node is a computing node capable of processing the target service included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to the first service gateway; the sending module is further configured to send the service processing request to the third power node, where the third power node is a power node with a smallest used resource ratio in the at least one power node.
Optionally, the service processing device further comprises a processing module; the receiving module is further configured to receive computing power service configuration information sent by the network management device, where the computing power service configuration information includes a service type of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1; the determining module is further configured to determine a resource duty cycle interval to which the initial remaining resource duty cycle of each computing node belongs, where the initial remaining resource duty cycle of each computing node is a ratio between the remaining resource amount of each computing node and the total resource amount of each computing node; the determining module is further configured to determine a first value as a target remaining resource duty ratio of the first power computing node, where the first value is a value corresponding to a first resource duty ratio interval, the first power computing node is one of the M power computing nodes, and the first resource duty ratio interval is a resource duty ratio interval to which an initial remaining resource duty ratio of the first power computing node belongs; the processing module is used for generating a primary service identifier of each computing node based on the target remaining resource duty ratio of each computing node and the service type of each computing node; the sending module is further configured to send the primary service identifier of each computing node to a plurality of routing nodes.
Optionally, the determining module is further configured to determine, for a preset time period, whether a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is a second resource duty cycle interval; the processing module is further configured to generate, when a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is the second resource duty cycle interval, a target service identifier based on a second numerical value and a service type of the first computing node, where the second numerical value is a numerical value corresponding to the second resource duty cycle interval; the sending module is further configured to send a service identifier update indication to the plurality of routing nodes, where the service identifier update indication includes the target service identifier and a node identifier of the first computing node, and the service identifier update indication is configured to instruct each of the plurality of routing nodes to update a primary service identifier of the first computing node to the target service identifier.
In a fifth aspect, the present application provides a network device, 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 application provides a computer readable storage medium having instructions stored thereon which, when executed by a network device, cause the network device to perform any of the above-described alternative service processing methods of the first aspect, or to perform any of the above-described alternative service processing methods of the second aspect.
The service processing method, the device, the network equipment and the storage medium provided by the application can obtain a service processing request of the terminal by the routing node, wherein the service processing request comprises a first destination address and a service identifier of a target service; the routing node may then determine whether the first destination address is included in the first correspondence; and under the condition that the first corresponding relation does not comprise the first destination address, the service processing request is a new service flow, at the moment, the routing node can determine the computing node with the largest capability value in a plurality of computing nodes (particularly computing nodes capable of providing computing service for the terminal) as a first computing node, and send the service processing request to the first service gateway corresponding to the first computing node, so that the first service gateway sends the service processing request to the first computing node, and the first computing node is used for processing the target service.
After receiving the service processing request sent by the routing node, the first service gateway can determine whether the second corresponding relationship includes the first destination address; when the second correspondence includes the first destination address, it is indicated that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and at this time, the first service gateway may determine an computing node (i.e., a first computing node) corresponding to the first destination address based on the first destination address and the second correspondence, and send the service processing request to the first computing node. And the first computing node may then process the target traffic.
In the application, the routing node may determine the computing node with the largest capability value (i.e., the computing node with the largest capability of providing the computing service among the computing nodes capable of providing the computing service for the terminal (i.e., the plurality of computing nodes) as the computing node (i.e., the first computing node) for processing the service processing request (or providing the service for the terminal), so as to improve the effectiveness of the service processing.
Further, after receiving the service processing request sent by the routing node, and when the second corresponding relationship includes the first destination address, the first service gateway indicates that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and the server sends the service processing request to the computing node (i.e., the first computing node) corresponding to the first destination address in the second corresponding relationship, so that affinity of the service processing request (or service flow) can be ensured, and service processing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a network architecture of a service processing system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a service processing method according to an embodiment of the present application;
fig. 3 is a flow chart of another service processing method according to an embodiment of the present application;
fig. 4 is a flow chart of another service processing method according to an embodiment of the present application;
fig. 5 is a flow chart of another service processing method according to an embodiment of the present application;
fig. 6 is a flow chart of another service processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a service processing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another service processing apparatus according to an embodiment of the present application.
Detailed Description
The service processing method, device, network equipment and storage medium provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The terms "first" and "second" and the like in the description and in the drawings of the present application are used for distinguishing between different objects and not for describing a particular order of objects, e.g. a first computing node and a second computing node and the like are used for distinguishing between different computing nodes and not for a particular order of computing nodes.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
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, in the related art, a manner that a routing node arbitrarily selects one computing node from a plurality of computing nodes to process a service flow may be unreasonable, for example, the service type that the arbitrarily selected computing node can provide is different from the service type of the service flow, so that the computing node cannot process the service flow, and the service processing efficiency is affected. Based on this, the embodiments of the present application provide a service processing method, apparatus, network device, and storage medium, where a routing node may determine, as a computing node (i.e., a first computing node) that processes a service processing request (or provides a service for a terminal), a computing node with a maximum capability value (i.e., a computing node with a maximum capability of providing a computing service among a plurality of computing nodes) among computing nodes (i.e., a plurality of computing nodes) that can provide a computing service for a terminal, and may improve the effectiveness of service processing. Further, after receiving the service processing request sent by the routing node, and when the second corresponding relationship includes the first destination address, the first service gateway indicates that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and the server sends the service processing request to the computing node (i.e., the first computing node) corresponding to the first destination address in the second corresponding relationship, so that affinity of the service processing request (or service flow) can be ensured, and service processing efficiency is improved.
The service processing method, device, network equipment and storage medium provided in the embodiments of the present application may be applied to a service processing system, as shown in fig. 1, where the service processing system includes a terminal 101, a routing node 102, a routing node 103, a routing node 104, a service gateway 105, an computing node 106, a service gateway 107, a computing node 108, a computing node 109 and a network management device 110. 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.
The terminal 101 is configured to send a service processing request to a routing node (e.g. the routing node 102 or the routing node 103), where the service processing request includes a first destination address and a service identifier of a target service, and the service processing request is used to request a certain computing node to process the target service.
The routing node 102 is configured to determine whether the first corresponding relationship includes the first destination address, and if the first corresponding relationship includes the first destination address, the routing node 101 is further configured to determine, based on a service type of a target service, a plurality of computing nodes, where the plurality of computing nodes are computing nodes capable of providing computing services for the terminal 101, where the first corresponding relationship includes a plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses.
The service gateway (e.g., service gateway 105) is configured to receive the traffic handling request sent by routing node 102 and send the traffic handling request to computing node 105.
The computing node (e.g., computing node 106) is configured to receive the service processing request sent by the service gateway 106 and process the target service.
The network management device 110 is configured to send the service gateway 105 computing power service configuration information, where the computing power service configuration information includes a service type of the computing power node 106.
It should be noted that the service gateway 105 and the computing node 106 may belong to a cloud resource pool, where the cloud resource pool is a cloud resource pool corresponding to the service gateway 105. The service gateway 107, the computing node 108, and the computing node 109 may belong to another cloud resource pool, where the other cloud resource pool is a cloud resource pool corresponding to the service gateway 107.
It should be noted that 1 terminal, 1 network management device, 2 service gateways, 3 routing nodes, and 3 computing nodes shown in fig. 1 are only one example in the embodiment of the present application. The number of terminals, the number of network management devices, the number of service gateways, the number of routing nodes and the number of computing nodes are not particularly limited.
As shown in fig. 2, the service processing method provided in the embodiment of the present application may include S101 to S107.
S101, the routing node acquires a service processing request of the terminal.
The service processing request comprises a first destination address and a service identifier of a target service, wherein the service identifier of the target service has a corresponding relation with a service type of the target service. The service processing request is used for requesting a certain computing node to process the target service, and the computing node processes the target service to provide computing service for the terminal.
It should be appreciated that when a communication relationship exists between the routing node and the terminal, the routing node may receive a service processing request sent by the terminal. When there is no communication relationship between the routing node and the terminal (i.e. there are other routing nodes between the routing node and the terminal), the routing node may receive service processing requests sent by other routing nodes.
In the embodiment of the present application, the routing node may be a routing device, such as a router.
S102, under the condition that a first destination address is not included in the first corresponding relation, the routing node determines a plurality of computing nodes based on the service type of the target service.
The plurality of computing nodes are computing nodes capable of providing computing services for the terminal, and the first corresponding relation comprises a plurality of destination addresses and computing nodes corresponding to the destination addresses.
It should be appreciated that the service type of the plurality of computing nodes is the same as the service type of the target service.
It may be appreciated that the routing node may determine whether the first destination address is included in the first correspondence after obtaining the service processing request. And under the condition that the first corresponding relation does not comprise the first destination address, the service processing request is indicated to be a new service flow, and the routing node can determine a plurality of computing nodes capable of providing computing service for the terminal, namely the computing nodes.
In this embodiment of the present application, the first destination address is a destination address included after five-tuple information of a service processing request, where the five-tuple information further includes a source address, a source port, a destination port, and a transport layer protocol. Optionally, the routing node may determine whether the first correspondence includes the source address, the source port, the destination address, the destination port, and the transport layer protocol. When the first correspondence includes the source address, the source port, the destination address, the destination port and the transport layer protocol, the routing node may determine that the service processing request and a certain service flow transmitted by the routing node before are the same service flow.
And S103, the routing node determines the computing node with the largest capability value among the computing nodes as a first computing node.
Wherein the capability value of a computing node is used to characterize the capability of the computing node to provide computing services.
It should be appreciated that the routing node may determine the capability value of each of the plurality of computing nodes. When the capability value of a certain computing node is maximum, the computing node is indicated to be the computing node with the maximum capability of providing computing service in the computing nodes, and the routing node can determine the computing node as the first computing node.
And S104, the routing node sends a service processing request to the first service gateway so that the first service gateway sends the service processing request to the first computing node.
The first service gateway is a service gateway corresponding to the first computing node, and the first computing node is used for processing the target service.
S105, the first service gateway receives a service processing request sent by the routing node.
The first service processing request comprises a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relation with a service type of the target service. The service processing request is used for requesting a certain computing node to process the target service, and the computing node processes the target service to provide computing service for the terminal.
And S106, under the condition that the second corresponding relation comprises the first destination address, the first service gateway determines a first computing node corresponding to the first destination address.
The second corresponding relation comprises a plurality of destination addresses and computing force nodes corresponding to the destination addresses respectively.
It should be appreciated that the first server may determine whether the first destination address is included in the second correspondence after receiving the service processing request. And under the condition that the second corresponding relation comprises the first destination address, the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and the first service gateway can determine a first computing node corresponding to the first destination address.
Specifically, the first service gateway may determine, based on the first destination address and the second correspondence, a computing node corresponding to the first destination address, that is, the first computing node.
Optionally, the first service gateway may also determine, based on the quintuple information of the service processing request and the second correspondence, whether the service processing request is the same as a certain service flow that has been previously transmitted by the first service gateway.
And S107, the first service gateway sends a service processing request to the first computing node so that the first computing node processes the target service.
It should be appreciated that the first computing node may process the target traffic after receiving the traffic processing request. The first computing node processes the target service, namely the first computing node provides computing service for the terminal.
In this embodiment of the present application, the second corresponding relationship may be understood as a flow affinity table of the first service gateway. Under the condition that the second corresponding relation comprises the first destination address, the fact that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow is indicated, the first service gateway can send the service processing request to a computing node (namely a first computing node) corresponding to the first destination address in the second corresponding relation, affinity of the service processing request (or service flow) can be guaranteed, and service processing efficiency is improved.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S101 to S107, it is known that: the routing node can acquire a service processing request of the terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service; the routing node may then determine whether the first destination address is included in the first correspondence; and under the condition that the first corresponding relation does not comprise the first destination address, the service processing request is a new service flow, at the moment, the routing node can determine the computing node with the largest capability value in a plurality of computing nodes (particularly computing nodes capable of providing computing service for the terminal) as a first computing node, and send the service processing request to the first service gateway corresponding to the first computing node, so that the first service gateway sends the service processing request to the first computing node, and the first computing node is used for processing the target service.
After receiving the service processing request sent by the routing node, the first service gateway can determine whether the second corresponding relationship includes the first destination address; when the second correspondence includes the first destination address, it is indicated that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and at this time, the first service gateway may determine an computing node (i.e., a first computing node) corresponding to the first destination address based on the first destination address and the second correspondence, and send the service processing request to the first computing node. And the first computing node may then process the target traffic.
In this embodiment of the present application, the routing node may determine, from among the computing nodes capable of providing computing services for the terminal (i.e., the computing nodes with the greatest capability, i.e., the computing node with the greatest capability of providing computing services among the computing nodes), the computing node (i.e., the first computing node) capable of processing the service processing request (or providing services for the terminal), so as to improve the effectiveness of service processing.
Further, after receiving the service processing request sent by the routing node, and when the second corresponding relationship includes the first destination address, the first service gateway indicates that the service processing request and a certain service flow transmitted before the first service gateway are the same service flow, and the server sends the service processing request to the computing node (i.e., the first computing node) corresponding to the first destination address in the second corresponding relationship, so that affinity of the service processing request (or service flow) can be ensured, and service processing efficiency is improved.
Referring to fig. 2, as shown in fig. 3, the service processing method provided in the embodiment of the present application further includes S108.
S108, when the first corresponding relation comprises the first destination address, the routing node sends a service processing request to the second service gateway.
The second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
It should be understood that, when the first correspondence includes the first destination address, it is described that the service processing request and a certain service flow transmitted before the routing node are the same service flow, and at this time, the routing node may determine, based on the first destination address and the first correspondence, a computing node corresponding to the first destination address, that is, determine the second computing node. And the routing node may send the service processing request to a service gateway corresponding to the second computing node (i.e., a second service gateway).
Further, the second service gateway may send the service processing request to the second computing node after receiving the service processing request. After receiving the service processing request, the second computing node can process the target service, namely, provide computing service for the terminal.
In this embodiment of the present application, the first correspondence may be understood as a flow affinity table of the routing node. Under the condition that the second corresponding relation comprises the first destination address, the fact that the service processing request and a certain service flow transmitted before the routing node are the same service flow is indicated, and the routing node can send the service processing request to a service gateway (namely a second service gateway) corresponding to the first destination address in the first corresponding relation, so that the affinity of the service processing request (or the service flow) can be ensured, and the service processing efficiency is improved.
Referring to fig. 2, as shown in fig. 4, the service processing method provided in the embodiment of the present application may further include S109-S110.
And S109, under the condition that the second corresponding relation does not comprise the first destination address, the first service gateway determines the respective used resource duty ratio of at least one computing node.
The ratio of the used resources of one computing node is the ratio between the used resources of the computing node and the total resources of the computing node, the at least one computing node is a computing node capable of processing the target service, which is included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to the first service gateway.
It should be understood that a service gateway corresponds to a cloud resource pool, where the service gateway is a service gateway included in the cloud resource pool, where the cloud resource pool may further include at least one computing node, and the cloud resource pool may also be understood as a system formed by the service gateway and the at least one computing node.
In this embodiment, the resources of one computing node include the computing resources of the computing node and the storage resources of the computing node. The used resource duty cycle of the computing force node includes a used computing resource duty cycle of the computing force node and a used storage resource duty cycle of the computing force node. The used computing resource of the computing power node is a ratio between the amount of used computing resources of the computing power node and the total amount of computing resources of the computing power node, and the used storage resources of the computing power node is a ratio between the amount of used storage resources of the computing power node and the total amount of storage resources of the computing power node.
S110, the first service gateway sends a service processing request to the third computing node.
The third computing node is the computing node with the least occupied resource among the at least one computing node.
It should be appreciated that the least occupied resource of the third computing node indicates that the third computing node is the most computationally and memory intensive computing node of the at least one computing node. And the third power node can process the target service after receiving the service processing request sent by the first service gateway, namely providing power computing service for the terminal. The power computing node with the strongest computing capacity and storage capacity can be guaranteed to provide power computing service for the terminal, and the effectiveness of business processing is improved.
Referring to fig. 2, as shown in fig. 5, the service processing method provided in the embodiment of the present application may further include S111-S118.
S111, the first service gateway receives the computing power service configuration information sent by the network management equipment.
The computing power service configuration information comprises service types of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1.
It should be understood that the network management device is configured to manage multiple cloud resource pools (or multiple service gateways, i.e., gateways that are each included in multiple cloud resource pools). The network management device may send the computing power service configuration information to any one of the plurality of service gateways (e.g., the first service gateway) so that the first service gateway generates a primary service identification for each of the M computing power nodes.
And S112, the first service gateway determines a resource duty cycle section to which the initial residual resource duty cycle of each computing node belongs.
Wherein the initial remaining resource duty cycle of each computing node is a ratio between the remaining resource amount of each computing node and the total resource amount of each computing node.
In connection with the above description of the embodiments, it should be understood that the amount of remaining resources of a computing node includes the amount of remaining computing resources of the computing node and the amount of remaining storage resources of the computing node. After obtaining the used resource amount of each node and the total resource amount of each node, the first service gateway may determine the remaining resource amount of each computing node and the initial remaining resource duty ratio of each computing node.
It should be appreciated that for a resource duty cycle interval, the resource duty cycle interval includes a minimum value and a maximum value. When the initial remaining resource duty ratio of a certain computing power node is within the resource duty ratio interval (specifically, the initial remaining resource duty ratio is smaller than or equal to the maximum value and the initial remaining resource is greater than the minimum value), the first service gateway may determine that the resource duty ratio interval is the resource duty ratio interval to which the initial remaining resource duty ratio of the computing power node belongs.
S113, the first service gateway determines the first value as a target remaining resource duty ratio of the first power node.
The first value is a value corresponding to a first resource duty cycle interval, the first power computing node is one of the M power computing nodes, and the first resource duty cycle interval is a resource duty cycle interval to which an initial remaining resource duty cycle of the first power computing node belongs.
It may be appreciated that a plurality of resource duty cycle intervals may be stored in the first service gateway, where one resource duty cycle interval corresponds to one value, and the first service gateway may determine, as the target remaining resource duty cycle of a first computing node (e.g., the first computing node), the value corresponding to the resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs.
Thus, the first service gateway may determine a target remaining resource duty cycle for each of the M computing nodes.
Optionally, for a resource duty cycle interval, the first service gateway may determine a minimum value in the resource duty cycle interval as a value corresponding to the resource duty cycle interval.
Table 1 is an example of a third correspondence provided in the embodiments of the present application. The third correspondence relationship includes values corresponding to 5 resource duty cycle sections (including a resource duty cycle section 1, a resource duty cycle section 2, a resource duty cycle section 3, a resource duty cycle section 4, and a resource duty cycle section 5) and the 5 resource duty cycle sections.
TABLE 1
Resource duty cycle interval Specific values of resource ratio interval Numerical value corresponding to resource ratio interval
Resource duty cycle interval 1 (70%,100%] 70%
Resource duty cycle interval 2 (40%,70%] 40%
Resource duty cycle interval 3 (20%,40%] 20%
Resource duty cycle interval 4 (10%,20%] 10%
Resource duty cycle interval 5 (1%,10%] 10%
Assuming again that the initial remaining resource duty cycle of the first computing node is 50%, the first service gateway determines that the first resource duty cycle interval is the resource duty cycle interval 2, and the first service gateway determines that the target remaining resource duty cycle (i.e., the first value) of the first computing node is 40%.
S114, the first service gateway generates a primary service identifier of each computing node based on the target remaining resource duty ratio of each computing node in the M computing nodes and the service type of each computing node.
In an optional implementation manner, the foregoing computing power service configuration information received by the first service gateway may further include a service area corresponding to each computing power node in the M computing power nodes, location information included in the service area corresponding to each computing power node, a type of computing resource corresponding to each computing power node, and a type of storage resource corresponding to each computing power node. The first service gateway may generate a primary service identifier of each computing node based on the target remaining resource duty cycle of each computing node (including the target remaining computing resource duty cycle of each computing node and the target remaining storage resource duty cycle of each computing node), the service type of each computing node, and the service area corresponding to the computing node, the location information included in the service area corresponding to each computing node, the type of computing resource corresponding to each computing node, and the type of storage resource corresponding to each computing node.
In another alternative implementation, the first service gateway may allocate a resource duty cycle identifier to each of the plurality of resource duty cycle intervals. For example, the resource duty identifiers respectively allocated by the first service gateway for the 5 resource duty intervals shown in table 1 above may be 000, 001, 010, 011, and 100. The first service gateway may also generate a service identifier and a resource identifier of each computing node based on the resource duty identifier corresponding to the target remaining resource duty of each computing node and the service type of each computing node.
S115, the first service gateway sends the primary service identification of each computing node to the plurality of routing nodes.
It should be understood that the primary service identity is an identity advertised in the network, in particular the primary service identity of each of the computing nodes advertised in the network by the first service gateway to the plurality of routing nodes.
In this embodiment of the present application, the first service gateway may further determine a used resource duty ratio of each of the M computing nodes and a node identifier of each computing node, where the node identifier of one computing node is an equipment identifier of an equipment corresponding to the computing node. The first service gateway may then generate a secondary service identification for each computing node based on the used resource duty cycle of the each computing node and the node identification of the each computing node. The first service gateway may send (or advertise) the secondary service identification of each computing node in a respective cloud resource pool (i.e., a first cloud resource pool).
For example, the device type of the device corresponding to one computing node may be a server, a container, a virtual machine, or the like.
S116, the routing node receives a first-level service identifier of each computing node in M computing nodes sent by the first service gateway.
In connection with the foregoing description of the embodiments, it should be understood that the primary service identifier of each computing node includes a target remaining resource duty ratio of the each computing node and a service type of the each computing node, where the M computing nodes are computing nodes included in a first cloud resource pool, where the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1.
S117, the routing node acquires the network state information of the first computing node.
The network state information of the first computing node comprises at least one of time delay of the first computing node, bandwidth of the first computing node and packet loss rate of the first computing node.
And S118, the routing node determines the capacity value of the first computing node according to the target remaining resource duty ratio of the first computing node and the network state information of the first computing node.
It should be appreciated that for each of the plurality of computing nodes described above, the routing node may determine the capability value of the first computing capability based on the target remaining resource duty cycle of the each computing node and the network state information of the each computing node.
In an alternative implementation manner, the routing node may allocate a weight parameter for the target remaining resource duty ratio of the first computing power node and the network state information of the first computing power node, and determine the capability value of the first computing power node based on the target remaining resource duty ratio of the first computing power node, the network state information of the first computing power node, the weight parameter corresponding to the target remaining resource duty ratio of the first computing power node, and the weight parameter corresponding to the network state information of the first computing power node.
Optionally, when the target remaining resource duty cycle of the first computing power node includes the target remaining computing resource duty cycle of the first computing power node and the target remaining storage resource duty cycle of the first computing power node, the routing node may allocate weight parameters for the target remaining computing resource duty cycle of the first computing power node and the target remaining storage resource duty cycle of the first computing power node, respectively.
Referring to fig. 5, as shown in fig. 6, the service processing method provided in the embodiment of the present application may further include S119 to S123.
S119, the first service gateway determines whether the resource duty cycle interval of the initial residual resource duty cycle of the first computing node is the second resource duty cycle interval or not according to the preset time interval.
It should be understood that the second resource duty cycle section is a resource duty cycle section other than the first resource duty cycle section among the plurality of resource duty cycle sections.
And S120, generating a target service identifier by the first service gateway based on the second numerical value and the service type of the first computing node under the condition that the resource duty interval to which the initial residual resource duty of the first computing node belongs is the second resource duty interval.
The second value is a value corresponding to the second resource duty ratio interval.
S121, the first service gateway sends service identification update indication to the plurality of routing nodes.
The service identifier update indication comprises the target service identifier and the node identifier of the first computing node, and the service identifier update indication is used for indicating each routing node in the plurality of routing nodes to update the primary service identifier of the first computing node to the target service identifier.
S122, the routing node receives a service identification update instruction sent by the first service gateway.
S123, the routing node updates the primary service identifier of the first computing node to the target service identifier.
The embodiment of the application may divide the functional modules of the routing node and the service gateway according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of dividing the respective functional modules by the respective functions, fig. 7 shows a schematic diagram of one possible configuration of the service processing apparatus (specifically, the routing node) involved in the above-mentioned 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 a service processing request of a terminal, where the service processing request includes a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relationship with a service type of the target service.
The determining module 202 is configured to determine, based on the service type of the target service, a plurality of computing nodes, where the plurality of computing nodes are computing nodes capable of providing computing services for the terminal, if the first destination address is not included in the first correspondence, where the first correspondence includes the plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses.
The determining module 202 is further configured to determine a computing node with a largest capability value among the plurality of computing nodes as a first computing node, where the capability value of one computing node is used to characterize a capability of the computing node to provide a computing service.
The sending module 203 is configured to send the service processing request to a first service gateway, so that the first service gateway sends the service processing request to the first computing node, where the first service gateway is a service gateway corresponding to the first computing node, and the first computing node is configured to process the target service.
Optionally, the sending module 203 is further configured to send the service processing request to a second service gateway when the first corresponding relationship includes the first destination address, where the second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
Optionally, the service processing device 20 further includes a receiving module 204.
The receiving module 204 is configured to receive a primary service identifier of each computing node in M computing nodes sent by the first service gateway, where the primary service identifier of each computing node includes a target remaining resource duty ratio of each computing node and a service type of each computing node, the M computing nodes are computing nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1.
The obtaining module 201 is further configured to obtain network state information of the first power node, where the network state information of the first power node includes at least one of a delay of the first power node, a bandwidth of the first power node, and a packet loss rate of the first power node.
The determining module 202 is further configured to determine a capability value of the first computing node according to the target remaining resource duty ratio of the first computing node and the network status information of the first computing node.
Optionally, the service processing device 20 further includes a processing module 205.
The receiving module 204 is further configured to receive a service identifier update indication sent by the first service gateway, where the service identifier update indication includes a target service identifier and a node identifier of the first computing node.
A processing module 205, configured to update the primary service identifier of the first computing node to the target service identifier.
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 by the respective functions, fig. 9 shows a schematic diagram of one possible configuration of the service processing apparatus (specifically, the first service gateway) according to the above embodiment, and as shown in fig. 9, the service processing apparatus 40 may include: a receiving module 401, a determining module 402 and a transmitting module 403.
The receiving module 401 is configured to receive a service processing request sent by a routing node, where the service processing request includes a first destination address and a service identifier of a target service.
The determining module 402 is configured to determine, when the first destination address is included in the second correspondence, a first computing node corresponding to the first destination address, where the second correspondence includes a plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses.
A sending module 403, configured to send the service processing request to the first computing node, so that the first computing node processes the target service.
Optionally, the determining module 402 is further configured to determine, if the first destination address is not included in the second correspondence, a respective used resource duty ratio of at least one computing node, where the used resource duty ratio of one computing node is a ratio between a used resource amount of the computing node and a total resource amount of the computing node, and the at least one computing node is a computing node capable of processing the target service included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to the first service gateway.
The sending module 403 is further configured to send the service processing request to the third power node, where the third power node is a power node with the smallest used resource ratio in the at least one power node.
Optionally, the service processing device 40 further includes a processing module 404.
The receiving module 401 is further configured to receive computing power service configuration information sent by the network management device, where the computing power service configuration information includes a service type of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1.
The determining module 402 is further configured to determine a resource duty cycle interval to which the initial remaining resource duty cycle of each computing node belongs, where the initial remaining resource duty cycle of each computing node is a ratio between the remaining resource amount of each computing node and the total resource amount of each computing node.
The determining module 402 is further configured to determine a first value as a target remaining resource duty ratio of the first power node, where the first value is a value corresponding to a first resource duty ratio interval, the first power node is one of the M power computing nodes, and the first resource duty ratio interval is a resource duty ratio interval to which an initial remaining resource duty ratio of the first power computing node belongs.
A processing module 404, configured to generate a primary service identifier of each computing node based on the target remaining resource duty cycle of the computing node and the service type of the computing node.
The sending module 403 is further configured to send the primary service identifier of each computing node to a plurality of routing nodes.
Optionally, the determining module 402 is further configured to determine, for a preset time period, whether the resource duty cycle interval to which the initial remaining resource duty cycle of the first power node belongs is the second resource duty cycle interval.
The processing module 404 is further configured to generate, when the resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is the second resource duty cycle interval, a target service identifier based on a second value and a service type of the first computing node, where the second value is a value corresponding to the second resource duty cycle interval.
The sending module 403 is further configured to send a service identifier update indication to the plurality of routing nodes, where the service identifier update indication includes the target service identifier and a node identifier of the first computing node, and the service identifier update indication is used to instruct each of the plurality of routing nodes to update a primary service identifier of the first computing node to the target service identifier.
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 application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber terminal line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. A method of traffic handling, applied to a routing node, the method comprising:
acquiring a service processing request of a terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relation with a service type of the target service;
determining a plurality of computing nodes based on the service type of the target service under the condition that the first destination address is not included in a first corresponding relation, wherein the computing nodes can provide computing service for the terminal, and the first corresponding relation comprises a plurality of destination addresses and computing nodes corresponding to the destination addresses;
determining a computing node with the largest capability value in the computing nodes as a first computing node, wherein the capability value of one computing node is used for representing the capability of the computing node for providing computing service;
And sending the service processing request to a first service gateway, so that the first service gateway sends the service processing request to the first computing node, wherein the first service gateway is a service gateway corresponding to the first computing node, and the first computing node is used for processing the target service.
2. The traffic processing method according to claim 1, characterized in that the method further comprises:
and under the condition that the first corresponding relation comprises the first destination address, sending the service processing request to a second service gateway, wherein the second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
3. The service processing method according to claim 1 or 2, characterized in that the method further comprises:
receiving a primary service identifier of each computing node in M computing nodes sent by the first service gateway, wherein the primary service identifier of each computing node comprises a target remaining resource duty ratio of each computing node and a service type of each computing node, the M computing nodes are computing nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1;
Acquiring network state information of the first power computing node, wherein the network state information of the first power computing node comprises at least one of time delay of the first power computing node, bandwidth of the first power computing node and packet loss rate of the first power computing node;
and determining the capacity value of the first computing node according to the target remaining resource duty ratio of the first computing node and the network state information of the first computing node.
4. A service processing method according to claim 3, characterized in that the method further comprises:
receiving a service identifier updating instruction sent by the first service gateway, wherein the service identifier updating instruction comprises a target service identifier and a node identifier of the first computing node;
and updating the primary service identifier of the first computing node to the target service identifier.
5. A method of service processing, applied to a first service gateway, the method comprising:
receiving a service processing request sent by a routing node, wherein the service processing request comprises a first destination address and a service identifier of a target service;
determining a first computing node corresponding to the first destination address under the condition that a second corresponding relation comprises the first destination address, wherein the second corresponding relation comprises a plurality of destination addresses and computing nodes corresponding to the destination addresses respectively;
And sending the service processing request to the first computing node so that the first computing node processes the target service.
6. The traffic processing method according to claim 5, characterized in that the method further comprises:
determining the occupied resource ratio of at least one computing node under the condition that the first destination address is not included in the second corresponding relation, wherein the occupied resource ratio of one computing node is the ratio between the occupied resource amount of the computing node and the total resource amount of the computing node, the at least one computing node is the computing node capable of processing the target service, which is included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to the first service gateway;
and sending the service processing request to a third computing node, wherein the third computing node is the computing node with the smallest occupied resource ratio in the at least one computing node.
7. The service processing method according to claim 5 or 6, characterized in that the method further comprises:
receiving computing power service configuration information sent by network management equipment, wherein the computing power service configuration information comprises a service type of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to a first service gateway, and M is an integer greater than or equal to 1;
Determining a resource proportion interval to which the initial residual resource proportion of each computing node belongs, wherein the initial residual resource proportion of each computing node is a ratio between the residual resource quantity of each computing node and the total resource quantity of each computing node;
determining a first value as a target remaining resource duty ratio of the first power computing node, wherein the first value is a value corresponding to a first resource duty ratio interval, the first power computing node is one of the M power computing nodes, and the first resource duty ratio interval is a resource duty ratio interval to which an initial remaining resource duty ratio of the first power computing node belongs;
generating a primary service identifier of each computing node based on the target remaining resource duty ratio of each computing node and the service type of each computing node;
and sending the primary service identification of each computing node to a plurality of routing nodes.
8. The traffic processing method according to claim 7, characterized in that the method further comprises:
determining whether a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is a second resource duty cycle interval or not according to the interval preset time length;
Generating a target service identifier based on a second numerical value and a service type of the first computing node under the condition that a resource occupation ratio interval to which the initial remaining resource occupation ratio of the first computing node belongs is the second resource occupation ratio interval, wherein the second numerical value is a numerical value corresponding to the second resource occupation ratio interval;
and sending service identification updating indication to the plurality of routing nodes, wherein the service identification updating indication comprises the target service identification and the node identification of the first computing node, and the service identification updating indication is used for indicating each routing node in the plurality of routing nodes to update the primary service identification of the first computing node to the target service identification.
9. A service processing apparatus, comprising: the device comprises an acquisition module, a determination module and a sending module;
the acquisition module is used for acquiring a service processing request of a terminal, wherein the service processing request comprises a first destination address and a service identifier of a target service, and the service identifier of the target service has a corresponding relation with a service type of the target service;
the determining module is configured to determine, based on a service type of the target service, a plurality of computing nodes if the first destination address is not included in a first correspondence, where the plurality of computing nodes are computing nodes capable of providing computing services for the terminal, and the first correspondence includes the plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses;
The determining module is further configured to determine, as a first computing node, a computing node with a largest capability value among the plurality of computing nodes, where the capability value of one computing node is used to characterize a capability of the computing node to provide computing services;
the sending module is configured to send the service processing request to a first service gateway, so that the first service gateway sends the service processing request to the first computing node, where the first service gateway is a service gateway corresponding to the first computing node, and the first computing node is configured to process the target service.
10. The traffic processing apparatus according to claim 9, wherein,
the sending module is further configured to send the service processing request to a second service gateway when the first corresponding relationship includes the first destination address, where the second service gateway is a service gateway corresponding to a second computing node, and the second computing node is a computing node corresponding to the first destination address.
11. The service processing device according to claim 9 or 10, characterized in that the service processing device further comprises a receiving module;
The receiving module is configured to receive a primary service identifier of each computing node in M computing nodes sent by the first service gateway, where the primary service identifier of each computing node includes a target remaining resource duty ratio of each computing node and a service type of each computing node, the M computing nodes are computing nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1;
the acquiring module is further configured to acquire network state information of the first power computing node, where the network state information of the first power computing node includes at least one of a delay of the first power computing node, a bandwidth of the first power computing node, and a packet loss rate of the first power computing node;
the determining module is further configured to determine a capability value of the first computing node according to the target remaining resource duty ratio of the first computing node and network state information of the first computing node.
12. The service processing device according to claim 11, wherein the service processing device further comprises a processing module;
The receiving module is further configured to receive a service identifier update indication sent by the first service gateway, where the service identifier update indication includes a target service identifier and a node identifier of the first computing node;
and the processing module is used for updating the primary service identifier of the first computing node into the target service identifier.
13. A service processing apparatus, comprising: the device comprises a receiving module, a determining module and a sending module;
the receiving module is used for receiving a service processing request sent by the routing node, wherein the service processing request comprises a first destination address and a service identifier of a target service;
the determining module is configured to determine, when the second correspondence includes the first destination address, a first computing node corresponding to the first destination address, where the second correspondence includes a plurality of destination addresses and computing nodes corresponding to the plurality of destination addresses;
the sending module is configured to send the service processing request to the first computing node, so that the first computing node processes the target service.
14. The traffic processing apparatus according to claim 13, wherein,
The determining module is further configured to determine, when the first destination address is not included in the second correspondence, a used resource duty ratio of each of at least one computing node, where the used resource duty ratio of one computing node is a ratio between a used resource amount of the computing node and a total resource amount of the computing node, the at least one computing node is a computing node capable of processing the target service included in a first cloud resource pool, and the first cloud resource pool is a cloud resource pool corresponding to a first service gateway;
the sending module is further configured to send the service processing request to a third power computing node, where the third power computing node is a power computing node with a minimum used resource ratio in the at least one power computing node.
15. The service processing device according to claim 13 or 14, characterized in that the service processing device further comprises a processing module;
the receiving module is further configured to receive computing power service configuration information sent by the network management device, where the computing power service configuration information includes a service type of each computing power node in M computing power nodes, the M computing power nodes are computing power nodes included in a first cloud resource pool, the first cloud resource pool is a cloud resource pool corresponding to the first service gateway, and M is an integer greater than or equal to 1;
The determining module is further configured to determine a resource duty cycle interval to which the initial remaining resource duty cycle of each computing node belongs, where the initial remaining resource duty cycle of each computing node is a ratio between the remaining resource amount of each computing node and the total resource amount of each computing node;
the determining module is further configured to determine a first value as a target remaining resource duty ratio of the first power computing node, where the first value is a value corresponding to a first resource duty ratio interval, the first power computing node is one of the M power computing nodes, and the first resource duty ratio interval is a resource duty ratio interval to which an initial remaining resource duty ratio of the first power computing node belongs;
the processing module is used for generating a primary service identifier of each computing node based on the target remaining resource duty ratio of each computing node and the service type of each computing node;
the sending module is further configured to send the primary service identifier of each computing node to a plurality of routing nodes.
16. The traffic processing apparatus according to claim 15, wherein,
the determining module is further configured to determine, at intervals of a preset duration, whether a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is a second resource duty cycle interval;
The processing module is further configured to generate, when a resource duty cycle interval to which the initial remaining resource duty cycle of the first computing node belongs is the second resource duty cycle interval, a target service identifier based on a second numerical value and a service type of the first computing node, where the second numerical value is a numerical value corresponding to the second resource duty cycle interval;
the sending module is further configured to send a service identifier update indication to the plurality of routing nodes, where the service identifier update indication includes the target service identifier and a node identifier of the first computing node, and the service identifier update indication is used to instruct each of the plurality of routing nodes to update a primary service identifier of the first computing node to the target service identifier.
17. A network device, the network device 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-4 or to implement the traffic processing method according to any of claims 5-8.
18. A computer readable storage medium having instructions stored thereon, which, when executed by a network device, cause the network device to perform the traffic processing method according to any of claims 1-4 or to perform the traffic processing method according to any of claims 5-8.
CN202310093162.3A 2023-01-29 2023-01-29 Service processing method, device, network equipment and storage medium Pending CN116112572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310093162.3A CN116112572A (en) 2023-01-29 2023-01-29 Service processing method, device, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310093162.3A CN116112572A (en) 2023-01-29 2023-01-29 Service processing method, device, network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116112572A true CN116112572A (en) 2023-05-12

Family

ID=86255740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310093162.3A Pending CN116112572A (en) 2023-01-29 2023-01-29 Service processing method, device, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116112572A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684418A (en) * 2023-08-03 2023-09-01 北京神州泰岳软件股份有限公司 Calculation power arrangement scheduling method, calculation power network and device based on calculation power service gateway

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355666A (en) * 2018-12-21 2020-06-30 瞻博网络公司 Facilitating flow symmetry for service chains in a computer network
CN114172842A (en) * 2020-09-10 2022-03-11 中国移动通信有限公司研究院 Data transmission processing method, device, equipment and readable storage medium
CN114615180A (en) * 2022-03-09 2022-06-10 阿里巴巴达摩院(杭州)科技有限公司 Calculation force network system, calculation force calling method and device
CN114756340A (en) * 2022-03-17 2022-07-15 中国联合网络通信集团有限公司 Computing power scheduling system, method, device and storage medium
CN115225722A (en) * 2021-04-20 2022-10-21 中兴通讯股份有限公司 Computing resource notification method and device, storage medium and electronic device
CN115412609A (en) * 2022-08-16 2022-11-29 中国联合网络通信集团有限公司 Service processing method, device, server and storage medium
CN115562879A (en) * 2022-12-06 2023-01-03 北京邮电大学 Computing power sensing method, computing power sensing device, electronic device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355666A (en) * 2018-12-21 2020-06-30 瞻博网络公司 Facilitating flow symmetry for service chains in a computer network
CN114172842A (en) * 2020-09-10 2022-03-11 中国移动通信有限公司研究院 Data transmission processing method, device, equipment and readable storage medium
CN115225722A (en) * 2021-04-20 2022-10-21 中兴通讯股份有限公司 Computing resource notification method and device, storage medium and electronic device
CN114615180A (en) * 2022-03-09 2022-06-10 阿里巴巴达摩院(杭州)科技有限公司 Calculation force network system, calculation force calling method and device
CN114756340A (en) * 2022-03-17 2022-07-15 中国联合网络通信集团有限公司 Computing power scheduling system, method, device and storage medium
CN115412609A (en) * 2022-08-16 2022-11-29 中国联合网络通信集团有限公司 Service processing method, device, server and storage medium
CN115562879A (en) * 2022-12-06 2023-01-03 北京邮电大学 Computing power sensing method, computing power sensing device, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684418A (en) * 2023-08-03 2023-09-01 北京神州泰岳软件股份有限公司 Calculation power arrangement scheduling method, calculation power network and device based on calculation power service gateway
CN116684418B (en) * 2023-08-03 2023-11-10 北京神州泰岳软件股份有限公司 Calculation power arrangement scheduling method, calculation power network and device based on calculation power service gateway

Similar Documents

Publication Publication Date Title
CN113647062B (en) Producer Network Function (NF) service instance-wide egress rate limiting
CN106656800B (en) Path selection method and system, network acceleration node and network acceleration system
CN110896355B (en) Network slice selection method and device
US6898635B2 (en) Mobile communication system and method of selecting server in mobile communication system
CN114040467B (en) Transmission path determining method, device, server and storage medium
US10117103B2 (en) Method for sharing network and network element
EP3113539A1 (en) Load balancing user plane traffic in a telecommunication network
CN109155994A (en) A kind of user face method for managing resource, user's veil member and control plane network element
KR101773593B1 (en) Mobile fog computing system for performing multi-agent based code offloading and method thereof
CN105491171A (en) Allocation method and device of network address translation (NAT) resources
CN116112572A (en) Service processing method, device, network equipment and storage medium
CN112787952B (en) Service flow adjusting method and device
US8429257B2 (en) Optimizing use of internet protocol addresses
RU2598293C1 (en) Method and apparatus for transmitting standard configuration data of improved system of selecting a transmitting protocol
CN111147468A (en) User access method, device, electronic equipment and storage medium
EP3086530A1 (en) Network resource sharing processing and sharing method, device and system
CN115226073A (en) Message forwarding method, device and system and computer readable storage medium
CN109526032B (en) Method and device for modifying network slice example
CN113904871B (en) Access method of network slice, PCF entity, terminal and communication system
CN113228776B (en) Resource allocation for unmanaged communication links
KR102168177B1 (en) Network function and method for processing packet using the same
JP2014036346A (en) Load balancing method in radio communication system by redirection, gateway device and user management device
CN114125038B (en) Service scheduling method, device and storage medium
CN112291340B (en) Service distribution method, controller and virtual network element
KR102084144B1 (en) Control plane apparatus and method for processing control plane message using the same

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