Communication method, device, medium and electronic equipment based on edge computing platform

By introducing DNS proxy module on the edge computing platform to process DNS requests and responses, the problem of how to reduce system operation and maintenance costs while achieving lower latency and higher efficiency business processing is solved, and efficient and low-cost operation and maintenance management is achieved.

CN111935270BActive Publication Date: 2025-06-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010773486.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-04
Publication Date
2025-06-06
Estimated Expiration
2040-08-04

AI Technical Summary

Technical Problem

How to reduce system operation and maintenance costs under the premise of achieving lower latency and higher efficiency business processing?

Method used

By deploying the DNS proxy module on the edge computing platform, the DNS request of the terminal device is forwarded to the cloud DNS server, and after receiving the DNS response, the network address of the edge service server is added to the response and returned to the terminal device to achieve the optimization of business service requests.

Benefits of technology

It realizes lower latency and higher efficiency of business processing through edge service servers without perception of business systems and terminal devices, while reducing system operation and maintenance costs and improving operation and maintenance management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111935270B_ABST
    Figure CN111935270B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a communication method, device, medium and electronic device based on an edge computing platform. An edge user plane functional entity, an edge service server and a DNS proxy module are deployed on the edge computing platform. The communication method includes: receiving a DNS request from a terminal device forwarded by the edge user plane functional entity; forwarding the DNS request to a DNS server located in the cloud, and receiving a DNS response returned by the DNS server; adding the network address of the edge service server to the first of the network address list contained in the DNS response to obtain a modified DNS response; sending the modified DNS response to the edge user plane functional entity so that the edge user plane functional entity returns the modified DNS response to the terminal device. The technical solution of the embodiments of the present application can reduce the system operation and maintenance costs and improve the system operation and maintenance management efficiency under the premise of achieving lower latency and more efficient business processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer and communication technology, and more specifically, to a communication method, device, medium and electronic device based on an edge computing platform. Background Art

[0002] As the processing logic of Internet services becomes more and more complex, the concept of Mobile Edge Computing (MEC) has been proposed in related technologies, that is, the service servers in the edge computing platform use the wireless access network to provide users with the services and cloud computing functions required nearby, so as to create a telecom-grade service environment with high performance, low latency and high bandwidth. However, how to reduce the system operation and maintenance costs while achieving lower latency and more efficient business processing through the edge computing platform has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a communication method, device, medium and electronic device based on an edge computing platform, which can reduce system operation and maintenance costs and improve system operation and maintenance management efficiency, at least to a certain extent, while achieving lower latency and more efficient business processing.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a communication method based on an edge computing platform is provided, wherein an edge user plane function entity (User Plane Function, referred to as UPF), an edge business server and a DNS (Domain Name System) proxy module are deployed on the edge computing platform, and the communication method is executed by the DNS proxy module, and the communication method includes: receiving a DNS request from a terminal device forwarded by the edge user plane function entity; forwarding the DNS request to a DNS server located in the cloud, and receiving a DNS response returned by the DNS server for the DNS request; adding the network address of the edge business server to the first position of a list of network addresses contained in the DNS response to obtain a modified DNS response; and sending the modified DNS response to the edge user plane function entity so that the edge user plane function entity returns the modified DNS response to the terminal device.

[0006] According to one aspect of an embodiment of the present application, a communication method based on an edge computing platform is provided, wherein an edge user plane functional entity, an edge service server and a DNS proxy module are deployed on the edge computing platform, and the communication method is executed by the edge user plane functional entity, and the communication method includes: forwarding a DNS request sent by a terminal device to the DNS proxy module, so that the DNS proxy module forwards the DNS request to a DNS server located in the cloud; receiving a modified DNS response sent by the DNS proxy module, wherein the modified DNS response is obtained by the DNS proxy module adding the network address of the edge service server to the first position of a list of network addresses contained in the DNS response after receiving the DNS response returned by the DNS server; and returning the modified DNS response to the terminal device, so that the terminal device initiates a service request to the edge service server based on the modified DNS response.

[0007] According to one aspect of an embodiment of the present application, a communication device based on an edge computing platform is provided, on which an edge user plane functional entity, an edge business server and a domain name system DNS proxy module are deployed, and the communication device is arranged in the DNS proxy module, and the communication device includes: a first receiving unit, configured to receive a DNS request from a terminal device forwarded by the edge user plane functional entity; a first interaction unit, configured to forward the DNS request to a DNS server located in the cloud, and receive a DNS response returned by the DNS server for the DNS request; a processing unit, configured to add the network address of the edge business server to the first position of the network address list contained in the DNS response to obtain a modified DNS response; a first sending unit, configured to send the modified DNS response to the edge user plane functional entity, so that the edge user plane functional entity returns the modified DNS response to the terminal device.

