Business processing method and apparatus, computer device, and storage medium

By obtaining the computing power service identifier and user demand information in the business request message and using the computing power routing table to screen the optimal computing power route, the problem of low business processing efficiency under the traditional load sharing method is solved, and efficient computing power resource utilization and optimal business scheduling are achieved.

CN119402413BActive Publication Date: 2025-10-21PURPLE MOUNTAIN LAB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411421797.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-10-21
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

When traditional load balancing methods select a computing node from multiple computing nodes, it results in low business processing efficiency and low computing resource utilization.

Method used

By obtaining the computing power service identifier and user demand information in the business request message, the target computing power routing information is determined using the computing power routing table, and a multi-factor routing algorithm is used to screen according to the computing power resources and network resource requirements, and the optimal computing power node forwards the business request.

Benefits of technology

It improves business processing efficiency and computing resource utilization efficiency, and achieves optimal scheduling of computing network traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402413B_ABST
    Figure CN119402413B_ABST
Patent Text Reader

Abstract

The application relates to a service processing method and device, computer equipment and a storage medium. The method comprises the following steps: obtaining a service request message, the service request message carrying a computing power service identifier and user demand information, the user demand information comprising computing power resource demand information and network resource demand information; obtaining a corresponding computing power routing set according to the computing power service identifier; determining target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information, and sending the service request message to a computing power node corresponding to the target computing power routing information. The method can improve service processing efficiency and computing power resource utilization efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a service processing method, apparatus, computer equipment, and storage medium. Background Art

[0002] Computing power routing is a network addressing method based on computing power resources, effectively addressing the bottlenecks and limitations of traditional IP addressing. In computing power routing, each computing node possesses a certain amount of computing power. This addressing method not only improves network performance and scalability but also better adapts to the needs of future intelligent applications and the Internet of Things. Computing power routing enables services to be dispatched to the appropriate computing node for processing.

[0003] In traditional technology, a computing node is selected from multiple computing nodes through load sharing, and business requests from terminal nodes are forwarded to the selected computing node. This may lead to low business processing efficiency and low utilization of computing resources. Summary of the Invention

[0004] Based on this, it is necessary to provide a business processing method, device, computer equipment, computer-readable storage medium and computer program product that can improve business processing efficiency and computing resource utilization efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides a business processing method, comprising:

[0006] Obtain a service request message, which carries a computing power service identifier and user demand information. The user demand information includes computing power resource demand information and network resource demand information.

[0007] Obtain the corresponding computing power routing set based on the computing power service identifier;

[0008] According to the computing power resource demand information and network resource demand information, the target computing power routing information is determined in the computing power routing set, and the service request message is sent to the computing power node corresponding to the target computing power routing information.

[0009] In one embodiment, obtaining the service request message includes:

[0010] Get user application message;

[0011] Match the user application message with the user configuration policy to obtain the target configuration policy;

[0012] According to the target configuration policy, user demand information is added to the user application message to obtain an application-aware message, and the application-aware message is determined as a service request message.

[0013] In one embodiment, obtaining a corresponding computing power routing set according to a computing power service identifier includes:

[0014] Obtain the corresponding service instance set in the computing power routing table based on the computing power service identifier;

[0015] Get the computing power routing set corresponding to the service instance set in the computing power routing table.

[0016] In one embodiment, the method further includes:

[0017] Get the status information of each service instance in the service instance set;

[0018] Determine an available service instance set from the service instance set based on the status information of each service instance;

[0019] Get the computing power routing set corresponding to the available service instance set in the computing power routing table.

[0020] In one embodiment, determining target computing power routing information in a computing power routing set based on computing power resource demand information and network resource demand information includes:

[0021] Determine candidate computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information;

[0022] The target computing power routing information is determined from the candidate computing power routing information according to the computing power factor and the network factor of the candidate computing power routing information.

[0023] In one embodiment, determining target computing power routing information from the candidate computing power routing information based on the computing power factor and the network factor of the candidate computing power routing information includes:

[0024] Perform a weighted summation of the computing power factor and network factor of each candidate computing power routing information to obtain a score value for each candidate computing power routing information; the computing power weight corresponding to the computing power factor is a positive value, and the network weight corresponding to the network factor is a negative value;

[0025] The candidate computing power routing information with the largest score value is determined as the target computing power routing information.

