CN114844862A - Resource processing method and device and communication equipment - Google Patents

Resource processing method and device and communication equipment Download PDF

Info

Publication number
CN114844862A
CN114844862A CN202110053772.1A CN202110053772A CN114844862A CN 114844862 A CN114844862 A CN 114844862A CN 202110053772 A CN202110053772 A CN 202110053772A CN 114844862 A CN114844862 A CN 114844862A
Authority
CN
China
Prior art keywords
network
address
resource
target
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110053772.1A
Other languages
Chinese (zh)
Other versions
CN114844862B (en
Inventor
包宸曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202110053772.1A priority Critical patent/CN114844862B/en
Publication of CN114844862A publication Critical patent/CN114844862A/en
Application granted granted Critical
Publication of CN114844862B publication Critical patent/CN114844862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a resource processing method, a resource processing device and communication equipment, and solves the problem of how to reasonably utilize IP address resources in a network when the network state of network equipment in the existing network changes. The method comprises the following steps: and under the condition that the change of the network state of the first network equipment in the target network is detected, the first management equipment adjusts the IP address resource of the target network. The invention can carry out unified planning on the IP address resources in the network and realize the purpose that the IP address resources in the network are reasonably utilized by each network device in the network.

Description

Resource processing method and device and communication equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a resource processing method and apparatus, and a communication device.
Background
In order to avoid a conflict between control plane network elements (such as SMF/PGW-C) or User plane network elements (such as UPF/PGW-U) when allocating an IP address/prefix of a UE (User Equipment), it is generally required that address pool resources of each control plane network element or User plane network element are independent from each other, that is, when a network is deployed, address pool resources of network elements related to network access need to be planned in advance.
However, in actual use, for a running network to which address pool resources have been allocated, there is a scenario of a new network entry network element or a network exit network element, and at this time, the address pool resources of the whole network (or one network element set) need to be re-planned, otherwise, the address pool of the new network entry network element cannot be configured, or the original address pool resources of the network exit network element are wasted.
When the network state of a network device changes in a network (whole network or a network element set), such as adding or removing a network element, how to make the IP address resources in the network be reasonably utilized is a problem to be solved.
Disclosure of Invention
The invention aims to provide a resource processing method, a resource transmission device and a resource processing device, which are used for solving the problem of how to reasonably utilize IP address resources in a network when the network state of network equipment in the existing network changes.
In order to achieve the above object, an embodiment of the present invention provides a resource processing method, including:
and under the condition that the change of the network state of the first network equipment in the target network is detected, the first management equipment adjusts the IP address resource of the target network.
When the change of the network state of the first network device in the target network is detected, the first management device adjusts the IP address resource of the target network, and the method includes:
under the condition that a first network device in a target network is detected to be in a newly added network access state, a first management device sends a first address resource to the first network device, wherein the first address resource is at least part of address resources of a target IP address resource;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
When the target IP address resource is the residual IP address resource which is not allocated to the second network equipment by the current network;
sending a first address resource to the first network device, comprising:
allocating a first address resource to the first network device based on a preset resource allocation strategy, wherein the remaining IP address resource comprises a complete unused IP address field, IP address resources associated with network related parameters, IP address resources reserved for a target user, IP address resources obtained after target services are released, and other IP address resources;
the preset resource allocation policy comprises at least one of the following policies:
a first allocation strategy: preferentially distributing the complete unused IP address field in the residual IP address resources;
and a second allocation policy: preferentially allocating IP address resources associated with network-related parameters of the remaining IP address resources, the first network device being associated with the network-related parameters;
a third allocation strategy: if the resources corresponding to the first allocation strategy and the second allocation strategy cannot meet the resource requirement of the first network equipment, allocating the other IP address resources;
a fourth allocation strategy: if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources reserved for the target user;
a fifth allocation strategy: and if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources obtained after the target service in the residual IP address resources is released.
When the target IP address resource is an IP address resource which is allocated to the second network equipment and is not used by the second network equipment;
before sending the first address resource to the first network device, the method further includes:
sending a first statistical report request message to the second network equipment;
receiving a first statistical reporting response message sent by the second network device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
Wherein after sending the first address resource to the first network device, the method further comprises:
and sending a second address resource to the second network equipment, wherein the second address resource is the rest address resource except the first address resource in the target IP address resource.
When the change of the network state of the first network device in the target network is detected, the first management device adjusts the IP address resource of the target network, and the method includes:
under the condition that the network state of first network equipment in a target network is detected to be changed into a network quitting state, first management equipment recovers IP address resources used by the first network equipment in the network and sets the IP address resources as candidate available IP address resources, so that the first management equipment adjusts the IP address resources of the target network based on the candidate available IP address resources.
Wherein the method further comprises:
and sending a third address resource to the network equipment in the target network without changing the network state or the network equipment in the newly added network-accessing state in the target network, wherein the third address resource is at least part of the address resource of the IP address resource used by the first network equipment in the network accessing process.
Wherein, the recovering the IP address resource used by the first network device in the network comprises:
receiving a network quitting notification message sent by the first network device, wherein the network quitting notification message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
receiving a second statistical reporting request message sent by the first network device, wherein the second statistical reporting request message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and reading the IP address resource used by the first network equipment in the network in the pre-stored resource information record.
In order to achieve the above object, an embodiment of the present invention further provides a resource processing method, including:
and under the condition that the on-network state of the first network equipment in the target network changes, the first network equipment accepts the IP address resource adjustment of the first management equipment.
Wherein, when the network state of a first network device in a target network changes, the first network device accepts the IP address resource adjustment of a first management device, and the method includes:
under the condition that a first network device in a target network is in a newly-added network-accessing state, the first network device receives a first address resource or a third address resource sent by a first management device, wherein the first address resource is at least part of address resources of a target IP address resource, and the third address resource is at least part of address resources of the IP address resource used by the network device in the target network when the network state changes to a network-quitting state;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Wherein, when the network state of a first network device in a target network changes, the first network device accepts the IP address resource adjustment of a first management device, and the method includes:
when the network state of a first network device in a target network changes to a network quitting state, the first network device sends an IP address resource used by the first network device when the first network device is on the network to a first management device.
The sending of the IP address resource used by the first network device when the first network device is on the network to the first management device includes:
sending a network quitting notification message to the first management device, wherein the network quitting notification message carries the IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and sending a second statistical report request message to the first management device, where the second statistical report request message carries an IP address resource used by the first network device when the first network device is on the network.
In order to achieve the above object, an embodiment of the present invention further provides a resource processing method, including:
under the condition that the network state of first network equipment in a target network changes, second network equipment receives the adjustment of first management equipment to the IP address resource of the second network equipment;
the second network device is a network device in the target network, the network state of which is not changed.
When the network state of the first network device in the target network changes, the second network device receives the adjustment of the first management device on the IP address resource of the second network device, including:
under the condition that a first network device in a target network is in a newly-added network-accessing state, a second network device reports an IP address resource which is distributed to the second network device and is not used by the second network device to a first management device, and removes the reported IP address resource; alternatively, the first and second electrodes may be,
when the network state of a first network device in a target network changes to a network quitting state, a second network device receives a third address resource sent by a first management device and adds the third address resource to an address pool of the second network device, wherein the third address resource is at least part of an IP address resource used by the first network device when the network is on.
The method for reporting the IP address resource which is allocated to the second network device and is not used by the second network device to the first management device by the second network device includes:
receiving a first statistical reporting request message sent by the first management device;
sending a first statistical reporting response message to the first management device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
After the second network device reports the IP address resource allocated to the second network device and unused by the second network device to the first management device, the method further includes:
receiving a second address resource sent by the first management device, and adding the second address resource to an address pool of the second network device, wherein the second address resource is a residual address resource except the first address resource in a target IP address resource;
wherein the first address resource is an IP address resource allocated to the first network device by the first management device;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
an IP address resource allocated to the second network device and unused by the second network device.
In order to achieve the above object, an embodiment of the present invention further provides a communication device, where the communication device is a first management device, and the communication device includes: memory, transceiver, processor: a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
and under the condition that the change of the network state of the first network equipment in the target network is detected, adjusting the IP address resource of the target network.
In order to achieve the above object, an embodiment of the present invention further provides a resource processing apparatus, including:
and the first resource adjusting unit is used for adjusting the IP address resource of the target network under the condition that the change of the network state of the first network equipment in the target network is detected.
In order to achieve the above object, an embodiment of the present invention further provides a communication device, where the communication device is a first network device, and the communication device includes: memory, transceiver, processor: a memory for storing program instructions; a transceiver for transceiving data under control of the processor; a processor to read program instructions in the memory and perform the following:
and under the condition that the on-network state of the first network equipment in the target network changes, the IP address resource adjustment of the first management equipment is accepted.
In order to achieve the above object, an embodiment of the present invention further provides a resource processing apparatus, including:
and the second resource adjusting unit is used for receiving the IP address resource adjustment of the first management equipment under the condition that the network state of the first network equipment in the target network is changed.
In order to achieve the above object, an embodiment of the present invention further provides a communication device, where the communication device is a second network device, and the communication device includes: memory, transceiver, processor: a memory for storing program instructions; a transceiver for transceiving data under control of the processor; a processor to read program instructions in the memory and perform the following:
under the condition that the network state of first network equipment in a target network changes, the first management equipment is accepted to adjust the IP address resource of second network equipment;
the second network device is a network device in the target network, the network state of which is not changed.
In order to achieve the above object, an embodiment of the present invention further provides a resource processing apparatus, including:
a third resource adjusting unit, configured to accept, when an on-network state of a first network device in a target network changes, adjustment of an IP address resource of a second network device by a first management device; the second network device is a network device in the target network, the network state of which is not changed.
In order to achieve the above object, an embodiment of the present invention further provides a processor-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the resource processing method as described above.
The technical scheme of the invention at least has the following beneficial effects:
in the above technical solution of the embodiment of the present invention, when the change of the network state of the first network device in the target network is detected, the first management device adjusts the IP address resource of the target network, so that the IP address resource in the network can be planned in a unified manner, and the purpose that the IP address resource in the network is reasonably utilized by each network device in the network is achieved.
Drawings
FIG. 1 is a flowchart illustrating a resource processing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a resource processing method according to an embodiment of the present invention;
FIG. 3 is a third schematic flowchart of a resource processing method according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart illustrating a resource processing method according to an embodiment of the present invention;
FIG. 5 is a fifth flowchart illustrating a resource processing method according to an embodiment of the present invention;
fig. 6 is one of the structural block diagrams of the communication apparatus of the embodiment of the present invention;
FIG. 7 is a block diagram of a resource processing apparatus according to an embodiment of the present invention;
fig. 8 is a second block diagram of the communication device according to the embodiment of the present invention;
FIG. 9 is a second block diagram of a resource processing apparatus according to the embodiment of the present invention;
fig. 10 is a third block diagram of a communication device according to an embodiment of the present invention;
fig. 11 is a third block diagram of a resource processing apparatus according to a third embodiment of the invention.
Detailed Description
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a resource processing method, a resource transmission method, a device and equipment, which are used in a network in the prior art. The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
Fig. 1 is a schematic flow chart of a resource processing method according to an embodiment of the present invention. The method of the embodiment of the invention can comprise the following steps:
step 101, when detecting that the network status of a first network device in a target network changes, a first management device adjusts an IP address resource of the target network.
Here, the first management device may be an OAM (Operation Administration and Maintenance), an external server, or a control platform. If the IP address pool resource is controlled by SMF (Session Management Function)/PGW-C or UPF (User Plane Function)/PGW-U, the first Management device may be SMF/PGW-C or UPF/PGW-U that controls the IP address pool resource.
Here, the target network refers to a whole network, a network element set, or a regional region.
The first network device may be an SMF/PGW-C or UPF/PGW-U.
The IP address resource in the embodiment of the present invention may be an IP address or an IP address prefix.
According to the resource processing method provided by the embodiment of the invention, under the condition that the change of the network state of the first network equipment in the target network is detected, the IP address resource of the target network is adjusted through the first management equipment, so that the IP address resource in the network can be uniformly planned, and the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network is realized.
As an optional implementation manner, in step 101, when detecting that the network status of the first network device in the target network changes, the first management device adjusts an IP address resource of the target network, including:
under the condition that a first network device in a target network is detected to be in a newly added network access state, a first management device sends a first address resource to the first network device, wherein the first address resource is at least part of address resources of a target IP address resource;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Here, the first management device, such as OAM, reserves available IP address resources, and the OAM may directly configure IP address resources for the first network device.
Here, the first management device, such as OAM, is used as an external server to generally maintain the UE IP address resource in the current network, when necessary, the SMF/PGW-C or UPF/PGW-U instantly acquires a specific address from OAM and allocates a corresponding session service, and when a session is established, updated, and released, the SMF/PGW-C or UPF/PGW-U also correspondingly notifies OAM. That is, the first management device itself can know the usage and remaining conditions of the UE IP address resources in the current network.
Here, the reason why the target IP address resource includes an IP address resource allocated to the second network device and unused by the second network device is that the IP address resource in the first management device has already been allocated or there is a remaining IP address resource in the first management device but is not in accordance with the demand of the first network device. For example, the associated DNN, S-NSSAI is not compliant with the first network device requirements.
Optionally, when the target IP address resource is a remaining IP address resource that is not allocated to the second network device by the current network; sending the first address resource to the first network device may include:
allocating a first address resource to the first network device based on a preset resource allocation strategy, wherein the remaining IP address resource comprises a complete unused IP address field, IP address resources associated with network related parameters, IP address resources reserved for a target user, IP address resources obtained after target services are released, and other IP address resources;
the preset resource allocation policy comprises at least one of the following policies:
a first allocation strategy: preferentially distributing the complete unused IP address field in the residual IP address resources;
and a second allocation policy: preferentially allocating IP address resources associated with network-related parameters of the remaining IP address resources, the first network device being associated with the network-related parameters;
here, the network-related parameters include DNN, S-NSSAI, and the like.
A third allocation strategy: if the resources corresponding to the first allocation strategy and the second allocation strategy cannot meet the resource requirement of the first network equipment, allocating the other IP address resources;
here, the other IP address resources may be remaining unused IP address resources in a used IP address pool in the remaining IP addresses, and are not limited specifically here.
A fourth allocation strategy: if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources reserved for the target user;
here, the allocation policy is that IP address resources are available for some special purpose, e.g. reserved for a particular user. The allocation policy based on the scenario is not prioritized by the first management device. Alternatively, the target user is a specific user that achieves a particular use.
A fifth allocation strategy: and if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources obtained after the target service in the residual IP address resources is released.
It should be noted that, in other words, if there is a UE IP address resource that is just recovered to be available in the remaining IP address resources, in order to avoid a scenario that the target service is released for some reason but needs to be recovered later, the allocation policy is not prioritized by the first management device.
Optionally, when the target IP address resource is an IP address resource allocated to the second network device and not used by the second network device; before sending the first address resource to the first network device, the method of the embodiment of the present invention may further include:
sending a first statistical report request message to the second network equipment;
receiving a first statistical reporting response message sent by the second network device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
here, if the IP address/prefix of the UE corresponding to the IP address resource of the second network device is allocated in the IP address pool identifier IP address pool ID manner, the policy may be adopted to directly report the complete unused IP address pool identifier to the first management device, and report the remaining available IP address resources in the used IP address pool.
A third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
here, the IP address resources available for some special purpose, for example, the IP address resources reserved for a specific user. And the third reporting strategy based on the scene is not prioritized by the second network equipment.
A fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
It should be noted that, if there is a UE IP address resource that is just recovered from the remaining IP address resources, in order to avoid a scenario that the target service is released for some reasons but needs to be recovered later, the worship reporting policy is not prioritized by the second network device.
It should be noted that, after reporting unused IP address resources by the second network device through the first statistical report response message, the second network device removes the reported IP address resources from its respective address pool.
Here, the first reporting policy has two sub-policies.
Reporting a part of address resources in the unused IP address resources in the second network device, wherein a ratio of the number of the part of address resources to the number of the unused IP address resources in the second network device is greater than a first preset threshold.
It should be noted that the first preset threshold may be 0.9. And the second network equipment reports most of unused IP address resources to the first management equipment in order to avoid the use requirement of a new IP address in the statistical process. Here, with this policy, the IP address resources available to the second network device itself are limited, and it is expected that IP address resources reallocated by the first management device will be received later.
And reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is less than a second preset threshold value.
It should be noted that the second preset threshold may be 0.1. The policy reports a small portion of unused IP address resources to the first management device. Here, with this device, the IP address resources available to the second network device itself are sufficient, and it is expected that the first management device is not required to reallocate the IP address resources subsequently.
It should be noted that the preset resource reporting policies may be used in combination.
Here, when the preset resource reporting policy is a preconfigured policy, that is, the second network device, such as the SMF/PGW-C and/or the UPF/PGW-U, is determined according to its own configuration. Further, to facilitate the unified processing of the first management device, it is preferable that each second network device adopts the same resource reporting policy.
As an optional implementation manner, sending the first address resource to the first network device may specifically include:
and sending a first IP address allocation request message to the first network device, wherein the first IP address allocation request message carries the first address resource.
Further, the method of the embodiment of the present invention may further include:
and receiving a first IP address allocation response message sent by the first network equipment.
It should be noted that, the first management device receives the first IP address allocation response message, which indicates that the first address resource allocated to the first network device is successfully allocated.
In a case that IP address resources need to be reallocated to second network equipment in a target network, how to allocate, as an optional implementation manner, after sending a first address resource to the first network equipment, the method of the embodiment of the present invention may further include:
and sending a second address resource to the second network equipment, wherein the second address resource is the rest address resource except the first address resource in the target IP address resource.
The step may specifically include:
and sending a second IP address allocation request message to the second network equipment, wherein the second IP address allocation request message carries the second address resource.
Here, the second network device adds the received second address resource to the IP address resource pool of the second network device after receiving the second IP address allocation request message.
Further, the method of the embodiment of the present invention may further include:
and receiving a second IP address allocation response message sent by the second network equipment.
It should be noted that, the first communication device receives the second IP address assignment response message, which indicates that the second address resource assigned to the second network device is successfully assigned.
As another optional implementation manner, in step 101, in a case that an on-network state change of a first network device in a target network is detected, the adjusting, by a first management device, an IP address resource of the target network includes:
under the condition that the network state of first network equipment in a target network is detected to be changed into a network quitting state, first management equipment recovers IP address resources used by the first network equipment in the network and sets the IP address resources as candidate available IP address resources, so that the first management equipment adjusts the IP address resources of the target network based on the candidate available IP address resources.
Optionally, the recycling of the IP address resource used by the first network device when the first network device is on the network may include:
receiving a network quitting notification message sent by the first network device, wherein the network quitting notification message carries an IP address resource used by the first network device when the first network device is on the network;
here, when the first network device is needed in the network, the first management device may receive a network logout notification message sent by the first network device, for notifying the first network device that network logout is needed.
It should be noted that this step may be omitted if the logout operation itself is initiated by the first management device.
Or receiving a second statistical reporting request message sent by the first network device, where the second statistical reporting request message carries an IP address resource used by the first network device when the first network device is on the network;
or reading the IP address resource used by the first network equipment in the network in the pre-stored resource information record.
The first management device corresponding to the scenario reserves the IP address resource record allocated to the first network device for use in the network, so the first management device can directly read the record and recover the IP address resource used by the first network device in the network.
Here, after receiving the second statistical report request message sent by the first network device, the method of the embodiment of the present invention may further include:
and sending a second statistical reporting response message to the first network equipment.
Based on the implementation manner, optionally, the method of the embodiment of the present invention may further include:
and sending a third address resource to the network equipment in the target network without changing the network state or the network equipment in the newly added network-accessing state in the target network, wherein the third address resource is at least part of the address resource of the IP address resource used by the first network equipment in the network accessing process.
How to send the third address resource may refer to the description of sending the first address resource and sending the second address resource, that is, sending the third address resource through the IP address allocation request message, where the message carries the third address resource, and details are not described here.
According to the resource processing method provided by the embodiment of the invention, under the condition that the change of the network state of the first network equipment in the target network is detected, the IP address resource of the target network is adjusted through the first management equipment, so that the IP address resource in the network can be uniformly planned, and the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network is realized.
Fig. 2 is a schematic flow chart of a resource processing method according to an embodiment of the present invention. The method of the embodiment of the invention can comprise the following steps:
step 201, in the case that the network status of a first network device in a target network changes, the first network device accepts the IP address resource adjustment of a first management device.
Here, the target network refers to a whole network, a network element set, or a regional region.
Here, the first management device may be an OAM (Operation Administration and Maintenance), an external server, or a control platform. If the IP address pool resource is controlled by SMF (Session Management Function)/PGW-C or UPF (User Plane Function)/PGW-U, the first Management device may be SMF/PGW-C or UPF/PGW-U that controls the IP address pool resource.
The first network device may be an SMF/PGW-C or UPF/PGW-U.
According to the resource processing method provided by the embodiment of the invention, under the condition that the network state of the first network equipment in the target network changes, the first network equipment receives the IP address resource adjustment of the first management equipment, so that the first management equipment is beneficial to uniformly planning the IP address resource in the network, and the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network is realized.
As an optional implementation manner, in step 201, in a case that an on-network state of a first network device in a target network changes, the first network device accepts an IP address resource adjustment of a first management device, including:
under the condition that a first network device in a target network is in a newly-added network-accessing state, the first network device receives a first address resource or a third address resource sent by a first management device, wherein the first address resource is at least part of address resources of a target IP address resource, and the third address resource is at least part of address resources of the IP address resource used by the network device in the target network when the network state changes to a network-quitting state;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Based on this, receiving the first address resource sent by the first management device may include:
and receiving a first IP address allocation request message sent by the first management device, wherein the first IP address allocation request message carries the first address resource.
As an optional implementation manner, the method according to the embodiment of the present invention may further include:
and sending a first IP address allocation response message to the first management equipment.
Here, the first network device in the newly added network entry state sends a first IP address allocation response message to the first communication device, which indicates that the first address resource allocated to the first network device is successfully allocated.
The steps in the two implementations described above correspond to the steps of the embodiment section corresponding to the first management device.
Here, how to specifically receive the third address resource sent by the first management device may refer to the receiving of the first address resource part sent by the first management device, and also receive the third address resource through the IP address allocation request message, which is not described herein again.
Optionally, when the target IP address resource is a remaining IP address resource that is not allocated to the second network device by the current network, the remaining IP address resource includes a complete unused IP address segment, an IP address resource associated with a network-related parameter, an IP address resource reserved for the target user, an IP address resource obtained after the target service is released, and other IP address resources;
the first address resource comprises at least one of:
a complete unused IP address segment in the remaining IP address resources;
an IP address resource of the remaining IP address resources associated with a network-related parameter, the first network device associated with the network-related parameter;
the other of the remaining IP address resources;
the IP address resource reserved for the target user in the residual IP address resources;
and IP address resources obtained after the target service in the residual IP address resources is released.
Here, the first address resource is allocated to the first network device by the first management device based on the preset resource allocation policy, and the specific preset resource allocation policy is detailed in the embodiment section corresponding to the first management device and is not described herein again.
As an optional implementation manner, in step 201, in a case that an on-network state of a first network device in a target network changes, the first network device accepts an IP address resource adjustment of a first management device, including:
when the network state of a first network device in a target network changes to a network quitting state, the first network device sends an IP address resource used by the first network device when the first network device is on the network to a first management device.
Here, the first network device sends to the first management device the IP address resources it uses while on the net, with the purpose of providing candidate available IP address resources for subsequent adjustment of IP address resources in the target network by the first management device.
As an optional implementation manner, sending, to the first management device, an IP address resource used by the first network device when the first network device is on the network includes:
sending a network quitting notification message to the first management device, wherein the network quitting notification message carries the IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and sending a second statistical report request message to the first management device, where the second statistical report request message carries an IP address resource used by the first network device when the first network device is on the network.
Here, when the first network device needs to be removed from the network, the first network device sends a network quit notification message to the first management device, so as to notify the first network device that the network quit is needed.
It should be noted that this step may be omitted if the logout operation itself is initiated by the first management device.
Here, after sending the second statistical report request message to the first management device, the method of the embodiment of the present invention may further include:
and receiving a second statistical reporting response message sent by the first management device.
The steps in the above implementation correspond to the steps of the embodiment section corresponding to the first management device.
According to the resource processing method provided by the embodiment of the invention, under the condition that the network state of the first network equipment in the target network changes, the first network equipment receives the IP address resource adjustment of the first management equipment, so that the first management equipment is beneficial to uniformly planning the IP address resource in the network, and the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network is realized.
Fig. 3 is a schematic flow chart of a resource processing method according to an embodiment of the present invention. The method of the embodiment of the invention can comprise the following steps:
step 301, in the case that the network state of a first network device in a target network changes, a second network device receives the adjustment of the IP address resource of the second network device by a first management device; the second network device is a network device in the target network, the network state of which is not changed.
Here, the target network refers to a whole network, a network element set, or a regional region.
Here, the first management device may be an OAM (Operation Administration and Maintenance), an external server, or a control platform. If the IP address pool resource is controlled by SMF (Session Management Function)/PGW-C or UPF (User Plane Function)/PGW-U, the first Management device may be SMF/PGW-C or UPF/PGW-U that controls the IP address pool resource.
The first network device may be an SMF/PGW-C or UPF/PGW-U.
In the resource processing method of the embodiment of the invention, under the condition that the on-network state of the first network equipment in the target network changes, the second network equipment receives the adjustment of the first management equipment to the IP address resource of the second network equipment; the second network device is a network device in which the network state is not changed in the target network, and the first management device is helpful to perform unified planning on the IP address resources in the network, so that the purpose that the IP address resources in the network are reasonably utilized by each network device in the network is achieved.
As an optional implementation manner, in step 301, in a case that an on-network state of a first network device in a target network changes, a second network device accepts adjustment of an IP address resource of the second network device by a first management device, where the adjustment includes:
under the condition that a first network device in a target network is in a newly-added network-accessing state, a second network device reports an IP address resource which is distributed to the second network device and is not used by the second network device to a first management device, and removes the reported IP address resource; alternatively, the first and second electrodes may be,
when the network state of a first network device in a target network changes to a network quitting state, a second network device receives a third address resource sent by a first management device and adds the third address resource to an address pool of the second network device, wherein the third address resource is at least part of an IP address resource used by the first network device when the network is on.
Based on this, optionally, the reporting, by the second network device to the first management device, the IP address resource allocated to the second network device and unused by the second network device includes:
receiving a first statistical reporting request message sent by the first management device;
sending a first statistical reporting response message to the first management device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
here, if the IP address/prefix of the UE corresponding to the IP address resource of the second network device is allocated in the IP address pool identifier IP address pool ID manner, the policy may be adopted to directly report the complete unused IP address pool identifier to the first management device, and report the remaining available IP address resources in the used IP address pool.
A third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
here, the IP address resources available for some special purpose, for example, the IP address resources reserved for a specific user. And the third reporting strategy based on the scene is not prioritized by the second network equipment.
A fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
It should be noted that, if there is a UE IP address resource that is just recovered from the remaining IP address resources, in order to avoid a scenario that the target service is released for some reasons but needs to be recovered later, the worship reporting policy is not prioritized by the second network device.
It should be noted that, after reporting unused IP address resources by the second network device through the first statistical report response message, the second network device removes the reported IP address resources from its respective address pool.
Here, the first reporting policy has two sub-policies.
Reporting a part of address resources in the unused IP address resources in the second network device, wherein a ratio of the number of the part of address resources to the number of the unused IP address resources in the second network device is greater than a first preset threshold.
It should be noted that the first preset threshold may be 0.9. And the second network equipment reports most of unused IP address resources to the first management equipment in order to avoid the use requirement of a new IP address in the statistical process. Here, with this policy, the IP address resources available to the second network device itself are limited, and it is expected that IP address resources reallocated by the first management device will be received later.
And reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is less than a second preset threshold value.
It should be noted that the second preset threshold may be 0.1. The policy reports a small portion of unused IP address resources to the first management device. Here, with this device, the IP address resources available to the second network device itself are sufficient, and it is expected that the first management device is not required to reallocate the IP address resources subsequently.
It should be noted that the preset resource reporting policies may be used in combination.
Here, when the preset resource reporting policy is a preconfigured policy, that is, the second network device, such as the SMF/PGW-C and/or the UPF/PGW-U, is determined according to its own configuration. Further, to facilitate the unified processing of the first management device, it is preferable that each second network device adopts the same resource reporting policy.
As an optional implementation manner, after the second network device reports the IP address resource allocated to the second network device and unused by the second network device to the first management device, the method of the embodiment of the present invention further includes:
receiving a second address resource sent by the first management device, and adding the second address resource to an address pool of the second network device, wherein the second address resource is a residual address resource except the first address resource in a target IP address resource;
wherein the first address resource is an IP address resource allocated to the first network device by the first management device;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
an IP address resource allocated to the second network device and unused by the second network device.
It should be noted that, a scenario corresponding to this implementation is that the second network device needs the first management device to reallocate the IP address resource for the second network device.
Based on this, as an optional implementation manner, the receiving the second address resource sent by the first management device may include:
and receiving a second IP address allocation request message sent by the first management device, wherein the second IP address allocation request message carries the second address resource.
As an optional implementation manner, the method according to the embodiment of the present invention may include:
and sending a second IP address allocation response message to the first management equipment.
The steps in the two implementations described above correspond to the steps of the embodiment section corresponding to the first management device.
As an optional implementation manner, when the network state of the first network device in the target network changes to the network quitting state, the second network device receives the third address resource sent by the first management device, and how to receive the third address resource may refer to the explanation of receiving the second address resource part, that is, obtaining the third address resource through the IP address allocation request message, which is not described herein again.
In the resource processing method of the embodiment of the invention, under the condition that the on-network state of the first network equipment in the target network changes, the second network equipment receives the adjustment of the first management equipment to the IP address resource of the second network equipment; the second network device is a network device in which the network state is not changed in the target network, and the first management device is helpful to perform unified planning on the IP address resources in the network, so that the purpose that the IP address resources in the network are reasonably utilized by each network device in the network is achieved.
The following two embodiments specifically describe the implementation process of the method of the present invention in terms of device interaction.
Example one
Referring to FIG. 4, a network needs to add an SMF/PGW-C or UPF/PGW-U
s 1: the newly added SMF/PGW-C or UPF/PGW-U sends a network access notification message to the OAM;
it should be noted that this step is an optional step. This step may be omitted if the network entry operation itself is performed by OAM.
s 2: the OAM judges whether available UE IP address/prefix resources exist, if so, the UE IP address/prefix resources are directly distributed according to a preset strategy; if not, counting and recycling the available UE IP address/prefix resources in the network equipment;
1) if an available IP address pool resource is reserved in the OAM, the OAM may directly configure an address pool for the newly added SMF/PGW-C or UPF/PGW-U, and if so, the flow of the first embodiment is ended.
2) If OAM is used as an external server to maintain the UE IP/prefix resource in the current network as a whole, SMF/PGW-C or UPF/PGW-U instantly acquires a specific address from OAM and allocates corresponding session service when needed, and when the session is established, updated and released, the SMF/PGW-C or UPF/PGW-U correspondingly informs OAM, the OAM can acquire the use and residual situation of the UE IP address/prefix resource in the current network.
Here, the remaining IP address resources in the current network include: a complete unused IP address segment, IP address resources associated with network related parameters, IP address resources reserved for the target user, IP address resources obtained after the target service is released, and other IP address resources.
If so, the OAM may also directly configure the address pool for the newly added SMF/PGW-C or UPF/PGW-U, and its allocation policy is optional:
a. and preferentially allocating the IP address resources with the complete unused IP address field in the available UE IP address/prefix resources.
That is, if there is a complete unused IP address segment for some available UE IP address/prefix resources in the current network, such available UE IP address/prefix resources may be preferentially allocated to the newly added SMF/PGW-C and/or UPF/PGW-U.
b. Preferentially allocating IP address resources associated with network-related parameters from the available UE IP address/prefix resources, wherein the network-related parameters are associated with the newly added SMF/PGW-C and/or UPF/PGW-U;
that is, if some available UE IP addresses/prefixes in the current network are associated with some parameters, such as DNN, S-NSSAI, etc., and the newly-visited SMF/PGW-C and/or UPF/PGW-U are also associated with the above parameters in configuration, such available UE IP addresses/prefixes may be preferentially allocated to the newly-added SMF/PGW-C and/or UPF/PGW-U.
c. If the resources corresponding to the allocation strategy a and the allocation strategy b cannot meet the resource requirements of the newly added network access SMF/PGW-C and/or UPF/PGW-U, allocating other IP address resources except the d allocation strategy and the e allocation strategy;
d. and if the resources corresponding to the allocation strategy a, the allocation strategy b and the allocation strategy C cannot meet the resource requirements of the newly added network access SMF/PGW-C and/or UPF/PGW-U, allocating the UE IP address/prefix resource which is just recovered to be available.
The allocation policy is not an OAM prioritized allocation policy, i.e., is a non-prioritized allocation policy.
The purpose of this policy non-preferential allocation is to avoid scenarios where some traffic is released for some reason but needs to be restored later.
e. And if the resources corresponding to the allocation strategy a, the allocation strategy b and the allocation strategy C cannot meet the resource requirements of the newly added network access SMF/PGW-C and/or UPF/PGW-U, allocating some usable UE IP address/prefix resources with special purposes.
E.g., UE IP address/prefix resources reserved for a particular user.
The allocation policy is not an OAM prioritized allocation policy, i.e., is a non-prioritized allocation policy.
3) If the address pool resources in the OAM have been allocated before, or even if there are remaining address pool resources that do not meet the requirements of the newly added network elements, i.e. the newly added SMF/PGW-C and/or UPF/PGW-U, if the associated DNN, S-NSSAI does not meet the requirements of the newly added network elements, the OAM needs to perform statistical recovery on the address resources available in the current network and allocate them to the newly added SMF/PGW-C or UPF/PGW-U. I.e. step s3 is performed.
s 3: OAM sends a statistical report request message to SMF/PGW-C and/or UPF/PGW-U of the network;
here, the SMF/PGW-C and/or UPF/PGW-U at the net, i.e., the network devices in the network that have not changed in the state of the net, i.e., the original SMF/PGW-C and/or UPF/PGW-U in the network.
Here, the statistics report request message is used to instruct the SMF/PGW-C and/or UPF/PGW-U on the network to report the currently available UE IP address/prefix resource.
Optionally, the statistical reporting request message carries a preset resource reporting policy.
s 4: and the SMF/PGW-C and/or UPF/PGW-U of the network reports at least part of available UE IP address/prefix resources based on a preset resource reporting strategy, reports the reported response message to OAM through statistics, and removes the reported UE IP address/prefix resources from respective address pools.
It should be noted that the preset resource reporting policy is configured in advance, or the preset resource reporting policy is carried in the statistical reporting request message.
The preset resource reporting strategy is configured in advance, namely determined according to the configuration of the preset resource reporting strategy.
The preset resource reporting strategy is carried in the statistical reporting request message, namely, the preset resource reporting strategy is issued through OAM.
Optionally, the preset resource reporting policy includes at least one of the following policies:
(1) reporting a majority of the available address resources in the SMF/PGW-C and/or UPF/PGW-U of the network to the OAM;
here, the policy is to avoid a new IP address usage requirement during the statistical process, and the SMF/PGW-C and/or UPF/PGW-U in the network reports most (e.g. 90%) of available address resources to be included in the statistical report response message according to the configuration or requirement, and sets a flag, in anticipation of receiving the IP address resources reallocated by OAM in steps 6a,7a, and 8 a.
(2) Reporting a small part of available address resources in the SMF/PGW-C and/or UPF/PGW-U of the network to OAM;
here, the SMF/PGW-C and/or UPF/PGW-U on the network reports a small portion (e.g., 10%) of its currently available UE IP address/prefix resources to the OAM in the statistics report response message according to its configuration or requirements, and sets a flag bit in anticipation of not requiring the IP address resources reallocated by the OAM.
(3) If the UE IP address/prefix resources of the SMF/PGW-C and/or UPF/PGW-U on the network are allocated in the form of IP address pool IDs, according to the configuration or requirement, the complete available IP address pool IDs are preferentially reported to the OAM, and the remaining available UE IP addresses/prefixes of the address pool that have already used part of the IP addresses can be reported at the same time.
(4) And the SMF/PGW-C and/or UPF/PGW-U of the network reports the newly recovered available UE IP address/prefix resource in a non-preferential manner according to the configuration or the requirement.
The purpose of the non-priority reporting of the strategy is to avoid a scenario that some services are released for some reasons but need to be restored later.
(5) And the SMF/PGW-C and/or UPF/PGW-U of the network reports the available UE IP address/prefix resources with certain special purposes in a non-preferential way according to the configuration or the requirement of the SMF/PGW-C and/or UPF/PGW-U.
Such as UE IP address/prefix resources reserved for a particular user.
It should be noted that the strategies (1) to (5) above may be used in combination.
For a certain SMF/PGW-C and/or UPF/PGW-U, at most one of the strategies (1) and (2) can be used.
For the SMF/PGW-C and/or UPF/PGW-U using the strategy (2), the reported IP address resources are all recovered by OAM, and when the step is executed after the step s5b, the whole process is ended;
if strategy (2) is not used, steps s5a, s5c, s6, s7, s8 need to be performed.
s5 a: and the OAM sends an IP address allocation request message to the newly added SMF/PGW-C and/or UPF/PGW-U, wherein the IP address allocation request message carries part of the available IP address/prefix resources obtained by the OAM.
It should be noted that, after receiving the statistics report response message, the OAM summarizes the available UE IP address/prefix reported by the original SMF/PGW-C and/or UPF/PGW-U in the network, and allocates a part of the available UE IP address/prefix to the newly added SMF/PGW-C or UPF/PGW-U through the IP address allocation request message according to the configuration or the requirement of the available UE IP address/prefix. Optionally:
(1) if the available UE IP addresses/prefixes reported by the SMF/PGW-C and/or UPF/PGW-U on the network are associated with some parameters, such as DNN, S-NSSAI, etc., and the newly added SMF/PGW-C and/or UPF/PGW-U are also associated with the above parameters in configuration, such available UE IP addresses/prefixes may be preferentially allocated to the newly added SMF/PGW-C and/or UPF/PGW-U.
s5 b: and the OAM sends an IP address allocation request message to the newly added SMF/PGW-C and/or UPF/PGW-U, wherein the IP address allocation request message carries all the resources of the available IP address/prefix resources obtained by the OAM.
s5 c: and the newly added SMF/PGW-C and/or UPF/PGW-U sends an IP address allocation response message to the OAM.
This step may be a step after step s5a or after step s5 b.
s 6: OAM sends IP address allocation request message to SMF/PGW-C and/or UPF/PGW-U of the network, the IP address allocation request message carries the remaining available IP address resources in OAM;
here, the remaining available IP address resources are the remaining available IP address resources except for the newly added SMF/PGW-C and/or UPF/PGW-U, among the available IP address/prefix resources obtained by OAM.
s 7: and after the SMF/PGW-C and/or UPF/PGW-U of the network receives the IP address allocation request message, adding the IP address/prefix resource reallocated from the OAM into the respective IP address pool.
s 8: and the SMF/PGW-C and/or UPF/PGW-U of the network sends an IP address allocation response message to the OAM.
Example two
Referring to FIG. 5, a network scenario requiring removal of one SMF/PGW-C or UPF/PGW-U
s 11: the SMF/PGW-C or UPF/PGW-U of the network quitting sends a network quitting notification message to the OAM;
it should be noted that this step is an optional step. This step may be omitted if the logout operation itself is performed by OAM.
Here, the network exit notification message may carry the UE IP address/prefix resource used by the network exit SMF/PGW-C or UPF/PGW-U when the network exits.
s12 a: and the SMF/PGW-C or UPF/PGW-U exiting the network sends a statistical report request message to the OAM, wherein the statistical report request message carries the UE IP address/prefix resource used by the SMF/PGW-C or UPF/PGW-U exiting the network when the network is on.
s12 b: and the OAM directly reads the record and acquires the UE IP address/prefix resource used by the network-quitting SMF/PGW-C or UPF/PGW-U when the network is in the quit state.
Here, the OAM keeps a record of the UE IP address/prefix resource used by the SMF/PGW-C or UPF/PGW-U previously allocated to the logout network when it is on the network, so the OAM can directly read the record and reclaim the relevant UE IP address/prefix resource.
It should be noted that s12a and s12b are optional steps.
s 13: and the OAM sends a statistical report response message to the SMF/PGW-C or UPF/PGW-U of the quit network.
This step corresponds to step s12 a.
s 14: and the OAM stores the UE IP address/prefix resource used by the SMF/PGW-C or UPF/PGW-U which exits the network when the network exists.
This step is an optional step, and if this step is executed, the flow of the second embodiment is ended.
s 15: and the OAM sends an IP address allocation request message to the SMF/PGW-C and/or the UPF/PGW-U of the network, wherein the IP address allocation request message carries the UE IP address/prefix resource used by the SMF/PGW-C or the UPF/PGW-U of the network quitting when the network is in the network.
This step is an optional step. That is, the OAM reallocates the UE IP address/prefix resource used by the withdrawn SMF/PGW-C or UPF/PGW-U on the network to other SMF/PGW-C and/or UPF/PGW-U on the network through the IP address allocation request message according to the configuration. Optionally:
(1) if some UE IP addresses/prefixes used by the descreened SMF/PGW-C or UPF/PGW-U are associated with parameters such as DNN, S-NSSAI, etc. and the services or addresses of some SMF/PGW-C or UPF/PGW-U existing in the network are also associated with these parameters, the OAM may preferentially assign these UE IP addresses/prefixes to these SMF/PGW-C or UPF/PGW-U.
(2) If some UE IP addresses/prefixes used by the descreened SMF/PGW-C or UPF/PGW-U are of special use, e.g., reserved for a specific user, and the services or addresses of some SMF/PGW-C or UPF/PGW-U existing in the network also serve the specific use, the OAM may preferentially allocate these UE IP addresses/prefixes to these SMF/PGW-C or UPF/PGW-U.
Note that the strategies (1) to (2) described above may be used in combination.
s 16: and after the SMF/PGW-C and/or UPF/PGW-U of the network receives the IP address allocation request message, adding the IP address/prefix resource reallocated from the OAM into the respective IP address pool.
s 17: and the SMF/PGW-C and/or UPF/PGW-U of the network sends an IP address allocation response message to the OAM.
As shown in fig. 6, an embodiment of the present invention further provides a communication device, where the communication device is a first management device, and the communication device includes: memory 620, transceiver 600, processor 610: a memory 620 for storing a computer program; a transceiver 600 for transceiving data under the control of the processor 610; a processor 610 for reading the computer program in the memory 620 and performing the following operations:
and under the condition that the change of the network state of the first network equipment in the target network is detected, the first management equipment adjusts the IP address resource of the target network.
Wherein in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 610, and various circuits, represented by memory 620, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 600 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 610 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 610 in performing operations.
The processor 610 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
Optionally, the processor 610 is further configured to:
through the transceiver 600, under the condition that it is detected that a first network device in a target network is in a newly added network access state, a first management device sends a first address resource to the first network device, where the first address resource is at least a part of address resources of a target IP address resource;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Optionally, when the target IP address resource is a remaining IP address resource that is not allocated to the second network device by the current network; the transceiver 600 is further configured to:
allocating a first address resource to the first network device based on a preset resource allocation strategy, wherein the remaining IP address resource comprises a complete unused IP address field, IP address resources associated with network related parameters, IP address resources reserved for a target user, IP address resources obtained after target services are released, and other IP address resources;
the preset resource allocation policy comprises at least one of the following policies:
a first allocation strategy: preferentially distributing the complete unused IP address field in the residual IP address resources;
and a second allocation policy: preferentially allocating IP address resources associated with network-related parameters of the remaining IP address resources, the first network device being associated with the network-related parameters;
a third allocation strategy: if the resources corresponding to the first allocation strategy and the second allocation strategy cannot meet the resource requirement of the first network equipment, allocating the other IP address resources;
a fourth allocation strategy: if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources reserved for the target user;
a fifth allocation strategy: and if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources obtained after the target service in the residual IP address resources is released.
Optionally, when the target IP address resource is an IP address resource allocated to the second network device and not used by the second network device; the transceiver 600 is further configured to:
sending a first statistical report request message to the second network equipment;
receiving a first statistical reporting response message sent by the second network device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
Optionally, the transceiver 600 is further configured to:
and sending a second address resource to the second network equipment, wherein the second address resource is the rest address resource except the first address resource in the target IP address resource.
Optionally, the processor 610 is further configured to:
under the condition that the network state of first network equipment in a target network is detected to be changed into a network quitting state, first management equipment recovers IP address resources used by the first network equipment in the network and sets the IP address resources as candidate available IP address resources, so that the first management equipment adjusts the IP address resources of the target network based on the candidate available IP address resources.
Optionally, the transceiver 600 is further configured to:
and sending a third address resource to the network equipment in the target network without changing the network state or the network equipment in the newly added network-accessing state in the target network, wherein the third address resource is at least part of the address resource of the IP address resource used by the first network equipment in the network accessing process.
Optionally, the transceiver 600 is further configured to:
receiving a network quitting notification message sent by the first network device, wherein the network quitting notification message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
receiving a second statistical reporting request message sent by the first network device, wherein the second statistical reporting request message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and reading the IP address resource used by the first network equipment in the network in the pre-stored resource information record.
According to the communication equipment provided by the embodiment of the invention, under the condition that the change of the network state of the first network equipment in the target network is detected, the IP address resource of the target network is adjusted through the first management equipment, so that the IP address resource in the network can be uniformly planned, and the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network is realized.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
As shown in fig. 7, an embodiment of the present invention further provides a resource processing apparatus, including:
a first resource adjusting unit 701, configured to adjust an IP address resource of a target network when detecting that a network status of a first network device in the target network changes.
Optionally, the first resource adjusting unit 701 is further configured to:
under the condition that a first network device in a target network is detected to be in a newly added network access state, sending a first address resource to the first network device, wherein the first address resource is at least part of address resources of a target IP address resource;
the target IP address resource comprises at least one of:
reserved IP address resources;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Optionally, when the target IP address resource is a remaining IP address resource that is not allocated to the second network device by the current network;
the first resource adjusting unit 701 is further configured to:
allocating a first address resource to the first network device based on a preset resource allocation strategy, wherein the remaining IP address resource comprises a complete unused IP address field, IP address resources associated with network related parameters, IP address resources reserved for a target user, IP address resources obtained after target services are released, and other IP address resources;
the preset resource allocation policy comprises at least one of the following policies:
a first allocation strategy: preferentially distributing the complete unused IP address field in the residual IP address resources;
a second allocation policy: preferentially allocating IP address resources associated with network-related parameters of the remaining IP address resources, the first network device being associated with the network-related parameters;
a third allocation strategy: if the resources corresponding to the first allocation strategy and the second allocation strategy cannot meet the resource requirement of the first network equipment, allocating the other IP address resources;
a fourth allocation strategy: if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources reserved for the target user;
a fifth allocation strategy: and if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources obtained after the target service in the residual IP address resources is released.
Optionally, when the target IP address resource is an IP address resource allocated to the second network device and not used by the second network device; the device further comprises:
a first sending unit, configured to send a first statistical report request message to the second network device;
a first receiving unit, configured to receive a first statistical reporting response message sent by the second network device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a preconfigured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
Optionally, the apparatus further comprises:
a second sending unit, configured to send a second address resource to the second network device, where the second address resource is a remaining address resource of the target IP address resource except for the first address resource.
Optionally, the first resource processing unit 701 is further configured to:
under the condition that the network state of first network equipment in a target network is detected to be changed into a network quitting state, recovering IP address resources used by the first network equipment in the network, and setting the IP address resources as candidate available IP address resources so that a first resource processing unit adjusts the IP address resources of the target network based on the candidate available IP address resources.
Optionally, the apparatus further comprises:
a third sending unit, configured to send a third address resource to a network device in a target network that has no change in a network state or a network device in a newly added network entry state in the target network, where the third address resource is at least part of an IP address resource used by the first network device when the network is established.
Optionally, the first resource processing unit 701 is further configured to:
receiving a network quitting notification message sent by the first network device, wherein the network quitting notification message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
receiving a second statistical reporting request message sent by the first network device, wherein the second statistical reporting request message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and reading the IP address resource used by the first network equipment in the network in the pre-stored resource information record.
The resource processing device of the embodiment of the invention can carry out unified planning on the IP address resources in the network by adjusting the IP address resources of the target network under the condition of detecting the change of the network state of the first network equipment in the target network, thereby realizing the purpose that the IP address resources in the network are reasonably utilized by each network equipment in the network.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In some embodiments of the invention, there is also provided a processor-readable storage medium storing program instructions for causing a processor to perform steps of:
and under the condition that the change of the network state of the first network equipment in the target network is detected, adjusting the IP address resource of the target network.
When executed by the processor, the program instructions may implement all the implementation manners in the method embodiment applied to the communication device side shown in fig. 1, and are not described herein again to avoid repetition.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
As shown in fig. 8, an embodiment of the present invention further provides a communication device, where the communication device is a first network device, and includes: memory 820, transceiver 800, processor 810: a memory 820 for storing a computer program; a transceiver 800 for transceiving data under the control of the processor 810; a processor 810 for reading the computer program in the memory 820 and performing the following operations:
and under the condition that the on-network state of the first network equipment in the target network changes, the IP address resource adjustment of the first management equipment is accepted.
Where in fig. 8, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 810, and various circuits, represented by memory 820, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 800 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 810 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 810 in performing operations.
The processor 810 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
Optionally, the processor 810 is further configured to:
through the transceiver 800, under the condition that a first network device in a target network is in a newly added network-accessing state, receiving a first address resource or a third address resource sent by a first management device, where the first address resource is at least a part of address resources of a target IP address resource, and the third address resource is at least a part of address resources of IP address resources used by a network device in the target network that changes from a network-accessing state to a network-withdrawing state when the network is on the network;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management equipment;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Optionally, the processor 810 is further configured to:
through the transceiver 800, when the network presence state of the first network device in the target network changes to the network withdrawal state, the IP address resource used by the first network device when the network is present is sent to the first management device.
Optionally, the transceiver 800 is further configured to:
sending a network quitting notification message to the first management device, wherein the network quitting notification message carries the IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and sending a second statistical report request message to the first management device, where the second statistical report request message carries an IP address resource used by the first network device when the first network device is on the network.
The communication device of the embodiment of the invention receives the IP address resource adjustment of the first management device under the condition that the network state of the first network device in the target network changes, is beneficial to the first management device to carry out uniform planning on the IP address resource in the network, and achieves the purpose that the IP address resource in the network is reasonably utilized by each network device in the network.
It should be noted that the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are not repeated herein.
As shown in fig. 9, an embodiment of the present invention further provides a resource transmission apparatus, including:
a second resource adjusting unit 901, configured to accept resource adjustment of an IP address of a first management device in the target network when the on-network status of the first network device changes.
Optionally, the second resource adjusting unit 901 is further configured to:
under the condition that a first network device in a target network is in a newly-added network-accessing state, receiving a first address resource or a third address resource sent by a first management device, wherein the first address resource is at least part of address resources of a target IP address resource, and the third address resource is at least part of address resources of IP address resources used by a network device in the target network, the network state of which is changed into a network-quitting state, when the network is accessed;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
Optionally, the second resource adjusting unit 901 is further configured to:
and when the network-on state of the first network equipment in the target network changes into the network-off state, sending the IP address resource used by the first network equipment in the network to the first management equipment.
Optionally, the second resource adjusting unit 901 is further configured to:
sending a network quitting notification message to the first management device, wherein the network quitting notification message carries the IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and sending a second statistical report request message to the first management device, where the second statistical report request message carries an IP address resource used by the first network device when the first network device is on the network.
The resource transmission device of the embodiment of the invention receives the IP address resource adjustment of the first management equipment under the condition that the network state of the first network equipment in the target network changes, is beneficial to the first management equipment to carry out uniform planning on the IP address resource in the network, and achieves the purpose that the IP address resource in the network is reasonably utilized by each network equipment in the network.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In some embodiments of the invention, there is also provided a processor-readable storage medium storing program instructions for causing a processor to perform steps of:
and under the condition that the on-network state of the first network equipment in the target network changes, the IP address resource adjustment of the first management equipment is accepted.
When executed by the processor, the program can implement all the implementation manners in the method embodiment applied to the communication device side shown in fig. 2, and details are not described here for avoiding repetition.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
As shown in fig. 10, an embodiment of the present invention further provides a communication device, where the communication device is a second network device, and the communication device includes: memory 1020, transceiver 1000, processor 1010: a memory 1020 for storing a computer program; a transceiver 1000 for transceiving data under the control of the processor 1010; a processor 1010 for reading the computer program in the memory 1020 and performing the following operations:
under the condition that the network state of first network equipment in a target network changes, receiving the adjustment of first management equipment to the IP address resource of second network equipment;
the second network device is a network device in the target network, the network state of which is not changed.
Where in fig. 10, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1010 and various circuits of memory represented by memory 1020 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1000 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 1010 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1010 in performing operations.
The processor 1010 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
Optionally, the processor 1010 is further configured to:
reporting IP address resources which are allocated to the second network equipment and are not used by the second network equipment to the first management equipment through the transceiver 1000 under the condition that the first network equipment in the target network is in a newly added network-accessing state, and removing the reported IP address resources; alternatively, the first and second electrodes may be,
when the network state of the first network device in the target network changes to the network quitting state, receiving, by the transceiver 1000, a third address resource sent by the first management device, and adding the third address resource to the address pool of the second network device, where the third address resource is at least a part of an IP address resource used by the first network device when the network is on.
Optionally, the transceiver 1000 is further configured to:
receiving a first statistical reporting request message sent by the first management device;
sending a first statistical reporting response message to the first management device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
Optionally, the transceiver 1000 is further configured to:
receiving a second address resource sent by the first management device, and adding the second address resource to an address pool of the second network device, wherein the second address resource is a residual address resource except the first address resource in a target IP address resource;
wherein the first address resource is an IP address resource allocated to the first network device by the first management device;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
an IP address resource allocated to the second network device and unused by the second network device.
The communication device of the embodiment of the invention receives the adjustment of the first management device to the IP address resource of the second network device under the condition that the network state of the first network device in the target network changes; the second network device is a network device in which the network state is not changed in the target network, and the first management device is helpful to perform unified planning on the IP address resources in the network, so that the purpose that the IP address resources in the network are reasonably utilized by each network device in the network is achieved.
It should be noted that the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are not repeated herein.
As shown in fig. 11, an embodiment of the present invention further provides a resource transmission apparatus, including:
a third resource processing unit 1101, configured to accept, when the network status of the first network device in the target network changes, an adjustment of the IP address resource of the second network device by the first management device; the second network device is a network device in the target network, the network state of which is not changed.
Optionally, the third resource processing unit 1101 is further configured to:
under the condition that a first network device in a target network is in a newly added network-accessing state, reporting IP address resources which are allocated to a second network device and are not used by the second network device to a first management device, and removing the reported IP address resources; alternatively, the first and second electrodes may be,
when the network state of a first network device in a target network changes to a network quitting state, receiving a third address resource sent by a first management device, and adding the third address resource to an address pool of a second network device, wherein the third address resource is at least part of an IP address resource used by the first network device when the network is on.
Optionally, the third resource processing unit 1101 is further configured to:
receiving a first statistical reporting request message sent by the first management device;
sending a first statistical reporting response message to the first management device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive a second address resource sent by the first management device, and add the second address resource to an address pool of the second network device, where the second address resource is a remaining address resource except for the first address resource in a target IP address resource;
wherein the first address resource is an IP address resource allocated to the first network device by the first management device;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
an IP address resource allocated to the second network device and unused by the second network device.
The resource transmission device of the embodiment of the invention receives the adjustment of the first management equipment to the IP address resource of the second network equipment under the condition that the network state of the first network equipment in the target network changes; the second network device is a network device in which the network state is not changed in the target network, and the first management device is helpful to perform unified planning on the IP address resources in the network, so that the purpose that the IP address resources in the network are reasonably utilized by each network device in the network is achieved.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In some embodiments of the invention, there is also provided a processor-readable storage medium storing program instructions for causing a processor to perform steps of:
under the condition that the network state of first network equipment in a target network changes, receiving the adjustment of first management equipment to the IP address resource of second network equipment; the second network device is a network device in the target network, the network state of which is not changed.
When executed by the processor, the program instructions may implement all the implementation manners in the method embodiment applied to the communication device side shown in fig. 3, and are not described herein again to avoid repetition.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
The technical scheme provided by the embodiment of the application can be suitable for various systems, particularly 5G systems. For example, the applicable System may be a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (General Packet Radio Service, GPRS) System, a Long Term Evolution (Long Term Evolution, LTE) System, a LTE Frequency Division Duplex (FDD) System, a LTE Time Division Duplex (TDD) System, a Long Term Evolution (Long Term Evolution, LTE-a) System, a Universal Mobile telecommunications System (Universal Mobile telecommunications System, UMTS), a Universal internet Access (WiMAX) System, a New Radio Access (NR 5, New NR) System, etc. These various systems include terminal devices and network devices. The System may further include a core network portion, such as an Evolved Packet System (EPS), a 5G System (5GS), and the like.
The communication device according to the embodiment of the present application may be a base station, and the base station may include a plurality of cells for providing services to a terminal. A base station may also be referred to as an access point, or a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminal devices, or by other names, depending on the particular application. The network device may be configured to exchange received air frames with Internet Protocol (IP) packets as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) communication network. The network device may also coordinate attribute management for the air interface. For example, the network device according to the embodiment of the present application may be a Base Transceiver Station (BTS) in a Global System for Mobile communications (GSM) or a Code Division Multiple Access (CDMA), may be a network device (NodeB) in a Wideband Code Division Multiple Access (WCDMA), may be a evolved Node B (eNB or e-NodeB) in a Long Term Evolution (Long Term Evolution, LTE) System, may be a 5G Base Station (gbb) in a 5G network architecture (next generation System), may be a Home evolved Node B (Home B, HeNB), a relay Node (relay Node), a Home Base Station (femto), a pico Base Station (pico Base Station), and the like, and is not limited in the embodiments of the present application. In some network architectures, network devices may include Centralized Unit (CU) nodes and Distributed Unit (DU) nodes, which may also be geographically separated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (23)