[0008] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is also configured to: before the first receiving unit receives the DNS request from the terminal device forwarded by the edge user plane functional entity, send a first diversion request for the DNS request to the control plane device, the first diversion request is used to enable the control plane device to send a first diversion strategy for the DNS request to the edge user plane functional entity, the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module, and the specified DNS request matches the service type processed by the edge service server.

[0009] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is configured as follows: if it is determined according to the DNS request that the edge business server can process the business service request of the terminal device, then after receiving the DNS response, the network address of the edge business server is added to the first place in the list of network addresses contained in the DNS response.

[0010] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is also configured to: if it is determined according to the DNS request that the edge business server cannot process the business service request of the terminal device, then after receiving the DNS response, the DNS response is sent directly to the edge user plane functional entity, so that the edge user plane functional entity returns the DNS response to the terminal device.

[0011] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is also configured to: before the first receiving unit receives the DNS request from the terminal device forwarded by the edge user plane functional entity, send a second diversion request for the DNS request to the control plane device, and the second diversion request is used to enable the control plane device to send a second diversion strategy for the DNS request to the edge user plane functional entity, and the second diversion strategy is used to instruct the edge user plane functional entity to forward all received DNS requests to the DNS proxy module.

[0012] In some embodiments of the present application, based on the aforementioned solution, the first interaction unit is configured to: send the DNS request to the edge user plane function entity, so that the edge user plane function entity forwards the DNS request to the DNS server; or

[0013] The DNS request is sent directly to the DNS server based on the network address of the DNS server.

[0014] According to one aspect of an embodiment of the present application, a communication device based on an edge computing platform is provided, on which an edge user plane functional entity, an edge service server and a DNS proxy module are deployed, and the communication device is arranged in the edge user plane functional entity, and the communication device includes: a second sending unit, configured to forward a DNS request sent by a terminal device to the DNS proxy module, so that the DNS proxy module forwards the DNS request to a DNS server located in the cloud; a second receiving unit, configured to receive a modified DNS response sent by the DNS proxy module, the modified DNS response being obtained by the DNS proxy module adding the network address of the edge service server to the first position of a list of network addresses contained in the DNS response after receiving the DNS response returned by the DNS server; a third sending unit, configured to return the modified DNS response to the terminal device, so that the terminal device initiates a service request to the edge service server based on the modified DNS response.

[0015] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is configured to: forward the designated DNS request sent by the terminal device to the DNS proxy module, and the designated DNS request matches the service type processed by the edge service server.

[0016] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is also configured to: before forwarding the DNS request sent by the terminal device to the DNS proxy module, receive a first diversion strategy for the DNS request sent by the control plane device, the first diversion strategy is generated by the control plane device according to the first diversion request sent by the DNS proxy module, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module.

[0017] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is further configured to: if other DNS requests other than the specified DNS request are received from the terminal device, the other DNS requests are forwarded to the DNS server; the second receiving unit is further configured to: receive the DNS responses returned by the DNS server for the other DNS requests; the third sending unit is further configured to: forward the DNS responses returned by the DNS server for the other DNS requests to the terminal device.

[0018] In some embodiments of the present application, based on the aforementioned solution, the second sending unit is configured to: forward all DNS requests sent by the terminal device to the DNS proxy module.

[0019] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is also configured to: before forwarding the DNS request sent by the terminal device to the DNS proxy module, receive a second diversion strategy for the DNS request sent by the control plane device, the second diversion strategy is generated by the control plane device according to the second diversion request sent by the DNS proxy module, and the second diversion strategy is used to instruct the edge user plane functional entity to forward all received DNS requests to the DNS proxy module.

[0020] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the communication method based on the edge computing platform as described in the above embodiment is implemented.

[0021] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the communication method based on the edge computing platform as described in the above embodiments.

[0022] According to one aspect of an embodiment of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the communication method based on the edge computing platform provided in the above-mentioned various optional embodiments.

[0023] In the technical solutions provided in some embodiments of the present application, when the edge user plane functional entity receives a DNS request from a terminal device, it forwards the DNS request to a DNS proxy module deployed on an edge computing platform, and then the DNS proxy module forwards the DNS request to a DNS server located in the cloud. After receiving the DNS response returned by the DNS server for the DNS request, the DNS proxy module adds the network address of the edge service server to the first position of the network address list contained in the DNS response, obtains a modified DNS response, and then sends the modified DNS response to the edge user plane functional entity. The edge user plane functional entity returns the modified DNS response to the terminal device, and the terminal device can initiate a service request to the edge service server based on the modified DNS response. It can be seen that the technical solution of the embodiment of the present application introduces a DNS proxy module in the edge computing platform, and the DNS proxy module is responsible for forwarding DNS requests and receiving and modifying DNS responses (that is, adding the network address of the edge business server to the first place in the list of network addresses contained in the DNS response). This makes it possible to achieve lower latency and more efficient business processing through the edge business server without the perception of the business system and terminal devices. At the same time, since the DNS proxy module is introduced to achieve this, there is no need to modify the business system, which can also reduce the system operation and maintenance costs, which is conducive to improving the system operation and maintenance management efficiency.