[0026] In one embodiment, the method further includes:

[0027] When there are multiple candidate computing power routing information with the largest score values, the target computing power routing information is determined from the multiple candidate computing power routing information with the largest score values ​​according to the priority of the target network factor.

[0028] In a second aspect, the present application further provides a service processing device, including:

[0029] The message acquisition module is used to obtain the service request message, which carries the computing power service identifier, computing power resource demand information, and network resource demand information;

[0030] The first screening module is used to obtain the corresponding computing power routing set according to the computing power service identifier;

[0031] The second screening module is used to determine the target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information, and send the service request message to the computing power node corresponding to the target computing power routing information.

[0032] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Obtain a service request message, which carries a computing power service identifier and user demand information. The user demand information includes computing power resource demand information and network resource demand information.

[0034] Obtain the corresponding computing power routing set based on the computing power service identifier;

[0035] According to the computing power resource demand information and network resource demand information, the target computing power routing information is determined in the computing power routing set, and the service request message is sent to the computing power node corresponding to the target computing power routing information.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0037] Obtain a service request message, which carries a computing power service identifier and user demand information. The user demand information includes computing power resource demand information and network resource demand information.

[0038] Obtain the corresponding computing power routing set based on the computing power service identifier;

[0039] According to the computing power resource demand information and network resource demand information, the target computing power routing information is determined in the computing power routing set, and the service request message is sent to the computing power node corresponding to the target computing power routing information.

[0040] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the following steps:

[0041] Obtain a service request message, which carries a computing power service identifier and user demand information. The user demand information includes computing power resource demand information and network resource demand information.

[0042] Obtain the corresponding computing power routing set based on the computing power service identifier;

[0043] According to the computing power resource demand information and network resource demand information, the target computing power routing information is determined in the computing power routing set, and the service request message is sent to the computing power node corresponding to the target computing power routing information.

[0044] The above-mentioned business processing method, device, computer equipment, storage medium and computer program product, by obtaining a business request message carrying a computing power service identifier, computing power resource demand information and network resource demand information, can obtain the corresponding computing power routing set according to the computing power service identifier, and determine the target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information. It can convert the user's business request into computing power resource demand and network resource demand, and select the target routing information driven by the user's computing power resource demand and network resource demand, so as to provide the user with the best scheduling of computing network traffic, thereby improving the utilization efficiency of computing power resources and business processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 An application environment diagram of a business processing method in one embodiment;

[0047] Figure 2 A flowchart of a business processing method in one embodiment;

[0048] Figure 3 A schematic diagram of a process for obtaining a service request message in one embodiment;

[0049] Figure 4 This is a partial format diagram of the APN6 message;

[0050] Figure 5 A schematic diagram of a process for determining target computing power routing information in a computing power routing set based on computing power resource requirement information and network resource requirement information in one embodiment;

[0051] Figure 6 A schematic diagram showing the results of implementing a business processing method in an embodiment;

[0052] Figure 7 A schematic diagram of service processing for multiple service request messages in one embodiment;

[0053] Figure 8 is a structural block diagram of a service processing device in one embodiment;

[0054] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0056] A computing network is a network system that virtualizes and centrally manages distributed computing resources. It connects geographically distributed computing nodes through a network, providing a large-scale, virtualized computing platform. A computing network can provide multiple computing services for business processing. Computing services are also called computing services or application services. A computing network typically includes terminal nodes, network nodes, and multiple computing nodes. Network nodes forward business requests from terminal nodes to computing nodes, while computing nodes provide computing services to terminal nodes for business processing.

[0057] In traditional technologies, a computing node is selected from multiple computing nodes through load balancing, and service requests from terminal nodes are forwarded to the selected computing node. This can result in low service processing efficiency and low utilization of computing resources. Therefore, to address the above technical issues, this application proposes a service processing method that can improve service processing efficiency and computing resource utilization efficiency.

