Application method of computing bearer and apparatus
Example methods and apparatus for application of a computing bearer is described. One example method includes establishing a first bearer and a second bearer by a first communication apparatus, where the first bearer is a computing bearer between the first communication apparatus and a second communication apparatus, and the second bearer is a computing bearer between the first communication apparatus and a first application. The first communication apparatus receives first data from the second communication apparatus over the first bearer, and forwards the first data over the second bearer. Additionally or alternatively, the first communication apparatus receives second data over the second bearer, and forwards the second data to the second communication apparatus over the first bearer.
1 . An application method, comprising:
establishing, by a first communication apparatus, a first bearer and a second bearer, wherein the first bearer is a computing bearer between the first communication apparatus and a second communication apparatus, the first communication apparatus includes a network device, the second communication apparatus includes a user equipment (UE), and the second bearer is a computing bearer between the first communication apparatus and a first application; and
performing at least one sequence of the following sequential operations:
receiving, by the first communication apparatus, first data from the second communication apparatus over the first bearer, and forwarding the first data over the second bearer; or
receiving, by the first communication apparatus, second data over the second bearer, and forwarding the second data to the second communication apparatus over the first bearer.
2 . The application method according to claim 1 , wherein:
the first application is deployed on a computing force, the computing force is located inside a radio network, or the computing force is deployed outside the radio network, and the computing force is directly connected to the first communication apparatus; and
the first bearer and the second bearer are used for communication between the second communication apparatus and the first application when a computing task is executed.
3 . The application method according to claim 2 , wherein:
the second bearer is established based on a wired protocol layer between the first communication apparatus and the computing force; or
the second bearer is established based on a radio access protocol layer between the first communication apparatus and the computing force.
4 . The application method according to claim 1 , wherein:
the application method comprises:
establishing, by the first communication apparatus, a mapping relationship between the first bearer and the second bearer;
the forwarding the first data over the second bearer comprises:
determining, by the first communication apparatus based on the mapping relationship, the second bearer corresponding to the first bearer; and
forwarding the first data over the second bearer; and
the forwarding the second data to the second communication apparatus over the first bearer comprises:
determining, by the first communication apparatus based on the mapping relationship, the first bearer corresponding to the second bearer; and
forwarding the second data to the second communication apparatus over the first bearer.
5 . The application method according to claim 4 , wherein:
the mapping relationship between the first bearer and the second bearer comprises that one first bearer corresponds to a plurality of second bearers, or that a plurality of first bearers correspond to a plurality of second bearers; and
the determining, by the first communication apparatus based on the mapping relationship, the second bearer corresponding to the first bearer, and forwarding the first data over the second bearer comprises:
determining, by the first communication apparatus based on the mapping relationship, the plurality of second bearers corresponding to the first bearer; and
in response to determining that the second bearer is associated with quality of service (QoS), selecting, by the first communication apparatus based on QoS separately associated with the plurality of second bearers, a second bearer associated with QoS that meets a QoS requirement of the first data, and forwarding the first data; or
forwarding, by the first communication apparatus, the first data over one of the plurality of second bearers based on a load balancing algorithm.
6 . The application method according to claim 4 , wherein:
the mapping relationship between the first bearer and the second bearer comprises that a plurality of first bearers correspond to one second bearer, or a plurality of first bearers correspond to a plurality of second bearers; and
the determining, by the first communication apparatus based on the mapping relationship, the first bearer corresponding to the second bearer, and forwarding the second data to the second communication apparatus over the first bearer comprises:
determining, by the first communication apparatus based on the mapping relationship, the plurality of first bearers corresponding to the second bearer; and
in response to determining that the first bearer is associated with QoS, selecting, by the first communication apparatus based on QoS separately associated with the plurality of first bearers, a first bearer associated with QoS that meets a QoS requirement of the second data, and forwarding the second data; or
forwarding, by the first communication apparatus, the second data over one of the plurality of first bearers based on a load balancing algorithm.
7 . The application method according to claim 1 , wherein the application method further comprises:
receiving, by the first communication apparatus, first information from a convergence control unit, wherein the first information indicates to the first communication apparatus to establish the first bearer and the second bearer.
8 . The application method according to claim 7 , wherein the first information comprises one or more of the following information: computing force address information, QoS configuration information, terminal authentication information, an identifier of a first task, or an identifier of the second communication apparatus, and wherein the terminal authentication information is used to authenticate whether the second communication apparatus is qualified to use the first bearer, and the computing force address information is used by the first communication apparatus to establish the second bearer.
9 . The application method according to claim 1 , wherein the application method further comprises:
receiving, by the first communication apparatus from the second communication apparatus, a trigger message requesting to establish the first bearer.
10 . A communication apparatus, applied to a first communication apparatus, wherein the communication apparatus comprises:
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:
establish a first bearer and a second bearer, wherein the first bearer is a computing bearer between the first communication apparatus and a second communication apparatus, the first communication apparatus includes a network device, the second communication apparatus includes a user equipment (UE), and the second bearer is a computing bearer between the first communication apparatus and a first application; and
perform at least one sequence of the following sequential operations:
receive first data from the second communication apparatus over the first bearer, and forward the first data over the second bearer; or
receive second data over the second bearer, and forward the second data to the second communication apparatus over the first bearer.
11 . The communication apparatus according to claim 10 , wherein:
the first application is deployed on a computing force, the computing force is located inside a radio network, or the computing force is deployed outside the radio network, and the computing force is directly connected to the first communication apparatus; and
the first bearer and the second bearer are used for communication between the second communication apparatus and the first application when a computing task is executed.
12 . The communication apparatus according to claim 11 , wherein:
the second bearer is established based on a wired protocol layer between the first communication apparatus and the computing force; or
the second bearer is established based on a radio access protocol layer between the first communication apparatus and the computing force.
13 . The communication apparatus according to claim 10 , wherein the one or more memories store the programming instructions for execution by the at least one processor to:
establish a mapping relationship between the first bearer and the second bearer, and determine, based on the mapping relationship, the second bearer corresponding to the first bearer; and forward the first data over the second bearer; or
determine based on the mapping relationship, the first bearer corresponding to the second bearer; and forward the second data to the second communication apparatus over the first bearer.
14 . The communication apparatus according to claim 13 , wherein:
the mapping relationship between the first bearer and the second bearer comprises that one first bearer corresponds to a plurality of second bearers, or a plurality of first bearers correspond to a plurality of second bearers; and
the one or more memories store the programming instructions for execution by the at least one processor to:
determine based on the mapping relationship, the plurality of second bearers corresponding to the first bearer; and
in response to determining that the second bearer is associated with quality of service (QoS), select, based on QoS separately associated with the plurality of second bearers, a second bearer associated with QoS that meets a QoS requirement of the first data, and forward the first data; or
forward the first data over one of the plurality of second bearers based on a load balancing algorithm.
15 . The communication apparatus according to claim 13 , wherein:
the mapping relationship between the first bearer and the second bearer comprises that a plurality of first bearers correspond to one second bearer, or a plurality of first bearers correspond to a plurality of second bearers; and
the one or more memories store the programming instructions for execution by the at least one processor to:
determine based on the mapping relationship, the plurality of first bearers corresponding to the second bearer; and
in response to determining that the first bearer is associated with QoS, select, based on QoS separately associated with the plurality of first bearers, a first bearer associated with QoS that meets a QoS requirement of the second data, and forward the second data; or
forward the second data over one of the plurality of first bearers based on a load balancing algorithm.
16 . The communication apparatus according to claim 10 , wherein the one or more memories store the programming instructions for execution by the at least one processor to:
receive first information from a convergence control unit, wherein the first information indicates to the first communication apparatus to establish the first bearer and the second bearer; or
receive, from the second communication apparatus, a trigger message requesting to establish the first bearer.
17 . The communication apparatus according to claim 16 , wherein the first information comprises one or more of the following information: computing force address information, QoS configuration information, terminal authentication information, an identifier of a first task, or an identifier of the second communication apparatus, and wherein the terminal authentication information is used to authenticate whether the second communication apparatus is qualified to use the first bearer, and the computing force address information is used by the first communication apparatus to establish the second bearer.