[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0026] Figure 1 A scenario diagram of MEC deployment is shown;

[0027] Figure 2 A scenario diagram of MEC deployment is shown;

[0028] Figure 3 Shown based on Figure 2 Schematic diagram of business scheduling using the MEC deployment method shown;

[0029] Figure 4 A schematic diagram of a business processing flow according to an embodiment of the present application is shown;

[0030] Figure 5 A flow chart of a communication method based on an edge computing platform according to an embodiment of the present application is shown;

[0031] Figure 6 A flow chart of a communication method based on an edge computing platform according to an embodiment of the present application is shown;

[0032] Figure 7 A flow chart of a communication method based on an edge computing platform according to an embodiment of the present application is shown;

[0033] Figure 8 A block diagram of a communication device based on an edge computing platform according to an embodiment of the present application is shown;

[0034] Fig. 9 A block diagram of a communication device based on an edge computing platform according to an embodiment of the present application is shown;

[0035] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0036] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0037] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0040] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0041] With the large-scale commercial deployment of 5G networks, mobile edge computing, as an important feature of 5G networks, has gradually entered the stage of solution implementation. The deployment of edge services usually faces the following two scenarios:

[0042] like Figure 1 The figure shows a proprietary MEC deployment scenario for large enterprises. In this deployment scenario, the edge computing platform 102 is deployed at a specific location in the network, and an edge user plane functional entity 1021 and an edge service server 1022 are deployed in the edge computing platform 102. The service access request of the terminal device 101 can be unloaded to the edge service server 1022 in the edge computing platform 102 through the edge user plane functional entity 1021, and the edge service server 1022 deployed on the edge computing platform 102 provides services for the terminal device 101.

[0043] like Figure 2 The figure shows a MEC deployment scenario for ordinary consumers. In this deployment scenario, the edge computing platform 202 is deployed at a specific location in the network, and the edge user plane functional entity 2021 and the edge service server 2022 are deployed in the edge computing platform 202. Considering the continuity of user services and the experience quality of terminal services, it is usually necessary not only to deploy the edge computing platform 202 and the edge service server 2022 at a specific site, but also to deploy the same service server 203 on the Internet cloud, so that the terminal device 201 can continue to enjoy Internet service after leaving the coverage of the edge computing platform 202.

[0044] against Figure 2 In the deployment scenario shown in the figure, the related art proposes to use a cloud-based service scheduler to schedule the services deployed in the cloud and the services deployed on the MEC as a whole. The service scheduler makes decisions based on the service access request of the terminal device. Specifically, Figure 3As shown, the service scheduler 304 usually provides an HTTP interface. In the service scheduling request sent by the terminal device 301 to the service scheduler 304, its own location information is represented by modifying the IP address or HTTP header of the service scheduling request. The service scheduler 304 makes scheduling decisions based on the mapping relationship between the pre-configured location information data and the service server, and determines whether the service scheduling request should be provided by the service server 303 deployed in the cloud or the edge service server 3021 deployed on the edge computing platform 302. Then the terminal device 301 sends a service request to the determined service server 303 or edge service server 3021.

[0045] exist Figure 3 In the application scenario shown, the terminal device 301 is required to carry location information in the service scheduling request issued, and a service scheduler 304 that can perform full-network scheduling of service servers including cloud services and edge services needs to be deployed in the cloud. At the same time, it is also necessary to collect and organize the mapping relationship between the geographic location information and the edge service server 3021 and the service server 303 deployed in the cloud, so as to make full-network scheduling decisions based on the location information carried in the service scheduling request of the terminal device 301.

[0046] However, the disadvantages of this implementation are obvious: for Internet services that do not have a full-network service scheduler, the deployment and transformation costs in the edge computing scenario need to be increased; and it is necessary to collect, organize and maintain the mapping relationship between terminal location information data and the full-network (including cloud and edge) business servers, resulting in low management efficiency; at the same time, system upgrades, expansions and maintenance are relatively complex, resulting in higher maintenance costs.

[0047] Based on this, in an application scenario of the embodiment of the present application, Figure 4As shown, an edge user plane functional entity 4021, a DNS proxy module 4022 and an edge service server 4023 are deployed in the edge computing platform 402. As a standard 5G network element, the edge user plane functional entity 4021 has the main function of forwarding network traffic to the Internet or the local edge computing platform 402 according to the instructions of the core network control plane device to realize the local traffic unloading function. As a standard device, the core network control plane device provides an open interface to the outside world so as to interact with other modules through the interface to realize functions such as local traffic unloading. In an embodiment of the present application, the DNS proxy module 4022 on the edge computing platform 402 can use the interface to realize the DNS request sent by the terminal device 401 to the global DNS server to the edge computing platform 402. As a standard network element, the global DNS server provides a standard domain name resolution service. The edge service server 4023 and the service server 403 deployed on the Internet cloud are used to provide normal service services for the service request sent by the terminal device 401 when receiving the service service request.