[0058] The service processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the computing network includes terminal nodes 102, an application-aware gateway 104, a network node 106, and at least one computing node 108. Terminal nodes 102 communicate with application-aware gateway 104, which in turn communicates with network node 106, which in turn communicates with computing node 108. Terminal nodes 102 send user application messages to application-aware gateway 104, which converts them into application-aware messages, i.e., service request messages. These messages carry a computing service identifier and user requirement information, including computing resource requirements and network resource requirements. These service request messages are APN6 (Application-aware IPv6 Networking) messages. Application-aware gateway 104 sends the service request message to network node 106. Network node 106 obtains the corresponding computing power routing set based on the computing power service identifier, determines the target computing power routing information from the computing power routing set based on the computing power resource demand information and network resource demand information, and sends the service request message to computing power node 108 corresponding to the target computing power routing information. Terminal node 102 may include, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, and smart car devices. Portable wearable devices may include smart watches, smart bracelets, and head-mounted devices. Computing power node 108 may be a server or server cluster.

[0059] In an exemplary embodiment, Figure 2 As shown, a business processing method is provided, which is applied to Figure 1 The network node in FIG is taken as an example to illustrate, including the following steps 202 to 206. Among them:

[0060] Step 202: Obtain a service request message. The service request message carries a computing power service identifier and user demand information. The user demand information includes computing power resource demand information and network resource demand information.

[0061] The service request message is a message that carries user demand information and is in APN6 format. The computing service identifier is the computing service SID (Service Identifier). Computing resource demand information refers to the computing resource demand of the terminal node for the computing node providing the computing service. Network resource information refers to the network resource demand of the terminal node for the computing node providing the computing service.

[0062] Optionally, the terminal node sends a user application message to the application-aware gateway. The user application message refers to a message or data packet generated and processed by the application layer in a computer network, including service level, application identification, user representation, flow identification, service request type, service data, etc. The user application message can represent the user's service request. The application-aware gateway is an APN6 gateway. The application-aware gateway can map the user's service request to resource requirements, that is, convert the user application message into an application-aware message, and determine the application-aware message as a service request message. The service request message can also be called the user's first packet traffic. The service request message carries a computing power service identifier and user demand information, and the user demand information includes computing power resource demand information and network resource demand information. The application-aware gateway sends the service request message to the network node. The network node can also be called a computing power gateway.

[0063] Step 204: Obtain the corresponding computing power routing set according to the computing power service identifier.

[0064] The network node initiates access addressing based on the service request message and the computing power service identifier in the service request message. Access addressing refers to determining the location of the optimal computing power node that meets the user's needs. Specifically, the network node pre-stores a computing power routing table. The computing power routing table refers to a collection of resource transmission path solutions composed of a computing power network. The resource transmission path is also known as the computing power path. The computing power routing table may include multiple computing power service identifiers, as well as the computing power paths, network factors, computing power factors, service costs, access frequency, query timestamps, etc. corresponding to each computing power service identifier. The network node then retrieves the corresponding computing power routing set from the computing power routing table based on the computing power service identifier. The computing power routing set corresponding to the computing power service identifier may include the computing power path, network factors, computing power factors, service costs, access frequency, query timestamps, etc. corresponding to the computing power service identifier.

[0065] Step 206: Determine the target computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information, and send the service request message to the computing power node corresponding to the target computing power routing information.

[0066] Among them, the target computing power routing information refers to the computing power path that meets the computing power resource demand information and network resource demand information.

[0067] Specifically, based on the user's computing power resource demand information and network resource demand information, the network node uses a multi-factor routing algorithm based on "network + computing power" to filter out target computing power routing information from the computing power routing set that meets both the computing power resource demand information and the network resource demand information. The multi-factor routing algorithm based on "network + computing power" refers to an algorithm that filters target computing power routing information based on the network factor and computing power factor of each computing power routing information in the computing power routing set. After filtering and obtaining the target computing power routing information, since the target computing power information includes the computing power path of the service request message and the location of the computing power node to which the computing power path points, the network node can send the service request message to the computing power node corresponding to the target computing power routing information.

[0068] In the above-mentioned business processing method, by obtaining a business request message carrying a computing power service identifier, computing power resource demand information, and network resource demand information, the corresponding computing power routing set can be obtained according to the computing power service identifier, and the target computing power routing information can be determined in the computing power routing set according to the computing power resource demand information and the network resource demand information. This can convert the user's business request into computing power resource demand and network resource demand, and select the target routing information driven by the user's computing power resource demand and network resource demand, so as to provide the user with the best scheduling of computing network traffic, thereby improving the utilization efficiency of computing power resources and the business processing efficiency.

[0069] In an exemplary embodiment, Figure 3 As shown, step 202, obtaining a service request message, includes steps 302 to 306. Among them:

[0070] Step 302: Obtain user application message.

[0071] Step 304: Match the user application message with the user configuration policy to obtain the target configuration policy.

[0072] Step 306: According to the target configuration policy, user demand information is added to the user application message to obtain an application-aware message, and the application-aware message is determined as a service request message.

[0073] The user configuration policy refers to the configuration scheme of user application messages.

[0074] Optionally, the network node and the application-aware gateway may be in an inclusive relationship, that is, the network node includes the application-aware gateway. When the network node includes the application-aware gateway, the network node can obtain the user application message sent by the terminal node, and transmit the user application message to the application-aware gateway. The application-aware gateway pre-stores the user configuration policy, and the user configuration policy includes the message configuration method corresponding to the service identifier. Match the service identifier in the user application message with the user configuration policy to obtain the target configuration policy. For example, when the service identifier is a low-latency service, the corresponding target configuration policy may include adding low-latency network resource requirements. The application-aware gateway performs the step of adding APN6 header information in the user application message according to the target configuration policy, and stores the user demand information of "computing power, network" in the APN6 message header to obtain an application-aware message, that is, an APN6 message. Use the application-aware message as a service request message. As Figure 4 The following is a partial diagram of the APN6 message format. The user application message includes information such as the service level (SLA), application ID, user ID, flow ID, reserved, service request type (App req Type), service request length (App req Len), and service data (App req value). An APN6 message is a message that adds application identification information and application requirement information to the user application message. Application requirement information includes computing resource requirements and network resource requirements. Computing resource requirements include the number of CPUs, GPUs, temporary storage, and large page memory. Network resource requirements include bandwidth, latency, jitter, and packet loss rate.

[0075] Optionally, the user demand information added to the user application message is expandable and can also be deleted according to actual needs.

[0076] In this embodiment, according to the target configuration policy, user demand information is added to the user application message to obtain an application-aware message, which can accurately map the service request to the user's resource demand.

[0077] In an exemplary embodiment, obtaining a corresponding computing power routing set according to a computing power service identifier includes: obtaining a corresponding service instance set in a computing power routing table according to the computing power service identifier; and obtaining a computing power routing set corresponding to the service instance set in the computing power routing table.

[0078] The service instance identifier (BID) is a unique identifier used to identify a specific service instance.

[0079] Optionally, the computing power routing table includes multiple computing power service identifiers and computing power routing information corresponding to each computing power service identifier. A computing power service identifier may correspond to multiple service instances. Therefore, a computing power service identifier corresponds to multiple computing power routing information, each routing information including a service instance. In practice, different service instances corresponding to the same computing power service identifier may exist on different computing power nodes. Therefore, the network node must first determine the service instance, then determine the computing power routing information based on the service instance, and then determine the computing power node. The network node can first obtain the set of all service instances corresponding to the computing power service identifier from the computing power routing table, namely the service instance set. It can then obtain the computing power routing information corresponding to each service instance in the service instance set from the computing power routing table to obtain the computing power routing set.

[0080] In an optional manner of the above embodiment, the above method also includes: obtaining status information of each service instance in the service instance set; determining an available service instance set in the service instance set based on the status information of each service instance; and obtaining a computing power routing set corresponding to the available service instance set in the computing power routing table.

[0081] Because all service instances corresponding to a computing power service identifier may include both available and invalid service instances, an invalid service instance is one that the network node cannot reach. To further improve the accuracy of service instance set selection, the network node can obtain the status information of each service instance in the server instance set. This status information can include available and unavailable. Only service instances with available status information are selected, and service instances with unavailable status information are filtered out to obtain the available service instance set corresponding to the computing power service identifier. The network node then obtains the computing power routing set corresponding to the available service instance set from the computing power routing table.

[0082] In this embodiment, since different service instances corresponding to the same computing power service identifier may exist in different computing power nodes, the corresponding service instance set is first obtained in the computing power routing table according to the computing power service identifier, and the computing power routing set corresponding to the service instance set is obtained in the computing power routing table, which can more accurately screen the computing power routing set corresponding to the computing power service identifier.

[0083] In an exemplary embodiment, Figure 5 As shown, step 206, determining the target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information includes:

[0084] Step 502: Determine candidate computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information.

