U.S. patent application number 15/394363 was filed with the patent office on 2017-04-20 for function migration method, apparatus, and system.
The applicant listed for this patent is Huawei Technologies Co., Ltd.. Invention is credited to Xueliang Chen, Yong Xie.
Application Number | 20170111447 15/394363 |
Document ID | / |
Family ID | 55018210 |
Filed Date | 2017-04-20 |
United States Patent
Application |
20170111447 |
Kind Code |
A1 |
Xie; Yong ; et al. |
April 20, 2017 |
FUNCTION MIGRATION METHOD, APPARATUS, AND SYSTEM
Abstract
Embodiments of the present invention disclose a function
migration method, an apparatus, and a system, which are applied to
the communications field, and a network can actively transfer a
function service of a user between network nodes. The method is
specifically: sending, by a first network node, a function
migration request to the second network node; receiving, by the
first network node, a function migration response sent by the
second network node; and sending, by the first network node, a
migration execution instruction to the second network node, where
the migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user.
Inventors: |
Xie; Yong; (Chengdu, CN)
; Chen; Xueliang; (Shenzhen, CN) |
|
Applicant: |
Name |
City |
State |
Country |
Type |
Huawei Technologies Co., Ltd. |
Shenzhen |
|
CN |
|
|
Family ID: |
55018210 |
Appl. No.: |
15/394363 |
Filed: |
December 29, 2016 |
Related U.S. Patent Documents
|
|
|
|
|
|
Application
Number |
Filing Date |
Patent Number |
|
|
PCT/CN2014/081092 |
Jun 30, 2014 |
|
|
|
15394363 |
|
|
|
|
Current U.S.
Class: |
1/1 |
Current CPC
Class: |
H04L 41/0813 20130101;
H04L 41/0896 20130101; H04L 67/1031 20130101; H04L 67/38 20130101;
H04L 67/34 20130101 |
International
Class: |
H04L 29/08 20060101
H04L029/08 |
Claims
1. A function migration method, comprising: sending, by a first
network node, a function migration request to a second network
node, wherein the function migration request is used to request to
migrate a first function of a first user; receiving, by the first
network node, a function migration response sent by the second
network node; and sending, by the first network node, a migration
execution instruction to the second network node, wherein the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user.
2. The method according to claim 1, further comprising: sending, by
the first network node, a function migration file to the second
network node, wherein the function migration file comprises at
least one piece of the following information: a mirror program of
the first function of the first user, configuration information of
the first user, a radio air interface scheduling priority, service
data information of the first user, or assured bandwidth of the
first user.
3. The method according to claim 1, further comprising: canceling,
by the first network node, the first function of the first user,
and clearing context information corresponding to the first
function of the first user.
4. The method according to claim 1, wherein the function migration
request sent by the first network node to the second network node
carries an identifier of the first user and an identifier of the
first function.
5. The method according to claim 4, wherein the function migration
request comprises at least one piece of the following information:
an interface for migration of a virtual machine at an application
layer, a virtual machine identification, a bandwidth allocation
interface, a bandwidth size, a radio air interface scheduling
priority interface, an air interface scheduling priority, or a
delay size.
6. A function migration method, comprising: sending, by a
controller, a function migration request to a second network node,
wherein the function migration request is used to request to
migrate a first function of a first user; receiving, by the
controller, a function migration response sent by the second
network node; and sending, by the controller, a migration execution
instruction to the second network node, wherein the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user.
7. The method according to claim 6, further comprising: sending, by
the controller, a function migration file to the second network
node, wherein the function migration file comprises at least one
piece of the following information: a mirror program of the first
function of the first user, configuration information of the first
user, a radio air interface scheduling priority, service data
information of the first user, or assured bandwidth of the first
user.
8. The method according to claim 6, further comprising: sending, by
the controller, the migration execution instruction to the first
network node, wherein the migration execution instruction is used
to instruct the first network node to cancel the first function of
the first user, and clear context information corresponding to the
first function of the first user.
9. The method according to claim 6, wherein the function migration
request sent by the controller to the second network node carries
an identifier of the first user and an identifier of the first
function.
10. The method according to claim 9, wherein the function migration
request comprises at least one piece of the following information:
an interface for migration of a virtual machine at an application
layer, a virtual machine identification, a bandwidth allocation
interface, a bandwidth size, a radio air interface scheduling
priority interface, an air interface scheduling priority, or a
delay size.
11. A function migration method, comprising: receiving, by a second
network node, a function migration request sent by a first network
node or a controller, wherein the function migration request is
used to request to migrate a first function of a first user;
sending, by the second network node, a function migration response
to the first network node or the controller; receiving a migration
execution instruction sent by the first network node or the
controller; and executing, by the second network node, the
migration execution instruction to perform the first function
service on the first user.
12. The method according to claim 11, further comprising:
receiving, by the second network node, a function migration file
sent by the first network node or the controller, wherein the
function migration file comprises at least one piece of the
following information: a mirror program of the first function of
the first user, configuration information of the first user, a
radio air interface scheduling priority, service data information
of the first user, or assured bandwidth of the first user.
13. The method according to claim 11, wherein the function
migration request received by the second network node carries an
identifier of the first user and an identifier of the first
function.
14. The method according to claim 13, wherein the function
migration request comprises at least one piece of the following
information: an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
15. A first network node, comprising: a processor, a transmitter, a
receiver, and a memory, wherein the processor, the transmitter, the
receiver and the memory are connected to each other, and the memory
is configured to store code which, when executed by the processor,
cause the processor to: send a function migration request to a
second network node by using the transmitter, wherein the function
migration request is used to request to migrate a first function of
a first user; receive, by using the receiver, a function migration
response sent by the second network node; and send a migration
execution instruction to the second network node by using the
transmitter, wherein the migration execution instruction is used to
instruct the second network node to perform the first function
service on the first user.
16. The first network node according to claim 15, wherein the code,
when executed by the processor, further causes the processor to:
send a function migration file to the second network node by using
the transmitter, wherein the function migration file sent by the
transmitter comprises at least one piece of the following
information: a mirror program of the first function of the first
user, configuration information of the first user, a radio air
interface scheduling priority, service data information of the
first user, or assured bandwidth of the first user.
17. A controller, comprising: a processor, a transmitter, a
receiver, and a memory, wherein the processor, the transmitter, the
receiver and the memory are connected to each other, and the memory
is configured to store code which, when executed by the processor,
cause the processor to: send a function migration request to a
second network node by using the transmitter, wherein the function
migration request is used to request to migrate a first function of
a first user; receive, by using the receiver, a function migration
response sent by the second network node; and send a migration
execution instruction to the second network node by using the
transmitter, wherein the migration execution instruction is used to
instruct the second network node to perform the first function
service on the first user.
18. The controller according to claim 17, wherein the code, when
executed by the processor, further causes the processor to: send a
function migration file to the second network node by using the
transmitter, wherein the function migration file sent by the
transmitter comprises at least one piece of the following
information: a mirror program of the first function of the first
user, configuration information of the first user, a radio air
interface scheduling priority, service data information of the
first user, or assured bandwidth of the first user.
19. A second network node, comprising: a processor, a transmitter,
a receiver, and a memory, wherein the processor, the transmitter,
the receiver and the memory are connected to each other, and the
memory is configured to store code which, when executed by the
processor, cause the processor to: receive, by using the receiver,
a function migration request sent by a first network node or a
controller, wherein the function migration request is used to
request to migrate a first function of a first user; send a
function migration response to the first network node or the
controller by using the transmitter; receive, by using the
receiver, a migration execution instruction sent by the first
network node or the controller; and execute the migration execution
instruction to perform the first function service on the first
user.
20. The second network node according to claim 19, wherein the
code, when executed by the processor, further causes the processor
to: receive, by using the receiver, a function migration file sent
by the first network node or the controller, wherein the function
migration file received by the receiver comprises at least one
piece of the following information: a mirror program of the first
function of the first user, configuration information of the first
user, a radio air interface scheduling priority, service data
information of the first user, or assured bandwidth of the first
user.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation of International
Application No. PCT/CN2014/081092, filed on Jun. 30, 2014, the
disclosure of which is hereby incorporated by reference in its
entirety.
TECHNICAL FIELD
[0002] The present invention relates to the communications field,
and in particular, to a function migration method, an apparatus,
and a system.
BACKGROUND
[0003] In a software defined network (Software Defined Network, SDN
for short), a control plane of a network device is separated from a
data plane, so that network traffic is controlled flexibly. The SDN
is a good platform for updating a core network and an application
of the core network. In network functions virtualization (Network
Function Virtualization, NFV for short), common hardware and a
virtualization technology are used for carrying various software
applications with different functions, so that a function of a
network device no longer relies on a dedicated hardware device. In
this way, network resources can be centrally scheduled, and the
network resources are shared flexibly. In addition, a dedicated
hardware device does not need to be deployed for a new service, and
therefore the new service can be quickly developed and deployed.
Because the SDN and the NFV have advantages such as resource
utilization improvement, network control flexibility, and easy
service update, in a cloud radio access network (Cloud Radio Access
Network, Cloud RAN for short), a wideband code division multiple
access (Wide band Code Division Multiple Access, WCDMA for short)
network, and the like, a core network and an application of the
core network are deployed and updated based on the SDN and the
NFV.
[0004] In the prior art, when a user uses a corresponding network
function, if the user exceeds a service range of a controller
covered by an original network node, and transfers to a coverage
area of a controller of another network node, the user connects to
an existing network node to continue performing a function service.
In this way, a function is migrated between different network
nodes.
[0005] In a process of migrating the function between the different
network nodes, in the prior art, the function can be migrated only
when the user exceeds the service range of the controller covered
by the original network node. Because the network is not capable of
actively allocating the function service used by the user to
another network node, some network nodes may process a large
quantity of function services of the user while some network nodes
are nearly idle. In addition, the network node that the user
connects to is not necessarily a network node with a best signal, a
shortest path, or least network congestion. In this way,
performance of a function used by the user and network performance
are relatively poor.
SUMMARY
[0006] Embodiments of the present invention provide a function
migration method, an apparatus, and a system, so that a network can
actively transfer a function service of a user between network
nodes, and performance of a function used by the user and network
performance are improved.
[0007] To achieve the foregoing objective, the following technical
solutions are used in the embodiments of the present invention:
[0008] According to a first aspect, a function migration method is
provided, including:
[0009] sending, by a first network node, a function migration
request to a second network node, where the function migration
request is used to request to migrate a first function of a first
user;
[0010] receiving, by the first network node, a function migration
response sent by the second network node; and
[0011] sending, by the first network node, a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user.
[0012] With reference to the first aspect, in a first possible
implementation manner, the method further includes:
[0013] sending, by the first network node, a function migration
file to the second network node, where
[0014] the function migration file includes at least one piece of
the following information:
[0015] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0016] With reference to the first aspect or the first possible
implementation manner of the first aspect, in a second possible
implementation manner, the method further includes:
[0017] canceling, by the first network node, the first function of
the first user, and clearing context information corresponding to
the first function of the first user.
[0018] With reference to the first aspect or the first or the
second possible implementation manner of the first aspect, in a
third possible implementation manner, the function migration
request sent by the first network node to the second network node
carries an identifier of the first user and an identifier of the
first function.
[0019] With reference to the third possible implementation manner
of the first aspect, in a fourth possible implementation manner,
the function migration request includes at least one piece of the
following information:
[0020] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0021] According to a second aspect, a function migration method is
provided, including:
[0022] sending, by a controller, a function migration request to a
second network node, where the function migration request is used
to request to migrate a first function of a first user;
[0023] receiving, by the controller, a function migration response
sent by the second network node; and
[0024] sending, by the controller, a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user.
[0025] With reference to the second aspect, in a first possible
implementation manner, the method further includes:
[0026] sending, by the controller, a function migration file to the
second network node, where the function migration file includes at
least one piece of the following information:
[0027] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0028] With reference to the second aspect or the first possible
implementation manner of the second aspect, in a second possible
implementation manner, the method further includes:
[0029] sending, by the controller, the migration execution
instruction to the first network node, where the migration
execution instruction is used to instruct the first network node to
cancel the first function of the first user, and clear context
information corresponding to the first function of the first
user.
[0030] With reference to the second aspect or the first or the
second possible implementation manner of the second aspect, in a
third possible implementation manner, the function migration
request sent by the controller to the second network node carries
an identifier of the first user and an identifier of the first
function.
[0031] With reference to the third possible implementation manner
of the second aspect, in a fourth possible implementation manner,
the function migration request includes at least one piece of the
following information:
[0032] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0033] According to a third aspect, a function migration method is
provided, including:
[0034] receiving, by a second network node, a function migration
request sent by a first network node or a controller, where the
function migration request is used to request to migrate a first
function of a first user;
[0035] sending, by the second network node, a function migration
response to the first network node or the controller;
[0036] receiving a migration execution instruction sent by the
first network node or the controller; and
[0037] executing, by the second network node, the migration
execution instruction to perform the first function service on the
first user.
[0038] With reference to the third aspect, in a first possible
implementation manner, the method includes:
[0039] receiving, by the second network node, a function migration
file sent by the first network node or the controller, where the
function migration file includes at least one piece of the
following information:
[0040] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0041] With reference to the third aspect or the first possible
implementation manner of the third aspect, in a second possible
implementation manner, the function migration request received by
the second network node carries an identifier of the first user and
an identifier of the first function.
[0042] With reference to the second possible implementation manner
of the third aspect, in a third possible implementation manner, the
function migration request includes at least one piece of the
following information:
[0043] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0044] According to a fourth aspect, a first network node is
provided, including:
[0045] a sending unit, configured to send a function migration
request to a second network node, where the function migration
request is used to request to migrate a first function of a first
user; and
[0046] a receiving unit, configured to receive a function migration
response sent by the second network node; and
[0047] the sending unit is further configured to send a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user.
[0048] With reference to the fourth aspect, in a first possible
implementation manner, the sending unit is further configured
to:
[0049] send a function migration file to the second network node,
where
[0050] the function migration file sent by the sending unit
includes at least one piece of the following information:
[0051] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0052] With reference to the fourth aspect or the first possible
implementation manner of the fourth aspect, in a second possible
implementation manner, the first network node further includes:
[0053] a release unit, configured to: cancel the first function of
the first user on the first network node, and clear context
information corresponding to the first function of the first
user.
[0054] With reference to the fourth aspect or the first or the
second possible implementation manner of the fourth aspect, in a
third possible implementation manner, the function migration
request sent by the sending unit carries an identifier of the first
user and an identifier of the first function.
[0055] With reference to the third possible implementation manner
of the fourth aspect, in a fourth possible implementation manner,
the function migration request sent by the sending unit includes at
least one piece of the following information:
[0056] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0057] According to a fifth aspect, a controller is provided,
including:
[0058] a sending unit, configured to send a function migration
request to a second network node, where the function migration
request is used to request to migrate a first function of a first
user; and
[0059] a receiving unit, configured to receive a function migration
response sent by the second network node; and
[0060] the sending unit is further configured to send a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user.
[0061] With reference to the fifth aspect, in a first possible
implementation manner, the sending unit is further configured
to:
[0062] send a function migration file to the second network node,
where
[0063] the function migration file sent by the sending unit
includes at least one piece of the following information:
[0064] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0065] With reference to the fifth aspect or the first possible
implementation manner of the fifth aspect, in a second possible
implementation manner, the sending unit is further configured
to:
[0066] send the migration execution instruction to the first
network node, where the migration execution instruction is used to
instruct the first network node to cancel the first function of the
first user, and clear context information corresponding to the
first function of the first user.
[0067] With reference to the fifth aspect or the first or the
second possible implementation manner of the fifth aspect, in a
third possible implementation manner, the function migration
request sent by the sending unit carries an identifier of the first
user and an identifier of the first function.
[0068] With reference to the third possible implementation manner
of the fifth aspect, in a fourth possible implementation manner,
the function migration request sent by the sending unit includes at
least one piece of the following information:
[0069] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0070] According to a sixth aspect, a second network node is
provided, including:
[0071] a receiving unit, configured to receive a function migration
request sent by a first network node or a controller, where the
function migration request is used to request to migrate a first
function of a first user;
[0072] a sending unit, configured to send a function migration
response to the first network node or the controller, where
[0073] the receiving unit is further configured to receive a
migration execution instruction sent by the first network node or
the controller; and
[0074] an execution unit, configured to execute the migration
execution instruction to perform the first function service on the
first user.
[0075] With reference to the sixth aspect, in a first possible
implementation manner, the receiving unit is further configured
to:
[0076] receive a function migration file sent by the first network
node or the controller, where
[0077] the function migration file received by the receiving unit
includes at least one piece of the following information:
[0078] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0079] With reference to the sixth aspect or the first possible
implementation manner of the sixth aspect, in a second possible
implementation manner, the function migration request received by
the receiving unit carries an identifier of the first user and an
identifier of the first function.
[0080] With reference to the second possible implementation manner
of the sixth aspect, in a third possible implementation manner, the
function migration request received by the receiving unit includes
at least one piece of the following information:
[0081] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0082] According to a seventh aspect, a first network node is
provided, including a processor, a transmitter, a receiver, and a
memory, where the processor, the transmitter, the receiver, and the
memory are connected to each other, the memory is configured to
store code, and when running the code stored in the memory, the
processor performs the following steps:
[0083] the processor is configured to send a function migration
request to a second network node by using the transmitter, where
the function migration request is used to request to migrate a
first function of a first user;
[0084] the processor is further configured to receive, by using the
receiver, a function migration response sent by the second network
node; and
[0085] the processor is further configured to send a migration
execution instruction to the second network node by using the
transmitter, where the migration execution instruction is used to
instruct the second network node to perform the first function
service on the first user.
[0086] With reference to the seventh aspect, in a first possible
implementation manner, the processor is further configured to:
[0087] send a function migration file to the second network node by
using the transmitter, where
[0088] the function migration file sent by the transmitter includes
at least one piece of the following information:
[0089] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0090] With reference to the seventh aspect or the first possible
implementation manner of the seventh aspect, in a second possible
implementation manner, the processor is further configured to:
[0091] cancel the first function of the first user on the first
network node, and clear context information corresponding to the
first function of the first user.
[0092] With reference to the seventh aspect or the first or the
second possible implementation manner of the seventh aspect, in a
third possible implementation manner, the function migration
request sent by the transmitter carries an identifier of the first
user and an identifier of the first function.
[0093] With reference to the third possible implementation manner
of the seventh aspect, in a fourth possible implementation manner,
the function migration request sent by the transmitter includes at
least one piece of the following information:
[0094] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0095] According to an eighth aspect, a controller is provided,
including a processor, a transmitter, a receiver, and a memory,
where the processor, the transmitter, the receiver, and the memory
are connected to each other, the memory is configured to store
code, and when running the code stored in the memory, the processor
performs the following steps:
[0096] the processor is configured to send a function migration
request to a second network node by using the transmitter, where
the function migration request is used to request to migrate a
first function of a first user;
[0097] the processor is further configured to receive, by using the
receiver, a function migration response sent by the second network
node; and
[0098] the processor is further configured to send a migration
execution instruction to the second network node by using the
transmitter, where the migration execution instruction is used to
instruct the second network node to perform the first function
service on the first user.
[0099] With reference to the eighth aspect, in a first possible
implementation manner, the processor is further configured to:
[0100] send a function migration file to the second network node by
using the transmitter, where
[0101] the function migration file sent by the transmitter includes
at least one piece of the following information:
[0102] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0103] With reference to the eighth aspect or the first possible
implementation manner of the eighth aspect, in a second possible
implementation manner, the processor is further configured to:
[0104] send the migration execution instruction to the first
network node by using the transmitter, where the migration
execution instruction is used to instruct the first network node to
cancel the first function of the first user, and clear context
information corresponding to the first function of the first
user.
[0105] With reference to the eighth aspect or the first or the
second possible implementation manner of the eighth aspect, in a
third possible implementation manner, the function migration
request sent by the transmitter carries an identifier of the first
user and an identifier of the first function.
[0106] With reference to the third possible implementation manner
of the eighth aspect, in a fourth possible implementation manner,
the function migration request sent by the transmitter includes at
least one piece of the following information:
[0107] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0108] According to a ninth aspect, a second network node is
provided, including a processor, a transmitter, a receiver, and a
memory, where the processor, the transmitter, the receiver, and the
memory are connected to each other, the memory is configured to
store code, and when running the code stored in the memory, the
processor performs the following steps:
[0109] the processor is configured to receive, by using the
receiver, a function migration request sent by a first network node
or a controller, where the function migration request is used to
request to migrate a first function of a first user;
[0110] the processor is further configured to send a function
migration response to the first network node or the controller by
using the transmitter;
[0111] the processor is further configured to receive, by using the
receiver, a migration execution instruction sent by the first
network node or the controller; and
[0112] the processor is further configured to execute the migration
execution instruction to perform the first function service on the
first user.
[0113] With reference to the ninth aspect, in a first possible
implementation manner, the processor is further configured to:
[0114] receive, by using the receiver, a function migration file
sent by the first network node or the controller; where
[0115] the function migration file received by the receiver
includes at least one piece of the following information:
[0116] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0117] With reference to the ninth aspect or the first possible
implementation manner of the ninth aspect, in a second possible
implementation manner, the function migration request received by
the receiver carries an identifier of the first user and an
identifier of the first function.
[0118] With reference to the second possible implementation manner
of the ninth aspect, in a third possible implementation manner, the
function migration request received by the receiver includes at
least one piece of the following information:
[0119] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0120] In the foregoing solutions, a first network node or a
controller actively sends a function migration request to the
second network node, and the second network node sends a function
migration response to the first network node or the controller. The
first network node or the controller sends a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a network node or a controller of a network node can actively
transfer a function service of a user between network nodes. In
this way, a network can allocate an optimal network node to the
user, and a burden on a busy network node can be reduced, so that
performance of a function used by the user and network performance
are improved.
BRIEF DESCRIPTION OF THE DRAWINGS
[0121] To describe the technical solutions in the embodiments of
the present invention more clearly, the following briefly describes
the accompanying drawings required for describing the embodiments
or the prior art. Apparently, the accompanying drawings in the
following description show merely some embodiments of the present
invention, and persons of ordinary skill in the art may still
derive other drawings from these accompanying drawings without
creative efforts.
[0122] FIG. 1 is a schematic diagram of an application scenario
according to an embodiment of the present invention;
[0123] FIG. 2 is a schematic flowchart of a function migration
method according to an embodiment of the present invention;
[0124] FIG. 3 is a schematic flowchart of a function migration
method according to another embodiment of the present
invention;
[0125] FIG. 4 is a schematic flowchart of a function migration
method according to still another embodiment of the present
invention;
[0126] FIG. 5 is a schematic flowchart of a function migration
method according to yet another embodiment of the present
invention;
[0127] FIG. 6 is a schematic flowchart of a function migration
method according to another embodiment of the present
invention;
[0128] FIG. 7 is a signaling interworking diagram of a function
migration method according to an embodiment of the present
invention;
[0129] FIG. 8 is a signaling interworking diagram of a function
migration method according to another embodiment of the present
invention;
[0130] FIG. 9 is a signaling interworking diagram of a function
migration method according to still another embodiment of the
present invention;
[0131] FIG. 10 is a signaling interworking diagram of a function
migration method according to yet another embodiment of the present
invention;
[0132] FIG. 11 is a schematic structural diagram of a first network
node according to an embodiment of the present invention;
[0133] FIG. 12 is a schematic structural diagram of a controller
according to an embodiment of the present invention;
[0134] FIG. 13 is a schematic structural diagram of a second
network node according to an embodiment of the present
invention;
[0135] FIG. 14 is a schematic structural diagram of a first network
node according to another embodiment of the present invention;
[0136] FIG. 15 is a schematic structural diagram of a controller
according to another embodiment of the present invention;
[0137] FIG. 16 is a schematic structural diagram of a second
network node according to another embodiment of the present
invention;
[0138] FIG. 17 is a schematic structural diagram of a function
migration system according to an embodiment of the present
invention; and
[0139] FIG. 18 is a schematic structural diagram of a function
migration system according to another embodiment of the present
invention.
DETAILED DESCRIPTION
[0140] The following clearly describes the technical solutions in
the embodiments of the present invention with reference to the
accompanying drawings in the embodiments of the present invention.
Apparently, the described embodiments are merely some but not all
of the embodiments of the present invention. All other embodiments
obtained by persons of ordinary skill in the art based on the
embodiments of the present invention without creative efforts shall
fall within the protection scope of the present invention.
[0141] An embodiment of the present invention is applied to a
network system with SDN and NFV functions. When a user uses a
function service, an SDN may separate data of a control function
from data of the user, so as to flexibly control a network. An NFV
enables a network node to provide a function for the user by using
a virtual machine instead of relying on a dedicated device. As
shown in FIG. 1, the network system includes a network node and a
network node controller. The network node is configured to provide
a corresponding function service for the user; the network node
controller is configured to send an indication signal to the
network node, so as to control the network node; and the network
node reports information to the network node controller. A network
node controller may control a network node in a coverage area of
the network node controller. The network node controller may also
send an indication signal to another network node controller, and
the indication signal is sent to a corresponding network node by
the another network node controller. In this way, the network node
controller may send, by using the another network node controller,
indication information to a network node that is beyond the
coverage area of the network node controller.
[0142] An embodiment of the present invention provides a function
migration method. As shown in FIG. 2, the method includes the
following steps.
[0143] 101. A first network node sends a function migration request
to a second network node.
[0144] Before sending the function migration request, the first
network node determines whether the first network node is
overloaded, or determines whether a transmission signal of a first
function used by a first user is fine, so as to determine whether
function migration needs to be performed.
[0145] The function migration request is used to request to migrate
the first function of the first user.
[0146] Optionally, the function migration request may carry an
identifier of the first user and an identifier of the first
function.
[0147] Further optionally, the function migration request may
further carry at least one piece of the following information:
[0148] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size. The information is provided for the
second network node, so that the second network node can determine
whether the second network node has a capability of supporting the
first function of the first user.
[0149] 102. The first network node receives a function migration
response sent by the second network node.
[0150] The function migration response includes a response of
accepting migration or a response of refusing migration. After
receiving the function migration request sent by the first network
node, the second network node determines whether the second network
node has the capability of supporting the first function of the
first user. If the second network node is capable of supporting the
first function of the first user, the response of accepting
migration is sent as the function migration response. If the second
network node does not support the first function of the first user,
the response of refusing migration is sent as the function
migration response.
[0151] 103. The first network node sends a migration execution
instruction to the second network node.
[0152] The migration execution instruction is used to instruct the
second network node to perform the first function service on the
first user.
[0153] Optionally, as shown in FIG. 3, the method further
includes:
[0154] 104. The first network node sends a function migration file
to the second network node.
[0155] The function migration file includes at least one piece of
the following information:
[0156] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0157] When the first network node shares no information with the
second network node, the first network node needs to send the
function migration file to the second network node, that is,
transfer function service info Elation that is on the first network
node and that is of the first user to the second network node.
[0158] Further optionally, the method further includes:
[0159] 105. The first network node cancels a first function of a
first user, and clears context information corresponding to the
first function of the first user.
[0160] Because the second network node implements the first
function on the first user, the first network node ends the first
function of the first user, and clears related information.
[0161] In the foregoing embodiment, a first network node actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the first network node is a response
of accepting migration, the first network node sends a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user. Therefore, a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0162] An embodiment of the present invention provides a function
migration method. As shown in FIG. 4, the method includes the
following steps.
[0163] 201. A controller sends a function migration request to a
second network node.
[0164] The controller determines whether work of a first network
node is overloaded, or determines whether a transmission signal of
a first function used by a first user is fine, so as to determine
whether function migration needs to be performed. The controller is
a device that may participate in a network control function, such
as an SDN controller, a network controller, or a network manager,
or a combination of these devices.
[0165] The function migration request is used to request to migrate
the first function of the first user.
[0166] Optionally, the function migration request may carry an
identifier of the first user and an identifier of the first
function.
[0167] Further optionally, the function migration request may
further carry at least one piece of the following information:
[0168] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size. The information is provided for the
second network node, so that the second network node can determine
whether the second network node has a capability of supporting the
first function of the first user.
[0169] 202. The controller receives a function migration response
sent by the second network node.
[0170] The function migration response includes a response of
accepting migration or a response of refusing migration. After
receiving the function migration request sent by the controller,
the second network node determines whether the second network node
has the capability of supporting the first function of the first
user. If the second network node is capable of supporting the first
function of the first user, the response of accepting migration is
sent as the function migration response. If the second network node
does not support the first function of the first user, the response
of refusing migration is sent as the function migration
response.
[0171] 203. The controller sends a migration execution instruction
to the second network node.
[0172] The migration execution instruction is used to instruct the
second network node to perform the first function service on the
first user.
[0173] Optionally, as shown in FIG. 5, the method further
includes:
[0174] 204. The controller sends a function migration file to the
second network node.
[0175] The function migration file includes at least one piece of
the following information:
[0176] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0177] When the first network node shares no information with the
second network node, a controller of the first network node needs
to send the function migration file to the second network node. The
controller of the first network node may obtain the function
migration file from the first network node, that is, transfer
function service information that is on the first network node and
that is of the first user to the second network node.
[0178] Further optionally, if the function migration response
received by the controller is the response of accepting migration,
the method further includes:
[0179] 205. The controller sends the migration execution
instruction to the first network node.
[0180] The migration execution instruction is used to instruct the
first network node to cancel the first function of the first user,
and clear context information corresponding to the first function
of the first user.
[0181] In the foregoing embodiment, a controller actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the controller is a response of
accepting migration, the controller sends a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a controller of a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0182] An embodiment of the present invention provides a function
migration method. As shown in FIG. 6, the method includes the
following steps.
[0183] 301. A second network node receives a function migration
request sent by a first network node or a controller.
[0184] The function migration request is used to request to migrate
a first function of a first user.
[0185] Optionally, the function migration request received by the
second network node carries an identifier of the first user and an
identifier of the first function.
[0186] Further optionally, the function migration request may
further carry at least one piece of the following information:
[0187] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0188] 302. The second network node sends a function migration
response to the first network node or the controller.
[0189] Referring to step 102 and step 202, if the second network
node accepts the function migration request, the function migration
response that is fed back is a response of accepting migration; if
the second network node does not accept the function migration
request, the function migration response that is fed back is a
response of refusing migration.
[0190] 303. The second network node receives a migration execution
instruction sent by the first network node or the controller.
[0191] Optionally, the method further includes:
[0192] 303-a. The second network node receives a function migration
file sent by the first network node or the controller.
[0193] The function migration file includes at least one piece of
the following information:
[0194] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0195] Specifically, referring to step 104 and step 105, if the
second network node includes function service information that is
on the first network node and that is of the first user, the
function migration file does not need to be received. If the second
network node does not have function service information that is on
the first network node and that is of the first user, the function
migration file sent by the first network node or the controller is
received, so that the first user can use the first function without
interruption.
[0196] 304. The second network node executes the migration
execution instruction to perform a first function service on a
first user.
[0197] In the foregoing embodiment, a second network node receives
a function migration request actively sent by a first network node
or a controller. If a function migration response sent by the
second network node is a response of accepting migration, the
second network node receives a migration execution instruction sent
by the first network node or the controller, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a network node can actively transfer a function service of a user
between network nodes. In this way, a network can allocate an
optimal network node to the user, and a burden on a busy network
node can be reduced, so that performance of a function used by the
user and network performance are improved.
[0198] Exemplarily, an embodiment of the present invention provides
a function migration method. As shown in FIG. 7, a first network
node actively determines whether to migrate a first function of a
first user. The first network node may exchange information with a
second network node, and a function can be migrated without using a
network node controller. The method includes the following
steps.
[0199] 401. The first network node determines to migrate the first
function of the first user from the first network node to the
second network node.
[0200] 402. The first network node sends a function migration
request to the second network node.
[0201] Correspondingly, the second network node receives the
function migration request sent by the first network node. Specific
description is in step 102, and details are not described herein
again.
[0202] 403. The second network node determines whether to accept
the function migration request, and feeds back a function migration
response to the first network node.
[0203] Specific description is in step 302, and details are not
described herein again.
[0204] 404. The first network node receives the function migration
response sent by the second network node.
[0205] 405. If the function migration response received by the
first network node is a response of accepting migration, the first
network node sends a migration execution instruction to the second
network node.
[0206] Optionally, the method further includes:
[0207] 406. The first network node sends a function migration file
to the second network node.
[0208] Specific description is in step 104 and step 303-a, and
details are not described herein again.
[0209] Optionally, the method further includes:
[0210] 407. The first network node cancels the first function of
the first user, and clears context information corresponding to the
first function of the first user.
[0211] 408. The second network node executes the migration
execution instruction to perform a first function service on the
first user.
[0212] Further optionally, an embodiment of the present invention
provides a function migration method. As shown in FIG. 8, a
controller of a first network node actively determines whether to
migrate a first function of a first user. The first network node
shares a same network node controller with a second network node,
that is, the network node controller is a controller of the first
network node and a controller of the second network node. The
method includes the following steps.
[0213] 501. The network node controller determines to migrate the
first function of the first user from the first network node to the
second network node.
[0214] Specific description is in step 201, and details are not
described herein again.
[0215] 502. The network node controller sends a function migration
request to the second network node.
[0216] Specific description is in step 201, and details are not
described herein again.
[0217] 503. The second network node determines whether to accept
the function migration request, and feeds back a function migration
response to the network node controller.
[0218] Specific description is in step 302, and details are not
described herein again.
[0219] 504. The network node controller receives the function
migration response sent by the second network node.
[0220] 505. If the function migration response received by the
network node controller is a response of accepting migration, the
first network node sends a migration execution instruction to the
second network node.
[0221] Optionally, the method further includes:
[0222] 506. The network node controller sends the migration
execution instruction to the first network node.
[0223] Specific description is in step 205, and details are not
described herein again.
[0224] Optionally, the method further includes:
[0225] 507. The network node controller sends a function migration
file to the second network node.
[0226] Specific description is in step 204 and step 303-a, and
details are not described herein again.
[0227] 508. The first network node cancels the first function of
the first user, and clears context information corresponding to the
first function of the first user.
[0228] 509. The second network node executes the migration
execution instruction to perform a first function service on the
first user.
[0229] Further optionally, an embodiment of the present invention
provides a function migration method. As shown in FIG. 9, a first
network node actively determines whether to migrate a first
function of a first user. The first network node and a second
network node separately belong to different network node
controllers, that is, a controller of the first network node is
configured to control the first network node, and a controller of
the second network node is configured to control the second network
node. Steps of this embodiment are the same as step 401 to step 408
of the embodiment corresponding to FIG. 7, and details are not
described herein again. A difference lies in that the first network
node is not capable of directly exchanging information with the
second network node, and forwarding needs to be performed by using
the network node controller. That is, information of the first
network node needs to be sent to the controller of the first
network node, and then sent to the controller of the second network
node by the controller of the first network node, and finally the
controller of the second network node forwards the information to
the second network node. Similarly, information of the second
network node needs to be sent to the controller of the second
network node, and then sent to the controller of the first network
node by the controller of the second network node, and finally the
controller of the first network node forwards the information to
the first network node. In this way, the controller of the first
network node and the controller of the second network node play a
role of forwarding.
[0230] Further optionally, an embodiment of the present invention
provides a function migration method. As shown in FIG. 10, a
controller of a first network node actively determines whether to
migrate a first function of a first user. The first network node
and a second network node separately belong to different network
node controllers, that is, the controller of the first network node
is configured to control the first network node, and a controller
of the second network node is configured to control the second
network node. Steps of this embodiment are the same as step 501 to
step 509 of the embodiment corresponding to FIG. 8, and details are
not described herein again. A difference lies in that the
controller of the first network node is not capable of directly
exchanging information with the second network node, and forwarding
needs to be performed by using the controller of the second network
node. That is, information of the controller of the first network
node needs to be sent to the controller of the second network node,
and then the controller of the second network node forwards the
information to the second network node. Similarly, information of
the second network node needs to be sent to the controller of the
second network node, and then sent to the controller of the first
network node by the controller of the second network node. In this
way, the controller of the second network node plays a role of
forwarding.
[0231] In the foregoing embodiments, a first network node or a
controller of a first network node actively determines to migrate a
first function of a first user from the first network node to a
second network node, and sends a function migration request to the
second network node. The second network node determines whether to
accept function migration. If the function migration response
received by the first network node or the controller of the first
network node is a response of accepting migration, the first
network node or the controller of the first network node sends a
migration execution instruction to the second network node, where
the migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user. Therefore, a network node or a controller of a network node
can actively transfer a function service of a user between network
nodes. In this way, a network can allocate an optimal network node
to the user, and a burden on a busy network node can be reduced, so
that performance of a function used by the user and network
performance are improved.
[0232] An embodiment of the present invention provides a first
network node 600 that is configured to migrate a first function
that is used by a first user and that is on the first network node
600 to a second network node. As shown in FIG. 11, the network node
includes a sending unit 601 and a receiving unit 602.
[0233] The sending unit 601 is configured to send a function
migration request to the second network node.
[0234] The function migration request is used to request to migrate
the first function of the first user.
[0235] Optionally, the function migration request sent by the
sending unit 601 carries an identifier of the first user and an
identifier of the first function.
[0236] Further optionally, the function migration request sent by
the sending unit includes at least one piece of the following
information:
[0237] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0238] The receiving unit 602 is configured to receive a function
migration response sent by the second network node.
[0239] After receiving the function migration request sent by the
first network node, the second network node determines whether the
second network node has a capability of supporting the first
function of the first user. If the second network node is capable
of supporting the first function of the first user, a response of
accepting migration is sent as the function migration response. If
the second network node does not support the first function of the
first user, a response of refusing migration is sent as the
function migration response.
[0240] The sending unit 601 is further configured to send a
migration execution instruction to the second network node.
[0241] The migration execution instruction is used to instruct the
second network node to perform a first function service on the
first user.
[0242] Optionally, the sending unit 601 is further configured to
send a function migration file to the second network node.
[0243] The function migration file sent by the sending unit 601
includes at least one piece of the following information:
[0244] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0245] When the first network node shares no information with the
second network node, the first network node needs to send the
function migration file to the second network node, that is,
transfer function service information that is on the first network
node and that is of the first user to the second network node.
[0246] Further optionally, the first network node 600 further
includes:
[0247] a release unit 603, configured to: cancel the first function
of the first user, and clear context information corresponding to
the first function of the first user.
[0248] Because the second network node implements the first
function on the first user, the first network ends the first
function of the first user, and clears related information.
[0249] In the foregoing embodiment, a first network node actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the first network node is a response
of accepting migration, the first network node sends a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user. Therefore, a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0250] An embodiment of the present invention provides a controller
700 that is configured to migrate a first function that is used by
a first user and that is on a first network node to a second
network node. As shown in FIG. 12, the controller 700 includes a
sending unit 701 and a receiving unit 702.
[0251] The sending unit 701 is configured to send a function
migration request to the second network node.
[0252] The function migration request is used to request to migrate
the first function of the first user.
[0253] Optionally, the function migration request sent by the
sending unit 701 carries an identifier of the first user and an
identifier of the first function.
[0254] Further optionally, the function migration request sent by
the sending unit includes at least one piece of the following
information:
[0255] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0256] The receiving unit 702 is configured to receive a function
migration response sent by the second network node.
[0257] After receiving the function migration request sent by the
controller, the second network node determines whether the second
network node has a capability of supporting the first function of
the first user. If the second network node is capable of supporting
the first function of the first user, a response of accepting
migration is sent as the function migration response. If the second
network node does not support the first function of the first user,
a response of refusing migration is sent as the function migration
response.
[0258] The sending unit 701 is further configured to send a
migration execution instruction to the second network node.
[0259] The migration execution instruction is used to instruct the
second network node to perform the first function service on the
first user.
[0260] Optionally, the sending unit 701 is further configured to
send a function migration file to the second network node.
[0261] The function migration file sent by the sending unit 701
includes at least one piece of the following information:
[0262] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0263] When the first network node shares no information with the
second network node, a controller of the first network node needs
to send the function migration file to the second network node. The
controller of the first network node may obtain the function
migration file from the first network node, that is, transfer
function service information that is on the first network node and
that is of the first user to the second network node.
[0264] Further optionally, the sending unit 701 is further
configured to send the migration execution instruction to the first
network node.
[0265] The migration execution instruction is used to instruct the
first network node to cancel the first function of the first user,
and clear context information corresponding to the first function
of the first user.
[0266] In the foregoing embodiment, a controller actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the controller is a response of
accepting migration, the controller sends a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a controller of a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0267] An embodiment of the present invention provides a second
network node 800. As shown in FIG. 13, the second network node 800
is configured to migrate a first function of a first user on a
first network node to a local second network node. The second
network node 800 includes a receiving unit 801, a sending unit 802,
and an execution unit 803.
[0268] The receiving unit 801 is configured to receive a function
migration request sent by the first network node or a
controller.
[0269] The function migration request is used to request to migrate
the first function of the first user.
[0270] Optionally, the function migration request received by the
receiving unit 801 carries an identifier of the first user and an
identifier of the first function.
[0271] Further optionally, the function migration request may
further carry at least one piece of the following information:
[0272] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0273] The sending unit 802 is configured to send a function
migration response to the first network node or the controller.
[0274] After receiving the function migration request sent by the
controller, the second network node determines whether the second
network node has a capability of supporting the first function of
the first user. If the second network node is capable of supporting
the first function of the first user, a response of accepting
migration is sent as the function migration response. If the second
network node does not support the first function of the first user,
a response of refusing migration is sent as the function migration
response.
[0275] The receiving unit 801 is further configured to receive a
migration execution instruction sent by the first network node or
the controller.
[0276] Optionally, the receiving unit 801 is further configured
to:
[0277] receive a function migration file sent by the first network
node or the controller.
[0278] The function migration file received by the receiving unit
801 includes at least one piece of the following information:
[0279] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0280] If the second network node includes function service
information that is on the first network node and that is of the
first user, the function migration file does not need to be
received. If the second network node does not have function service
information that is on the first network node and that is of the
first user, the function migration file sent by the first network
node or the controller is received, so that the first user can use
the first function without interruption.
[0281] The execution unit 803 is configured to execute the
migration execution instruction to perform a first function service
on the first user.
[0282] In the foregoing embodiment, a second network node receives
a function migration request actively sent by a first network node
or a controller. If a function migration response sent by the
second network node is a response of accepting migration, the
second network node receives a migration execution instruction sent
by the first network node or the controller, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a network node can actively transfer a function service of a user
between network nodes. In this way, a network can allocate an
optimal network node to the user, and a burden on a busy network
node can be reduced, so that performance of a function used by the
user and network performance are improved.
[0283] An embodiment of the present invention provides a first
network node 900. As shown in FIG. 14, the first network node 900
includes a processor 901, a transmitter 902, a receiver 903, and a
memory 904, where the processor 901, the transmitter 902, the
memory 903, and the memory 904 are connected to each other, and the
memory 904 is configured to store code. When performing an
operation, the processor 901 needs to invoke the corresponding code
stored in the memory 904, so as to implement a corresponding
function.
[0284] Specifically, the memory 904 is configured to store
executable program code, and the program code includes computer
operation instructions. The memory 904 may include a high-speed RAM
memory, and may further include a non-volatile memory (non-volatile
memory) such as at least one disk memory.
[0285] The processor 901 may be a central processing unit (Central
Processing Unit, CPU for short), or an application-specific
integrated circuit (Application Specific Integrated Circuit, ASIC
for short), or one or more integrated circuits configured to
implement this embodiment of the present invention.
[0286] The processor 901 is configured to send a function migration
request to a second network node by using the transmitter 902.
[0287] The function migration request is used to request to migrate
a first function of a first user.
[0288] Optionally, the function migration request sent by the
transmitter 902 carries an identifier of the first user and an
identifier of the first function.
[0289] Further optionally, the function migration request sent by
the transmitter 902 includes at least one piece of the following
information:
[0290] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0291] When performing the operation, the processor 901 invokes the
code stored in the memory 904, and sends the function migration
request by using the transmitter 902, so as to implement the
foregoing function of sending the function migration request.
[0292] The processor 901 is further configured to receive, by using
the receiver, a function migration response sent by the second
network node.
[0293] When performing the operation, the processor 901 invokes the
code stored in the memory 904, and receives the function migration
response by using the receiver 903, so as to implement the
foregoing function of receiving the function migration
response.
[0294] After receiving the function migration request sent by the
first network node, the second network node determines whether the
second network node has a capability of supporting the first
function of the first user. If the second network node is capable
of supporting the first function of the first user, a response of
accepting migration is sent as the function migration response. If
the second network node does not support the first function of the
first user, a response of refusing migration is sent as the
function migration response.
[0295] The processor 901 is further configured to send a migration
execution instruction to the second network node by using the
transmitter.
[0296] The migration execution instruction is used to instruct the
second network node to perform the first function service on the
first user. When performing the operation, the processor 901
invokes the code stored in the memory 904, and sends the migration
execution instruction by using the transmitter 902, so as to
implement the foregoing function of sending the migration execution
instruction.
[0297] Optionally, the processor 901 is further configured to send
a function migration file to the second network node by using the
transmitter 902.
[0298] The function migration file sent by the transmitter 901
includes at least one piece of the following information:
[0299] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0300] When the first network node shares no information with the
second network node, the first network node needs to send the
function migration file to the second network node, that is,
transfer function service information that is on the first network
node and that is of the first user to the second network node.
[0301] When performing the operation, the processor 901 invokes the
code stored in the memory 904, and sends the function migration
file by using the transmitter 902, so as to implement the foregoing
function of sending the function migration file.
[0302] Further optionally, the processor 901 is further configured
to:
[0303] cancel the first function of the first user, and clear
context information corresponding to the first function of the
first user.
[0304] When performing the operation, the processor 901 invokes the
code stored in the memory 904, so as to implement the foregoing
function of releasing the first function of the first user.
[0305] Because the second network node implements the first
function on the first user, the first network ends the first
function of the first user, and clears related information.
[0306] In the foregoing embodiment, a first network node actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the first network node is a response
of accepting migration, the first network node sends a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user. Therefore, a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0307] An embodiment of the present invention provides a controller
1000. As shown in FIG. 15, the controller 1000 includes a processor
1001, a transmitter 1002, a receiver 1003, and a memory 1004, where
the processor 1001, the transmitter 1002, the memory 1003, and the
memory 1004 are connected to each other, and the memory 1004 is
configured to store code. When performing an operation, the
processor 1001 needs to invoke the corresponding code stored in the
memory 1004, so as to implement a corresponding function.
[0308] Specifically, the memory 1004 is configured to store
executable program code, and the program code includes computer
operation instructions. The memory 1004 may include a high-speed
RAM memory, and may further include a non-volatile memory
(non-volatile memory) such as at least one disk memory.
[0309] The processor 1001 may be a central processing unit (Central
Processing Unit, CPU for short), or an application-specific
integrated circuit (Application Specific Integrated Circuit, ASIC
for short), or one or more integrated circuits configured to
implement this embodiment of the present invention.
[0310] The processor 1001 is configured to send a function
migration request to a second network node by using the transmitter
1002.
[0311] The function migration request is used to request to migrate
a first function of a first user.
[0312] Optionally, the function migration request sent by the
transmitter 1002 carries an identifier of the first user and an
identifier of the first function.
[0313] Further optionally, the function migration request sent by
the transmitter 1002 includes at least one piece of the following
information:
[0314] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0315] When performing the operation, the processor 1001 invokes
the code stored in the memory 1004, and sends the function
migration request by using the transmitter 1002, so as to implement
the foregoing function of sending the function migration
request.
[0316] The processor 1001 is configured to receive, by using the
receiver 1003, a function migration response sent by the second
network node.
[0317] When performing the operation, the processor 1001 invokes
the code stored in the memory 1004, and receives the function
migration response by using the receiver 1003, so as to implement
the foregoing function of receiving the function migration
response.
[0318] After receiving the function migration request sent by the
controller, the second network node determines whether the second
network node has a capability of supporting the first function of
the first user. If the second network node is capable of supporting
the first function of the first user, a response of accepting
migration is sent as the function migration response. If the second
network node does not support the first function of the first user,
a response of refusing migration is sent as the function migration
response.
[0319] The processor 1001 is further configured to send a migration
execution instruction to the second network node by using the
transmitter 1002.
[0320] The migration execution instruction is used to instruct the
second network node to perform the first function service on the
first user. When performing the operation, the processor 1001
invokes the code stored in the memory 1004, and sends the migration
execution instruction by using the transmitter 1002, so as to
implement the foregoing function of sending the migration execution
instruction.
[0321] Optionally, the processor 1001 is further configured to send
a function migration file to the second network node by using the
transmitter 1002.
[0322] The function migration file sent by the transmitter 1002
includes at least one piece of the following information:
[0323] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0324] When the first network node shares no information with the
second network node, a controller of the first network node needs
to send the function migration file to the second network node. The
controller of the first network node may obtain the function
migration file from the first network node, that is, transfer
function service information that is on the first network node and
that is of the first user to the second network node.
[0325] When performing the operation, the processor 1001 invokes
the code stored in the memory 1004, and sends the function
migration file by using the transmitter 1002, so as to implement
the foregoing function of sending the function migration file.
[0326] Further optionally, the processor 1001 is further configured
to send a migration execution instruction to the first network node
by using the transmitter 1002.
[0327] When performing the operation, the processor 1001 invokes
the code stored in the memory 1004, and sends the migration
execution instruction by using the transmitter 1002, so as to
implement the foregoing function of sending the migration execution
instruction.
[0328] The migration execution instruction is used to instruct the
first network node to cancel the first function of the first user,
and clear context information corresponding to the first function
of the first user.
[0329] In the foregoing embodiment, a controller actively
determines to transfer a first function of a first user from the
first network node to a second network node, and sends a function
migration request to the second network node. If the function
migration response received by the controller is a response of
accepting migration, the controller sends a migration execution
instruction to the second network node, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a controller of a network node can actively transfer a function
service of a user between network nodes. In this way, a network can
allocate an optimal network node to the user, and a burden on a
busy network node can be reduced, so that performance of a function
used by the user and network performance are improved.
[0330] An embodiment of the present invention provides a second
network node 1100. As shown in FIG. 16, the second network node
1100 includes a processor 1101, a transmitter 1102, a receiver
1103, and a memory 1104, where the processor 1101, the transmitter
1102, the memory 1103, and the memory 1104 are connected to each
other, and the memory 1104 is configured to store code. When
performing an operation, the processor 1101 needs to invoke the
corresponding code stored in the memory 1104, so as to implement a
corresponding function.
[0331] Specifically, the memory 1104 is configured to store
executable program code, and the program code includes computer
operation instructions. The memory 1104 may include a high-speed
RAM memory, and may further include a non-volatile memory
(non-volatile memory) such as at least one disk memory.
[0332] The processor 1101 may be a central processing unit (Central
Processing Unit, CPU for short), or an application-specific
integrated circuit (Application Specific Integrated Circuit, ASIC
for short), or one or more integrated circuits configured to
implement this embodiment of the present invention.
[0333] The processor 1101 is configured to receive, by using the
receiver 1103, a function migration request sent by a first network
node or a controller.
[0334] The function migration request is used to request to migrate
a first function of a first user.
[0335] Optionally, the function migration request received by the
receiver 1103 carries an identifier of the first user and an
identifier of the first function.
[0336] Further optionally, the function migration request may
further carry at least one piece of the following information:
[0337] an interface for migration of a virtual machine at an
application layer, a virtual machine identification, a bandwidth
allocation interface, a bandwidth size, a radio air interface
scheduling priority interface, an air interface scheduling
priority, or a delay size.
[0338] When performing the operation, the processor 1101 invokes
the code stored in the memory 1104, and receives the function
migration request by using the receiver 1103, so as to implement
the foregoing function of receiving the function migration
request.
[0339] The processor 1101 sends a function migration response to
the first network node or the controller by using the transmitter
1102.
[0340] When performing the operation, the processor 1101 invokes
the code stored in the memory 1104, and sends the function
migration response by using the transmitter 1102, so as to
implement the foregoing function of sending the function migration
response.
[0341] After receiving the function migration request sent by the
controller, the second network node determines whether the second
network node has a capability of supporting the first function of
the first user. If the second network node is capable of supporting
the first function of the first user, a response of accepting
migration is sent as the function migration response. If the second
network node does not support the first function of the first user,
a response of refusing migration is sent as the function migration
response.
[0342] The processor 1101 is further configured to receive, by
using the receiver 1103, a migration execution instruction sent by
the first network node or the controller.
[0343] Optionally, the receiver 1103 is further configured to:
[0344] receive a function migration file sent by the first network
node or the controller.
[0345] The function migration file received by the receiver 1103
includes at least one piece of the following information:
[0346] a mirror program of the first function of the first user,
configuration information of the first user, a radio air interface
scheduling priority, service data information of the first user, or
assured bandwidth of the first user.
[0347] When performing the operation, the processor 1101 invokes
the code stored in the memory 1104, and receives the function
migration file by using the receiver 1103, so as to implement the
foregoing function of receiving the function migration file.
[0348] If the second network node includes function service
information that is on the first network node and that is of the
first user, the function migration file does not need to be
received. If the second network node does not have function service
information that is on the first network node and that is of the
first user, the function migration file sent by the first network
node or the controller is received, so that the first user can use
the first function without interruption.
[0349] The processor 1101 is further configured to execute the
migration execution instruction to perform a first function service
on the first user.
[0350] When performing the operation, the processor 1101 invokes
the code stored in the memory 1104, so as to implement the first
function of the first user.
[0351] In the foregoing embodiment, a second network node receives
a function migration request actively sent by a first network node
or a controller. If a function migration response sent by the
second network node is a response of accepting migration, the
second network node receives a migration execution instruction sent
by the first network node or the controller, where the migration
execution instruction is used to instruct the second network node
to perform the first function service on the first user. Therefore,
a network node can actively transfer a function service of a user
between network nodes. In this way, a network can allocate an
optimal network node to the user, and a burden on a busy network
node can be reduced, so that performance of a function used by the
user and network performance are improved.
[0352] An embodiment of the present invention provides a function
migration system that includes:
[0353] at least one first network node 1201, and at least one
second network node 1202.
[0354] In a function migration system of a first type, as shown in
FIG. 17, the first network node 1201 may directly exchange
information with the second network node 1202, which is applied to
the embodiment corresponding to FIG. 7.
[0355] In the function migration system of the first type, the
first network node 1201 is the first network node 600 corresponding
to FIG. 11, and the second network node 1202 is the first network
node 800 corresponding to FIG. 13; or the first network node 1201
is the first network node 900 corresponding to FIG. 14, and the
second network node 1202 is the first network node 1100
corresponding to FIG. 16.
[0356] Optionally, as shown in FIG. 18, a function migration system
of a second type further includes a controller 1203. The first
network network node 1201 needs to exchange information with the
second network node 1202 by using the controller 1203, which is
applied to the embodiment corresponding to FIG. 8.
[0357] In the function migration system of the second type, the
first network node 1201 is the first network node 600 corresponding
to FIG. 11, the second network node 1202 is the first network node
800 corresponding to FIG. 13, and the controller 1203 is the
controller 700 corresponding to FIG. 12; or the first network node
1201 is the first network node 900 corresponding to FIG. 14, the
second network node 1202 is the first network node 1100
corresponding to FIG. 16, and the controller 1203 is the controller
1000 corresponding to FIG. 12.
[0358] Further, when the first network node 1201 and the second
network node 1202 do not belong to a coverage area of a same
controller, a message needs to be transferred by using another
transfer controller 1204 (identified by a dashed-line elliptic box
in FIG. 18), which is applied to a scenario corresponding to FIG. 9
or FIG. 10.
[0359] In the foregoing system, a first network node or a
controller actively sends a function migration request to the
second network node, the second network node sends a function
migration response to the first network node or the controller, and
the first network node or the controller sends a migration
execution instruction to the second network node, where the
migration execution instruction is used to instruct the second
network node to perform the first function service on the first
user. Therefore, a network node or a controller of a network node
can actively transfer a function service of a user between network
nodes. In this way, a network can allocate an optimal network node
to the user, and a burden on a busy network node can be reduced, so
that performance of a function used by the user and network
performance are improved.
[0360] The foregoing descriptions are merely specific
implementation manners of the present invention, but are not
intended to limit the protection scope of the present invention.
Any variation or replacement readily figured out by persons skilled
in the art within the technical scope disclosed in the present
invention shall fall within the protection scope of the present
invention. Therefore, the protection scope of the present invention
is subject to the protection scope of the claims.
* * * * *