1. A method for processing resources, comprising:
and under the condition that the change of the network state of the first network equipment in the target network is detected, the first management equipment adjusts the IP address resource of the target network.
2. The method of claim 1, wherein in the case that a change in the network status of the first network device in the target network is detected, the first management device adjusting the IP address resource of the target network comprises:
under the condition that a first network device in a target network is detected to be in a newly added network access state, a first management device sends a first address resource to the first network device, wherein the first address resource is at least part of address resources of a target IP address resource;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
3. The method of claim 2, wherein when the target IP address resource is a remaining IP address resource that is not allocated to the second network device by the current network;
sending a first address resource to the first network device, comprising:
allocating a first address resource to the first network device based on a preset resource allocation strategy, wherein the remaining IP address resources comprise a complete unused IP address field, IP address resources associated with network related parameters, IP address resources reserved for a target user, IP address resources obtained after target services are released, and other IP address resources;
the preset resource allocation policy comprises at least one of the following policies:
a first allocation strategy: preferentially distributing the complete unused IP address field in the residual IP address resources;
and a second allocation policy: preferentially allocating IP address resources associated with network-related parameters of the remaining IP address resources, the first network device being associated with the network-related parameters;
a third allocation strategy: if the resources corresponding to the first allocation strategy and the second allocation strategy cannot meet the resource requirement of the first network equipment, allocating the other IP address resources;
a fourth allocation strategy: if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources reserved for the target user;
a fifth allocation strategy: and if the resources corresponding to the first allocation strategy, the second allocation strategy and the third allocation strategy cannot meet the resource requirement of the first network equipment, allocating the IP address resources obtained after the target service in the residual IP address resources is released.
4. The method of claim 2, wherein when the target IP address resource is an IP address resource allocated to the second network device and unused by the second network device;
before sending the first address resource to the first network device, the method further includes:
sending a first statistical report request message to the second network equipment;
receiving a first statistical reporting response message sent by the second network device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
5. The method of claim 2, wherein after sending the first address resource to the first network device, the method further comprises:
and sending a second address resource to the second network equipment, wherein the second address resource is the rest address resource except the first address resource in the target IP address resource.
6. The method of claim 1, wherein in the case that a change in the network status of the first network device in the target network is detected, the first management device adjusting the IP address resource of the target network comprises:
under the condition that the network state of first network equipment in a target network is detected to be changed into a network quitting state, first management equipment recovers IP address resources used by the first network equipment in the network and sets the IP address resources as candidate available IP address resources, so that the first management equipment adjusts the IP address resources of the target network based on the candidate available IP address resources.
7. The method of claim 6, further comprising:
and sending a third address resource to the network equipment in the target network without changing the network state or the network equipment in the newly added network-accessing state in the target network, wherein the third address resource is at least part of the address resource of the IP address resource used by the first network equipment in the network accessing process.
8. The method of claim 6, wherein reclaiming the IP address resources used by the first network device while on the net comprises:
receiving a network quitting notification message sent by the first network device, wherein the network quitting notification message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
receiving a second statistical reporting request message sent by the first network device, wherein the second statistical reporting request message carries an IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and reading the IP address resource used by the first network equipment in the network in the pre-stored resource information record.
9. A method for processing resources, comprising:
and under the condition that the on-network state of the first network equipment in the target network changes, the first network equipment accepts the IP address resource adjustment of the first management equipment.
10. The method of claim 9, wherein the first network device accepts the IP address resource adjustment of the first management device in case of a change in the on-network status of the first network device in the target network, comprising:
under the condition that a first network device in a target network is in a newly-added network-accessing state, the first network device receives a first address resource or a third address resource sent by a first management device, wherein the first address resource is at least part of address resources of a target IP address resource, and the third address resource is at least part of address resources of the IP address resource used by the network device in the target network when the network state changes to a network-quitting state;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
and allocating the IP address resource which is not used by the second network equipment to the second network equipment, wherein the second network equipment is the network equipment which has no change in the network state in the target network.
11. The method of claim 9, wherein in case of a change in the network status of a first network device in the target network, the first network device accepts the adjustment of the IP address resource of the first management device, comprising:
when the network state of a first network device in a target network changes to a network quitting state, the first network device sends an IP address resource used by the first network device when the first network device is on the network to a first management device.
12. The method of claim 11, wherein sending the IP address resource used by the first network device while on the net to the first management device comprises:
sending a network quitting notification message to the first management device, wherein the network quitting notification message carries the IP address resource used by the first network device when the first network device is on the network; alternatively, the first and second electrodes may be,
and sending a second statistical report request message to the first management device, where the second statistical report request message carries an IP address resource used by the first network device when the first network device is on the network.
13. A method for processing resources, comprising:
under the condition that the network state of first network equipment in a target network changes, second network equipment receives the adjustment of first management equipment to the IP address resource of the second network equipment;
the second network device is a network device in the target network, the network state of which is not changed.
14. The method of claim 13, wherein the second network device accepts the adjustment of the IP address resource of the second network device by the first management device in case of a change in the network status of the first network device in the target network, comprising:
under the condition that a first network device in a target network is in a newly-added network-accessing state, a second network device reports an IP address resource which is distributed to the second network device and is not used by the second network device to a first management device, and removes the reported IP address resource; alternatively, the first and second electrodes may be,
when the network state of a first network device in a target network changes to a network quitting state, a second network device receives a third address resource sent by a first management device and adds the third address resource to an address pool of the second network device, wherein the third address resource is at least part of an IP address resource used by the first network device when the network is on.
15. The method of claim 14, wherein the second network device reporting to the first management device the IP address resources allocated to the second network device and unused by the second network device, the method comprising:
receiving a first statistical reporting request message sent by the first management device;
sending a first statistical reporting response message to the first management device, where the first statistical reporting response message carries an unused IP address resource reported by the second network device based on a preset resource reporting policy, where the preset resource reporting policy is a pre-configured policy, or the preset resource reporting policy is carried in the first statistical reporting request message;
the preset resource reporting policy comprises at least one of the following policies:
a first reporting strategy: reporting a part of address resources in the unused IP address resources in the second network equipment, wherein the ratio of the number of the part of address resources to the number of the unused IP address resources in the second network equipment is larger than a first preset threshold value or smaller than a second preset threshold value;
and a second reporting strategy: preferentially reporting the complete unused IP address pool identification in the second network equipment and the residual unused IP address resources in the used IP address pool;
a third reporting strategy: non-preferentially reporting the IP address resource reserved for the target user in the second network equipment;
a fourth reporting strategy: and reporting the IP address resource obtained after the target service in the second network equipment is released in a non-preferential manner.
16. The method of claim 14, wherein after the second network device reports to the first management device the IP address resources allocated to the second network device and unused by the second network device, the method further comprises:
receiving a second address resource sent by the first management device, and adding the second address resource to an address pool of the second network device, wherein the second address resource is a residual address resource except the first address resource in a target IP address resource;
wherein the first address resource is an IP address resource allocated to the first network device by the first management device;
the target IP address resource comprises at least one of:
IP address resources reserved by the first management device;
the current network does not allocate the residual IP address resources of the second network equipment;
an IP address resource allocated to the second network device and unused by the second network device.
17. A communication device, which is a first management device, comprising: memory, transceiver, processor: a memory for storing program instructions; a transceiver for transceiving data under control of the processor; a processor to read program instructions in the memory and perform the following:
and under the condition that the change of the network state of the first network equipment in the target network is detected, adjusting the IP address resource of the target network.
18. A resource processing apparatus, comprising:
and the first resource adjusting unit is used for adjusting the IP address resource of the target network under the condition that the change of the network state of the first network equipment in the target network is detected.
19. A communication device, the communication device being a first network device, comprising: memory, transceiver, processor: a memory for storing program instructions; a transceiver for transceiving data under control of the processor; a processor to read program instructions in the memory and perform the following:
and under the condition that the on-network state of the first network equipment in the target network changes, the IP address resource adjustment of the first management equipment is accepted.
20. A resource processing apparatus, comprising:
and the second resource adjusting unit is used for receiving the IP address resource adjustment of the first management equipment under the condition that the network state of the first network equipment in the target network is changed.
21. A communication device, the communication device being a second network device, comprising: memory, transceiver, processor: a memory for storing program instructions; a transceiver for transceiving data under control of the processor; a processor to read program instructions in the memory and perform the following:
under the condition that the network state of first network equipment in a target network changes, receiving the adjustment of first management equipment to the IP address resource of second network equipment;
the second network device is a network device in the target network, the network state of which is not changed.
22. A resource processing apparatus, comprising:
a third resource adjusting unit, configured to accept, when an on-network state of a first network device in a target network changes, adjustment of an IP address resource of a second network device by a first management device; the second network device is a network device in the target network, the network state of which is not changed.
23. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to perform the steps of the resource processing method of any one of claims 1 to 8, or to perform the steps of the resource processing method of any one of claims 9 to 12, or to perform the steps of the resource processing method of any one of claims 13 to 16.
CN202110053772.1A 2021-01-15 2021-01-15 Resource processing method and device and communication equipment Active CN114844862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110053772.1A CN114844862B (en) 2021-01-15 2021-01-15 Resource processing method and device and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110053772.1A CN114844862B (en) 2021-01-15 2021-01-15 Resource processing method and device and communication equipment

Publications (2)

Publication Number Publication Date
CN114844862A true CN114844862A (en) 2022-08-02
CN114844862B CN114844862B (en) 2023-09-05

Family

ID=82561167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110053772.1A Active CN114844862B (en) 2021-01-15 2021-01-15 Resource processing method and device and communication equipment

Country Status (1)

Country Link
CN (1) CN114844862B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096391A (en) * 2011-11-02 2013-05-08 华为终端有限公司 Resource optimization method and device under multiple public data network (PDN) connections
CN104506669A (en) * 2014-12-30 2015-04-08 中国科学院信息工程研究所 IP address distribution system and method facing distributed network simulation platform
US20160248732A1 (en) * 2015-02-20 2016-08-25 Red Hat Israel, Ltd. Mangement of network address pools
CN106506198A (en) * 2016-10-20 2017-03-15 新奥科技发展有限公司 A kind of micronet system and control method
CN108476549A (en) * 2016-01-19 2018-08-31 华为技术有限公司 A kind of IP address distribution method and equipment
CN109391563A (en) * 2017-08-08 2019-02-26 华为技术有限公司 A kind of method for obligating resource and relevant device
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN110519093A (en) * 2019-08-27 2019-11-29 重庆大学 A kind of information acquisition system network architecture based on ubiquitous electric power Internet of Things
CN111131529A (en) * 2018-11-01 2020-05-08 中兴通讯股份有限公司 Method, device and storage medium for centralized management of address pools

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096391A (en) * 2011-11-02 2013-05-08 华为终端有限公司 Resource optimization method and device under multiple public data network (PDN) connections
CN104506669A (en) * 2014-12-30 2015-04-08 中国科学院信息工程研究所 IP address distribution system and method facing distributed network simulation platform
US20160248732A1 (en) * 2015-02-20 2016-08-25 Red Hat Israel, Ltd. Mangement of network address pools
CN108476549A (en) * 2016-01-19 2018-08-31 华为技术有限公司 A kind of IP address distribution method and equipment
CN106506198A (en) * 2016-10-20 2017-03-15 新奥科技发展有限公司 A kind of micronet system and control method
CN109391563A (en) * 2017-08-08 2019-02-26 华为技术有限公司 A kind of method for obligating resource and relevant device
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN111131529A (en) * 2018-11-01 2020-05-08 中兴通讯股份有限公司 Method, device and storage medium for centralized management of address pools
CN110519093A (en) * 2019-08-27 2019-11-29 重庆大学 A kind of information acquisition system network architecture based on ubiquitous electric power Internet of Things