[0048] In one embodiment of the present application, Figure 4 In the application scenario shown, the DNS request sent by the terminal device 401 to the global DNS server reaches the edge user plane functional entity 4021, and then the edge user plane functional entity 4021 forwards the DNS request to the DNS proxy module 4022, and then the DNS proxy module 4022 forwards the DNS request to the global DNS server. For example, the DNS proxy module 4022 can forward the DNS request to the global DNS server through the edge user plane functional entity 4021, or can directly forward the DNS request to the global DNS server based on the IP address of the global DNS server.

[0049] In one embodiment of the present application, after forwarding the DNS request to the global DNS server, if the DNS proxy module 4022 receives a DNS response returned by the global DNS server, the IP address of the edge service server 4023 is added to the first place in the IP address list contained in the DNS response, and then the modified DNS response is returned to the edge user plane function entity 402, and the edge user plane function entity 402 returns it to the terminal device 401, and then the terminal device 401 can initiate a service request to the edge service server 4023 based on the modified DNS response. This method can achieve lower latency and more efficient service processing without the perception of the service system and the terminal device 401, and since there is no need to modify the service system, it can also reduce the system operation and maintenance costs, which is conducive to improving the system operation and maintenance management efficiency.

[0050] The implementation details of the technical solution of the embodiment of the present application are described in detail below:

[0051] Figure 5 A flow chart of a communication method based on an edge computing platform according to an embodiment of the present application is shown. The edge computing platform is deployed with an edge user plane function entity, an edge service server and a DNS proxy module. The communication method based on the edge computing platform can be executed by the DNS proxy module. Figure 5 As shown, the communication method based on the edge computing platform includes at least the following steps S510 to S540:

[0052] Step S510, receiving a DNS request from a terminal device forwarded by an edge user plane function entity;

[0053] Step S520, forwarding the DNS request to a DNS server located in the cloud, and receiving a DNS response returned by the DNS server in response to the DNS request;

[0054] Step S530, adding the network address of the edge service server to the first position of the network address list included in the DNS response, to obtain a modified DNS response;

[0055] Step S540: Send the modified DNS response to the edge user plane function entity, so that the edge user plane function entity returns the modified DNS response to the terminal device.

[0056] In one embodiment of the present application, the edge user plane functional entity may only forward a specified DNS request to the DNS proxy module, and the specified DNS request matches the service type processed by the edge service server, that is, if the service requested by the terminal device is deployed in the edge service server, then the DNS request is forwarded to the DNS proxy module, otherwise the edge user plane functional entity may directly forward the DNS request to the DNS server located in the cloud. In this case, before receiving the DNS request from the terminal device forwarded by the edge user plane functional entity, the DNS proxy module may send a first diversion request for the DNS request to the control plane device, and the first diversion request is used to enable the control plane device to send a first diversion strategy for the DNS request to the edge user plane functional entity, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module.

[0057] In one embodiment of the present application, the edge user plane functional entity may forward all received DNS requests to the DNS proxy module. In this case, if the DNS proxy module determines that the edge service server can process the service request of the terminal device according to the DNS request, then after receiving the DNS response, the network address of the edge service server is added to the first of the network address list contained in the DNS response; if the DNS proxy module determines that the edge service server cannot process the service request of the terminal device according to the DNS request, then after receiving the DNS response, the DNS response is directly sent to the edge user plane functional entity so that the edge user plane functional entity returns the DNS response to the terminal device. In this embodiment, before receiving the DNS request from the terminal device forwarded by the edge user plane functional entity, the DNS proxy module may send a second diversion request for the DNS request to the control plane device, and the second diversion request is used to cause the control plane device to send a second diversion strategy for the DNS request to the edge user plane functional entity, and the second diversion strategy is used to instruct the edge user plane functional entity to forward all received DNS requests to the DNS proxy module.

[0058] In one embodiment of the present application, the process of the DNS proxy module forwarding the DNS request to the DNS server located in the cloud can be to first send the DNS request to the edge user plane functional entity, and then the edge user plane functional entity forwards the DNS request to the DNS server; or the DNS proxy module can send the DNS request directly to the DNS server based on the network address of the DNS server.

[0059] Figure 5 The communication method based on the edge computing platform of the embodiment of the present application is described from the perspective of the DNS proxy module. Figure 6 The technical solution of the embodiment of the present application is described from the perspective of the edge user plane functional entity:

