CN112954084A - Edge computing processing method, network function example and edge service management and control center - Google Patents
Edge computing processing method, network function example and edge service management and control center Download PDFInfo
- Publication number
- CN112954084A CN112954084A CN201911264922.2A CN201911264922A CN112954084A CN 112954084 A CN112954084 A CN 112954084A CN 201911264922 A CN201911264922 A CN 201911264922A CN 112954084 A CN112954084 A CN 112954084A
- Authority
- CN
- China
- Prior art keywords
- target
- application
- edge
- virtual
- edge service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/164—Adaptation or special uses of UDP protocol
Abstract
The invention provides a processing method of edge calculation, a network function example and an edge service management and control center, wherein the method comprises the following steps: receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application; according to a target IP corresponding to the application virtual IP of the target application, forwarding the first data packet to a target edge service instance corresponding to the target IP; according to the embodiment of the invention, the virtual IP is applied to forward the data packet of the target application to the corresponding target edge service instance, compared with a DNS resolution mode, the DNS domain name access is not required to be supported by a terminal, the forwarding rule can be flexibly configured, and the switching speed is high.
Description
Technical Field
The present invention relates to the field of edge computing technologies, and in particular, to a processing method for edge computing, a network function instance, and an edge service management and control center.
Background
In the access process of the edge service of the mobile network, the problem of the distribution of the edge access service traffic exists, and the accessed terminal application traffic needs to be distributed to a corresponding edge service instance. At present, a service traffic distribution method is mainly a Domain Name System (DNS) resolution method, and an edge access application server IP to be distributed for an application is resolved through a DNS by using a Domain Name of an application request, thereby achieving the purpose of drainage.
At present, because of the maturity of CDN (Content Delivery Network) services, DNS resolution is most widely used. The main problems with this approach are: 1) terminal application is required to support DNS domain name access, and part of terminal capacity limitation in the scene of the Internet of things may not support DNS domain name access; 2) the switching speed is limited by the DNS updating speed, which may reach a switching delay of more than a minute level, and some scenarios may cause service failure.
Disclosure of Invention
The embodiment of the invention aims to provide a processing method for edge calculation, a network function example and an edge service management and control center, so as to solve the problem that in the prior art, a DNS analysis mode is limited by terminal capability and switching delay, which is easy to cause service failure.
In order to solve the above problem, an embodiment of the present invention provides a processing method based on edge calculation, which is applied to a user data plane network function instance, and includes:
receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
Before forwarding the first data packet to a target edge service instance corresponding to a target IP according to the target IP corresponding to the application virtual IP of the target application, the method further includes:
receiving a data forwarding rule sent by an edge service management and control center;
wherein, the data forwarding rule comprises: applying a virtual IP forwarded target IP; or, the rule of determining the target IP forwarded by the virtual IP is applied.
The target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Wherein, in case the target IP is an edge service gateway IP of a target edge service instance,
the forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application comprises:
and forwarding the first data packet to an edge service gateway identified by the edge service gateway IP according to the edge service gateway IP corresponding to the application virtual IP of the target application, so that the edge service gateway forwards the first data packet to a target edge service instance.
The embodiment of the invention also provides a processing method based on edge calculation, which is applied to an edge service control center and comprises the following steps:
receiving a virtual IP application request;
and allocating the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function example according to the application virtual IP.
Wherein the method further comprises:
setting a target IP corresponding to the application virtual IP of the target application;
sending the target IP forwarded by the application virtual IP to the user data plane network function example;
the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Wherein, the setting of the target IP corresponding to the virtual IP of the target application comprises:
determining a target edge data center of the target application deployed in a user data plane network function instance, wherein the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score;
and determining an edge service gateway IP corresponding to the target application in the target edge data center or a target edge service instance IP of the target application as the target IP.
Wherein the method further comprises:
sending the determination rule of the target IP forwarded by the virtual IP to the user data plane network function example;
the rule for determining the target IP forwarded by the virtual IP is as follows:
if the IP prefix of the received data packet is consistent with the prefix of the set application virtual IP, replacing the IP prefix of the received data packet with the IP prefix of a target edge data center to obtain the target IP;
the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score in the edge data centers of the target applications deployed in the user data plane network function instance.
The embodiment of the invention also provides a processing device based on edge calculation, which is applied to the user data plane network function example and comprises the following steps:
the receiving module is used for receiving a first data packet sent by a target application by utilizing an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and the forwarding module is used for forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
An embodiment of the present invention further provides a user data plane network function instance, which includes a processor and a transceiver, where the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
The embodiment of the invention also provides a processing device based on edge calculation, which is applied to an edge service control center, and the device comprises:
a request receiving module, configured to receive an application virtual IP application request;
and the configuration module is used for distributing the application virtual IP to the target application according to the application virtual IP application request and configuring the user data plane network function example according to the application virtual IP.
The embodiment of the invention also provides an edge service management and control center, which comprises a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is used for executing the following operations:
receiving a virtual IP application request;
and allocating the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function example according to the application virtual IP.
The embodiment of the present invention further provides a terminal, which includes a memory, a processor, and a program stored in the memory and capable of running on the processor, and when the processor executes the program, the processing method based on edge calculation as described above is implemented.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the processing method based on edge calculation as described above.
The technical scheme of the invention at least has the following beneficial effects:
in the edge calculation processing method, the network function instance and the edge service control center of the embodiment of the invention, the virtual IP is applied to forward the data packet of the target application to the corresponding target edge service instance, compared with a DNS (domain name system) -based resolution mode, a terminal is not required to support DNS domain name access, forwarding rules can be flexibly configured, and the switching speed is high.
Drawings
FIG. 1 is a flowchart illustrating steps of a processing method based on edge calculation according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second step of the processing method based on edge calculation according to the embodiment of the present invention;
FIG. 3 is a schematic data transmission diagram illustrating a processing method based on edge calculation according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a processing apparatus based on edge calculation according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an example of a user data plane network function provided in an embodiment of the present invention;
FIG. 6 is a second schematic diagram of a processing apparatus based on edge calculation according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an edge service management and control center according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a processing method based on edge calculation, which is applied to a user data plane network function UPF instance, and includes:
In this step, the virtual IP of the target application is allocated to the target application by the edge service management and control center.
And step 12, forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
In this step, the edge service management and control center configures UPF according to the virtual application IP and the application service deployment request, and sets a target IP forwarded by the virtual application IP. Different UPF instances may configure different forwarding target IPs. And the UPF forwards the first data packet of the target application to a target edge service instance matched with the application virtual IP according to a data forwarding rule set by the edge service control center.
Optionally, in the above embodiment of the present invention, before step 12, the method further includes:
receiving a data forwarding rule sent by an edge service management and control center;
wherein, the data forwarding rule comprises: applying a virtual IP forwarded target IP; or, the rule of determining the target IP forwarded by the virtual IP is applied.
The target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
In other words, the target IP is a target edge service instance IP or an edge service gateway IP targeted for application in each edge data center, and the target edge service instance IP or the edge service gateway IP of different edge data centers are different.
In the case that the target IP is an edge service gateway IP of a target edge service instance, step 12 includes:
and forwarding the first data packet to an edge service gateway identified by the edge service gateway IP according to the edge service gateway IP corresponding to the application virtual IP of the target application, so that the edge service gateway forwards the first data packet to a target edge service instance.
In the embodiment of the invention, the edge service gateway analyzes the received first data packet, acquires the application virtual IP of the first data packet, matches the application according to the application virtual IP and the port, and executes corresponding load balancing scheduling to forward the first data packet to the matched target IP.
Load balancing algorithms include round robin, random, low load priority, low response delay priority, etc., to name but a few.
The embodiment of the invention relates to three layers of IP, namely an application virtual IP, an application edge IP and an edge service instance IP:
and applying virtual IP for global identification application. Different applications have different application virtual IPs.
Application edge IP (also referred to as edge service gateway IP) is used to identify applications in the edge data center (possibly in conjunction with ports), which is the IP of a target application that is directed to a corresponding edge service gateway in a particular edge data center. The application edge IP of the same application in different edge data centers is different.
Edge service instance IP, which is used to identify edge service instances (possibly mated to ports) in the edge data center. A target application may have multiple service instances in an edge data center, which may differ in IP.
And when the target application does not have the corresponding edge service gateway, the edge service instance IP is consistent with the edge service gateway IP.
To sum up, the target application of the terminal sends data by using the virtual IP, the data plane forwarding network function UPF instance forwards the data packet to the edge service gateway corresponding to the application in the specific edge data center according to the target IP corresponding to the virtual IP, and the edge service gateway forwards the data packet to the edge service instance of the application scheduled (if there is no edge service gateway, the UPF instance forwards the data packet to the edge service instance corresponding to the application in the specific edge data center according to the target IP corresponding to the virtual IP).
As shown in fig. 2, an embodiment of the present invention further provides a processing method based on edge calculation, which is applied to an edge service management and control center, and the method includes:
and step 21, receiving an application virtual IP application request.
In this step, the application virtual IP application request is sent to the edge service management and control center by the application provider.
And step 22, distributing the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function (UPF) instance according to the application virtual IP.
In this step, the edge service management and control center allocates an application virtual IP to the target application, and configures a UPF instance according to the application virtual IP and the deployment situation of the application.
The embodiment of the invention provides two modes for configuring data forwarding rules:
in the first mode, the data forwarding rule is a target IP forwarded by applying a virtual IP; namely, the method further comprises:
setting a target IP corresponding to the application virtual IP of the target application;
sending the target IP forwarded by the application virtual IP to the user data plane network function example;
the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Wherein, the setting of the target IP corresponding to the virtual IP of the target application comprises:
determining a target edge data center of the target application deployed in a user data plane network function instance, wherein the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score;
and determining an edge service gateway IP corresponding to the target application in the target edge data center or a target edge service instance IP of the target application as the target IP.
In the second mode, the data forwarding rule is a determination rule of a target IP forwarded by applying the virtual IP, and the determination rule of the target IP forwarded by applying the virtual IP is sent to the user data plane network function example;
the rule for determining the target IP forwarded by the virtual IP is as follows:
if the IP prefix of the received data packet is consistent with the prefix of the set application virtual IP, replacing the IP prefix of the received data packet with the IP prefix of a target edge data center to obtain the target IP;
the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score in the edge data centers of the target applications deployed in the user data plane network function instance.
It should be noted that the KPI of the edge data center can be determined comprehensively according to the network distance from the edge data center to the UPF, the time delay, the load of the edge data center, and other information.
As shown in fig. 3, a flow of the processing method based on edge calculation according to the embodiment of the present invention is as follows:
an application provider applies for application virtual IP to an edge service management and control center;
the edge service management and control center configures related user data forwarding network function UPF instances according to the application virtual IP and the deployment situation of the application, and sets the target IP forwarded by the application virtual IP of each user data forwarding UFP instance:
the target application sends a data packet according to the application virtual IP;
the UPF example forwards the data packet according to the forwarding target IP corresponding to the virtual IP;
and the edge service gateway corresponding to the target IP receives the forwarded data packet, performs load balancing scheduling, and forwards the data packet to the corresponding edge service instance.
In summary, the embodiment of the invention forwards the data packet of the target application to the corresponding target edge service instance by using the virtual IP, and compared with a DNS-based resolution mode, the embodiment of the invention does not need a terminal to support DNS domain name access, and is suitable for limited devices of the internet of things; the forwarding rules can be flexibly configured, the switching speed is high, the DNS updating speed is not depended on, and only UPF forwarding configuration needs to be modified; the method is simple to implement, convenient to use and compatible with the existing Internet CDN architecture, and only the application virtual IP needs to be added into the DNS of the CDN.
As shown in fig. 4, an embodiment of the present invention further provides a processing apparatus based on edge calculation, which is applied to a user data plane network function instance, and includes:
a receiving module 41, configured to receive a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
a forwarding module 42, configured to forward the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
the rule receiving module is used for receiving a data forwarding rule sent by the edge service management and control center;
wherein, the data forwarding rule comprises: applying a virtual IP forwarded target IP; or, the rule of determining the target IP forwarded by the virtual IP is applied.
Optionally, in the foregoing embodiment of the present invention, the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Optionally, in the above embodiment of the present invention, in case that the target IP is an edge service gateway IP of a target edge service instance,
the forwarding module includes:
and the forwarding sub-module is used for forwarding the first data packet to the edge service gateway identified by the edge service gateway IP according to the edge service gateway IP corresponding to the application virtual IP of the target application, so that the edge service gateway forwards the first data packet to a target edge service instance.
In summary, the embodiment of the invention forwards the data packet of the target application to the corresponding target edge service instance by using the virtual IP, and compared with a DNS-based resolution mode, the embodiment of the invention does not need a terminal to support DNS domain name access, and is suitable for limited devices of the internet of things; the forwarding rules can be flexibly configured, the switching speed is high, the DNS updating speed is not depended on, and only UPF forwarding configuration needs to be modified; the method is simple to implement, convenient to use and compatible with the existing Internet CDN architecture, and only the application virtual IP needs to be added into the DNS of the CDN.
It should be noted that, the processing apparatus based on edge calculation according to the embodiment of the present invention is a processing apparatus capable of implementing the processing method based on edge calculation, and all embodiments of the processing method based on edge calculation are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 5, an embodiment of the present invention further provides an example of a user data plane network function, which includes a processor 500 and a transceiver 510, where the transceiver 510 receives and transmits data under the control of the processor 500, and the processor 500 is configured to perform the following operations:
receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
Optionally, in the above embodiment of the present invention, the processor is further configured to:
receiving a data forwarding rule sent by an edge service management and control center;
wherein, the data forwarding rule comprises: applying a virtual IP forwarded target IP; or, the rule of determining the target IP forwarded by the virtual IP is applied.
Optionally, in the foregoing embodiment of the present invention, the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Optionally, in the above embodiment of the present invention, in case that the target IP is an edge service gateway IP of a target edge service instance,
the processor is further configured to:
and forwarding the first data packet to an edge service gateway identified by the edge service gateway IP according to the edge service gateway IP corresponding to the application virtual IP of the target application, so that the edge service gateway forwards the first data packet to a target edge service instance.
In summary, the embodiment of the invention forwards the data packet of the target application to the corresponding target edge service instance by using the virtual IP, and compared with a DNS-based resolution mode, the embodiment of the invention does not need a terminal to support DNS domain name access, and is suitable for limited devices of the internet of things; the forwarding rules can be flexibly configured, the switching speed is high, the DNS updating speed is not depended on, and only UPF forwarding configuration needs to be modified; the method is simple to implement, convenient to use and compatible with the existing Internet CDN architecture, and only the application virtual IP needs to be added into the DNS of the CDN.
It should be noted that the user data plane network function example provided in the embodiment of the present invention is a user data plane network function example capable of implementing the processing method based on edge computing, and all embodiments of the processing method based on edge computing are applicable to the user data plane network function example and can achieve the same or similar beneficial effects.
An embodiment of the present invention further provides a communication device, where the communication device is an example of a user data plane network function, and includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and when the processor executes the program, the processor implements each process in the above-described embodiment of the processing method based on edge calculation, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each process in the above-described processing method embodiment based on edge calculation, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As shown in fig. 6, an embodiment of the present invention further provides an edge calculation-based processing apparatus, which is applied to an edge service management and control center, where the apparatus includes:
a request receiving module 61, configured to receive an application virtual IP application request;
and a configuration module 62, configured to allocate an application virtual IP to the target application according to the application virtual IP application request and configure a user data plane network function instance according to the application virtual IP.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
the setting module is used for setting a target IP corresponding to the application virtual IP of the target application;
a sending module, configured to send the target IP forwarded by the virtual IP to the user data plane network function instance;
the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Optionally, in the above embodiment of the present invention, the setting module includes:
the first submodule is used for determining a target edge data center of the target application deployed in a user data plane network function instance, wherein the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score;
a second sub-module, configured to determine that an edge service gateway IP corresponding to the target application in the target edge data center or a target edge service instance IP of the target application is the target IP.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
the rule sending module is used for sending the determination rule of the target IP forwarded by the virtual IP to the user data plane network function example;
the rule for determining the target IP forwarded by the virtual IP is as follows:
if the IP prefix of the received data packet is consistent with the prefix of the set application virtual IP, replacing the IP prefix of the received data packet with the IP prefix of a target edge data center to obtain the target IP;
the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score in the edge data centers of the target applications deployed in the user data plane network function instance.
In summary, the embodiment of the invention forwards the data packet of the target application to the corresponding target edge service instance by using the virtual IP, and compared with a DNS-based resolution mode, the embodiment of the invention does not need a terminal to support DNS domain name access, and is suitable for limited devices of the internet of things; the forwarding rules can be flexibly configured, the switching speed is high, the DNS updating speed is not depended on, and only UPF forwarding configuration needs to be modified; the method is simple to implement, convenient to use and compatible with the existing Internet CDN architecture, and only the application virtual IP needs to be added into the DNS of the CDN.
It should be noted that, the processing apparatus based on edge calculation according to the embodiment of the present invention is a processing apparatus capable of implementing the processing method based on edge calculation, and all embodiments of the processing method based on edge calculation are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 7, an embodiment of the present invention further provides an edge service management and control center, which includes a processor 700 and a transceiver 710, where the transceiver 710 receives and transmits data under the control of the processor 700, and the processor 700 is configured to perform the following operations:
receiving a virtual IP application request;
and allocating the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function example according to the application virtual IP.
Optionally, in the above embodiment of the present invention, the processor is further configured to:
setting a target IP corresponding to the application virtual IP of the target application;
sending the target IP forwarded by the application virtual IP to the user data plane network function example;
the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
Optionally, in the above embodiment of the present invention, the processor is further configured to:
determining a target edge data center of the target application deployed in a user data plane network function instance, wherein the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score;
and determining an edge service gateway IP corresponding to the target application in the target edge data center or a target edge service instance IP of the target application as the target IP.
Optionally, in the above embodiment of the present invention, the processor is further configured to:
sending the determination rule of the target IP forwarded by the virtual IP to the user data plane network function example;
the rule for determining the target IP forwarded by the virtual IP is as follows:
if the IP prefix of the received data packet is consistent with the prefix of the set application virtual IP, replacing the IP prefix of the received data packet with the IP prefix of a target edge data center to obtain the target IP;
the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score in the edge data centers of the target applications deployed in the user data plane network function instance.
In summary, the embodiment of the invention forwards the data packet of the target application to the corresponding target edge service instance by using the virtual IP, and compared with a DNS-based resolution mode, the embodiment of the invention does not need a terminal to support DNS domain name access, and is suitable for limited devices of the internet of things; the forwarding rules can be flexibly configured, the switching speed is high, the DNS updating speed is not depended on, and only UPF forwarding configuration needs to be modified; the method is simple to implement, convenient to use and compatible with the existing Internet CDN architecture, and only the application virtual IP needs to be added into the DNS of the CDN.
It should be noted that, the edge service management and control center provided in the embodiments of the present invention is an edge service management and control center capable of implementing the processing method based on edge calculation, and all embodiments of the processing method based on edge calculation are applicable to the edge service management and control center and can achieve the same or similar beneficial effects.
An embodiment of the present invention further provides a communication device, where the communication device is an edge service management and control center, and includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the processor implements each process in the above-described edge calculation-based processing method embodiment when executing the program, and can achieve the same technical effect, and details are not described here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each process in the above-described processing method embodiment based on edge calculation, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (14)
1. A processing method based on edge calculation is applied to a user data plane network function instance and is characterized by comprising the following steps:
receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
2. The method according to claim 1, wherein before forwarding the first packet to the target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application, the method further comprises:
receiving a data forwarding rule sent by an edge service management and control center;
wherein, the data forwarding rule comprises: applying a virtual IP forwarded target IP; or, the rule of determining the target IP forwarded by the virtual IP is applied.
3. The method of claim 1, wherein the target IP is a target edge service instance IP or the target IP is an edge service gateway IP of a target edge service instance.
4. The method of claim 3, wherein, in the case that the target IP is an edge service gateway IP of a target edge service instance,
the forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application comprises:
and forwarding the first data packet to an edge service gateway identified by the edge service gateway IP according to the edge service gateway IP corresponding to the application virtual IP of the target application, so that the edge service gateway forwards the first data packet to a target edge service instance.
5. A processing method based on edge calculation is applied to an edge service management and control center, and is characterized in that the method comprises the following steps:
receiving a virtual IP application request;
and allocating the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function example according to the application virtual IP.
6. The method of claim 5, further comprising:
setting a target IP corresponding to the application virtual IP of the target application;
sending the target IP forwarded by the application virtual IP to the user data plane network function example;
the target IP is a target edge service instance IP, or the target IP is an edge service gateway IP of the target edge service instance.
7. The method of claim 6, wherein the setting of the target IP corresponding to the application virtual IP of the target application comprises:
determining a target edge data center of the target application deployed in a user data plane network function instance, wherein the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score;
and determining an edge service gateway IP corresponding to the target application in the target edge data center or a target edge service instance IP of the target application as the target IP.
8. The method of claim 5, further comprising:
sending the determination rule of the target IP forwarded by the virtual IP to the user data plane network function example;
the rule for determining the target IP forwarded by the virtual IP is as follows:
if the IP prefix of the received data packet is consistent with the prefix of the set application virtual IP, replacing the IP prefix of the received data packet with the IP prefix of a target edge data center to obtain the target IP;
the target edge data center is an edge data center with the highest Key Performance Indicator (KPI) score in the edge data centers of the target applications deployed in the user data plane network function instance.
9. An edge computing-based processing apparatus applied to a user data plane network function instance, comprising:
the receiving module is used for receiving a first data packet sent by a target application by utilizing an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and the forwarding module is used for forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
10. An example user data plane network function comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, the processor being configured to:
receiving a first data packet sent by a target application by using an application virtual IP of the target application; the application virtual IP is used for identifying the target application;
and forwarding the first data packet to a target edge service instance corresponding to the target IP according to the target IP corresponding to the application virtual IP of the target application.
11. An edge computing-based processing device applied to an edge service management and control center, the device comprising:
a request receiving module, configured to receive an application virtual IP application request;
and the configuration module is used for distributing the application virtual IP to the target application according to the application virtual IP application request and configuring the user data plane network function example according to the application virtual IP.
12. An edge service management and control center comprising a processor and a transceiver, the transceiver receiving and transmitting data under the control of the processor, wherein the processor is configured to:
receiving a virtual IP application request;
and allocating the application virtual IP to the target application according to the application virtual IP application request and configuring a user data plane network function example according to the application virtual IP.
13. A terminal comprising a memory, a processor, and a program stored on the memory and executable on the processor; wherein the processor implements the processing method based on edge calculation according to any one of claims 1 to 4 when executing the program; alternatively, the processor implements the processing method based on edge calculation according to any one of claims 5 to 8 when executing the program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps in the edge-computation-based processing method according to any one of claims 1 to 4; alternatively, the program realizes the steps in the processing method based on edge calculation according to any one of claims 5 to 8 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911264922.2A CN112954084B (en) | 2019-12-11 | 2019-12-11 | Edge computing processing method, network function example and edge service management and control center |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911264922.2A CN112954084B (en) | 2019-12-11 | 2019-12-11 | Edge computing processing method, network function example and edge service management and control center |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112954084A true CN112954084A (en) | 2021-06-11 |
CN112954084B CN112954084B (en) | 2022-11-08 |
Family
ID=76226301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911264922.2A Active CN112954084B (en) | 2019-12-11 | 2019-12-11 | Edge computing processing method, network function example and edge service management and control center |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112954084B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339727A (en) * | 2021-12-29 | 2022-04-12 | 中国联合网络通信集团有限公司 | Edge platform, configuration method, device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882699A (en) * | 2011-07-14 | 2013-01-16 | 华为技术有限公司 | Method and device for distributing edge nodes, edge node controller |
CN105306333A (en) * | 2014-06-30 | 2016-02-03 | 瞻博网络公司 | Service chaining across multiple networks |
WO2018213991A1 (en) * | 2017-05-22 | 2018-11-29 | 华为技术有限公司 | Network slice creating method and apparatus, and communication system |
CN109873815A (en) * | 2019-01-28 | 2019-06-11 | 西安电子科技大学 | Isomeric compound networking certification method based on edge calculations, Internet of Things security platform |
US20190199679A1 (en) * | 2017-12-22 | 2019-06-27 | Nicira, Inc. | Dynamically defining encryption spaces across multiple data centers |
CN110198363A (en) * | 2019-05-10 | 2019-09-03 | 深圳市腾讯计算机系统有限公司 | A kind of selection method of mobile edge calculations node, apparatus and system |
-
2019
- 2019-12-11 CN CN201911264922.2A patent/CN112954084B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882699A (en) * | 2011-07-14 | 2013-01-16 | 华为技术有限公司 | Method and device for distributing edge nodes, edge node controller |
CN105306333A (en) * | 2014-06-30 | 2016-02-03 | 瞻博网络公司 | Service chaining across multiple networks |
WO2018213991A1 (en) * | 2017-05-22 | 2018-11-29 | 华为技术有限公司 | Network slice creating method and apparatus, and communication system |
US20190199679A1 (en) * | 2017-12-22 | 2019-06-27 | Nicira, Inc. | Dynamically defining encryption spaces across multiple data centers |
CN109873815A (en) * | 2019-01-28 | 2019-06-11 | 西安电子科技大学 | Isomeric compound networking certification method based on edge calculations, Internet of Things security platform |
CN110198363A (en) * | 2019-05-10 | 2019-09-03 | 深圳市腾讯计算机系统有限公司 | A kind of selection method of mobile edge calculations node, apparatus and system |
Non-Patent Citations (2)
Title |
---|
张晏刚 等: ""基于虚拟IP的网络服务器负载均衡设计与应用"", 《中国数字医学》 * |
潘建胜: ""基于Docker的CDN边缘计算平台设计与实现"", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339727A (en) * | 2021-12-29 | 2022-04-12 | 中国联合网络通信集团有限公司 | Edge platform, configuration method, device, terminal and storage medium |
CN114339727B (en) * | 2021-12-29 | 2023-08-15 | 中国联合网络通信集团有限公司 | Edge platform, configuration method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112954084B (en) | 2022-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187459B2 (en) | Distributed load balancing system, health check method, and service node | |
CN108024270B (en) | Information sending method, unit and system | |
US20200351328A1 (en) | Data transmission method, device, equipment, and readable storage medium | |
US20180367997A1 (en) | 5g dynamic slice and network identity instantiation, termination, and access management system and method | |
CN110381162B (en) | Service processing method and related device | |
US20150312155A1 (en) | System and method for efectuating packet distribution among servers in a network | |
US9749174B1 (en) | System and method for dynamic allocation of cloud resources | |
US10637794B2 (en) | Resource subscription method, resource subscription apparatus, and resource subscription system | |
CN104954468A (en) | Resource allocation method and resource allocation device | |
CN107547391B (en) | Message transmission method and device | |
CN111163130B (en) | Network service system and data transmission method thereof | |
CN109818867B (en) | Configuration method and device | |
CN109347637B (en) | Authentication method, Content Delivery Network (CDN) and content server | |
CN112492574B (en) | Load migration method, device and system | |
CN107005452B (en) | Network function virtualization resource processing method and virtual network function manager | |
EP3331247A1 (en) | Multi-screen control method and device | |
EP3319270B1 (en) | Service registration method, usage method and relevant apparatus | |
CN103795622A (en) | Message forwarding method and device using same | |
US10178033B2 (en) | System and method for efficient traffic shaping and quota enforcement in a cluster environment | |
CN107332814B (en) | Request message transmission method and device | |
CN115174674A (en) | Flow forwarding method | |
RU2015113119A (en) | METHOD AND ARCHITECTURE FOR THE MOBILITY OF APPLICATIONS IN A DISTRIBUTED CLOUD ENVIRONMENT | |
CN109743357B (en) | Method and device for realizing service access continuity | |
CN112954084B (en) | Edge computing processing method, network function example and edge service management and control center | |
CN105656978A (en) | Resource sharing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |