CN112631753B - Task unloading method, device and storage medium - Google Patents
Task unloading method, device and storage medium Download PDFInfo
- Publication number
- CN112631753B CN112631753B CN202011590176.9A CN202011590176A CN112631753B CN 112631753 B CN112631753 B CN 112631753B CN 202011590176 A CN202011590176 A CN 202011590176A CN 112631753 B CN112631753 B CN 112631753B
- Authority
- CN
- China
- Prior art keywords
- edge
- terminal
- application
- user plane
- task
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004891 communication Methods 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 21
- 230000006870 function Effects 0.000 claims description 43
- 238000004590 computer program Methods 0.000 claims description 20
- 238000007726 management method Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 10
- 238000013523 data management Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012216 screening Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the application provides a task unloading method, equipment and a storage medium, wherein the method comprises the following steps: decomposing the task to be executed into N subtasks, wherein N is more than 1; establishing a multitasking offload session with a communication system; n application discovery request messages are sent to N edge enabling servers through N user plane tunnels respectively; respectively receiving N application discovery response messages sent by the N edge enabling servers; n subtask information is sent to N edge application instances on the N edge enabling servers through the N user plane tunnels respectively; and receiving and combining N subtask processing results sent by the N edge application instances. In the embodiment of the application, the task to be executed is decomposed into a plurality of subtasks, the subtasks are parallelly unloaded to a plurality of corresponding edge computing application examples, the resources of the edge computing nodes are fully utilized, and the real-time requirement of the terminal on task processing is met.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a task offloading method, device, and storage medium.
Background
The core idea of edge computing is to sink computing, storing and network services to the network edge, utilize a series of devices close to the network edge to perform auxiliary computing on the basis of not changing the original network architecture, and offload data originally required to be transmitted to a cloud computing platform to the network edge closer to a terminal for local processing so as to reduce the width and delay loss caused by network transmission and multistage forwarding, thereby achieving the purposes of quick response and reduction of service response delay. In addition, under the condition of insufficient terminal capability, tasks which are originally executed on the terminal side can be unloaded to the edge side for calculation, so that the cost of the terminal is reduced while the service requirement is met.
The third generation partnership project (the 3rd generation partnership project,3GPP) defines the architecture of edge computation in 5G. An edge enabling server and an edge application are deployed in the edge data network, the edge application is registered on the edge enabling server, and the edge enabling server is registered on the edge configuration server. The edge configuration server provides information of an edge enabling server for the client on the terminal, and the client on the terminal discovers edge application through the edge enabling server. The edge configuration server is typically deployed at a central location, and the edge enabling server and edge applications are deployed at edge locations. The same edge application may have multiple edge application instances, each corresponding to a copy of the edge application, which may be deployed in different edge data networks for near access by the terminal.
The terminal may request that the 5G network create a protocol data unit (Protocol Data Unit, PUD) session, and the 5G network selects a user plane function based on the location information of the terminal to establish a user plane channel between the terminal and an application instance in the edge data network. However, the terminal can only access an edge application instance in an edge data network through one PDU session.
Disclosure of Invention
In view of this, the present application provides a task offloading method, apparatus, and storage medium, so as to solve the problem that in the prior art, a terminal can only access an edge application instance in an edge data network through one PDU session.
In a first aspect, an embodiment of the present application provides a task offloading method, applied to a terminal, where the method includes:
decomposing a task to be executed into N subtasks, and selecting N edge enabling servers corresponding to the N subtasks from an edge enabling server list, wherein N is more than 1;
establishing a multi-task unloading session with a communication system, wherein the communication system is used for establishing N user plane tunnels with N user plane functional entities corresponding to the N edge enabling servers according to the edge data network identifiers corresponding to the N edge enabling servers;
n application discovery request messages are sent to the N edge enabling servers through the N user plane tunnels respectively, wherein each application discovery request message corresponds to one edge enabling server;
receiving N application discovery response messages sent by the N edge enabling servers respectively, wherein each application discovery response message comprises address information of an edge application instance;
according to the address information of the edge application examples, N subtask information is sent to N edge application examples on the N edge enabling servers through the N user plane tunnels respectively;
and receiving and combining N subtask processing results sent by the N edge application instances.
Preferably, before the sending the service providing request message to the edge configuration server, the method further includes:
transmitting a registration request message to an access management function entity of a communication system, wherein the registration request message is used for requesting a multi-task offloading capability;
receiving a registration acceptance message sent by the access management functional entity, wherein the registration acceptance message comprises multi-task unloading capability indication information, and the task unloading capability indication information is used for representing whether the multi-task unloading capability is supported or not supported.
Preferably, the establishing a multi-tasking offload session with the communication system comprises:
judging whether the multi-task unloading capability is supported or not;
if the support of the multi-task unloading capability is judged, a multi-task unloading session is established with the communication system.
Preferably, before decomposing the task to be executed into N subtasks, the method further includes:
sending a service providing request message to an edge configuration server, wherein the service providing request message comprises a terminal identifier and a terminal application identifier;
and receiving a service providing response message sent by the edge configuration server, wherein the service providing response message comprises an edge enabling server list, and the edge enabling server list comprises an edge enabling server address and an edge data network identifier corresponding to the edge enabling server.
In a second aspect, an embodiment of the present application provides a task offloading method, applied to a communication system, where the method includes:
establishing a multitasking offload session with a terminal;
according to the edge data network identifications corresponding to the N edge enabling servers sent by the terminal, N user plane tunnels are respectively established with N user plane functional entities corresponding to the N edge enabling servers, wherein N is more than 1;
respectively routing N application discovery request messages sent by the terminal to corresponding N edge enabling servers through the N user plane tunnels and N user plane functional entities;
receiving N application discovery response messages sent by the N edge enabling servers, and sending the N application discovery response messages to the terminal, wherein each application discovery response message comprises address information of an edge application instance
According to the address information of the edge application examples, N subtasks sent by the terminal are respectively routed to N edge application examples on the corresponding N edge enabling servers through the N user plane tunnels and N user plane functional entities;
and receiving N subtask processing results sent by the N edge application instances, and sending the N subtask processing results to the terminal.
Preferably, the method further comprises:
setting a distribution rule, wherein the distribution rule comprises the corresponding relations among the N user plane tunnels, the N user plane functional entities and the N edge enabling servers.
In a third aspect, an embodiment of the present application provides a terminal, including:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a network device, including:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the processor, cause the processor to perform the method of any of the second aspects
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where the program when executed controls a device in which the computer readable storage medium is located to perform the method of any one of the first aspects.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium, where the computer readable storage medium includes a stored program, where the program when executed controls a device in which the computer readable storage medium is located to perform the method of any one of the second aspects.
In the embodiment of the application, the task to be executed is decomposed into a plurality of subtasks, and the subtasks are parallelly unloaded to a plurality of corresponding edge computing application examples, so that the resources of the edge computing nodes are fully utilized, and the real-time requirement of the terminal on task processing is met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an edge computing architecture according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a 5G communication system architecture according to an embodiment of the present application;
FIG. 3A is a schematic diagram of a task offloading architecture according to an embodiment of the present disclosure;
FIG. 3B is a schematic diagram of subtask offloading provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a registration process provided in an embodiment of the present application;
fig. 5 is a flow chart of a task unloading method according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Referring to fig. 1, a schematic diagram of an edge computing architecture is provided in an embodiment of the present application. The third generation partnership project (the 3rd generation partnership project,3GPP) defines the architecture of edge computation in 5G. An edge enabling server and an edge application are deployed in the edge data network, the edge application is registered on the edge enabling server, and the edge enabling server is registered on the edge configuration server. The edge configuration server provides information of an edge enabling server for the client on the terminal, and the client (application) on the terminal discovers the edge application through the edge enabling server. Edge configuration servers are typically deployed at a central location, with edge-enabled servers and edge applications deployed at edge locations. The same edge application may have multiple edge application instances, each corresponding to a copy of the edge application, which may be deployed in different edge data networks for near access by the terminal.
A terminal may also be referred to as a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc., which is a device that provides voice and/or data connectivity to a user. For example, the terminal device includes a handheld device having a wireless connection function, an in-vehicle device, and the like. Currently, the terminal device may be: a mobile phone, a tablet, a notebook, a palm, a mobile internet device (mobile internet device, MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), or a wireless terminal in smart home (smart home), and the like.
The system of the communication system is not limited in the embodiments of the present application, and may be a fifth generation (5th generation,5G) communication system, or a future communication system, or a communication system that evolves based on any generation of communication system. Wherein the communication system is divided into an access network and a core network. The access network is used to connect the terminal device into the core network. The core network is used for accessing the terminal equipment to different data networks. In addition, the core network can be divided into a control plane and a user plane according to the logic function division.
The control plane network element, which may also be referred to as a control plane function (control plane function, CPF) entity, is responsible for the logical functions of the control plane in the core network. In terms of implementing the division of control plane specific functions, the control plane functional entities may include session management function (session management function, SMF) entities, access and mobility management function (access and mobility management function, AMF) entities, unified data management function (unified data management, UDM) entities, policy control function (policy control function, PCF) entities, network capability opening function (network exposure function, NEF) entities, unified data warehouse (unified data repository, UDR) entities, and application function (application function, AF) entities, etc.
The user plane network element, which may also be referred to as a user plane function (User plane Function, UPF) entity, is configured to forward user plane data (including ethernet broadcast frames) of the terminal device.
A Data Network (DN) provides a business service for a terminal device by performing data transmission with the terminal device. The data networks involved in the embodiments of the present application are all of the ethernet type (i.e., the data networks involved in the embodiments of the present application are ethernet). Accordingly, the session of the terminal device enabling the terminal device to access the data network is also of the ethernet type. In the embodiment of the application, the data network may be an edge data network deployed at an edge.
Referring to fig. 2, a schematic diagram of a 5G communication system architecture is provided in an embodiment of the present application. In the communication system shown in fig. 2, the communication system is divided into AN Access Network (AN) and a Core Network (CN).
The access network includes a base station, which is understood to be AN apparatus, and is AN apparatus for accessing a terminal apparatus to a wireless network in the communication system. As a node of the access network, AN apparatus may also be referred to as AN Access Network (AN) node. Currently, examples of some AN devices are: gNB, transmission and reception point (transmission reception point, TRP), evolved Node B (eNB), radio network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base Band Unit (BBU), etc.
The network element in the core network comprises: control plane function entities such as an AMF entity, an SMF entity, a UDM entity, a UDR entity, a NEF entity, a PCF entity, and an AF entity, and a UPF entity.
The core network is used for accessing the terminal equipment into DN capable of realizing the service of the terminal equipment. The functions of the network elements in the core network are described below.
The AMF entity can be used for being responsible for registration, mobility management, tracking area update flow and the like of the terminal equipment.
The SMF entity may be configured to be responsible for session management (including session establishment, modification, and release) of the terminal device, selection and reselection of a UPF entity, IP address allocation of the terminal device, qoS control, and the like.
The PCF entity can be used for being responsible for policy control decision-making and other functions.
The NEF entity may open some capability information of the communication system to the communication system external network and transfer information between network element devices (e.g. between VMF entity, AF entity).
The UDM entity may be used for managing subscription data of the terminal device, registration information related to the terminal device, etc.
The AF entity is responsible for communication with DNs outside the communication system and for control and management of DNs outside the communication system.
The UPF entity may be configured to forward user plane data (including ethernet broadcast frames) of the terminal device.
In the actual application process, the terminal may request the 5G network to create a protocol data unit (Protocol Data Unit, PUD) session, and the 5G network selects a user plane function according to the location information of the terminal, so as to establish a user plane channel between the terminal and an application instance in the edge data network. However, the terminal can only access an edge application instance in an edge data network through one PDU session, and cannot fully utilize the resources of the edge data network.
Based on this, the embodiment of the application provides a task offloading method, where a terminal application may decompose a task to be executed into a plurality of subtasks, offload the subtasks to edge application instances in different variant data networks in parallel, and accelerate execution of the task. The following detailed description refers to the accompanying drawings.
Referring to fig. 3A, a schematic diagram of a task offloading architecture according to an embodiment of the present application is provided. In the embodiment of the application, a new PDU session type is introduced: multitasking offloads sessions. The terminal establishes a multitasking offload session with the control plane function entity via the access network and indicates which edge data networks the tasks to be performed need to be offloaded to, edge data network 1 and edge data network 2 being shown in fig. 3. Correspondingly, the 5G network allocates corresponding user plane functional entities 1 and 2 for the edge data network 1 and the edge data network 2, and establishes corresponding user plane channels. The end application (application/client deployed on the end) may discover edge application instances deployed in different edge data networks and offload tasks to be performed in parallel onto the edge application instances. The uplink message classifier can offload parallel tasks sent by the terminal to different edge application examples.
Referring to fig. 3B, a schematic diagram of subtask offloading is provided in an embodiment of the present application. As shown in fig. 3, the task is decomposed into 3 sub-tasks on the terminal side, namely sub-task 1, sub-task 2 and sub-task 3. Correspondingly, on the edge side, a corresponding edge application instance is allocated to each subtask for executing the subtask. For example, edge application instance 1 performs subtask 1; edge application instance 2 performs subtask 2; edge application instance 3 performs subtask 3. The following describes the principle thereof in detail.
Referring to fig. 4, a schematic diagram of a registration process is provided in an embodiment of the present application. It can be understood that before the terminal performs the multi-task offloading, it needs to register in the 5G network first to obtain the multi-task offloading capability. Which mainly comprises the following steps.
Step S401: the terminal sends a registration request message to the access management function entity.
It can be understood that the access network, the access management function entity and the unified data management function entity in fig. 4 belong to a communication system, and in this embodiment of the application, the communication system is illustrated by taking a 5G network as an example.
Specifically, the terminal sends a registration request message to the access management functional entity through the access network, and the registration request message may include identification information of the terminal.
Step S402: the access management functional entity obtains the user subscription data from the unified data management functional entity.
After receiving the registration request message sent by the terminal, the access management functional entity exchanges with the unified data management functional entity, obtains user subscription data from the unified data management functional entity, and can judge whether the terminal is allowed to perform multi-task unloading or not through the user subscription data.
Step S403: the access management function entity determines whether to allow the terminal to request a multitasking offload session.
Specifically, the access management functional entity judges whether to allow the terminal to request the multi-task uninstall session according to the user subscription data, and attaches the judgment result to the registration acceptance message to send to the terminal.
Step S404: the access management function entity sends a registration acceptance message to the terminal.
Specifically, the access management functional entity sends a registration acceptance message to the terminal through the access network, wherein the registration acceptance message comprises multi-task unloading capability indication information, and the task unloading capability indication information is used for representing that the multi-task unloading capability is supported or not supported.
It can be understood that if the terminal has completed the subscription of the capability of unloading multitasking, the unified data management function entity has user subscription data of the terminal, and the access management function entity determines that the terminal is allowed to request the session of unloading multitasking according to the user subscription data, and accordingly, the indication information of the capability of unloading multitasking is used for representing supporting the capability of unloading multitasking. Further, the terminal may perform a service request for multitasking offloading.
It should be noted that in some possible embodiments, it may be possible to directly default to the terminal supporting the multi-tasking offload capability, so that the terminal does not need to initiate a registration procedure before performing the service request for multi-tasking offload. That is, the service request of the multitasking offload is directly performed without performing the steps shown in fig. 4, which should be within the scope of the present application.
Referring to fig. 5, a flow chart of a task unloading method is provided in an embodiment of the present application. The method can be applied to the architecture shown in fig. 1 and 2, and as shown in fig. 5, mainly comprises the following steps.
Step S501: the terminal transmits a service provision request message to the edge configuration server.
As described above, the edge-enabled server registers with the edge configuration server, and thus the edge configuration server can provide information of the edge-enabled server to clients on the terminal.
Before the terminal performs task offloading, firstly, a service providing request message is sent to the edge configuration server, wherein the service providing request message is used for indicating the edge configuration server to feed back information of a corresponding edge enabling server.
Specifically, the service providing request message includes a terminal identifier and a terminal application identifier, and it can be understood that the terminal application identifier is an identifier corresponding to a client of the terminal. In an alternative embodiment, the service providing request message may further include security credentials, terminal location information, terminal application client type, etc.
Step S502: the edge configuration server transmits a service providing response message to the terminal.
And after receiving the service providing request message, the edge configuration server sends a service providing response message to the terminal. The service providing response message comprises an edge enabling server list, wherein the edge enabling server list comprises an edge enabling server address and an edge data network identifier corresponding to the edge enabling server, and the edge data network identifier is used for identifying the position of an edge data network.
Specifically, the edge configuration server may screen out an edge enabling server meeting the requirement of a preset screening rule according to one or more of the terminal identifier, the terminal position information, the terminal application type and the terminal application identifier, and send the screened edge enabling server list to the terminal. Specifically, the screening rules are not limited in particular, and those skilled in the art may adjust the screening rules accordingly according to actual needs.
Step S503: the terminal interacts with the control plane functional entity to establish a multitasking offload session.
Specifically, the terminal may determine whether the 5G network allows it to create a session of a multitasking offload type according to the task offload capability indication information in the embodiment shown in fig. 4. If the task unloading capability indication information indicates that the terminal supports the multi-task unloading capability, the terminal application decomposes the task to be executed into N subtasks according to the requirement, selects N edge enabling servers corresponding to the N subtasks from an edge enabling server list, and determines edge data network identifiers corresponding to the N edge enabling servers. Where N > 1, for example, n=2, n=5, etc., the specific numerical values thereof are not limited in the embodiments of the present application.
The terminal interacts with the control plane functional entity through the access network to establish a multitasking offload session. In the process of establishing the multi-task unloading session, the terminal sends the edge data network identifiers corresponding to the N edge enabling servers to the control plane functional entity.
Step S504: the control plane functional entity interacts with the uplink message classifier to create a user plane tunnel between the uplink message classifier and the access network.
Specifically, the control plane functional entity selects an uplink message classifier and creates a user plane tunnel between the uplink message classifier and the access network. The uplink message classifier is used for splitting uplink messages.
Step S505: the control plane functional entity interacts with the user plane functional entity k to create a user plane tunnel between the uplink message classifier and the user plane functional entity k.
It can be understood that each edge data network has its corresponding control plane function entity, and after the control plane function entity obtains the edge data network identifier in step S503, a user plane tunnel between the uplink packet classifier and the user plane function entity can be created according to the edge data network identifier.
It should be noted that, in the embodiment of the present application, the user plane functional entity establishes N user plane tunnels with N user plane functional entities corresponding to the N edge enabled servers, respectively. For example, n=3. Correspondingly, the user plane functional entity and the user plane functional entity 1 corresponding to the edge enabling server 1 establish a user plane tunnel 1; the user plane functional entity establishes a user plane tunnel 2 with the user plane functional entity 2 corresponding to the edge enabling server 2; the user plane function entity establishes a user plane tunnel 3 with the user plane function entity 3 corresponding to the edge enabling server 3.
For simplicity of description, in the embodiment of the present application, the user plane functional entity k is taken as an example to describe. It is understood that the user plane function k may be any one of the N user plane functions. Step S506: the control plane functional entity interacts with the uplink message classifier to set the splitting rule.
Specifically, the offloading rule includes correspondence between N user plane tunnels, N user plane functional entities, and the N edge enabling servers. For example, the offload rule indicates that a message to be sent to the edge-enabled server k or the edge application instance k is sent to the user plane function entity k through the user plane tunnel k. The edge application instance k is an edge application instance deployed in the edge enabling server k.
Step S507: the terminal sends an application discovery request message to the edge enabled server k.
Specifically, the terminal sends an application discovery request message to an uplink message classifier through a user plane tunnel between the uplink message classifier and the access network, the uplink message classifier sends the application discovery request message to a user plane functional entity k through a user plane tunnel k according to a distribution rule, and the user plane functional entity k routes the application discovery request message to an edge enabling server k. It may be appreciated that in the embodiment of the present application, the terminal needs to send N application discovery request messages to the N edge-enabled servers through the N user plane tunnels, where each application discovery request message corresponds to one edge-enabled server.
Step S508: the edge-enabled server k sends an application discovery reply message to the terminal.
Specifically, the edge enabling server k sends an application discovery response message to the user plane functional entity k, the user plane functional entity k sends the application discovery response message to the uplink message classifier through the user plane tunnel k, and the uplink message classifier sends the application discovery response message to the terminal through the user plane tunnel between the uplink message classifier and the access network. The application discovery response message contains address information of the edge application instance.
It may be understood that in the embodiment of the present application, the terminal needs to receive N application discovery response messages sent by the N edge enabled servers, where each application discovery response message includes address information of an edge application instance. Thus, the terminal obtains address information of N edge application instances. Step S509: the terminal sends subtask information to the edge application instance k.
Specifically, the terminal sends sub-task information to the uplink message classifier through a user plane tunnel between the uplink message classifier and the access network according to the address information of the edge application example k, the uplink message classifier sends the kth sub-task information to the user plane functional entity k through the user plane tunnel k according to the distribution rule, and the user plane functional entity k routes the kth sub-task information to the edge application example k.
It can be understood that in the embodiment of the present application, the terminal needs to send N subtask information to N edge application instances on the N edge enabled servers through the N user plane tunnels respectively. Wherein each edge application instance corresponds to a subtask. Step S510: the edge application instance k sends an application discovery reply message to the terminal.
After the subtask is completed by the execution of the edge application instance, a subtask processing result is obtained, and the subtask processing result is fed back to the terminal.
Specifically, the edge application instance k sends a subtask processing result to the user plane functional entity k, the user plane functional entity k sends the subtask processing result to the uplink message classifier through the user plane tunnel k, and the uplink message classifier sends the subtask processing result to the terminal through the user plane tunnel between the uplink message classifier and the access network.
It can be understood that in the embodiment of the present application, the terminal needs to receive N subtask processing results sent by N edge application instances respectively. Step S511: and the terminal merges subtask processing results.
After the terminal obtains N subtask processing results, the N subtask processing results are combined to obtain a task processing result corresponding to the task to be executed.
In the embodiment of the application, the task to be executed is decomposed into a plurality of subtasks, and the subtasks are parallelly unloaded to a plurality of corresponding edge computing application examples, so that the resources of the edge computing nodes are fully utilized, and the real-time requirement of the terminal on task processing is met.
In a specific implementation, the embodiment of the application also provides a terminal, where the terminal includes one or more processors; a memory; and one or more computer programs, where the one or more computer programs are stored in the memory, where the one or more computer programs include instructions that, when executed by the terminal, cause the terminal to perform part or all of the steps on the terminal side in the above method embodiments, and are not described herein for brevity.
In a specific implementation, the embodiment of the application also provides a network device, where the network device includes one or more processors; a memory; and one or more computer programs, where the one or more computer programs are stored in the memory, where the one or more computer programs include instructions, which when executed by the network device, cause the network device to perform part or all of the steps on the communication system side in the foregoing method embodiments, and are not described herein for brevity.
In a specific implementation, the present application further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in the embodiments provided herein when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
In a specific implementation, the embodiment of the application further provides a computer program product, where the computer program product contains executable instructions, and when the executable instructions are executed on a computer, the executable instructions cause the computer to perform some or all of the steps in the above method embodiments.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in the embodiments disclosed herein can be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In several embodiments provided by the present invention, any of the functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely exemplary embodiments of the present invention, and any person skilled in the art may easily conceive of changes or substitutions within the technical scope of the present invention, which should be covered by the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for task offloading, applied to a terminal, the method comprising:
decomposing a task to be executed into N subtasks, and selecting N edge enabling servers corresponding to the N subtasks from an edge enabling server list, wherein N is more than 1;
establishing a multi-task unloading session with a communication system, wherein the communication system is used for establishing N user plane tunnels with N user plane functional entities corresponding to the N edge enabling servers according to the edge data network identifiers corresponding to the N edge enabling servers;
n application discovery request messages are sent to the N edge enabling servers through the N user plane tunnels respectively, wherein each application discovery request message corresponds to one edge enabling server;
receiving N application discovery response messages sent by the N edge enabling servers respectively, wherein each application discovery response message comprises address information of an edge application instance;
according to the address information of the edge application examples, N subtask information is sent to N edge application examples on the N edge enabling servers through the N user plane tunnels respectively;
and receiving and combining N subtask processing results sent by the N edge application instances.
2. The method of claim 1, further comprising, prior to said decomposing the task to be performed into N sub-tasks:
sending a service providing request message to an edge configuration server, wherein the service providing request message comprises a terminal identifier and a terminal application identifier;
and receiving a service providing response message sent by the edge configuration server, wherein the service providing response message comprises an edge enabling server list, and the edge enabling server list comprises an edge enabling server address and an edge data network identifier corresponding to the edge enabling server.
3. The method of claim 2, further comprising, prior to said sending the service provisioning request message to the edge configuration server:
transmitting a registration request message to an access management function entity of a communication system, wherein the registration request message is used for requesting a multi-task offloading capability;
receiving a registration acceptance message sent by the access management functional entity, wherein the registration acceptance message comprises multi-task unloading capability indication information, and the task unloading capability indication information is used for representing whether the multi-task unloading capability is supported or not supported.
4. A method according to claim 3, wherein said establishing a multitasking offload session with a communication system comprises:
judging whether the multi-task unloading capability is supported or not;
if the support of the multi-task unloading capability is judged, a multi-task unloading session is established with the communication system.
5. A method of task offloading, for use in a communication system, the method comprising:
establishing a multitasking offload session with a terminal;
according to the edge data network identifications corresponding to the N edge enabling servers sent by the terminal, N user plane tunnels are respectively established with N user plane functional entities corresponding to the N edge enabling servers, wherein N is more than 1;
respectively routing N application discovery request messages sent by the terminal to corresponding N edge enabling servers through the N user plane tunnels and N user plane functional entities;
receiving N application discovery response messages sent by the N edge enabling servers, and sending the N application discovery response messages to the terminal, wherein each application discovery response message comprises address information of an edge application instance;
according to the address information of the edge application examples, N subtasks sent by the terminal are respectively routed to N edge application examples on the corresponding N edge enabling servers through the N user plane tunnels and N user plane functional entities;
and receiving N subtask processing results sent by the N edge application instances, and sending the N subtask processing results to the terminal.
6. The method as recited in claim 5, further comprising:
setting a distribution rule, wherein the distribution rule comprises the corresponding relations among the N user plane tunnels, the N user plane functional entities and the N edge enabling servers.
7. A terminal, comprising:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-4.
8. A network device, comprising:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the processor, cause the processor to perform the method of claim 5 or 6.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1-4.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run controls a device in which the computer readable storage medium is located to perform the method according to claim 5 or 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011590176.9A CN112631753B (en) | 2020-12-29 | 2020-12-29 | Task unloading method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011590176.9A CN112631753B (en) | 2020-12-29 | 2020-12-29 | Task unloading method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112631753A CN112631753A (en) | 2021-04-09 |
CN112631753B true CN112631753B (en) | 2024-03-22 |
Family
ID=75285983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011590176.9A Active CN112631753B (en) | 2020-12-29 | 2020-12-29 | Task unloading method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112631753B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630266B (en) * | 2021-07-07 | 2023-04-28 | 华为技术有限公司 | Method and device for instantiating edge application server |
CN116132436A (en) * | 2021-11-15 | 2023-05-16 | 中国移动通信有限公司研究院 | Task unloading method, device, equipment and readable storage medium |
WO2024197586A1 (en) * | 2023-03-28 | 2024-10-03 | 北京小米移动软件有限公司 | Task processing methods, and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107466482A (en) * | 2017-06-07 | 2017-12-12 | 香港应用科技研究院有限公司 | Joint determines the method and system for calculating unloading and content prefetches in a cellular communication system |
CN109918201A (en) * | 2019-03-05 | 2019-06-21 | 中国联合网络通信集团有限公司 | The control method and system of task unloading |
CN110290561A (en) * | 2018-03-19 | 2019-09-27 | 大唐移动通信设备有限公司 | A kind of sending method and the network equipment of local service |
CN111182582A (en) * | 2019-12-30 | 2020-05-19 | 东南大学 | Multitask distributed unloading method facing mobile edge calculation |
CN111601328A (en) * | 2020-05-15 | 2020-08-28 | 广东工业大学 | Mobile edge calculation device and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10938736B2 (en) * | 2017-10-18 | 2021-03-02 | Futurewei Technologies, Inc. | Dynamic allocation of edge computing resources in edge computing centers |
US11019491B2 (en) * | 2019-05-09 | 2021-05-25 | Samsung Electronics Co., Ltd. | Apparatus and method for providing mobile edge computing services in wireless communication system |
-
2020
- 2020-12-29 CN CN202011590176.9A patent/CN112631753B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107466482A (en) * | 2017-06-07 | 2017-12-12 | 香港应用科技研究院有限公司 | Joint determines the method and system for calculating unloading and content prefetches in a cellular communication system |
CN110290561A (en) * | 2018-03-19 | 2019-09-27 | 大唐移动通信设备有限公司 | A kind of sending method and the network equipment of local service |
CN109918201A (en) * | 2019-03-05 | 2019-06-21 | 中国联合网络通信集团有限公司 | The control method and system of task unloading |
CN111182582A (en) * | 2019-12-30 | 2020-05-19 | 东南大学 | Multitask distributed unloading method facing mobile edge calculation |
CN111601328A (en) * | 2020-05-15 | 2020-08-28 | 广东工业大学 | Mobile edge calculation device and method |
Non-Patent Citations (4)
Title |
---|
Intel Corporation (UK) Ltd.S1-172127 "Use cases for mmWave and Mobile Edge computing, two building blocks of 5G networks: the vision of the European funded projects 5G-MiEdge".3GPP tsg_sa\WG1_Serv.2017,(TSGS1_78_Porto),全文. * |
Multi-Server Multi-User Multi-Task Computation Offloading for Mobile Edge Computing Networks;Liang Huang;Sensors;20180424;全文 * |
Vivo.S2-2007251 "KI#2: Evaluation and Conclusion of Edge relocation.".3GPP tsg_sa\wg2_arch.2020,(tsgs2_141e_electronic),全文. * |
移动边缘计算平台的设计与实现;卢晓迪;中国优秀硕士学位论文全文数据库 (信息科技辑);20200215;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112631753A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3720160B1 (en) | Session management method, device and system | |
CN112583693B (en) | Virtual local area network communication method, equipment and storage medium | |
CN111083737B (en) | Method and device for shunting data in edge MEC | |
CN112631753B (en) | Task unloading method, device and storage medium | |
CN110366269B (en) | Session establishment method and device | |
EP4011055B1 (en) | Methods, apparatuses and computer readable medium for subscriber management with a stateless network architecture in a fifth generation (5g) network | |
EP3817453B1 (en) | Communication method and apparatus | |
CN113676924B (en) | Communication method, device and system | |
CN113986520A (en) | UPF selection method and device | |
CN113630272B (en) | Communication method and device | |
CN113207191B (en) | Session establishment method, device and equipment based on network slice and storage medium | |
CN114342332B (en) | Communication method, device and system | |
EP4261683A1 (en) | Information processing method and apparatus, device, and storage medium | |
CN106572132B (en) | Method, device and system for distributing and building link | |
CN116114234A (en) | Method, device and system for opening network capability | |
KR20210143563A (en) | Apparatus and method for providing deterministic communication in mobile network | |
Pirmagomedov et al. | Augmented computing at the edge using named data networking | |
CN114980243B (en) | Data forwarding method, device and storage medium | |
US10993177B2 (en) | Network slice instance creation | |
CN113301092B (en) | Network reconnection method, device, system and storage medium | |
CN116868603A (en) | New method for external parameter provisioning for AF sessions | |
CN114339816A (en) | Edge calculation method and device | |
CN113454959B (en) | Control plane network function, user plane network function, and packet processing method using the same | |
CN112511403A (en) | Virtual local area network communication method, equipment and storage medium | |
LU92843B1 (en) | Network Management System |
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 |