[0060] Figure 6 A flow chart of a communication method based on an edge computing platform according to an embodiment of the present application is shown. The edge computing platform is deployed with an edge user plane functional entity, an edge service server and a DNS proxy module. The communication method based on the edge computing platform can be executed by the edge user plane functional entity. Figure 6 As shown, the communication method based on the edge computing platform includes at least the following steps S610 to S630, which are described in detail as follows:

[0061] In step S610, the DNS request sent by the terminal device is forwarded to the DNS proxy module, so that the DNS proxy module forwards the DNS request to the DNS server located in the cloud.

[0062] In one embodiment of the present application, the edge user plane functional entity may forward a designated DNS request sent by a terminal device to a DNS proxy module, and the designated DNS request matches the service type processed by the edge service server. Specifically, before forwarding the DNS request sent by the terminal device to the DNS proxy module, the edge user plane functional entity may receive a first diversion strategy for the DNS request sent by the control plane device, and the first diversion strategy is generated by the control plane device according to the first diversion request sent by the DNS proxy module, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received designated DNS request to the DNS proxy module. In this case, if the edge user plane functional entity receives other DNS requests other than the designated DNS request sent by the terminal device, the other DNS requests are forwarded to the DNS server, and then the DNS responses returned by the DNS server for the other DNS requests are received, and the DNS responses returned by the DNS server for the other DNS requests are forwarded to the terminal device.

[0063] In one embodiment of the present application, the edge user plane functional entity may forward all DNS requests sent by the terminal device to the DNS proxy module. Specifically, before forwarding the DNS request sent by the terminal device to the DNS proxy module, the edge user plane functional entity may receive a second diversion strategy for the DNS request sent by the control plane device, the second diversion strategy being generated by the control plane device according to the second diversion request sent by the DNS proxy module, and the second diversion strategy being used to instruct the edge user plane functional entity to forward all received DNS requests to the DNS proxy module.

[0064] In step S620, a modified DNS response sent by the DNS proxy module is received. The modified DNS response is obtained by the DNS proxy module adding the network address of the edge service server to the first position of the network address list included in the DNS response after receiving the DNS response returned by the DNS server.

[0065] In step S630, the modified DNS response is returned to the terminal device, so that the terminal device initiates a business service request to the edge business server based on the modified DNS response.

[0066] In one embodiment of the present application, since the DNS proxy module adds the network address of the edge business server to the first place in the network address list contained in the DNS response after receiving the DNS response returned by the DNS server, the terminal device can preferentially select the network address of the edge business server from the network address list to initiate a business service request.

[0067] The above describes the communication method based on the edge computing platform of the embodiment of the present application from the perspectives of the DNS proxy module and the edge user plane functional entity. Figure 7 The technical solution of the embodiment of the present application is further explained from the perspective of interaction between various entities:

[0068] like Figure 7 As shown, according to an embodiment of the present application, a communication method based on an edge computing platform includes the following steps:

[0069] Step S701: The DNS proxy module sends a traffic diversion request for DNS requests to the control plane device. In one embodiment of the present application, the classification request may be to forward the DNS request matching the service type deployed in the edge service server to the DNS proxy module.

[0070] Step S702, the control plane device sends a DNS request diversion strategy to the edge user plane functional entity. In one embodiment of the present application, if the classification request sent by the DNS proxy module is to forward the DNS request matching the service type deployed in the edge service server to the DNS proxy module, then the diversion strategy is to require the edge user plane functional entity to forward the DNS request matching the service type deployed in the edge service server to the DNS proxy module.

[0071] Step S703: The terminal device sends a DNS request to the edge user plane function entity.

[0072] In one embodiment of the present application, the DNS request may be a DNS request based on a standard DNS protocol, or may be a DNS request using an HTTP protocol (ie, using an HTTP DNS service scheduling method).

[0073] Step S704: the edge user plane functional entity diverts the DNS request to the DNS proxy module. In this embodiment, assuming that the DNS request sent by the terminal device matches the service type deployed in the edge service server, the edge user plane functional entity diverts the DNS request to the DNS proxy module.

[0074] Step S705: The DNS proxy module forwards the DNS request to the global DNS server.

[0075] Step S706: The global DNS server returns a DNS response, which includes a list of IP addresses assigned by the global DNS server.

[0076] Step S707: The DNS proxy module modifies the DNS response and sends the modified DNS response to the edge user plane functional entity. Specifically, the DNS proxy module can add the IP address of the edge service server deployed on the edge computing platform to the first of the IP address list in the DNS response, and then send it to the edge user plane functional entity.

[0077] Step S708: The edge user plane function entity forwards the modified DNS response to the terminal device.

[0078] Step S709: After receiving the modified DNS response, the terminal device initiates a business service request to the edge business server according to the modified DNS response.