[0085] Step 504: Determine target computing power routing information from the candidate computing power routing information based on the computing power factor and network factor of the candidate computing power routing information.

[0086] Optionally, the computing power routing set includes multiple computing power routing information. The network node can first perform computing power screening, i.e., filter the computing power routing information in the computing power routing set to those that meet both computing power resource requirements and network resource requirements, and select these as candidate computing power routing information. Then, path screening is performed, i.e., based on the computing power factors and network factors of the candidate computing power routing information, target computing power routing information that meets the user service level is determined from the candidate computing power routing information. Computing power factors may include CPU, memory, hard disk capacity, GPU, GPU bit width, etc. Network factors may include latency, bandwidth, number of link users, etc.

[0087] Furthermore, the computing power factor and network factor of the candidate computing power routing information can be configured through the web interface, command line, and YANG (Yet Another Next Generation, data modeling) model, and can be flexibly added or deleted.

[0088] In an optional manner of the above embodiment, determining the target computing power routing information from the candidate computing power routing information based on the computing power factor and the network factor of the candidate computing power routing information includes: performing weighted summation processing on the computing power factor and the network factor of each candidate computing power routing information to obtain a score value for each candidate computing power routing information; wherein the computing power weight corresponding to the computing power factor is a positive value, and the network weight corresponding to the network factor is a negative value; and determining the candidate computing power routing information with the largest score value as the target computing power routing information.

[0089] Specifically, the network node obtains the computing power weights corresponding to each computing power factor and the network weights corresponding to each network factor for each candidate computing power routing information. Computing power weights are positive, while network weights are negative. The computing power factor and network factor of each candidate computing power routing information are weighted and summed to obtain a score for each candidate computing power routing information. Specifically, for the computing power factor, the weighting algorithm is: computing power weight × (available computing power / total computing power). For example, for the CPU, the weighting algorithm is: CPU weight × (1 - cpu_used) / cpu_mem. For the network factor, the weighting algorithm is: network weight × network resources / total network resources. For example, for the latency of path 1 in the candidate computing power routing information, the weighting algorithm is: latency weight × (latency of path 1) / (sum of latency of all eligible paths).

[0090] Optionally, computing power and network weights can also be configured through a web interface, command line, or YANG (Yet Another Next Generation, data modeling) models.

[0091] A weighted sum operation is performed on the computing power factor and network factor of each candidate computing power routing information to obtain a score value for each candidate computing power routing information. The candidate computing power routing information with the largest score value is determined as the target computing power routing information. The computing power path in the target computing power routing information is the optimal computing power path.

[0092] Furthermore, the above method also includes: when there are multiple candidate computing power routing information with the largest score values, determining the target computing power routing information from the multiple candidate computing power routing information with the largest score values ​​according to the priority of the target network factor.

[0093] When there are multiple candidate computing power routing information with the largest score values, they are screened based on the priority of the target network factor, which may include bandwidth and number of link users. Compare the bandwidth and number of link users of the multiple candidate computing power routing information with the largest score values. The selection priority of bandwidth and number of link users can be configured and selected by the terminal node according to its own needs through the web, command line, etc. When the priority of bandwidth and number of link users is pre-configured, the target computing power routing information is screened based on the target network factor with the highest priority. If the priority of bandwidth and number of link users is not pre-configured, then

[0094] By default, the number of link users takes precedence over bandwidth, and the candidate computing power routing information with the fewer link users is selected as the target computing power routing information. If the number of link users is the same, the candidate computing power routing information with the higher bandwidth is selected as the target computing power routing information.

[0095] For example, the implementation of the business processing method presents the result as follows Figure 6 As shown, network node G1 can pre-obtain computing power information from each computing node through the computing network platform or BGP (Border Gateway Protocol) to form a multi-factor computing power routing table for the G1 control plane. The G1 control plane multi-factor computing power routing table can include the application or service IP prefix (IP Prefix), network factor, computing power factor, next hop node (Nexthop), service instance address (BID IP), and network tag or priority color (Color). The IP Prefix is ​​APP1:Anycast SID1, which represents the computing power routing information for computing service identifier SID1. A larger network factor value indicates better network performance, while a larger computing power factor value indicates greater computing power. The next hop is G2 or G3, which is the network node or computing power gateway to which the service request message is sent next and is used to forward the service request message.