Also Published As

Publication number Publication date
CN114844862B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
JP7150756B2 (en) System message notification, transmission method and apparatus
CN111132344B (en) Cross-carrier scheduling method, device and storage medium
CN110166580B (en) Resource management method, equipment and system
KR102654787B1 (en) Method and communication device for supporting time-sensitive communication service quality
RU2633375C2 (en) Communication control device, base station, terminal device and communication control method
EP3101944B1 (en) Facilitating in-bearer qos differentiation in multi-connectivity 5g networks
US20190320436A1 (en) Information transmission method and radio access network device
EP3509372B1 (en) Method, device and system for scheduling logical channel
EP3989637A1 (en) Method and device for controlling data rate in wireless communication system
CN111278016B (en) Network slice processing method, system and storage medium
CN110213066B (en) Slice information acquisition method and relay device
CN109842507B (en) Network slice management method and equipment
CN114270931A (en) Authorization method for network slicing
GB2575033A (en) Communication system
CN112105091A (en) Session management method, Session Management Function (SMF) entity, terminal and network side entity
US8717877B2 (en) Method for completing smooth cut-over, device and equipment for performing cut-over operations
US20220159504A1 (en) Method and apparatus for adjusting qos of a qos flow based on assistance information
CN110138685B (en) Communication method and device
EP3979690A1 (en) Congestion control method and apparatus, computer storage medium and terminal
CN112994920B (en) SCTP connection management method and device
CN113271629A (en) Network load balancing method, access network equipment and network system
CN114946216A (en) Quality of service control method for specific user equipment in slice
CN114844862B (en) Resource processing method and device and communication equipment
WO2022001483A1 (en) Information sending method, nr cell access method, access network device, mobile terminal, and storage medium
CN115314934A (en) Reporting method, equipment, device and storage medium of QoE measurement report

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant