CN108848564B - Method, controller and network system for resource allocation of virtual media gateway - Google Patents
Method, controller and network system for resource allocation of virtual media gateway Download PDFInfo
- Publication number
- CN108848564B CN108848564B CN201810669054.5A CN201810669054A CN108848564B CN 108848564 B CN108848564 B CN 108848564B CN 201810669054 A CN201810669054 A CN 201810669054A CN 108848564 B CN108848564 B CN 108848564B
- Authority
- CN
- China
- Prior art keywords
- virtual media
- media gateway
- resource
- resources
- day
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/53—Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method for distributing resources to a plurality of virtual media gateways, which comprises the following steps: calculating the expected calling times of each virtual media gateway according to the historical calling records of each virtual media gateway; allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway, wherein the number of the resources allocated for the virtual media gateway is positively correlated with the estimated calling times of the virtual media gateway; dividing the resources divided by each virtual media gateway into a plurality of resource slices; and when receiving the resource increasing application signal, distributing the idle resource slices to the virtual media gateway sending the resource increasing application signal. The invention also relates to a controller and a network system. By using the method, the resources can be more reasonably distributed, and the utilization rate of the network resources is improved.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method for resource allocation for a virtual media gateway, a controller for executing the method, and a network system including the controller.
Background
In a Next Generation Network (NGN) system, a switching device of a core Network realizes separation of a bearer function and a control function, that is, an original switching device is separated into two devices: a media controller and a media gateway. The media controller realizes the call control function, and the media gateway realizes the bearing interaction and bearing control functions. A media gateway intelligence is controlled by a media controller as specified by the standard. In order to realize that one media gateway is controlled by a plurality of media controllers, the media gateway can be divided into a plurality of virtual media gateways.
Because the number of users administered by each virtual media gateway is different and the user attributes are different, the resource requirements for the virtual media gateways are different. In the current solution, the resources of the media gateways are simply distributed evenly over each virtual media gateway. Therefore, the resource of some virtual media gateways is insufficient and the resource of some media gateways is idle, thereby reducing the resource utilization rate.
Therefore, how to improve the utilization rate of the media gateway resources becomes a technical problem to be solved urgently in the field.
Disclosure of Invention
The invention aims to provide a method for allocating resources to a virtual media gateway, a controller for executing the method and a network system comprising the controller. The method can be used for allocating resources to the virtual media gateway, so that the allocation is more reasonable, and the utilization rate of network resources is improved.
In order to achieve the above object, as a first aspect of the present invention, there is provided a method for resource allocation to a plurality of virtual media gateways, wherein the method includes:
calculating the expected calling times of each virtual media gateway according to the historical calling records of each virtual media gateway;
allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway, wherein the number of the resources allocated for the virtual media gateway is positively correlated with the estimated calling times of the virtual media gateway;
dividing the resources divided by each virtual media gateway into a plurality of resource slices;
and when receiving the resource increasing application signal, distributing the idle resource slices to the virtual media gateway sending the resource increasing application signal.
Preferably, the expected number of calls for each of the virtual media gateways is calculated according to the following formula (1):
wherein c is day c
NF (c+1)d Estimated call times for the d virtual media gateway on day c + 1;
d is the serial number of the virtual media gateway;
N id call for virtual media gateway on day iCalled the total amount.
Preferably, the amount of resources allocated and obtained by any one virtual media gateway is calculated according to the following formula (2):
wherein, Bd is the resource quantity allocated and obtained by the d-th virtual media gateway;
t is the number of the virtual media gateways;
j is a natural number;
NF (c+1)j estimated number of calls for jth virtual media gateway on day c +1
a is the total number of resources.
Preferably, for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway at the minimum number of calls.
As a second aspect of the present invention, there is provided a controller for controlling a media gateway including a plurality of virtual media gateways and a plurality of resources, wherein the controller includes:
the call frequency calculation module is used for calculating the expected call frequency of each virtual media gateway according to the historical call records of each virtual media gateway;
the resource allocation module is used for allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway;
the resource slice dividing module is used for dividing the resources divided by each virtual media gateway into a plurality of resource slices;
and the allocation module is used for allocating the idle resource slices to the virtual media gateway sending the resource increasing application signal when receiving the resource increasing application signal.
Preferably, the number-of-calls calculating module is configured to calculate the expected number of calls of each virtual media gateway according to the following formula (1):
wherein, c is day c;
NF (c+1)d estimated call times for the d virtual media gateway on day c + 1;
d is the serial number of the virtual media gateway;
N id the total number of calls for the virtual media gateway on day i.
Preferably, the resource allocation module is configured to calculate the amount of resources allocated by any one virtual media gateway according to the following formula (2):
wherein t is the number of the virtual media gateways;
j is a natural number;
NF (c+1)j estimated number of calls for jth virtual media gateway on day c +1
a is the total number of resources.
Preferably, for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway at the minimum number of calls.
As a third aspect of the present invention, a network system is provided, where the network system includes a media gateway, and the media gateway includes a plurality of virtual media gateways and a plurality of resources, where the network system further includes a controller, and the controller is the above controller provided in the present invention.
Preferably, any virtual media gateway can sequentially activate each resource slice corresponding to the virtual media gateway, and can activate the next resource slice when the utilization rate of the previous resource slice exceeds a predetermined utilization rate;
and the virtual media gateway can also generate an increase resource application signal when the ratio of the number of the activated resource slices in the virtual media gateway to the total number of the resource slices in the virtual media gateway exceeds a preset ratio, and send the increase resource application signal to the controller.
In the method provided by the invention, before the resource allocation is carried out on each virtual media gateway, the calling times of the current day are pre-estimated by using the historical calling records to obtain the expected calling times, and then data are allocated to each virtual media gateway according to the expected calling times instead of directly averaging the resources to each virtual media gateway, so that the allocation is more reasonable.
In addition, in the invention, because the resources allocated to each virtual media gateway are divided into resource slices, when the virtual media gateway running in overload exists, the limited resource slices are conveniently allocated to the virtual media gateway running in overload, and the utilization rate of network resources is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a method for resource allocation to a plurality of virtual media gateways according to the present invention;
FIG. 2 is a block schematic diagram of a controller provided by the present invention;
fig. 3 is a schematic diagram of a network system provided by the present invention.
Description of the reference numerals
210: the number of calls calculation module 220: resource allocation module
230: resource slice partitioning module 240: blending module
310: the media gateway 320: controller
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
As a first aspect of the present invention, there is provided a method for resource allocation to a plurality of virtual media gateways, wherein, as shown in fig. 1, the method includes:
in step S110, calculating an expected number of calls of each virtual media gateway according to a historical call record of each virtual media gateway;
in step S120, allocating resources to each virtual media gateway according to the estimated number of calls of each virtual media gateway, where the number of resources allocated to each virtual media gateway is positively correlated to the estimated number of calls of the virtual media gateway;
in step S130, dividing the resources divided by each of the virtual media gateways into a plurality of resource slices;
in step S140, when receiving the resource increase request signal, the idle resource slice is allocated to the virtual media gateway that sends the resource increase request signal.
In the method provided by the invention, before resource allocation is carried out on each virtual media gateway, the calling times of the current day are pre-estimated by using historical calling records to obtain the expected calling times, and then data are allocated to each virtual media gateway according to the expected calling times instead of directly and evenly allocating the resources to each virtual media gateway, so that the allocation is more reasonable.
In addition, in the invention, because the resources allocated to each virtual media gateway are divided into resource slices, when the virtual media gateway running in overload exists, the limited resource slices are conveniently allocated to the virtual media gateway running in overload, and the utilization rate of network resources is improved.
In the present invention, how to calculate the expected number of calls is not limited, and preferably, the expected number of calls of each virtual media gateway may be calculated according to the following formula (1):
wherein, c is day c;
NF (c+1)d estimated call times for the d virtual media gateway on day c + 1;
d is the serial number of the virtual media gateway;
N id the total number of calls for the virtual media gateway on day i.
For convenience of description, each media gateway may include t virtual gateways, and the t virtual gateways are numbered sequentially, that is, the 1 st virtual gateway, the 2 nd virtual gateway, …, the d th virtual gateway, …, and the t th virtual gateway.
As a preferred embodiment of the present invention, M is determined as the value of i is larger i The larger. I.e. M 1 <M 2 <…<M c 。
For convenience of description, the virtual media gateway configured to operate for c days is configured to perform resource allocation, and thus, the expected number of calls is an expected number of calls for c +1 th day. In the application, the estimated calling times are more accurate according to the calling times of each day in the previous c days. In the present invention, the specific value of c is not particularly limited, and for example, c may be 7 days.
In the invention, there is no special requirement on how to calculate the resource quantity of the virtual media gateway, as long as the resource quantity of the virtual media gateway is positively correlated with the estimated calling times of the virtual media gateway. As a preferred embodiment of the present invention, the amount of resources allocated by any one virtual media gateway can be calculated according to the following formula (2):
wherein, Bd is the resource quantity allocated and obtained by the d-th virtual media gateway;
t is the number of the virtual media gateways;
j is a natural number;
NF (c+1)j estimated number of calls for jth virtual media gateway on day c +1
a is the total number of resources.
In order to ensure that each virtual media gateway works normally, it is preferable that, for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway at the minimum call number.
As a second aspect of the present invention, a controller is provided, the controller is configured to control a media gateway, and the media gateway includes a plurality of virtual media gateways and a plurality of resources, wherein, as shown in fig. 2, the controller includes a call number calculation module 210, a resource allocation module 220, a resource slice division module 230, and a deployment module 240. The controller provided by the invention is used for executing the method provided by the invention.
The calling number calculating module 210 is configured to execute step S110, that is, the calling number calling module 210 is configured to calculate an expected calling number of each virtual media gateway according to a historical calling record of each virtual media gateway.
The resource allocation module 220 is configured to perform step S120, that is, the resource allocation module 220 is configured to allocate resources to each virtual media gateway according to the expected number of calls of each virtual media gateway.
The resource slice dividing module 230 is configured to execute step S130, that is, the resource slice dividing module 230 is configured to divide the resources divided by each of the virtual media gateways into a plurality of resource slices.
The allocating module 240 is configured to execute step S140, that is, the allocating module 240 is configured to allocate the idle resource slice to the virtual media gateway that sends the resource addition request signal when receiving the resource addition request signal.
The working principle and the effects of the method have been described in detail above, and are not repeated here.
Preferably, the number-of-calls calculating module 210 is configured to calculate the expected number of calls of each of the virtual media gateways according to the above formula (1).
Preferably, the resource allocation module 220 is configured to calculate the amount of resources allocated by any one virtual media gateway according to the above formula (2).
Preferably, for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway at the minimum number of calls.
As a third aspect of the present invention, a network system is provided, as shown in fig. 3, the network system includes a media gateway 310, where the media gateway 310 includes a plurality of virtual media gateways and a plurality of resources, and the network system further includes a controller 320, which is the above controller provided in the present invention.
Preferably, any one of the virtual media gateways can sequentially activate each resource slice corresponding to the virtual media gateway, and can activate the next resource slice when the utilization rate of the previous resource slice exceeds a predetermined utilization rate.
And the virtual media gateway can also generate an increase resource application signal when the ratio of the number of the activated resource slices in the virtual media gateway to the total number of the resource slices in the virtual media gateway exceeds a preset ratio, and send the increase resource application signal to the controller
The working principle of the above network system provided by the present invention is described below with reference to fig. 3. The working principle of the network system is as follows:
at the end of each day, the call frequency calculation module 210 counts the number of calls of each virtual media gateway on the day, for example, the number of calls of the d-th virtual media gateway on the c-th day is recorded as Ncd;
predicting the expected calling times of c +1 day according to the recorded calling times of the virtual media gateway every day;
allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway;
the virtual media gateway selects the minimum calling times according to the recorded historical calling times;
the virtual media gateway calculates the quantity of resources meeting the minimum calling times according to the minimum calling times, divides the resources allocated to the virtual media gateway into a plurality of resource slices, and each resource slice can meet the minimum calling times of the corresponding media gateway;
starting from the c +1 th day, each virtual media gateway activates a first resource slice in the resources corresponding to the virtual media gateway;
when the resource utilization rate in the first resource slice in the virtual media gateway reaches a threshold value F, activating the second resource slice, and so on;
when the ratio of the number of the activated resource slices in the virtual media gateway to the number of all the resource slices in the virtual media gateway reaches a preset ratio, the virtual media gateway sends a resource increasing application signal to the controller;
and when receiving the resource increasing application signal, the controller allocates the idle resource slices to the virtual media gateway which sends the resource increasing application signal.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.
Claims (10)
1. A method for resource allocation to a plurality of virtual media gateways, the method comprising:
calculating the expected calling times of each virtual media gateway according to the historical calling records of each virtual media gateway;
allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway, wherein the number of the resources allocated for the virtual media gateway is positively correlated with the estimated calling times of the virtual media gateway;
dividing the resources divided by each virtual media gateway into a plurality of resource slices;
and when receiving the resource increasing application signal, distributing the idle resource slices to the virtual media gateway sending the resource increasing application signal.
2. The distribution method according to claim 1, wherein the expected number of calls for each of the virtual media gateways is calculated according to the following formula (1):
wherein c is day c
NF (c+1)d Estimated call times for the d virtual media gateway on day c + 1;
d is the serial number of the virtual media gateway;
N id the total number of calls for the virtual media gateway on day i.
3. The allocation method according to claim 2, wherein the amount of resources allocated by any one virtual media gateway is calculated according to the following formula (2):
wherein, Bd is the resource quantity allocated and obtained by the d-th virtual media gateway;
t is the number of the virtual media gateways;
j is a natural number;
NF (c+1)j estimated number of calls for jth virtual media gateway on day c +1
a is the total number of resources.
4. The allocation method according to any one of claims 1 to 3, wherein for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway for the minimum number of calls.
5. A controller for controlling a media gateway, the media gateway comprising a plurality of virtual media gateways and a plurality of resources, the controller comprising:
the call frequency calculation module is used for calculating the expected call frequency of each virtual media gateway according to the historical call records of each virtual media gateway;
the resource allocation module is used for allocating resources for each virtual media gateway according to the estimated calling times of each virtual media gateway;
the resource slice dividing module is used for dividing the resources divided by each virtual media gateway into a plurality of resource slices;
and the allocation module is used for allocating the idle resource slices to the virtual media gateway which sends the resource adding application signal when receiving the resource adding application signal.
6. The controller according to claim 5, wherein the number of calls calculating module is configured to calculate the expected number of calls for each of the virtual media gateways according to the following formula (1):
wherein, c is day c;
NF (c+1)d estimated call times for the d virtual media gateway on day c + 1;
d is the serial number of the virtual media gateway;
N id the total number of calls for the virtual media gateway on day i.
7. The controller according to claim 6, wherein the resource allocation module is configured to calculate the amount of resources allocated by any one of the virtual media gateways according to the following formula (2):
wherein t is the number of the virtual media gateways;
j is a natural number;
NF (c+1)j estimated number of calls for jth virtual media gateway on day c +1
a is the total number of resources.
8. The controller according to any one of claims 5 to 7, wherein for any one virtual media gateway, the number of resources of each resource slice is the number of resources required by the virtual media gateway for the minimum number of calls.
9. A network system comprising a media gateway comprising a plurality of virtual media gateways and a plurality of resources, characterized in that the network system further comprises a controller, the controller being the controller of any one of claims 5 to 8.
10. The network system according to claim 9, wherein any one of the virtual media gateways can sequentially activate each resource slice corresponding to the virtual media gateway, and can activate a next resource slice when a utilization rate of a previous resource slice exceeds a predetermined utilization rate;
and the virtual media gateway can also generate an increase resource application signal when the ratio of the number of the activated resource slices in the virtual media gateway to the total number of the resource slices in the virtual media gateway exceeds a preset ratio, and send the increase resource application signal to the controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669054.5A CN108848564B (en) | 2018-06-26 | 2018-06-26 | Method, controller and network system for resource allocation of virtual media gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669054.5A CN108848564B (en) | 2018-06-26 | 2018-06-26 | Method, controller and network system for resource allocation of virtual media gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108848564A CN108848564A (en) | 2018-11-20 |
CN108848564B true CN108848564B (en) | 2022-08-09 |
Family
ID=64202103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810669054.5A Active CN108848564B (en) | 2018-06-26 | 2018-06-26 | Method, controller and network system for resource allocation of virtual media gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108848564B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714353B (en) * | 2019-01-03 | 2021-02-02 | 中国联合网络通信集团有限公司 | Method and system for selecting virtual media gateway |
CN115835256B (en) * | 2023-02-17 | 2023-04-28 | 中汽研汽车工业工程(天津)有限公司 | Intelligent gateway resource allocation and calculation method for automobile manufacturing scene |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1533109A (en) * | 2003-03-26 | 2004-09-29 | 华为技术有限公司 | Method for realizing call processing via virtual medium gateway |
CN101459631A (en) * | 2007-06-11 | 2009-06-17 | 华为技术有限公司 | Virtual media gateway selection method, apparatus and system |
EP2075950A1 (en) * | 2006-09-28 | 2009-07-01 | Huawei Technologies Co Ltd | Method, system for managing a-interface circuit and mgw |
CN101583157A (en) * | 2009-06-19 | 2009-11-18 | 中兴通讯股份有限公司 | Trunk circuit sharing method, device and system |
CN106162507A (en) * | 2015-04-03 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of virtualize the flexible management method of network function and device |
WO2018031802A1 (en) * | 2016-08-11 | 2018-02-15 | Intel IP Corporation | Ran-based paging optimizations |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102106581B1 (en) * | 2016-04-20 | 2020-05-04 | 콘비다 와이어리스, 엘엘씨 | System information provisioning and lightweight access signaling |
-
2018
- 2018-06-26 CN CN201810669054.5A patent/CN108848564B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1533109A (en) * | 2003-03-26 | 2004-09-29 | 华为技术有限公司 | Method for realizing call processing via virtual medium gateway |
EP2075950A1 (en) * | 2006-09-28 | 2009-07-01 | Huawei Technologies Co Ltd | Method, system for managing a-interface circuit and mgw |
CN101459631A (en) * | 2007-06-11 | 2009-06-17 | 华为技术有限公司 | Virtual media gateway selection method, apparatus and system |
CN101583157A (en) * | 2009-06-19 | 2009-11-18 | 中兴通讯股份有限公司 | Trunk circuit sharing method, device and system |
CN106162507A (en) * | 2015-04-03 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of virtualize the flexible management method of network function and device |
WO2018031802A1 (en) * | 2016-08-11 | 2018-02-15 | Intel IP Corporation | Ran-based paging optimizations |
Also Published As
Publication number | Publication date |
---|---|
CN108848564A (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3342138B1 (en) | Systems and methods for distributing network resources to network service providers | |
CN107426274B (en) | Method and system for service application and monitoring, analyzing and scheduling based on time sequence | |
JP2022521883A (en) | Network slice processing methods, systems, devices and computer programs | |
US10993127B2 (en) | Network slice instance management method, apparatus, and system | |
CN111278016B (en) | Network slice processing method, system and storage medium | |
CN107205030B (en) | Server resource scheduling method and system | |
CN108848564B (en) | Method, controller and network system for resource allocation of virtual media gateway | |
CN110661894A (en) | User IP address allocation method, network device and storage medium | |
CN102045321A (en) | Flow control method and system for software downloading | |
CN107239347B (en) | Equipment resource allocation method and device in virtual scene | |
JP2017504995A5 (en) | ||
JP2013511229A (en) | Control channel element resource allocation method and apparatus | |
WO2016095524A1 (en) | Resource allocation method and apparatus | |
JP2018506910A (en) | Random access method, terminal, and base station | |
CN105554893A (en) | Time-frequency resource distribution method and time-frequency resource distribution device for LTE system | |
CN114385370B (en) | Memory allocation method, system, device and medium | |
CN111107629B (en) | 5G communication method and system | |
CN112003790B (en) | Distribution method of network traffic used by intelligent school | |
CN112491566B (en) | Resource management method, resource management system, and computer-readable storage medium | |
CN113760549A (en) | Pod deployment method and device | |
CN115168017B (en) | Task scheduling cloud platform and task scheduling method thereof | |
JP5829230B2 (en) | Management system and management method | |
CN106878058B (en) | Service node multiplexing method and device | |
WO2015057543A1 (en) | Method and apparatus for providing allocating resources | |
JP5945247B2 (en) | Traffic regulation system, traffic regulation control device, priority control method and program thereof |
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 |