[0096] The terminal node sends the user application message to the APN6 gateway. The APN6 gateway adds user demand information to the user application message, generating a service request message. It then sends the service request message to network node G1. Based on the computing service identifier, G1 retrieves the computing routing set corresponding to the service instance set from the computing routing table. Based on the computing resource and network resource requirements, G1 determines the target computing routing information from the computing routing set, thus obtaining the control plane routing result. Based on this control plane routing result, a user forwarding session table is generated. The user forwarding session table is a table in the network node used to manage and maintain user session status. These entries record user data flow status information and ensure that data packets for each session are forwarded along the correct path. The user forwarding session table includes matching factors, nexthops, bid IP addresses, and colors. The matching factor is the client flow quintuple, consisting of the source IP address, source port, destination IP address, destination port, and transport layer protocol. The user forwarding session table is sent to the data plane. When subsequent service request messages pass through the network node, the service request messages can be directly forwarded on the data plane and reach the service instance BID301 corresponding to SID1 through G3.

[0097] In this embodiment, after candidate computing power routing information is determined from the computing power routing set based on computing power resource demand information and network resource demand information, target computing power routing information is determined from the candidate computing power routing information based on the computing power factor and network factor of the candidate computing power routing information. Through secondary screening, and driven by user needs, routing selection based on a "computing power + network" multi-factor addressing algorithm can provide users with optimal computing network traffic scheduling. By performing a weighted summation of the computing power factor and network factor of each candidate computing power routing information, a score value for each candidate computing power routing information is obtained. The target computing power routing information is selected based on the score value, accurately screening the optimal routing information based on the importance of each factor.

[0098] In an exemplary embodiment, when a user has multiple service access requirements, the network node will obtain multiple service request messages sent by the same terminal node. The service processing diagram for multiple service request messages is as follows: Figure 7As shown, a user's multiple service access requirements may include deterministic bandwidth services and low-latency services. GW1, GW3, and GW4 are all network nodes. GW3 has multiple computing nodes DC1 and MEC1 connected to it. GW4 has computing node MEC2 connected to it. DC1 is data center node 1, and MEC1 and MEC2 are edge computing nodes. DC1 includes service instance BID100 corresponding to service identifier SID1 and service instance BID101 corresponding to SID2. MEC1 includes service instance BID201 corresponding to service identifier SID2, and MEC2 includes service instance BID300 corresponding to service identifier SID1. GW1 can serve as an ingress network node. Based on the optimal computing service addressing algorithm based on the multi-factor "network + computing power" approach, i.e., the multi-factor routing algorithm based on "network + computing power," GW1 screens target computing power routing information to obtain target computing power routing information for deterministic bandwidth services and target computing power routing information for low-latency services. This means that it obtains computing power paths for deterministic bandwidth services and low-latency services, as indicated by the dotted arrows in the figure. For deterministic bandwidth services, the service request message is sent to GW3 according to the corresponding computing power path, and the service request message is forwarded by GW3 to BID101 corresponding to SID2 in computing power node DC1. For low-latency services, the service request message is sent to GW4 according to the corresponding computing power path, and the service request message is forwarded by GW4 to BID300 corresponding to SID1 in computing power node MEC2.

[0099] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0100] Based on the same inventive concept, embodiments of the present application also provide a service processing device for implementing the aforementioned service processing method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations in one or more service processing device embodiments provided below can be found in the aforementioned limitations on the service processing method and will not be further elaborated here.

[0101] In an exemplary embodiment, Figure 8As shown, a service processing device is provided, including: a message acquisition module 802, a first screening module 804 and a second screening module 806, wherein:

[0102] The message acquisition module 802 is used to obtain a service request message, which carries a computing power service identifier, computing power resource demand information, and network resource demand information.

[0103] The first screening module 804 is configured to obtain a corresponding computing power routing set according to the computing power service identifier.

[0104] The second screening module 806 is used to determine the target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information, and send the service request message to the computing power node corresponding to the target computing power routing information.

[0105] In an exemplary embodiment, the message acquisition module 802 is used to obtain user application messages; match the user application messages with the user configuration policy to obtain the target configuration policy; add user demand information to the user application message according to the target configuration policy to obtain an application-aware message, and determine the application-aware message as a service request message.

