Service gateway and deployment method and device
By designing a service gateway with control plane, user side and service side interfaces, periodically checking the status of computing power service nodes and accurately scheduling service traffic, the problem of coarse and inaccurate service traffic scheduling in the existing computing power network is solved, and high functional, flexible and reliable service traffic management is achieved.
Patent Information
- Application Number
- CN202510148078.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-05-13
AI Technical Summary
Service traffic scheduling and load distribution in existing computing power networks are implemented based on DNAT. Metrics based on scheduling depends on resource status data of computing power nodes, resulting in coarse granularity of service traffic scheduling, inaccurate scheduling, and no sense of service status, and poor flexibility.
A service gateway is designed, with a control plane interface, a user-side interface and a service-side interface. The health status and performance status of the computing power service node are periodically checked through the service interface, and when the user-side interface receives service requests, the service traffic is accurately scheduled based on the service information table and load balancing strategy.
It realizes fine-grained precise service traffic scheduling, ensures service continuity during node handover, and improves the functionality, flexibility and reliability of the computing power network while ensuring nearby and low-latency routing.
Smart Images

Figure CN119996494A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and specifically provides a service gateway and a deployment method and device. Background Art
[0002] Computing network has emerged as a new type of technical research topic, aiming to solve the problem of coordinated scheduling of ubiquitous computing power and network. At present, most research results and technical solutions introduce computing routing protocols on the routing and forwarding equipment of the bearer network to support the notification of computing information, and use Layer 3 and Layer 4 destination address redirection and address port translation (DNAT) to schedule service traffic to the appropriate computing node.
[0003] This type of computing power information often only contains the resource status data of the computing power nodes, but does not include the status data and performance data of the service layer. In actual application scenarios, the computing power information may be normal but the service may be unavailable due to failure of the service component, causing serious reliability problems.
[0004] In addition, the traffic scheduling mechanism based on DNAT uses flow as the scheduling unit, which has a coarse granularity and is difficult to distinguish different segmented services and businesses in the same flow to perform accurate scheduling; since the service status is not perceived, session stickiness relies on the flow table aging mechanism to achieve, which has poor flexibility.
[0005] Therefore, it is urgent to improve the functionality, flexibility and reliability of the computing network by supporting the service layer reverse proxy function.
[0006] In the current computing network, service traffic scheduling and load distribution are generally implemented based on DNAT, and the metrics used for scheduling depend on the resource status data of the computing nodes, resulting in coarse granularity and inaccurate scheduling of service traffic. Summary of the invention
[0007] The present invention aims at the above-mentioned deficiencies of the prior art and provides a service gateway and a deployment method with strong practicality.
[0008] A further technical task of the present invention is to provide a service gateway and deployment device that is reasonably designed, safe and applicable.
[0009] The technical solution adopted by the present invention to solve its technical problem is:
[0010] A service gateway and deployment method, the method is used for a computing network, the service gateway has at least three logical network interfaces, namely a control plane interface, a user side interface and a service side interface;
[0011] The control plane interface is responsible for connecting with the control function entity to obtain service configuration information;
[0012] The user-side interface load is connected to the user access network to receive service requests from users;
[0013] The service side interface is responsible for connecting to the computing power service node through an IP bearer network or a bearer network based on SRv6 or MPLS, periodically checking the service status, and distributing service requests from users to the computing power service node.
[0014] Further, the specific steps are as follows:
[0015] S1. The service gateway obtains service configuration information of multiple computing service nodes from the control plane through the control plane interface;
[0016] S2, the service gateway carries the data connection of the service layer reverse proxy session on the service side interface;
[0017] S3. Check the health status and performance status of the computing power service node based on the service detection time of the above service configuration information;
[0018] S4. When the user-side interface receives a service request from the user, the service request from the user is forwarded to the computing power service node.
[0019] Furthermore, in step S1, the service configuration information includes the computing power service node IP address, protocol and port number, service URL information, associated data plane tunnel information and service detection time interval information, and is stored locally to form a service information table.
[0020] Furthermore, in step S2, based on the computing power service node IP address and the associated data plane tunnel information in the above service configuration information, the service gateway uses SRv6, MPLS or IPSec protocol on the service side interface to establish and maintain a data plane forwarding tunnel with the computing power service node, which is used to carry the data connection of the service layer reverse proxy session.
[0021] Further, in step S3, after establishing the above-mentioned data plane forwarding tunnel, the service gateway establishes a reverse proxy session connection with the computing power service node based on the computing power service node IP address, protocol and port number, and service URL information in the above-mentioned service configuration information, and periodically checks the health status and performance status of the computing power service node based on the service detection time interval in the above-mentioned service configuration information;
[0022] The health and performance status data will be stored in the service information table and associated with the corresponding computing service node.
[0023] Furthermore, in step S4, when the user-side interface receives a service request from the user, the service gateway retrieves the service information table, searches for the computing power service node associated with the requested target service, and filters the health and performance status data associated with these computing power service nodes based on the preconfigured load balancing strategy, and selects and forwards the service request from the user to the computing power service node through the above-mentioned data plane forwarding tunnel.
[0024] Further, in step S4, the service gateway is deployed at the user access network egress side, including the DN egress side of the mobile network UPF or P-GW, or the broadband network BRAS device egress side;
[0025] Configuring the user-side interface of the service gateway as an anycast address, and configuring a diversion strategy or a routing strategy for the anycast address on the user access network side;
[0026] The DNS resolution result of the service domain name of the service gateway proxy is statically configured as an anycast address.
[0027] A service gateway and deployment device, comprising: at least one memory and at least one processor;
[0028] The at least one memory is used to store a machine-readable program;
[0029] The at least one processor is used to call the machine-readable program to execute a service gateway and deployment method and device.
[0030] Compared with the prior art, the service gateway and deployment method and device of the present invention have the following outstanding beneficial effects:
[0031] The present invention can realize fine-grained accurate service traffic scheduling and ensure service continuity during node switching, while ensuring that user service requests are always routed nearby with low latency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Attached Figure 1 The invention is a flowchart of a service gateway and a deployment method. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] A best embodiment is given below:
[0036] Embodiment 1:
[0037] A service gateway and deployment method in this embodiment, which is used in a computing network, wherein the service gateway has at least three logical network interfaces, namely a control plane interface, a user side interface and a service side interface;
[0038] The control plane interface is responsible for connecting with the control function entity to obtain service configuration information;
[0039] The user-side interface load is connected to the user access network to receive service requests from users;
[0040] The service-side interface is responsible for connecting to the computing service node through an IP bearer network or a bearer network based on SRv6 or MPLS, periodically checking the service status, and distributing service requests from users to the computing service node.
[0041] like Figure 1 As shown,
[0042] The specific steps are as follows:
[0043] S1. The service gateway obtains service configuration information of multiple computing service nodes from the control plane through the control plane interface;
[0044] It includes but is not limited to the computing service node IP address, protocol and port number, service URL information, associated data plane tunnel information and service detection time interval information, and is stored locally to form a service information table.
[0045] S2, the service gateway carries the data connection of the service layer reverse proxy session on the service side interface;
[0046] Based on the computing service node IP address and associated data plane tunnel information in the service configuration information, the service gateway uses SRv6, MPLS or IPSec protocol on the service side interface to establish and maintain a data plane forwarding tunnel with the computing service node to carry the data connection of the service layer reverse proxy session.
[0047] S3. Check the health status and performance status of the computing power service node based on the service detection time of the above service configuration information;
[0048] After establishing the above-mentioned data plane forwarding tunnel, the service gateway establishes a reverse proxy session connection with the computing power service node based on the computing power service node IP address, protocol and port number, and service URL information in the service configuration information, and periodically checks the health status and performance status of the computing power service node based on the service detection time interval in the service configuration information.
[0049] Health and performance status data will be stored in the service information table and associated with the corresponding computing service node. Performance status data includes but is not limited to service response delay, service load, etc.
[0050] S4. When the user-side interface receives a service request from the user, the service request from the user is forwarded to the computing power service node;
[0051] When the user-side interface receives a service request from the user, the service gateway retrieves the service information table, searches for the computing service node associated with the requested target service, and filters the health and performance status data associated with these computing service nodes based on the pre-configured load balancing strategy, and selects and forwards the service request from the user to the computing service node through the above-mentioned data plane forwarding tunnel.
[0052] In order to achieve local, low-latency routing to ensure user service requests during user mobility, this application proposes a deployment method suitable for a service gateway.
[0053] Among them, the service gateway is deployed on the user access network egress side, including but not limited to the DN egress side of the mobile network UPF or P-GW, or the broadband network BRAS device egress side.
[0054] Configure the user-side interface of the service gateway as an anycast address, and configure a diversion strategy or routing strategy for the anycast address on the user access network side.
[0055] The DNS resolution result of the service domain name of the service gateway agent is statically configured as the anycast address.
[0056] Embodiment 2:
[0057] The present embodiment provides a service gateway and a deployment device, including: at least one memory and at least one processor;
[0058] a memory for storing a machine-readable program;
[0059] The processor is used to call the machine-readable program to execute a service gateway and deployment method and device.
[0060] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor may be a microprocessor or any conventional processor, etc.
[0061] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory can also include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash memory card, at least one disk storage period, a flash memory device, or other volatile solid-state storage devices.
[0062] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that conform to the above-mentioned specific implementations of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.
[0063] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A service gateway and deployment method, characterized in that: The method is used for a computing power network, wherein the service gateway has at least three logical network interfaces, namely a control plane interface, a user side interface and a service side interface; The control plane interface is responsible for connecting with the control function entity to obtain service configuration information; The user-side interface load is connected to the user access network to receive service requests from users; The service side interface is responsible for connecting to the computing power service node through an IP bearer network or a bearer network based on SRv6 or MPLS, periodically checking the service status, and distributing service requests from users to the computing power service node.
2. A service gateway and deployment method according to claim 2, characterized in that: The specific steps are as follows: S1. The service gateway obtains service configuration information of multiple computing service nodes from the control plane through the control plane interface; S2, the service gateway carries the data connection of the service layer reverse proxy session on the service side interface; S3. Check the health status and performance status of the computing power service node based on the service detection time of the above service configuration information; S4. When the user-side interface receives a service request from the user, the service request from the user is forwarded to the computing power service node.
3. A service gateway and deployment method according to claim 2, characterized in that: In step S1, the service configuration information includes the computing power service node IP address, protocol and port number, service URL information, associated data plane tunnel information and service detection time interval information, and is stored locally to form a service information table.
4. A service gateway and deployment method according to claim 3, characterized in that: In step S2, based on the computing power service node IP address and the associated data plane tunnel information in the above service configuration information, the service gateway uses SRv6, MPLS or IPSec protocol on the service side interface to establish and maintain a data plane forwarding tunnel with the computing power service node, which is used to carry the data connection of the service layer reverse proxy session.
5. A service gateway and deployment method according to claim 4, characterized in that: In step S3, after establishing the above-mentioned data plane forwarding tunnel, the service gateway establishes a reverse proxy session connection with the computing power service node based on the computing power service node IP address, protocol and port number, and service URL information in the above-mentioned service configuration information, and periodically checks the health status and performance status of the computing power service node based on the service detection time interval in the above-mentioned service configuration information; The health and performance status data will be stored in the service information table and associated with the corresponding computing service node.
6. A service gateway and deployment method according to claim 5, characterized in that: In step S4, when the user-side interface receives a service request from the user, the service gateway retrieves the service information table, searches for the computing power service node associated with the requested target service, and filters the health and performance status data associated with these computing power service nodes based on the preconfigured load balancing strategy, and selects and forwards the service request from the user to the computing power service node through the above-mentioned data plane forwarding tunnel.
7. A service gateway and deployment method according to claim 6, characterized in that: In step S4, the service gateway is deployed at the user access network egress side, including the DN egress side of the mobile network UPF or P-GW, or the broadband network BRAS device egress side; Configuring the user-side interface of the service gateway as an anycast address, and configuring a diversion strategy or a routing strategy for the anycast address on the user access network side; The DNS resolution result of the service domain name of the service gateway proxy is statically configured as an anycast address.
8. A service gateway and deployment device, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Self-adaptive granularity computing power notification method and system based on hierarchy, storage medium and electronic equipment
CN120729771A