[0079] It should be noted that in Figure 7 In the illustrated embodiment, the diversion request for the DNS request sent by the DNS proxy module to the control plane device is a request to forward the DNS request that matches the service type deployed in the edge service server to the DNS proxy module. In this case, if the DNS request sent by the terminal device does not match the service type deployed in the edge service server, that is, the edge service server does not deploy the service requested by the terminal device, then the edge user plane functional entity can send the DNS request directly to the global DNS server, and send the DNS response returned by the global DNS server to the terminal device.

[0080] In other embodiments of the present application, the diversion request for the DNS request sent by the DNS proxy module to the control plane device may also be a request to forward all DNS requests sent by the terminal device to the DNS proxy module. In this case, the DNS proxy module needs to determine whether the DNS request matches the service type deployed in the edge service server. If it matches, the DNS response returned by the global DNS server needs to be modified; if it does not match, the DNS proxy module can directly forward the DNS response returned by the global DNS server to the edge user plane function entity after receiving the DNS response returned by the global DNS server, and the edge user plane function entity forwards it to the terminal device.

[0081] The technical solution of the above embodiment of the present application can realize the collaborative work of cloud services and edge services in 5G scenarios through the DNS proxy module on the edge computing platform. Under the premise that the background business system and terminal applications are not aware of it, the business continuity and user experience quality problems faced by the large-scale deployment of edge applications are realized, and at the same time, it also has lower system operation and maintenance management costs and higher management efficiency. In addition, the technical solution of the above embodiment of the present application has strong versatility and can be widely used in various scenarios such as live video broadcasting, cloud games, and vehicle-road collaboration. Without making any changes to the business scheduling logic, the optimal scheduling of edge services and cloud services can be achieved.

[0082] The following describes an embodiment of the device of the present application, which can be used to execute the communication method based on the edge computing platform in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the communication method based on the edge computing platform in the above embodiment of the present application.

[0083] Figure 8 A block diagram of a communication device based on an edge computing platform according to an embodiment of the present application is shown, on which an edge user plane functional entity, an edge service server and a domain name system DNS proxy module are deployed, and the communication device is arranged in the DNS proxy module.

[0084] Reference Figure 8 As shown, a communication device 800 based on an edge computing platform according to an embodiment of the present application includes: a first receiving unit 802, a first interaction unit 804, a processing unit 806 and a first sending unit 808.

[0085] Among them, the first receiving unit 802 is configured to receive a DNS request from a terminal device forwarded by the edge user plane functional entity; the first interaction unit 804 is configured to forward the DNS request to a DNS server located in the cloud, and receive a DNS response returned by the DNS server for the DNS request; the processing unit 806 is configured to add the network address of the edge service server to the first position of the network address list contained in the DNS response to obtain a modified DNS response; the first sending unit 808 is configured to send the modified DNS response to the edge user plane functional entity, so that the edge user plane functional entity returns the modified DNS response to the terminal device.

[0086] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 808 is also configured to: before the first receiving unit 802 receives the DNS request from the terminal device forwarded by the edge user plane functional entity, send a first diversion request for the DNS request to the control plane device, the first diversion request is used to enable the control plane device to send a first diversion strategy for the DNS request to the edge user plane functional entity, the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module, and the specified DNS request matches the service type processed by the edge service server.

[0087] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 806 is configured as follows: if it is determined according to the DNS request that the edge business server can process the business service request of the terminal device, then after receiving the DNS response, the network address of the edge business server is added to the first place in the list of network addresses contained in the DNS response.

[0088] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 808 is also configured to: if it is determined according to the DNS request that the edge business server cannot process the business service request of the terminal device, then after receiving the DNS response, the DNS response is sent directly to the edge user plane function entity, so that the edge user plane function entity returns the DNS response to the terminal device.

[0089] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 808 is also configured to: before the first receiving unit 802 receives the DNS request from the terminal device forwarded by the edge user plane function entity, send a second diversion request for the DNS request to the control plane device, and the second diversion request is used to enable the control plane device to send a second diversion strategy for the DNS request to the edge user plane function entity, and the second diversion strategy is used to instruct the edge user plane function entity to forward all received DNS requests to the DNS proxy module.

[0090] In some embodiments of the present application, based on the above solution, the first interaction unit 804 is configured to: send the DNS request to the edge user plane function entity, so that the edge user plane function entity forwards the DNS request to the DNS server; or

[0091] The DNS request is sent directly to the DNS server based on the network address of the DNS server.

[0092] Fig. 9 A block diagram of a communication device based on an edge computing platform according to an embodiment of the present application is shown, on which an edge user plane functional entity, an edge service server and a domain name system DNS proxy module are deployed, and the communication device is arranged in the edge user plane functional entity.

[0093] Reference Fig. 9 As shown, a communication device 900 based on an edge computing platform according to an embodiment of the present application includes: a second sending unit 902, a second receiving unit 904 and a third sending unit 906.

