The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for running a network function.
In a current wireless network system, a function of a network device node is generally unchanged. After a device vendor sells a device to an operator, the device has a fixed network function, and if the device vendor does not update or upgrade the device, the network function of the device generally remains unchanged. Generally, the network device node is a wireless access point (AP).
Currently, in wireless communication, a network function is provided for a user service using a network as a center. A user can perform communication only using a network, a technology, and a network function that are supported in a current position. For example, a high-definition video conversation is used for a user service in a position. When the user service moves to a position in which a high-definition video conversation function is not supported, the user cannot carry on the high-definition video conversation any more.
However, when a network function is provided for a user service using the network as a center, and when the user service is switched from a source node to a target node in a moving process in the network, there is a possibility that a capability of the target node does not meet a current network function requirement of the user service. Therefore, the same network function cannot be obtained when the user service is switched from the source node to the target node, and further, consistent network-wide service experience cannot be provided for the user service on different nodes in the network.
Embodiments of the present disclosure provide a method and an apparatus for running a network function such that consistent network-wide service experience can be provided for a user service on different nodes in a network.
Technical solutions used in the embodiments of the present disclosure are as follows
According to a first aspect, an embodiment of the present disclosure provides a method for running a network function, including receiving information, sent by a source node, about a network function required by a user service, where the information about the network function carries identifier information corresponding to the network function, and running the network function when the network function is not already running.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the information about the network function carries at least one type of the following information a name of the network function, an identity of the network function, a version of the network function, or parameter information required for running the network function.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the running the network function when the network function is not already running includes downloading a module corresponding to the network function and running the network function.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, after the downloading a module corresponding to the network function and running the network function, the method further includes uninstalling the module corresponding to the network function when the user service is switched to another node.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the receiving information, sent by a source node, about a network function required by a user service includes receiving service quality required by the user service and the information, sent by the source node, about the network function required by the user service, and the step of the running the network function that is not running includes running the network function if the service quality required by the user service is achieved.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes, if the service quality required by the user service is not achieved, sending, to the source node, feedback information indicating that switching of the user service is not allowed.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, after the running the network function, the method further includes sending, to the source node, feedback information indicating that switching of the user service is allowed.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, the fifth possible implementation manner of the first aspect, or the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the information about the network function is protocol feature information.
According to a second aspect, an embodiment of the present disclosure provides an apparatus for running a network function, including a receiving unit configured to receive information, sent by a source node, about a network function required by a user service, where the information about the network function carries identifier information corresponding to the network function, and a running unit configured to run the network function when the network function received by the receiving unit is not running.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the information, received by the receiving unit, about the network function carries at least one type of the following information a name of the network function, or an identity of the network function, or a version of the network function, or parameter information required for running the network function.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes a downloading unit, the downloading unit is configured to download a module corresponding to the network function received by the receiving unit, and the running unit is configured to run the network function downloaded by the downloading unit.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes an uninstallation unit, and the uninstallation unit is configured to, when the user service is switched to another node, uninstall the module that is corresponding to the network function and that is downloaded by the downloading unit.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the receiving unit is configured to receive service quality required by the user service and the information, sent by the source node, about the network function required by the user service, and the running unit is configured to run the network function when the service quality that is required by the user service and that is received by the receiving unit is achieved.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes a sending unit, and the sending unit is configured to send, to the source node when the service quality that is required by the user service and that is received by the receiving unit is not achieved, feedback information indicating that switching of the user service is not allowed.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the apparatus further includes a sending unit, and the sending unit is further configured to send, to the source node, feedback information indicating that switching of the user service is allowed.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, the third possible implementation manner of the second aspect, the fourth possible implementation manner of the second aspect, the fifth possible implementation manner of the second aspect, or the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect, the information, received by the receiving unit, about the network function is protocol feature information.
According to a third aspect, an embodiment of the present disclosure provides a target node, including a receiver configured to receive information, sent by a source node, about a network function required by a user service, where the information about the network function carries identifier information corresponding to the network function, and a processor configured to run the network function when the network function received by the receiver is not running.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the information, received by the receiver, about the network function carries at least one type of the following information a name of the network function, or an identity of the network function, or a version of the network function, or parameter information required for running the network function.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processor is further configured to download a module corresponding to the network function received by the receiver, and run the network function.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the processor is further configured to uninstall the module corresponding to the network function when the user service is switched to another node.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the receiver is configured to receive service quality required by the user service and the information, sent by the source node, about the network function required by the user service, and the processor is configured to run the network function when the service quality that is required by the user service and that is received by the receiver is achieved.
With reference to the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the apparatus further includes a transmitter, and the transmitter is configured to send, to the source node when the service quality that is required by the user service and that is received by the receiver is not achieved, feedback information indicating that switching of the user service is not allowed.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the apparatus further includes a transmitter, and the sending unit is further configured to send, to the source node, feedback information indicating that switching of the user service is allowed.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, the fourth possible implementation manner of the third aspect, the fifth possible implementation manner of the third aspect, or the sixth possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect, the information, received by the receiver, about the network function is protocol feature information.
According to the method and the apparatus for running a network function provided in the embodiments of the present disclosure, information, sent by a source node, about a network function required by a user service is received, and the network function is run if the network function is not running. Currently, a network function is provided for a user service using a network as a center. By contrast, in the present disclosure, when a target node does not meet a requirement of a network function required by a user service, the target node downloads the corresponding network function from a server and runs the network function such that the same network function can be obtained when the user service is switched from the source node to the target node. Therefore, a required network function can be provided for a user service using the user service as a center, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are merely some but not all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
To make the advantages of the technical solutions of the present disclosure clearer, the following describes the present disclosure in detail with reference to the accompanying drawings and embodiments.
The technical solution provided in the embodiments of the present disclosure may be used in an architecture of a system for running a network function, as shown in
An embodiment of the present disclosure provides a method for running a network function. As shown in
201. A target node receives information, sent by a source node, about a network function required by a user service.
The information about the network function carries identifier information corresponding to the network function, where an identifier corresponding to the network function may be a name, an identity or identity number of the network function. In this embodiment of the present disclosure, the information about the network function required by the user service may carry identifier information corresponding to one network function required by the user service, or may carry identifier information corresponding to each of multiple network functions required by the user service, which is not limited in this embodiment of the present disclosure.
For this embodiment of the present disclosure, the network function required by the user service refers to a capability used when a service is provided for the user service, and the network function required by the user service may be a network function required by the user service itself, or may be a function defined in a protocol, which is not limited in this embodiment of the present disclosure. The network function required by the user service may be any one or any combination of network functions such as a compression function, a deep package inspection (DPI) function, a coding/decoding function, and various algorithm functions. The algorithm function may be a security algorithm function or the like. In this embodiment of the present disclosure, the network function required by the user service is a network function that can be loaded using software.
202. The target node runs the network function when the network function is not already running.
The network function that is not running may be a network function that the target node does not have, or may be a network function that the target node has but is not running. In this embodiment of the present disclosure, if the network function that is not running is a network function that the target node does not have, the target node downloads, from a server, the network function that the target node does not have, and runs the downloaded network function, if the network function that is not running is a network function that the target node has but is not running, the target node directly runs the network function.
In one embodiment, when multiple network functions that are not running exist in the network functions, the target node may simultaneously run these network functions that are not running to meet a service requirement of switching the user service to the target node.
In one embodiment, when multiple network functions that are not running exist in the network functions, and both a network function that the target node does not have and a network function that the target node has but is not running exist in these network functions that are not running, the target node may first download the network function that the target node does not have and that is in these network functions that are not running, and then run the downloaded network function and the network function that the target node has but is not running.
For example, in a wireless communication process of the user service, a special encryption algorithm or an integrity secrecy algorithm may be used on an air interface, to implement secure communication of the user service. In this embodiment of the present disclosure, when the user service is to be switched from the source node to the target node, the source node sends, to the target node, information about a network function that is required by the user service and that provides the special encryption algorithm or the integrity secrecy algorithm such that the target node determines whether to run the network function that provides the special encryption algorithm or the integrity secrecy algorithm. If the target node does not have the network function that provides the special encryption algorithm or the integrity secrecy algorithm, the target node downloads, from the server, the network function that provides the special encryption algorithm or the integrity secrecy algorithm, and runs the network function that provides the special encryption algorithm or the integrity secrecy algorithm such that the user service can be switched to the target node and consistent network-wide service experience can be provided for the user service on different nodes in a network.
For this embodiment of the present disclosure, before step 202, the method may further include determining, by the target node, whether the network function is running, or determining, by a controller, whether the network function is running on the target node.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may determine whether the network function is running on the target node. In this embodiment of the present disclosure, the controller has related information corresponding to each node controlled by the controller, and therefore, the controller may directly determine whether a network function that is not run by the target node exists in the network function required by the user service, and feed back a determining result to the target node.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may further control the user service to be switched from the source node to the target node. The controller may send a command notification to the target node such that the user service is switched from the source node to the target node.
According to the method for running a network function provided in this embodiment of the present disclosure, information, sent by a source node, about a network function required by a user service is received, and the network function is run if the network function is not running. Currently, a network function is provided for a user service using a network as a center. By contrast, in this embodiment of the present disclosure, when a target node does not meet a requirement of a network function required by a user service, the target node downloads the corresponding network function from a server and runs the network function such that the same network function can be obtained when the user service is switched from the source node to the target node. Therefore, a required network function can be provided for a user service using the user service as a center, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
As a specific illustration of the method shown in
301. A target node receives service quality required by a user service and information, sent by a source node, about a network function required by the user service.
The information about the network function carries at least one type of the following information a name of the network function, an identity of the network function, a version of the network function, or parameter information required for running the network function.
For this embodiment of the present disclosure, the network function required by the user service refers to a capability used when a service is provided for the user service, and the network function required by the user service may be a network function required by the user service itself, or may be a function defined in a protocol, which is not limited in this embodiment of the present disclosure. The network function required by the user service may be any one or any combination of network functions such as a compression function, a DPI function, a coding/decoding function, and various algorithm functions. The algorithm function may be a security algorithm function or the like. In this embodiment of the present disclosure, the network function required by the user service is a network function that can be loaded using software.
For this embodiment of the present disclosure, the service quality required by the user service may be any one or any combination of service quality such as bandwidth required by the user service, a throughput required by the user service, a transmission delay required by the user service, or an error rate required by the user service.
302. The target node runs the network function if the network function is not running and the service quality required by the user service is achieved.
The network function that is not running may be a network function that the target node does not have, or may be a network function that the target node has but is not running. In this embodiment of the present disclosure, the target node can further provide the network function required by the user service only when the target node can achieve the service quality required by the user service.
In one embodiment, step 302 may further be that the target node downloads a module corresponding to the network function and runs the network function.
For this embodiment of the present disclosure, when a network function that is not run by the target node is a network function that the target node does not have, the target node downloads, from a server, a module corresponding to the network function that is not running, and runs the downloaded network function such that the target node can run the network function required by the user service, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
For this embodiment of the present disclosure, if step 302 is that the target node downloads a module corresponding to the network function and runs the network function, after step 302, the method may further include uninstalling the module corresponding to the network function when the user service is switched to another node. In this embodiment of the present disclosure, the temporarily downloaded module of the network function is uninstalled such that a case in which too much of a memory of the target node is occupied can be avoided, and the target node can run the network function with improved efficiency.
In one embodiment, step 302 may be that when the network function that is not run by the target node is a network function that the target node has but is not running, the target node directly runs the network function.
For this embodiment of the present disclosure, when the network function that is not run by the target node is a network function that the target node has but is not running, the target node directly runs the network function such that the target node can run the network function required by the user service, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
In one embodiment, when there are multiple network functions that are not running, the target node may simultaneously run these network functions that are not running to meet a service requirement of switching the user service to the target node.
In one embodiment, when there are multiple network functions that are not running, and both a network function that the target node does not have and a network function that the target node has but is not running exist in these network functions that are not running, the target node may first download the network function that the target node does not have and that is in these network functions that are not running, and then run the downloaded network function and the network function that the target node has but is not running.
For this embodiment of the present disclosure, before step 302, the method may include determining, by the target node, whether the network function is running, or determining, by a controller, whether the network function is running on the target node.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may determine whether the network function is running on the target node. In this embodiment of the present disclosure, the controller has related information corresponding to each node controlled by the controller, and therefore, the controller may directly determine whether a network function that is not run by the target node exists in the network function required by the user service, and feed back a determining result to the target node.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may further control the user service to be switched from the source node to the target node. The controller may send a command notification to the target node such that the user service is switched from the source node to the target node.
For this embodiment of the present disclosure, before step 302, the method may further include if the network function is not running, determining, by the target node, whether the service quality required by the user service is achieved, or if the network function is not running, determining, by the controller, whether the target node achieves the service quality required by the user service.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may determine whether a network function that is not running exists in the network function. In this embodiment of the present disclosure, the controller has related information corresponding to each node controlled by the controller, and therefore, the controller may directly determine whether the target node can achieve the service quality required by the user service, and feed back a determining result to the target node.
For this embodiment of the present disclosure, if the controller takes overall control, the controller may further control the user service to be switched from the source node to the target node. The controller may send a command notification to the target node such that the user service is switched from the source node to the target node.
For this embodiment of the present disclosure, after step 302, the method may further include, if the service quality required by the user service is not achieved, sending, by the target node to the source node, feedback information indicating that switching of the user service is not allowed.
For this embodiment of the present disclosure, when the target node does not achieve the service quality required by the user service, the user service cannot be switched to the target node, and therefore, the target node sends, to the source node, the feedback information indicating that switching of the user service is not allowed such that the user service can be switched to another node.
303. The target node sends, to the source node, feedback information indicating that switching of the user service is allowed.
For this embodiment of the present disclosure, when the target node runs the network function, the target node can provide the network function required by the user service and achieve the service quality required by the user service. In this case, the user service can be switched to the target node. Therefore, the target node sends, to the source node, the feedback information indicating that switching of the user service is allowed such that the user service can be switched to the target node.
For example, in a wireless communication process of the user service, a special encryption algorithm or an integrity secrecy algorithm may be used on an air interface, to implement secure communication of the user service. In this embodiment of the present disclosure, when the user service is to be switched from the source node to the target node, the source node sends, to the target node, information about a network function that is required by the user service and that provides the special encryption algorithm or the integrity secrecy algorithm such that the target node determines whether to run the network function that provides the special encryption algorithm or the integrity secrecy algorithm. If the target node does not have the network function that provides the special encryption algorithm or the integrity secrecy algorithm, the target node downloads, from the server, the network function that provides the special encryption algorithm or the integrity secrecy algorithm, and runs the network function that provides the special encryption algorithm or the integrity secrecy algorithm such that the user service can be switched to the target node and consistent network-wide service experience can be provided for the user service on different nodes in a network.
In one embodiment, the network function may include a protocol feature.
For example, in the wireless communication process of the user service, the source node performs communication using a first protocol version and the target node performs communication using a second protocol version. If a version number of the first protocol version is later than a version number of the second protocol version, the user service cannot be switched from the source node to the target node using the existing technical solution. In this embodiment of the present disclosure, when the user service is to be switched from the source node to the target node, the source node sends a protocol version feature required by the user service to the target node such that the target node determines whether the target node has the protocol version feature required by the user service. If a protocol version feature that the target node does not have exists in the protocol version feature required by the user service, the target node downloads, from the server, the protocol version feature that the target node does not have, that is, the target node updates the second protocol version such that the user service can be switched to the target node and consistent network-wide service experience can be provided for the user service on different nodes in a network.
According to the method for running a network function provided in this embodiment of the present disclosure, information, sent by a source node, about a network function required by a user service is received, and the network function is run if the network function is not running. Currently, a network function is provided for a user service using a network as a center. By contrast, in this embodiment of the present disclosure, when a target node does not meet a requirement of a network function required by a user service, the target node downloads the corresponding network function from a server and runs the network function such that the same network function can be obtained when the user service is switched from the source node to the target node. Therefore, a required network function can be provided for a user service using the user service as a center, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
Further, in the method for running a network function provided in this embodiment of the present disclosure, a module corresponding to a network function that is not running is downloaded such that a target node can run a network function required by a user service, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network, the temporarily downloaded module of the network function is uninstalled such that a case in which too much of a memory of the target node is occupied can be avoided, and the target node can run the network function with improved efficiency, the target node directly runs a network function that the target node has but is not running such that the target node can run the network function required by the user service.
Further, as specific implementation of the methods shown in
The receiving unit 41 is configured to receive information, sent by a source node, about a network function required by a user service.
The information about the network function carries identifier information corresponding to the network function.
The running unit 42 is configured to run the network function when the network function received by the receiving unit 41 is not running.
The information, received by the receiving unit 41, about the network function carries at least one type of the following information a name of the network function, an identity of the network function, a version of the network function, or parameter information required for running the network function.
As shown in
The downloading unit 51 is configured to download a module corresponding to the network function received by the receiving unit 41.
The running unit 42 is configured to run the network function downloaded by the downloading unit 51.
In one embodiment, the apparatus may further include an uninstallation unit 52.
The uninstallation unit 52 is configured to when the user service is switched to another node, uninstall the module corresponding to the network function downloaded by the downloading unit 51.
The receiving unit 41 is configured to receive service quality required by the user service and the information, sent by the source node, about the network function required by the user service.
The running unit 42 is configured to run the network function when the service quality that is required by the user service and that is received by the receiving unit 41 is achieved.
In one embodiment, the apparatus may further include a sending unit 53.
The sending unit 53 is configured to send, to the source node when the service quality that is required by the user service and that is received by the receiving unit 41 is not achieved, feedback information indicating that switching of the user service is not allowed.
The sending unit 53 is further configured to send, to the source node, feedback information indicating that switching of the user service is allowed.
The information, received by the receiving unit 41, about the network function is protocol feature information.
According to the apparatus for running a network function provided in this embodiment of the present disclosure, a receiving unit receives information, sent by a source node, about a network function required by a user service, and a running unit runs the network function if the network function received by the receiving unit is not running. Currently, a network function is provided for a user service using a network as a center. By contrast, in this embodiment of the present disclosure, when a target node does not meet a requirement of a network function required by a user service, the target node downloads the corresponding network function from a server and runs the network function such that the same network function can be obtained when the user service is switched from the source node to the target node. Therefore, a required network function can be provided for a user service using the user service as a center, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
Further, according to the apparatus for running a network function provided in this embodiment of the present disclosure, a module corresponding to a network function that is not running is downloaded such that a target node can run a network function required by a user service, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network, the temporarily downloaded module of the network function is uninstalled such that a case in which too much of a memory of the target node is occupied can be avoided, and the target node can run the network function with improved efficiency, the target node directly runs a network function that the target node has but is not running such that the target node can run the network function required by the user service.
It should be noted that, for other corresponding descriptions corresponding to the units in the apparatus for running a network function provided in this embodiment of the present disclosure, reference may be made to corresponding descriptions in
A target node is further provided in an embodiment of the present disclosure. As shown in
The receiver 61 is configured to receive information, sent by a source node, about a network function required by a user service.
The information about the network function carries identifier information corresponding to the network function.
The processor 62 is configured to run the network function when the network function received by the receiver 61 is not running.
The information, received by the receiver 61, about the network function carries at least one type of the following information: a name of the network function, an identity of the network function, a version of the network function, or parameter information required for running the network function.
The processor 62 is further configured to download a module corresponding to the network function received by the receiver 61, and run the network function.
The processor 62 is further configured to uninstall the module corresponding to the network function when the user service is switched to another node.
The receiver 61 is configured to receive service quality required by the user service and the information, sent by the source node, about the network function required by the user service.
The processor 62 is configured to run the network function when the service quality that is required by the user service and that is received by the receiver 61 is achieved.
In one embodiment, the apparatus may further include the transmitter 63.
The transmitter 63 is configured to send, to the source node when the service quality that is required by the user service and that is received by the receiver 61 is not achieved, feedback information indicating that switching of the user service is not allowed.
The transmitter 63 is further configured to send, to the source node, feedback information indicating that switching of the user service is allowed.
The information, received by the receiver 61, about the network function is protocol feature information.
In the target node provided in this embodiment of the present disclosure, a receiver receives information, sent by a source node, about a network function required by a user service, and a processor runs the network function if the network function received by the receiver is not running. Currently, a network function is provided for a user service using a network as a center. By contrast, in this embodiment of the present disclosure, when a target node does not meet a requirement of a network function required by a user service, the target node downloads the corresponding network function from a server and runs the network function such that the same network function can be obtained when the user service is switched from the source node to the target node. Therefore, a required network function can be provided for a user service using the user service as a center, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network.
Further, in the target node provided in this embodiment of the present disclosure, a module corresponding to a network function that is not running is downloaded such that a target node can run a network function required by a user service, and further, consistent network-wide service experience can be provided for the user service on different nodes in a network, the temporarily downloaded module of the network function is uninstalled such that a case in which too much of a memory of the target node is occupied can be avoided, and the target node can run the network function with improved efficiency, the target node directly runs a network function that the target node has but is not running such that the target node can run the network function required by the user service.
It should be noted that, for other corresponding descriptions corresponding to the devices in the target node provided in this embodiment of the present disclosure, reference may be made to corresponding descriptions in
The apparatus for running a network function provided in this embodiment of the present disclosure may implement the foregoing provided method embodiments. For specific function implementation, refer to descriptions in the method embodiments. Details are not described herein again. The method and the apparatus for running a network function provided in the embodiments of the present disclosure may be applicable to switching a user service from a source node to a target node, but are not limited thereto.
A person of ordinary skill in the art may understand that all or some of the processes of the methods in the embodiments may be implemented by a computer program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program runs, the processes of the methods in the embodiments are performed. The foregoing storage medium may be a magnetic disk, an optical disc, a read-only memory (ROM), a random access memory (RAM), or the like.
The foregoing descriptions are merely specific implementation manners of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present disclosure shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
This application is a continuation of International Application No. PCT/CN2014/077896, filed on May 20, 2014, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2014/077896 | May 2014 | US |
Child | 15357140 | US |