[0106] In an exemplary embodiment, the first screening module 804 is configured to obtain a corresponding service instance set in the computing power routing table according to the computing power service identifier; and obtain a computing power routing set corresponding to the service instance set in the computing power routing table.

[0107] In an exemplary embodiment, the first screening module 804 is used to obtain status information of each service instance in the service instance set; determine the available service instance set in the service instance set based on the status information of each service instance; and obtain the computing power routing set corresponding to the available service instance set in the computing power routing table.

[0108] In an exemplary embodiment, the second screening module 806 is used to determine candidate computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information; and determine the target computing power routing information in the candidate computing power routing information based on the computing power factor and the network factor of the candidate computing power routing information.

[0109] In an exemplary embodiment, the second screening module 806 is used to perform weighted summation processing on the computing power factor and network factor of each candidate computing power routing information to obtain a score value for each candidate computing power routing information; wherein the computing power weight corresponding to the computing power factor is a positive value, and the network weight corresponding to the network factor is a negative value; and the candidate computing power routing information with the largest score value is determined as the target computing power routing information.

[0110] In an exemplary embodiment, the second screening module 806 is configured to determine the target computing power routing information from among the candidate computing power routing information with the largest scores, based on the priority of the target network factor, when there are multiple candidate computing power routing information with the largest scores.

[0111] Each module in the above-mentioned business processing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0112] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 9 As shown. The computer device includes a processor, a memory, an input / output interface (I / O) and a communication interface. The processor, memory and input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as computing power routing tables. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a business processing method is implemented.

[0113] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0114] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0116] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0118] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0119] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0120] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A business processing method, characterized in that: The method comprises: Obtaining a service request message, wherein the service request message carries a computing power service identifier and user demand information, wherein the user demand information includes computing power resource demand information and network resource demand information; Obtain a corresponding computing power routing set according to the computing power service identifier; Determining target computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information, and sending the service request message to the computing power node corresponding to the target computing power routing information, including: determining candidate computing power routing information in the computing power routing set according to the computing power resource demand information and the network resource demand information; and determining target computing power routing information in the candidate computing power routing information according to the computing power factor and the network factor of the candidate computing power routing information.

2. The method according to claim 1, characterized in that The service acquisition request message includes: Get user application message; Matching the user application message with the user configuration policy to obtain a target configuration policy; According to the target configuration policy, user demand information is added to the user application message to obtain an application-aware message, and the application-aware message is determined as a service request message.

3. The method according to claim 1, characterized in that The acquiring of the corresponding computing power routing set according to the computing power service identifier includes: Obtain a corresponding service instance set in the computing power routing table according to the computing power service identifier; Obtain the computing power routing set corresponding to the service instance set in the computing power routing table.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining status information of each service instance in the service instance set; Determining a set of available service instances in the set of service instances based on the status information of each service instance; Obtain the computing power routing set corresponding to the available service instance set in the computing power routing table.

5. The method according to claim 1, wherein Determining target computing power routing information from the candidate computing power routing information based on the computing power factor and the network factor of the candidate computing power routing information includes: Performing a weighted summation process on the computing power factor and the network factor of each candidate computing power routing information to obtain a score value for each candidate computing power routing information; wherein the computing power weight corresponding to the computing power factor is a positive value, and the network weight corresponding to the network factor is a negative value; The candidate computing power routing information with the largest score value is determined as the target computing power routing information.

6. The method according to claim 5, characterized in that The method further comprises: When there are multiple candidate computing power routing information with the largest score values, the target computing power routing information is determined from the multiple candidate computing power routing information with the largest score values ​​according to the priority of the target network factor.

7. A business processing device, characterized in that: The device comprises: A message acquisition module is used to obtain a service request message, wherein the service request message carries a computing power service identifier, computing power resource demand information, and network resource demand information; A first screening module is used to obtain a corresponding computing power routing set according to the computing power service identifier; The second screening module is used to determine the target computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information, and send the service request message to the computing power node corresponding to the target computing power routing information, including: determining candidate computing power routing information in the computing power routing set based on the computing power resource demand information and the network resource demand information; and determining the target computing power routing information in the candidate computing power routing information based on the computing power factor and network factor of the candidate computing power routing information.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Calculation network route determination method, device and equipment and storage medium

    CN115086230A

  • Computing power information processing method and device, electronic equipment and storage medium

    CN115695282A