[0094] Among them, the second sending unit 902 is configured to forward the DNS request sent by the terminal device to the DNS proxy module, so that the DNS proxy module forwards the DNS request to the DNS server located in the cloud; the second receiving unit 904 is configured to receive the modified DNS response sent by the DNS proxy module, and the modified DNS response is obtained by the DNS proxy module adding the network address of the edge business server to the first position of the network address list contained in the DNS response after receiving the DNS response returned by the DNS server; the third sending unit 906 is configured to return the modified DNS response to the terminal device, so that the terminal device initiates a business service request to the edge business server based on the modified DNS response.

[0095] In some embodiments of the present application, based on the aforementioned solution, the second sending unit 902 is configured to: forward the designated DNS request sent by the terminal device to the DNS proxy module, and the designated DNS request matches the service type processed by the edge service server.

[0096] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 902 is also configured to: before forwarding the DNS request sent by the terminal device to the DNS proxy module, receive a first diversion strategy for the DNS request sent by the control plane device, the first diversion strategy is generated by the control plane device according to the first diversion request sent by the DNS proxy module, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module.

[0097] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 902 is also configured to: if other DNS requests other than the specified DNS request are received from the terminal device, the other DNS requests are forwarded to the DNS server; the second receiving unit is also configured to: receive the DNS responses returned by the DNS server for the other DNS requests; the third sending unit is also configured to: forward the DNS responses returned by the DNS server for the other DNS requests to the terminal device.

[0098] In some embodiments of the present application, based on the aforementioned solution, the second sending unit 902 is configured to: forward all DNS requests sent by the terminal device to the DNS proxy module.

[0099] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 902 is also configured to: before forwarding the DNS request sent by the terminal device to the DNS proxy module, receive a second diversion strategy for the DNS request sent by the control plane device, the second diversion strategy is generated by the control plane device according to the second diversion request sent by the DNS proxy module, and the second diversion strategy is used to instruct the edge user plane functional entity to forward all received DNS requests to the DNS proxy module.

[0100] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0101] It should be noted that Fig.10 The computer system 1000 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0102] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003, such as executing the method described in the above embodiment. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002 and the RAM 1003 are connected to each other through the bus 1004. The input / output (I / O) interface 1005 is also connected to the bus 1004.

[0103] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0104] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present application are executed.

[0105] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0106] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0107] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0108] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0109] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0110] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0111] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0112] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A communication method based on edge computing platform, It is characterized in that The edge computing platform is deployed with an edge user plane function entity, an edge service server and a domain name system DNS proxy module, and the communication method is executed by the DNS proxy module. The communication method includes: Receiving a DNS request from a terminal device forwarded by the edge user plane function entity; Forwarding the DNS request to a DNS server located in the cloud, and receiving a DNS response returned by the DNS server in response to the DNS request; If the edge service server is capable of processing the service request of the terminal device, adding the network address of the edge service server to the first position of the network address list included in the DNS response to obtain a modified DNS response; The modified DNS response is sent to the edge user plane functional entity, so that the edge user plane functional entity returns the modified DNS response to the terminal device.

2. The communication method based on the edge computing platform according to claim 1, It is characterized in that Before receiving the DNS request from the terminal device forwarded by the edge user plane function entity, the communication method further includes: A first diversion request for a DNS request is sent to a control plane device, wherein the first diversion request is used to enable the control plane device to send a first diversion strategy for a DNS request to the edge user plane functional entity, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module; wherein the specified DNS request matches the service type processed by the edge service server to indicate that the edge service server can process the service service request of the terminal device.

3. The communication method based on the edge computing platform according to claim 1, It is characterized in that The communication method further comprises: Determine whether the edge service server can process the service request of the terminal device according to the received DNS request.

4. The communication method based on the edge computing platform according to claim 3, It is characterized in that The communication method further comprises: If it is determined according to the DNS request that the edge service server cannot process the service request of the terminal device, then after receiving the DNS response, the DNS response is directly sent to the edge user plane functional entity so that the edge user plane functional entity returns the DNS response to the terminal device.

5. The communication method based on the edge computing platform according to claim 3, It is characterized in that Before receiving the DNS request from the terminal device forwarded by the edge user plane function entity, the communication method further includes: A second diversion request for the DNS request is sent to the control plane device, wherein the second diversion request is used to enable the control plane device to send a second diversion strategy for the DNS request to the edge user plane function entity, and the second diversion strategy is used to instruct the edge user plane function entity to forward all received DNS requests to the DNS proxy module.

6. The communication method based on the edge computing platform according to any one of claims 1 to 5, It is characterized in that Forwarding the DNS request to a DNS server located in the cloud, including: Sending the DNS request to the edge user plane function entity so that the edge user plane function entity forwards the DNS request to the DNS server; or The DNS request is sent directly to the DNS server based on the network address of the DNS server.

7. A communication method based on edge computing platform, It is characterized in that The edge computing platform is deployed with an edge user plane functional entity, an edge service server and a DNS proxy module, and the communication method is performed by the edge user plane functional entity. The communication method includes: Forwarding the DNS request sent by the terminal device to the DNS proxy module, so that the DNS proxy module forwards the DNS request to the DNS server located in the cloud; receiving a modified DNS response sent by the DNS proxy module, wherein the modified DNS response is obtained by the DNS proxy module, when receiving the DNS response returned by the DNS server and the edge service server is capable of processing the service request of the terminal device, adding the network address of the edge service server to the first position of the network address list included in the DNS response; The modified DNS response is returned to the terminal device, so that the terminal device initiates a business service request to the edge business server based on the modified DNS response.

8. The communication method based on the edge computing platform according to claim 7, It is characterized in that Forwarding the DNS request sent by the terminal device to the DNS proxy module includes: The designated DNS request sent by the terminal device is forwarded to the DNS proxy module, and the designated DNS request matches the service type processed by the edge service server.

9. The communication method based on the edge computing platform according to claim 8, It is characterized in that Before forwarding the DNS request sent by the terminal device to the DNS proxy module, the communication method further includes: A first diversion strategy for a DNS request sent by a control plane device is received, wherein the first diversion strategy is generated by the control plane device according to a first diversion request sent by the DNS proxy module, and the first diversion strategy is used to instruct the edge user plane functional entity to forward the received specified DNS request to the DNS proxy module.

10. The communication method based on the edge computing platform according to claim 8, It is characterized in that The communication method further comprises: If other DNS requests other than the specified DNS request are received from the terminal device, the other DNS requests are forwarded to the DNS server; Receiving a DNS response returned by the DNS server for the other DNS request; The DNS response returned by the DNS server for the other DNS request is forwarded to the terminal device.

11. The communication method based on the edge computing platform according to claim 7, It is characterized in that Forwarding the DNS request sent by the terminal device to the DNS proxy module, including: forwarding all DNS requests sent by the terminal device to the DNS proxy module; Before forwarding the DNS request sent by the terminal device to the DNS proxy module, the communication method further includes: A second diversion strategy for DNS requests sent by a control plane device is received, where the second diversion strategy is generated by the control plane device according to a second diversion request sent by the DNS proxy module, and the second diversion strategy is used to instruct the edge user plane function entity to forward all received DNS requests to the DNS proxy module.

12. A communication device based on an edge computing platform, It is characterized in that The edge computing platform is deployed with an edge user plane functional entity, an edge service server and a domain name system DNS proxy module, the communication device is arranged in the DNS proxy module, and the communication device includes: A first receiving unit, configured to receive a DNS request from a terminal device forwarded by the edge user plane function entity; A first interaction unit is configured to forward the DNS request to a DNS server located in the cloud, and receive a DNS response returned by the DNS server in response to the DNS request; a processing unit configured to, if the edge service server is capable of processing the service request of the terminal device, add the network address of the edge service server to the first position of the network address list included in the DNS response to obtain a modified DNS response; The first sending unit is configured to send the modified DNS response to the edge user plane function entity, so that the edge user plane function entity returns the modified DNS response to the terminal device.

13. A communication device based on an edge computing platform, It is characterized in that The edge computing platform is deployed with an edge user plane functional entity, an edge service server and a DNS proxy module, and the communication device is arranged in the edge user plane functional entity, and the communication device includes: A second sending unit is configured to forward the DNS request sent by the terminal device to the DNS proxy module, so that the DNS proxy module forwards the DNS request to a DNS server located in the cloud; A second receiving unit is configured to receive a modified DNS response sent by the DNS proxy module, wherein the modified DNS response is obtained by the DNS proxy module, when receiving the DNS response returned by the DNS server and the edge service server is capable of processing the service request of the terminal device, adding the network address of the edge service server to the first position of the network address list included in the DNS response; The third sending unit is configured to return the modified DNS response to the terminal device, so that the terminal device initiates a business service request to the edge business server based on the modified DNS response.

14. A computer readable medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, it implements the communication method based on the edge computing platform as described in any one of claims 1 to 6, or implements the communication method based on the edge computing platform as described in any one of claims 7 to 11.

15. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the communication method based on the edge computing platform as described in any one of claims 1 to 6, or implement the communication method based on the edge computing platform as described in any one of claims 7 to 11.

16. A computer program product, It is characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor of a computer device reads and executes the computer program from the computer-readable storage medium, so that the computer device executes the communication method based on the edge computing platform according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Domain name resolution method and apparatus, electronic device, and readable storage medium

    CN108574744A

  • Communication processing method and device, computer readable medium and electronic equipment

    CN110995826A