WO2016198023A1 - Method and device for binding base station with virtual machine - Google Patents

Method and device for binding base station with virtual machine Download PDF

Info

Publication number
WO2016198023A1
WO2016198023A1 PCT/CN2016/087118 CN2016087118W WO2016198023A1 WO 2016198023 A1 WO2016198023 A1 WO 2016198023A1 CN 2016087118 W CN2016087118 W CN 2016087118W WO 2016198023 A1 WO2016198023 A1 WO 2016198023A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
virtual machine
binding
bound
location area
Prior art date
Application number
PCT/CN2016/087118
Other languages
French (fr)
Chinese (zh)
Inventor
刘法水
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016198023A1 publication Critical patent/WO2016198023A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and device for binding a base station with a virtual machine. The method comprises: ranking all the location regions according to the total number of carrier frequencies of all base stations within a coverage range of each location region, and adding ranking information about the location region to a location region information list; and ranking all the base stations according to the number of carrier frequencies owned by each base station within the coverage range of each location region, and adding ranking information about the base stations to a base station information list; establishing a mapping relationship between the location region information list and the base station information list, and querying the ranking information about all the ranked base stations within the coverage ranges of all location regions; and binding the base stations with a virtual machine in sequence according to the ranking information queried according to the mapping relationship. The embodiments of the present invention realize the service binding processing of a virtual machine and a telecommunication network.

Description

一种基站与虚拟机的绑定方法及装置Method and device for binding base station and virtual machine 技术领域Technical field
本文涉及但不限于通信领域,尤其涉及一种基站与虚拟机的绑定方法及装置。This document relates to, but is not limited to, the field of communications, and in particular, to a method and apparatus for binding a base station to a virtual machine.
背景技术Background technique
随着近几年虚拟化技术的成熟,在电信业务领域采用通用的硬件平台,基于虚拟化技术实现电信网络的网络功能虚拟化成为业界的发展趋势。没有采用虚拟化技术之前,一块刀片就是处理固定的业务流程,即使网络业务量有变化时,其硬件资源(如内存,中央处理器,硬盘等)也不会被腾挪出来被其他业务流程使用。如果采用虚拟化技术,电信网络则可以采用通用的硬件平台来部署虚拟机,达到电信网络业务与电信网络设备商的硬件解耦的目的。With the maturity of virtualization technology in recent years, the adoption of a common hardware platform in the field of telecommunication services, the virtualization of network functions based on virtualization technology to achieve telecommunication networks has become a trend in the industry. Before the virtualization technology is adopted, a blade handles a fixed business process. Even if the network traffic changes, its hardware resources (such as memory, CPU, hard disk, etc.) will not be moved out and used by other business processes. If virtualization technology is adopted, the telecommunication network can adopt a general hardware platform to deploy virtual machines, thereby achieving the purpose of hardware decoupling between the telecommunication network service and the telecommunication network equipment vendors.
相关技术中采用通用的硬件平台来部署虚拟机的方式,无法实现虚拟机与电信网络业务处理的绑定问题。In the related art, a general hardware platform is used to deploy a virtual machine, and the binding problem between the virtual machine and the telecommunication network service processing cannot be realized.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种基站与虚拟机的绑定方法及装置,能够实现虚拟机与电信网络业务处理的绑定。The embodiment of the invention provides a method and a device for binding a base station and a virtual machine, which can implement binding of the virtual machine and the telecommunication network service processing.
根据本发明实施例的一个方面,提供了一种基站与虚拟机的绑定方法,包括:According to an aspect of the embodiments of the present invention, a method for binding a base station to a virtual machine is provided, including:
依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;All the location areas are sorted according to the total carrier frequency of all base stations in the coverage of each location area, and the order information of the location area is added to the location area information list;
依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;All base stations are sorted according to the number of carrier frequencies owned by each base station in the coverage of each location area, and the ordering information of the base stations is added to the base station information list;
建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映 射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;Establish a mapping relationship between the location area information list and the base station information list, and according to the established mapping The shooting relationship queries the sorting information of all the base stations sorted in the coverage of all the location areas;
依据根据映射关系查询到的所述排序信息依次将所述基站与虚拟机进行绑定。And sequentially binding the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship.
可选地,所述依据每一个所述位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序包括:Optionally, the sorting all the location areas according to the total carrier frequency of all base stations in the coverage of each of the location areas includes:
依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有所述位置区进行排序;All the location areas are sorted in order of increasing order according to the total carrier frequency of all base stations in the coverage of each location area;
所述依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量对所有所述基站进行排序包括:依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量,按照从多到少的顺序对所有所述基站进行排序。The sorting all the base stations according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas includes: according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas, All of the base stations are ordered in order of increasing order.
可选地,所述依据根据映射关系查询到的所述排序信息依次将所述基站与虚拟机进行绑定包括:Optionally, the binding, by the base station, to the virtual machine according to the sorting information that is queried according to the mapping relationship includes:
获取两个或两个以上虚拟机的空闲值,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值;Obtaining idle values of two or more virtual machines, where the idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processing carriers of the virtual machine;
将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上。Each of the base stations sorted according to the number of carriers in the sorting information according to the mapping relationship is bound to the virtual machine sorted according to the idle value from small to large.
可选地,所述方法还包括:所述依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,Optionally, the method further includes: after the base station is bound to the virtual machine according to the sorting information that is queried according to the mapping relationship,
在所有虚拟机都已与所述基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站数量申请相应的虚拟机;When all the virtual machines are bound to the base station, and one or more base stations are not bound, the corresponding virtual machine is applied according to the number of unbound base stations;
将未被绑定的基站与申请的虚拟机进行绑定。Bind the unbound base station to the applied virtual machine.
可选地,所述方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,Optionally, the method further includes: after sequentially binding the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship,
在删除基站时,解除删除的所述基站与虚拟机之间的绑定关系。When the base station is deleted, the binding relationship between the deleted base station and the virtual machine is released.
可选地,所述方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,Optionally, the method further includes: after sequentially binding the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship,
在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业 务量阈值的基站迁移绑定至其他虚拟机。When the traffic of the base station bound to the virtual machine is lower than the preset traffic threshold, it will be lower than the default service. The base station migration of the traffic threshold is bound to other virtual machines.
可选地,所述方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,Optionally, the method further includes: after sequentially binding the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship,
在增加新的基站时,判断是否存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定;When adding a new base station, determining whether there is a virtual machine binding to a base station within a coverage area of the location area to which the new base station belongs;
在判断结果为存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将所述新的基站与所述新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;When the result of the determination is that the virtual machine is bound to the base station in the coverage area of the location area to which the new base station belongs, the new base station is bound to the base station in the coverage area of the location area to which the new base station belongs. The virtual machine is bound;
在判断结果为不存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与所述新的基站进行绑定,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值。When the result of the determination is that the virtual machine is not bound to the base station in the coverage area of the location area to which the new base station belongs, the virtual machine with the lowest idle value is bound to the new base station, where the idle value is The ratio of the number of carrier frequencies being processed by the virtual machine to the upper limit of the number of carrier frequencies processed by the virtual machine.
根据本发明实施例的另一个方面,提供了一种基站与虚拟机的绑定装置,包括:According to another aspect of the embodiments of the present invention, a binding apparatus for a base station and a virtual machine is provided, including:
第一处理模块,设置为依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;The first processing module is configured to sort all the location areas according to the total carrier frequency of all the base stations in the coverage of each location area, and add the ranking information of the location area to the location area information list; according to each location area coverage The number of carrier frequencies owned by each base station in the range is sorted for all base stations, and the ordering information of the base stations is added to the base station information list;
第二处理模块,设置为建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;The second processing module is configured to establish a mapping relationship between the location area information list and the base station information list, and query, according to the established mapping relationship, the sorting information of all the base stations that are sorted in the coverage of the location area;
第一绑定模块,设置为依据根据映射关系查询到的所述排序信息依次将所述基站与虚拟机进行绑定。The first binding module is configured to bind the base station to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship.
可选地,所述第一处理模块包括:Optionally, the first processing module includes:
第一排序单元,设置为依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有所述位置区进行排序;The first sorting unit is configured to sort all the location areas in order of increasing order according to the total carrier frequency of all base stations in the coverage of each location area;
第二排序单元,设置为依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量,按照从多到少的顺序对所有所述基站进行排序。 And a second sorting unit configured to sort all the base stations in a descending order according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas.
可选地,所述绑定模块包括:Optionally, the binding module includes:
获取单元,设置为获取两个或两个以上虚拟机的空闲值,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值;An obtaining unit, configured to obtain idle values of two or more virtual machines, where the idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processing carriers of the virtual machine;
绑定单元,设置为将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上。The binding unit is configured to bind each of the base stations sorted by the number of carriers according to the number of carriers in the sorting information that is queried according to the mapping relationship to the virtual machines sorted according to the idle value from small to large.
可选的,所述绑定装置还包括申请模块,设置为在所有虚拟机都已与所述基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站申请相应的虚拟机;Optionally, the binding device further includes an application module, configured to be unbound according to when all virtual machines are bound to the base station, and one or more base stations remain unbound. The base station applies for the corresponding virtual machine;
第二绑定模块,设置为将未被绑定的基站与申请的虚拟机进行绑定。The second binding module is configured to bind the unbound base station to the applied virtual machine.
可选的,所述绑定装置还包括解除模块,设置为在删除基站时,解除删除的所述基站与虚拟机之间的绑定关系。Optionally, the binding device further includes a release module, configured to remove the binding relationship between the deleted base station and the virtual machine when the base station is deleted.
可选的,所述绑定装置还包括迁移模块,设置为在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。Optionally, the binding device further includes a migration module, configured to be bound to the virtual machine after sequentially binding the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship. When the traffic of the base station is lower than the preset traffic threshold, the base station that is lower than the preset traffic threshold is migrated and bound to other virtual machines.
可选的,所述绑定装置还包括判断模块,设置为在增加新的基站时,判断是否存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定;Optionally, the binding device further includes a determining module, configured to determine, when adding a new base station, whether the virtual machine is bound to a base station in a coverage area of the location area to which the new base station belongs;
第三绑定模块,设置为在判断结果为存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将所述新的基站与所述新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;a third binding module, configured to: when the judgment result is that the virtual machine is bound to a base station within a coverage area of the location area to which the new base station belongs, the new base station and the location area to which the new base station belongs The virtual machine bound to the base station in the coverage area is bound;
第四绑定模块,设置为在判断结果为不存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与所述新的基站进行绑定,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值。a fourth binding module, configured to bind the virtual machine with the lowest idle value to the new base station when the result of the determination is that the virtual machine is not bound to the base station in the coverage area of the location area to which the new base station belongs. The idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processed carrier frequencies of the virtual machine.
本发明实施例,采用了依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序以及依据每一个位置区覆盖范围内每一个基站所 拥有的载频数量对所有基站进行排序,也就是说,对覆盖多个基站的位置区以及基站分别进行排序,并将排序信息添加到位置区信息列表和基站信息列表中,进而建立两者之间的映射关系,并通过该位置区信息列表能查找到位置区覆盖范围内每一个基站的排序信息,即该排序信息是通过位置区、基站的载频数量得到的,进而依据该排序信息将基站依次与虚拟机进行绑定,从而使得根据基站的载频数量与虚拟机进行绑定,实现了虚拟机与电信网络业务处理的绑定。In the embodiment of the present invention, all the location areas are sorted according to the total carrier frequency of all base stations in the coverage of each location area, and according to each base station in the coverage of each location area. The number of carrier frequencies owned is sorted for all base stations, that is, the location areas covering the plurality of base stations and the base stations are respectively sorted, and the sorting information is added to the location area information list and the base station information list, thereby establishing the two Between the mapping relationship, and the location information list can be used to find the ranking information of each base station in the coverage of the location area, that is, the ranking information is obtained by the location area, the number of carrier frequencies of the base station, and then according to the ranking information The base station is bound to the virtual machine in sequence, so that the number of carrier frequencies of the base station is bound to the virtual machine, and the binding between the virtual machine and the telecommunication network service processing is realized.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例的基站与虚拟机的绑定方法的流程图;1 is a flowchart of a method for binding a base station to a virtual machine according to an embodiment of the present invention;
图2是本发明实施例的基站与虚拟机的绑定装置的结构框图;2 is a structural block diagram of a binding apparatus of a base station and a virtual machine according to an embodiment of the present invention;
图3是本发明实施例的基站与虚拟机的绑定装置的可选结构框图一;3 is a block diagram 1 of an optional structure of a binding apparatus for a base station and a virtual machine according to an embodiment of the present invention;
图4是本发明实施例的基站与虚拟机的绑定装置的可选结构框图二;4 is a block diagram 2 of an optional structure of a binding apparatus for a base station and a virtual machine according to an embodiment of the present invention;
图5是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的流程图;5 is a flowchart of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an optional embodiment of the present invention;
图6是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图一;6 is an optional flowchart 1 of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an alternative embodiment of the present invention;
图7是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图二;7 is an optional flowchart 2 of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an alternative embodiment of the present invention;
图8是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图三。FIG. 8 is an optional flowchart 3 of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an alternative embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种基站与虚拟机的绑定方法,图1是本发明实施例的基站与虚拟机的绑定方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for binding a base station to a virtual machine is provided. FIG. 1 is a flowchart of a method for binding a base station and a virtual machine according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤102:依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;Step 102: Sort all the location areas according to the total carrier frequency of all base stations in the coverage of each location area, and add the location information of the location area to the location area information list; according to each coverage area of each location area The number of carrier frequencies owned by the base station sorts all base stations, and adds the ordering information of the base station to the base station information list;
步骤104:建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有位置区覆盖范围内排序后的所有基站的排序信息;Step 104: Establish a mapping relationship between the location area information list and the base station information list, and query, according to the established mapping relationship, the sorting information of all the base stations in the coverage of all the location areas;
需要说明的是,本发明实施例映射关系可以包括建立每一个位置区下包含的基站信息;通过映射关系,通过位置区信息查询到归属于该位置区下的排序后的所有基站信息列表;通过基站信息从位置区信息列表中查询到该基站所归属的位置区信息。基于映射关系可以在处理一个位置区下的基站与虚拟机的绑定时,可以根据位置区信息查询到排序后的基站信息列表,将基站信息列表中已经根据载频数量从多到少排序后的基站依次绑定到最空闲的虚拟机上;也可以基于映射关系从将空闲的虚拟机进行排序,获取最空闲的虚拟机;若是一个虚拟机不够用,所有绑定基站的载频数总量超过虚拟机可以处理载频数量上限时,则绑定到次空闲的虚拟机上。It should be noted that, in the embodiment of the present invention, the mapping relationship may include establishing base station information included in each location area; and by using the mapping relationship, querying, by using the location area information, all sorted base station information lists belonging to the location area; The base station information queries the location area information list to the location area information to which the base station belongs. Based on the mapping relationship, when the binding between the base station and the virtual machine in a location area is processed, the sorted base station information list may be queried according to the location area information, and the base station information list has been sorted according to the number of carrier frequencies. The base station is bound to the most idle virtual machine in turn; or the idle virtual machine can be sorted based on the mapping relationship to obtain the most idle virtual machine; if one virtual machine is not enough, the total number of carrier frequencies of all bound base stations When the virtual machine can process the upper limit of the carrier frequency, it is bound to the secondary idle virtual machine.
步骤106:依据根据映射关系查询到的排序信息依次将基站与虚拟机进行绑定。Step 106: Bind the base station to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship.
通过本实施例的上述步骤102至步骤106,采用了依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序以及依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,也就是说,对覆盖多个基站的位置区以及基站分别进行排序,并将排序信息添加到位置区信息列表和基站信息列表中,进而建立两者之间的映射关系,并通过该位置区信息列表能查找到位置区覆盖范围内每一个基站的排序信息,即该排序信息可以通过位置区、基站的载频数量得到的,进而依据该排序信息将基站依次与虚拟机进行绑定,从而使得根据基站的载频数量与虚拟机进行绑定,实现了虚拟机与电信网络业务处理的绑定。 Through the above steps 102 to 106 of the embodiment, all the location areas are sorted according to the total carrier frequency of all base stations in the coverage of each location area, and according to each base station in the coverage of each location area. The number of carrier frequencies is sorted for all base stations, that is, the location areas covering the plurality of base stations and the base stations are respectively sorted, and the sorting information is added to the location area information list and the base station information list, thereby establishing a relationship between the two. Mapping the relationship, and the ranking information of each base station in the coverage of the location area can be found through the location area information list, that is, the ranking information can be obtained by using the location area and the carrier frequency of the base station, and then the base station is sequentially performed according to the ranking information. Binding with the virtual machine, so that the number of carrier frequencies of the base station is bound to the virtual machine, and the binding between the virtual machine and the telecommunication network service processing is realized.
对于本实施例中步骤102中涉及到的依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序的方式可以包括:依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有位置区进行排序;The method for sorting all the location areas according to the total number of carrier frequencies of all base stations in the coverage of each location area involved in step 102 in this embodiment may include: according to the total load of all base stations in the coverage of each location area. The number of frequencies, sorting all location areas in order of increasing order;
以及,步骤102涉及到的依据每一个位置区覆盖范围内每一个基站所拥有载频数量对所有基站进行排序的方式,可以包括:依据每一个位置区覆盖范围内每一个基站所拥有载频数量,按照从多到少的顺序对所有基站进行排序。And, in step 102, the manner in which all the base stations are sorted according to the number of carrier frequencies owned by each base station in the coverage of each location area may include: the number of carrier frequencies owned by each base station in the coverage of each location area. All base stations are sorted in order of increasing order.
由上述排序的方式可知,位置区的排序可以包括根据位置区覆盖范围内总的载频数量进行排序,而同一个位置区下的每一个基站也可以包括根据基站的载频数量在同一个位置区下进行排序,在本实施例的可选实施方式中,上述两种排序都是根据载频数量的从多到少的原则进行排序的,当然上述方式仅仅是用来进行举例说明,并不构成限定,在本实施例的其他实施方式中也可以根据从少到多的原则进行排序。According to the above sorting manner, the ordering of the location areas may include sorting according to the total number of carrier frequencies in the coverage of the location area, and each base station in the same location area may also be in the same location according to the number of carrier frequencies of the base station. In the optional implementation manner of this embodiment, the above two sortings are all sorted according to the principle of the number of carrier frequencies, and the above manner is only used for illustration, and The configuration is limited, and in other embodiments of the embodiment, the ordering may be performed according to the principle of being small to many.
对于本实施例中步骤106中的依据排序信息依次将基站与虚拟机进行绑定的方式,在本实施例的可选实施方式中,可以通过如下方式来实现:For the manner in which the base station and the virtual machine are bound in sequence according to the sorting information in step 106 in this embodiment, in an optional implementation manner of this embodiment, the method may be implemented as follows:
步骤106-1:获取两个或两个以上虚拟机的空闲值;Step 106-1: Acquire idle values of two or more virtual machines;
其中,空闲值为虚拟机正在处理的载频数量与虚拟机处理载频数量上限的比值;The idle value is the ratio of the number of carrier frequencies being processed by the virtual machine to the upper limit of the number of carriers processed by the virtual machine;
步骤106-2:将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上;Step 106-2: Binding each of the base stations sorted according to the number of carriers according to the number of carriers in the sorting information that is queried according to the mapping relationship to the virtual machines sorted according to the idle value from small to large;
需要说明的是,绑定过程可以包括如下过程:假设排序后的位置区信息列表中包含位置区A、位置区B、位置区C。根据位置区A的位置区信息从映射关系查询到排序后的基站信息列表中,包含基站A-01、基站A-2、基站A-03这三个基站,它们分别包含的载频数为35个、30个、15个载频;根据位置区B的位置区信息从映射关系中查询到排序后的基站信息列表包含基站B-01、基站B-02、基站B-03这三个基站,它们包含的载频数分别为25个、20个、10个载频;根据位置区C的位置区信息从映射关系中查询到排序后的 基站信息列表包含基站C-01、基站C-02、基站C-03这三个基站,它们包含的载频数分别为20个、15个、10个载频。根据所有未绑定的基站的载频数需要预先申请虚拟机A、虚拟机B、虚拟机C,;虚拟机能够处理的最大载频数为70个。首先从位置区信息列表中挑选位置区A,依次将基站A-01、基站A-02与虚拟机A绑定,此时虚拟机A绑定的所有基站包含70个载频,不能再绑定基站A-03了,因为超过虚拟机能够处理的最大载频数70了。挑选次空闲的虚拟机B,将基站A-03绑定到虚拟机B上。位置区A处理完后,重新对空闲的虚拟机A、虚拟机B、虚拟机C进行排序,排序结果为虚拟机C、虚拟机B、虚拟机A。接着挑选未处理的位置区B,将基站B-01、基站B-02、基站B-03绑定到最空闲的虚拟机C上。位置区B处理完成后,重新对空闲的虚拟机进行排序,排序结果为虚拟机B、虚拟机C、虚拟机A。最后挑选未处理的位置区C,将基站C-01、基站C-02、基站C-03绑定到最空闲的虚拟机B上。这样便于将一个位置区下的基站集中地绑定到一个或一个以上虚拟机上,利于提高系统的整体性能。It should be noted that the binding process may include the following process: It is assumed that the sorted location area information list includes a location area A, a location area B, and a location area C. According to the location area information of the location area A, the three base stations including the base station A-01, the base station A-2, and the base station A-03 are queried from the mapping relationship to the sorted base station information list, and each of them includes 35 carrier frequencies. 30, 15 carrier frequencies; querying from the mapping relationship according to the location area information of the location area B, the sorted base station information list includes three base stations: base station B-01, base station B-02, and base station B-03, which The number of carrier frequencies included is 25, 20, and 10 carrier frequencies respectively; according to the location area information of the location area C, the information is searched from the mapping relationship to the sorted The base station information list includes three base stations: base station C-01, base station C-02, and base station C-03, and the number of carrier frequencies included is 20, 15, and 10 carrier frequencies, respectively. According to the carrier frequency of all unbound base stations, it is necessary to apply for virtual machine A, virtual machine B, and virtual machine C in advance; the maximum number of carrier frequencies that the virtual machine can process is 70. First, the location area A is selected from the location area information list, and the base station A-01 and the base station A-02 are bound to the virtual machine A in turn. At this time, all the base stations bound by the virtual machine A contain 70 carrier frequencies, and cannot be bound again. Base station A-03, because the maximum number of carriers that the virtual machine can handle is 70. The virtual machine B that is idle is selected, and the base station A-03 is bound to the virtual machine B. After the location area A is processed, the idle virtual machine A, the virtual machine B, and the virtual machine C are reordered, and the result of the sorting is virtual machine C, virtual machine B, and virtual machine A. Next, the unprocessed location area B is selected, and the base station B-01, the base station B-02, and the base station B-03 are bound to the most idle virtual machine C. After the processing of the location area B is completed, the idle virtual machines are reordered, and the result of the sorting is virtual machine B, virtual machine C, and virtual machine A. Finally, the unprocessed location area C is selected, and the base station C-01, the base station C-02, and the base station C-03 are bound to the most idle virtual machine B. This facilitates the centralized binding of base stations under one location area to one or more virtual machines, which improves the overall performance of the system.
对于上述步骤106-1和步骤106-2,需要说明的是,在上述实施方式中涉及到的获取到排序信息中的排序是根据基站的载频数量进行排序的,而在本实施例的可选实施方式中是根据载频数量从多到少的方式进行排序的,而将根据空闲值的从小到大排序后的多个虚拟机与排序信息中根据载频数量从多到少进行排序后的每一个基站进行绑定可知,将空闲值小的虚拟机与排序信息中靠前的基站进行绑定,也就是说,相对空闲的虚拟机与载频数量较多的基站进行绑定,这样能够充分利用资源,能够高效的利用虚拟机。For the above steps 106-1 and 106-2, it should be noted that the ordering in the obtained ordering information involved in the foregoing embodiment is sorted according to the number of carrier frequencies of the base station, and in the embodiment, In the selected embodiment, the sorting is performed according to the number of carrier frequencies, and the plurality of virtual machines and sorting information sorted according to the idle value are sorted according to the number of carrier frequencies. Each base station is bound to know that the virtual machine with a small idle value is bound to the former base station in the sorting information, that is, the relatively idle virtual machine is bound to the base station with a large number of carrier frequencies, so that The ability to make full use of resources and make efficient use of virtual machines.
而在本实施例的另一个可选实施方式中,在步骤102依据根据映射关系查询到的排序信息依次与虚拟机进行绑定之后,本实施例的方法还可以包括:In another optional implementation manner of this embodiment, after the step 102 is sequentially bound to the virtual machine according to the sorting information that is queried according to the mapping relationship, the method in this embodiment may further include:
步骤108-1:在所有虚拟机都已与基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站申请相应的虚拟机;Step 108-1: When all virtual machines are bound to the base station, and one or more base stations are not bound, the corresponding virtual machine is applied according to the unbound base station;
步骤108-2:将未被绑定的基站与申请的虚拟机进行绑定。Step 108-2: Bind the unbound base station to the applied virtual machine.
由步骤108-1和步骤108-2可知,在当前申请的虚拟机已经绑定完之后,还剩下一个或多个基站未被绑定时,需要申请与未被绑定的基站数量对应的虚拟机,进而在执行绑定操作,该绑定操作的执行与上述步骤102至步骤S106 中采用的方式一致。而通过该方式,使得基站与虚拟机的绑定方式更加灵活。It can be seen from step 108-1 and step 108-2 that, after one or more base stations are not bound after the currently applied virtual machine has been bound, the application needs to correspond to the number of unbound base stations. a virtual machine, and in turn performing a binding operation, the binding operation is performed and the above steps 102 to S106 are performed. The approach adopted is the same. In this way, the binding manner between the base station and the virtual machine is more flexible.
而在本实施例的另一个可选实施方式中,在步骤102依据根据映射关系查询到的排序信息依次将基站与虚拟机进行绑定之后,本实施例的方法还可以包括:在删除基站时,解除删除的基站与虚拟机之间的绑定关系。即在基站被删除时,解除删除的基站与虚拟机之间的绑定关系,这样有利于节省资源。In another optional implementation manner of this embodiment, after the base station is bound to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship, the method in this embodiment may further include: when deleting the base station. The debinding relationship between the deleted base station and the virtual machine is removed. That is, when the base station is deleted, the binding relationship between the deleted base station and the virtual machine is released, which is advantageous for saving resources.
而在本实施例的另一个可选实施方式中,在步骤102依据根据映射关系查询到的排序信息依次将基站与虚拟机进行绑定之后,本实施例的方法还可以包括:在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。也就是说,在基站无需要执行的业务时,可以将该基站迁移至其他虚拟机,这样可以避免不必要的浪费,节省虚拟机的开销。本发明的实施例迁移绑定的虚拟机可以包括:业务量高于预设业务量阈值的较空闲的虚拟机上,迁移完成后的虚拟机腾挪,释放占用的硬件资源,实现硬件资源的使用优化。本发明实施例,低于预设业务量阈值包括无业务的情况。In another optional implementation manner of this embodiment, after the base station is bound to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship, the method in this embodiment may further include: When the traffic of the bound base station is lower than the preset traffic threshold, the base station that is lower than the preset traffic threshold is migrated and bound to other virtual machines. That is to say, when the base station has no service to be executed, the base station can be migrated to other virtual machines, which can avoid unnecessary waste and save the virtual machine overhead. The virtual machine of the embodiment of the present invention may include: a virtual machine with a traffic higher than a preset traffic threshold, and the virtual machine after the migration is completed, releasing the occupied hardware resources, and realizing the use of hardware resources. optimization. In the embodiment of the present invention, the threshold below the preset traffic volume includes no service.
需要说明的是,业务量阈值可以根据计算公式算出,参考的因数可以包括:CS语音业务申请的信道数、CS语言业务的测量报告个数,PS数据业务申请的信道数,虚拟机的CPU处理能力。业务量值为一个测量周期内的数值。可以参考的公式有:Caps=10000*(CSAccWeight*CS请求数/100+PSAccWeight*PS请求数/100+CSTrafficWeight*CS话务量/100)/时长(10ms);It should be noted that the traffic threshold may be calculated according to a calculation formula, and the reference factor may include: the number of channels for the CS voice service application, the number of measurement reports of the CS language service, the number of channels for the PS data service application, and the CPU processing of the virtual machine. ability. The traffic value is a value within one measurement period. The formulas that can be referred to are: Caps=10000* (CSAccWeight*CS request number/100+PSAccWeight*PS request number/100+CSTrafficWeight*CS traffic volume/100)/time length (10ms);
(1)CS请求数为CS语音业务接入时的无线信道请求数,CSAccWeight为CS请求数相关的权重值;(1) The number of CS requests is the number of wireless channel requests when the CS voice service is accessed, and CSAccWeight is the weight value related to the number of CS requests;
(2)PS请求数为PS数据业务接入时的无线信道请求数,PSAccWeight为PS请求数相关的权重值;(2) The number of PS requests is the number of radio channel requests when the PS data service is accessed, and the PSAccWeight is the weight value associated with the number of PS requests;
(3)CS话务量为CS业务测量报告的个数,CSTrafficWeight为CS话务量相关的权重值;(3) CS traffic is the number of CS traffic measurement reports, and CSTrafficWeight is the weight value associated with CS traffic;
(4)时长为一个测量周期,其单位为10毫秒; (4) The duration is a measurement period, and the unit is 10 milliseconds;
(5)业务量阈值可以通过用户操作界面上进行配置,数值大小范围可以是0至0xFFFFFF。(5) The traffic threshold can be configured through the user interface. The value range can be 0 to 0xFFFFFF.
上述业务量阈值涉及的权重值的设定为本领域技术人员根据数据分析获得的数值。本发明实施例,测量周期等相关参数可以根据实际情况进行调整。The setting of the weight value involved in the above traffic threshold is a value obtained by a person skilled in the art based on data analysis. In the embodiment of the present invention, related parameters such as a measurement period may be adjusted according to actual conditions.
而在本实施例的另一个可选实施方式中,在步骤102依据根据映射关系查询到的排序信息依次将基站与虚拟机进行绑定之后,本实施例方法还可以包括:In another optional implementation manner of this embodiment, after the base station is bound to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship, the method in this embodiment may further include:
步骤110-1:在增加新的基站时,判断是否存在虚拟机与新的基站所属的位置区覆盖范围内的基站绑定;Step 110-1: When adding a new base station, determine whether there is a virtual machine binding with a base station in a coverage area of the location area to which the new base station belongs;
步骤110-2:在判断结果为存在虚拟机与新的基站所属的位置区覆盖范围内的基站绑定时,将新的基站与新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;Step 110-2: When the result of the determination is that the virtual machine is bound to the base station in the coverage area of the location area to which the new base station belongs, the virtual base station is bound to the base station in the coverage area of the location area to which the new base station belongs. Machine binding;
需要说明的是,位置区下包含的基站绑定的虚拟机有多个时,根据虚拟机所绑定该位置区下的所有基站的载频总数从大到小排序,依次寻找第一个满足条件的虚拟机(虚拟机所有绑定的基站的载频总数不超过虚拟机所能容纳的最大载频数即为满足条件)。若找到则将新虚拟机绑定到该虚拟机上。若没有找到则绑定到最空闲的虚拟机上。It should be noted that when there are multiple virtual machines bound by the base station included in the location area, the total number of carrier frequencies of all base stations in the location area bound by the virtual machine is sorted from large to small, and the first one is sequentially searched. A conditional virtual machine (the total number of carrier frequencies of all the base stations bound to the virtual machine does not exceed the maximum carrier frequency that the virtual machine can accommodate). If found, bind the new virtual machine to the virtual machine. If not found, bind to the most idle virtual machine.
步骤110-3:在判断结果为不存在虚拟机与新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与新的基站进行绑定,其中,空闲值为虚拟机正在处理的载频数量与虚拟机处理载频数量上限的比值。Step 110-3: When the result of the determination is that the virtual machine is not bound to the base station in the coverage area of the location area to which the new base station belongs, the virtual machine with the lowest idle value is bound to the new base station, where the idle value is The ratio of the number of carrier frequencies being processed by the virtual machine to the upper limit of the number of carriers processed by the virtual machine.
由上述步骤110-1至步骤110-3,在有新的基站增加时,也会执行绑定操作,该绑定操作可以将该新的基站与该基站所属的位置区覆盖范围内基站绑定的虚拟机进行绑定,如果找不到与该新的基站所属的位置区覆盖范围内基站绑定的虚拟机,则从空闲的虚拟机选择最空闲的虚拟机中与该新的基站进行绑定。When the new base station is added, the binding operation is also performed by the step 110-1 to the step 110-3, and the binding operation may bind the new base station to the base station within the coverage area of the location area to which the base station belongs. The virtual machine is bound, and if the virtual machine bound to the base station within the coverage area of the location area to which the new base station belongs is not found, the virtual machine selected from the idle virtual machine is tied to the new base station. set.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本 发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明每一个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on this understanding, this The technical solution of the invention may be embodied in the form of a software product, which is stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including several The instructions are for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the method described in each of the embodiments of the present invention.
在本实施例中还提供了一种基站与虚拟机的绑定装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,如以下所使用的术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for binding a base station and a virtual machine is also provided. The device is used to implement the foregoing embodiments and optional implementations, and details are not described herein. As used below, the term "module" as used below may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments are implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
本发明实施例还提供了一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述的绑定方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the binding method.
图2是本发明实施例的基站与虚拟机的绑定装置的结构框图,如图2所示,该装置包括:第一处理模块22,设置为依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;第二处理模块24,与第一处理模块22耦合连接,设置为建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;第一绑定模块26,与第二处理模块24耦合连接,设置为依据根据映射关系查询到的排序信息依次将所述基站与虚拟机进行绑定。2 is a structural block diagram of a binding apparatus of a base station and a virtual machine according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a first processing module 22, configured to total all base stations in a coverage area according to each location area. The number of carrier frequencies sorts all location areas, and the ranking information of the location area is added to the location area information list; all base stations are sorted according to the number of carrier frequencies owned by each base station in the coverage of each location area, and The sorting information of the base station is added to the base station information list; the second processing module 24 is coupled to the first processing module 22, and is configured to establish a mapping relationship between the location area information list and the base station information list, and query according to the established mapping relationship. And the first binding module 26 is coupled to the second processing module 24, and is configured to sequentially sequentially perform the base station according to the sorting information queried according to the mapping relationship. The virtual machine is bound.
图3是本发明实施例的基站与虚拟机的绑定装置的可选结构框图一,如图3所示,第一处理模块22包括:第一排序单元32,设置为依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有所述位置区进行排序;第二排序单元34,与第一排序单元32耦合连接,设置为依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量,按照从多到少的顺序对所有所述基站进行排序。 3 is a block diagram of an optional structure of a binding device for a base station and a virtual machine according to an embodiment of the present invention. As shown in FIG. 3, the first processing module 22 includes: a first sorting unit 32, configured to cover each location area. Having the total number of carrier frequencies of all the base stations in the range, all the location areas are sorted in order of increasing order; the second sorting unit 34 is coupled with the first sorting unit 32, and is arranged according to each of the location areas. The number of carrier frequencies owned by each base station in the coverage is sorted in order of more or less.
图4是本发明实施例的基站与虚拟机的绑定装置的可选结构框图二,如图4所示,绑定模块26包括:获取单元42,设置为获取两个或两个以上虚拟机的空闲值,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值;绑定单元44,与获取单元42耦合连接,设置为将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上。4 is a block diagram 2 of an optional structure of a binding device between a base station and a virtual machine according to an embodiment of the present invention. As shown in FIG. 4, the binding module 26 includes: an obtaining unit 42 configured to acquire two or more virtual machines. The idle value, wherein the idle value is a ratio of the number of carrier frequencies being processed by the virtual machine to the upper limit of the number of processing carriers of the virtual machine; the binding unit 44 is coupled to the acquisition unit 42 and is configured to be based on Each of the base stations sorted by the mapping relationship and sorted by the number of carriers has been bound to the virtual machine sorted according to the idle value from small to large.
可选地,依据排序信息依次将基站与虚拟机进行绑定之后,本实施例的装置还可以包括:申请模块,设置为在所有虚拟机都已与基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站申请相应的虚拟机;第二绑定模块,与申请模块耦合连接,设置为将未被绑定的基站与申请的虚拟机进行绑定。Optionally, after the base station is bound to the virtual machine according to the sorting information, the apparatus in this embodiment may further include: an application module, configured to bind all the virtual machines to the base station, and one or more remaining When the base stations are not bound, the unassigned base station applies for the corresponding virtual machine; the second binding module is coupled with the application module, and is configured to bind the unbound base station to the applied virtual machine. .
可选地,依据排序信息依次将基站与虚拟机进行绑定之后,本实施例的装置还包括:解除模块,用于在删除基站时,解除删除的基站与虚拟机之间的绑定关系。Optionally, after the base station is bound to the virtual machine according to the sorting information, the apparatus in this embodiment further includes: a releasing module, configured to remove the binding relationship between the deleted base station and the virtual machine when the base station is deleted.
可选地,依据排序信息依次将基站与虚拟机进行绑定之后,本实施例的装置还包括:迁移模块,设置为在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。Optionally, after the base station is bound to the virtual machine according to the sorting information, the apparatus in this embodiment further includes: a migration module, configured to: when the traffic volume of the base station bound to the virtual machine is lower than a preset traffic threshold , base station migration below the preset traffic threshold is bound to other virtual machines.
可选地,依据排序信息依次将基站与虚拟机进行绑定之后,本实施例的装置还包括:判断模块,设置为在增加新的基站时,判断是否存在虚拟机与新的基站所属的位置区覆盖范围内的基站之间绑定;第三绑定模块,与判断模块耦合连接,设置为在判断结果为存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将新的基站与新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;第四绑定模块,与判断模块耦合连接,用于在判断结果为不存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与新的基站进行绑定,其中,空闲值为虚拟机正在处理的载频数量与虚拟机处理载频数量上限的比值。Optionally, after the base station is bound to the virtual machine according to the sorting information, the apparatus in this embodiment further includes: a determining module, configured to determine, when adding a new base station, whether the virtual machine and the new base station belong to the location The base station is bound to the base station in the coverage area; the third binding module is coupled to the determining module, and is configured to be bound when the determining result is that the virtual machine is bound to the base station in the coverage area of the location area to which the new base station belongs. Binding the new base station to the virtual machine bound to the base station in the coverage area of the location area to which the new base station belongs; the fourth binding module is coupled with the determination module, and is used to determine that the virtual machine does not exist. When the base station in the coverage area of the new base station is bound, the virtual machine with the lowest idle value is bound to the new base station, where the idle value is the number of carriers processed by the virtual machine and the virtual machine processes The ratio of the upper limit of the number of carriers.
需要说明的是,上述每一个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。 It should be noted that each of the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
下面结合本发明的可选实施例对本发明进行举例说明;The invention is exemplified below in conjunction with an alternative embodiment of the invention;
本可选实施例提供了一种基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法。本可选实施例的该方法自动地将与基站相关联的虚拟化基站控制器处理流程自动地绑定到合适的虚拟机上进行处理,无需手工地进行绑定,从而有效地、充分地利用电信网络中的硬件资源,并且减少网络维护人员的工作量。The present optional embodiment provides a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller. The method of the alternative embodiment automatically binds the virtualized base station controller processing flow associated with the base station to a suitable virtual machine for processing, without manual binding, thereby effectively and fully utilizing Hardware resources in telecommunications networks and reduce the workload of network maintenance personnel.
本可选实施例中上述涉及到的绑定方法可以包括如下步骤:The binding method mentioned in the foregoing optional embodiment may include the following steps:
步骤202:根据基站个数、小区个数,载频个数分别初步估算出需要申请的虚拟机数量。取其中最大者为初始申请的虚拟机数量。Step 202: Initially estimate the number of virtual machines to be applied according to the number of base stations, the number of cells, and the number of carrier frequencies. The largest of them is the number of virtual machines for the initial application.
步骤204:统计每个位置区下站点的载频数(载频数量简称为载频数),将站点进行从大到小排序并放入站点信息列表,然后将列表中的站点都初始化为“未绑定”。本发明实施例站点即基站。Step 204: Count the carrier frequency of each site in the location area (the carrier frequency is simply referred to as the carrier frequency), sort the sites from large to small and put them into the site information list, and then initialize the sites in the list to “unbound. set". The station of the embodiment of the present invention is a base station.
步骤206:统计每个位置区下每个基站的载频数,按载频数对位置区进行从大到小排序并放入位置区信息列表中,然后将列表中的位置区都初始化为“未处理”Step 206: Count the carrier frequency of each base station in each location area, sort the location areas from the largest to the smallest according to the carrier frequency, and put them into the location area information list, and then initialize the location areas in the list to "unprocessed." ”
步骤208:建立站点信息列表与位置区信息列表映射关系,即通过位置区信息列表中的位置区可以找到站点信息列表中该位置区下已经排序好的站点信息。Step 208: Establish a mapping relationship between the site information list and the location area information list, that is, the site information in the location information list in the location information list can be found through the location area in the location area information list.
步骤210:首先对位置区列表中第一个位置区下的第一个基站绑定到最空闲(虚拟上处理的载频个数最少)的虚拟机上,并且将该基站标记为“已绑定”。然后依次将该位置区下的其他基站绑定到最空闲的虚拟机上直到该位置区下的所有基站都绑定完毕。最后将该位置区标记为“已经处理”Step 210: First, bind the first base station in the first location area in the location area list to the most idle virtual machine (the least number of carriers processed on the virtual basis), and mark the base station as “tied” set". Then, the other base stations under the location area are sequentially bound to the most idle virtual machine until all the base stations under the location area are bound. Finally mark the location area as "already processed"
步骤212:按照绑定位置区列表中下一个未处理的位置区中的基站。Step 212: Follow the base station in the next unprocessed location area in the binding location area list.
步骤214:当所有的虚拟机都绑定完还缺少虚拟机时,则新申请未绑定的基站数量对应的虚拟机。Step 214: When all the virtual machines are bound and the virtual machine is still missing, the virtual machine corresponding to the number of unbound base stations is newly applied.
步骤216:当增加基站时,筛选这样的虚拟机并排序:该虚拟机绑定有新增基站的归属位置区下的基站。若没有符合这样条件的虚拟机,则选出所有空闲的虚拟机并排序。若没有空闲的虚拟机则重新分配一个虚拟机。挑选 出最空闲的虚拟机,将新增站点绑定到该虚拟机上。Step 216: When adding the base station, filter and sort the virtual machines: the virtual machine is bound with the base station under the home location area of the newly added base station. If there is no virtual machine that meets this condition, all free virtual machines are selected and sorted. Reassign a virtual machine if there are no free virtual machines. Pick The most idle virtual machine is bound to the new site.
步骤218:删除基站时,则解除删除的基站与虚拟机的绑定关系。Step 218: When the base station is deleted, the binding relationship between the deleted base station and the virtual machine is released.
步骤220:在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。若迁移绑定成功,则回收该虚拟机占用的硬件资源,删除虚拟机。低于预设业务量阈值包括无业务的情况。Step 220: When the traffic of the base station bound to the virtual machine is lower than the preset traffic threshold, the base station that is lower than the preset traffic threshold is migrated and bound to other virtual machines. If the migration is successful, the hardware resources occupied by the virtual machine are reclaimed and the virtual machine is deleted. Below the preset traffic threshold includes no traffic.
可选地,虚拟机绑定包括:将与基站相关联的基站控制器处理流程绑定到指定的虚拟机上进行处理。Optionally, the virtual machine binding includes: binding the base station controller processing flow associated with the base station to the designated virtual machine for processing.
例如,将与基站1相关联的基站控制器处理流程绑定到虚拟机5进行处理,将与基站5相关联的控制器处理流程绑定到虚拟机1上进行处理。For example, the base station controller processing flow associated with base station 1 is bound to virtual machine 5 for processing, and the controller processing flow associated with base station 5 is bound to virtual machine 1 for processing.
可选地,申请虚拟机包括:向电信网络云管理与调度系统申请启动虚拟机,设置为处理基站控制器的业务流程。Optionally, applying for the virtual machine includes: applying to the telecommunication network cloud management and scheduling system to start the virtual machine, and setting the business process of the base station controller.
可选地,回收虚拟机包括:向电信网络云管理与调度系统申请注销虚拟机,设置为释放该虚拟机的硬件资源。Optionally, the reclaiming the virtual machine includes: applying for the logout virtual machine to the telecommunication network cloud management and scheduling system, and setting the hardware resource of the virtual machine to be released.
下面结合附图和具体实施例对本可选实施例进行详细说明;The present optional embodiment will be described in detail below with reference to the accompanying drawings and specific embodiments;
实施例一Embodiment 1
图5是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的流程图,如图5所示,该流程包括如下步骤:FIG. 5 is a flowchart of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an alternative embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
步骤502:从基站控制器配置数据的数据库中提取位置区、站点、小区;Step 502: Extract a location area, a site, and a cell from a database of base station controller configuration data.
步骤504:对提取的相关数据进行排序;Step 504: Sort the extracted related data.
其中,对于所有位置区,依据其所有站点下载频数量进行从大到小的排序,生成位置区列表,将列表中位置区都初始化为“未处理”。依据位置区下站点的载频数,对于位置区下的站点进行排序,生成站点列表,将站点列表中的站点都初始化为“未绑定”。本发明实施例,站点即基站;载频数、载频个数、载频数量为同一个意思。Among them, for all location areas, the order of the download frequency of all the stations is sorted from large to small, the location area list is generated, and the location areas in the list are initialized to “unprocessed”. According to the carrier frequency of the site under the location area, the sites under the location zone are sorted, a site list is generated, and the sites in the site list are initialized to "unbound". In the embodiment of the present invention, the station is a base station; the number of carrier frequencies, the number of carrier frequencies, and the number of carrier frequencies are the same meaning.
步骤506:依次对位置区列表中标记为未处理的位置区进行处理;Step 506: Processing the location area marked as unprocessed in the location area list in sequence;
其中,该处理包括:对归属于它的未绑定站点进行绑定。 The processing includes binding the unbound site belonging to it.
步骤508:对归属于处理的位置区下的站点依次进行绑定;Step 508: Bind the sites that belong to the location area that belongs to the processing in sequence;
其中,在绑定过程中若出现虚拟机不够,则新申请相应的虚拟机进行绑定。If the virtual machine is insufficient during the binding process, the corresponding virtual machine is newly applied for binding.
步骤510:对所有的站定绑定完毕后,生成绑定结果;Step 510: After binding all the stations, generate a binding result.
步骤512:根据绑定结果向电信云管理与调度中心申请虚拟机,并启动虚拟机处理基站控制器的业务处理流程。Step 512: Apply for a virtual machine to the telecommunication cloud management and dispatch center according to the binding result, and start a virtual machine to process the service process of the base station controller.
图6是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图一,该方法进行了增加站点时的流程补充,如图6所示,该方法的步骤包括:FIG. 6 is an optional flowchart 1 of a method for binding a base station to a virtual machine based on configuration data of a virtualized base station controller according to an optional embodiment of the present invention. The method is supplemented by a process when adding a site, as shown in FIG. 6 . As shown, the steps of the method include:
步骤602:增加站点;站点即基站,即新增基站。Step 602: Add a station; the station is a base station, that is, a new base station.
步骤604:找出绑定有与新增站点具有相同位置区的站点的空闲虚拟机,并按空闲度进行排序。若没有这样的虚拟机,则找出所有最空闲的虚拟机,并按空闲度排序;这里的空闲度包括空闲值;Step 604: Find an idle virtual machine bound to a site having the same location area as the newly added site, and sort by idleness. If there is no such virtual machine, find all the most idle virtual machines and sort by idleness; the idleness here includes the idle value;
步骤606:虚拟机不够,申请虚拟机;Step 606: The virtual machine is insufficient, and the virtual machine is applied.
步骤608:生成可以绑定空闲虚拟机列表;Step 608: Generate a list of idle virtual machines that can be bound;
步骤610:将站点绑定到最空闲的虚拟机上。Step 610: Bind the site to the most idle virtual machine.
图7是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图二,该流程图对图5中的示意图进行了删除站点时的流程补充,如图7所示,该方法的步骤除了图5中的步骤之外还包括:FIG. 7 is an optional flowchart 2 of a method for binding a base station and a virtual machine based on configuration data of a virtualized base station controller according to an optional embodiment of the present invention, where the flowchart is used to delete a site in FIG. 5 In addition to the steps in FIG. 5, the steps of the method include:
步骤702:删除站点;Step 702: Delete the site;
步骤704:解除删除的站点与虚拟机的绑定关系。Step 704: Unbind the deleted site from the virtual machine.
图8是本发明可选实施例的基于虚拟化基站控制器的配置数据将基站与虚拟机进行绑定的方法的可选流程图三,该流程图对图5中的示意图进行了当虚拟机在一定周期内业务低于一定门限时的流程补充,如图8所示,该方法的步骤除了图5中的步骤之外还包括:FIG. 8 is an optional flowchart 3 of a method for binding a base station and a virtual machine based on configuration data of a virtualized base station controller according to an optional embodiment of the present invention, where the flowchart is performed on the virtual machine in FIG. The process is supplemented when the service is below a certain threshold in a certain period. As shown in FIG. 8, the steps of the method include: in addition to the steps in FIG. 5:
步骤802:当在一定周期内检测到虚拟机业务低于一定门限时,迁移该 虚拟机上绑定的站点;Step 802: When the virtual machine service is detected to be below a certain threshold within a certain period, the migration is performed. The site bound to the virtual machine;
步骤804、站点迁移成功时,向电信云管理与调度中心申请释放虚拟机,回收该虚拟机所占用的硬件资源。Step 804: When the site migration is successful, apply to the telecom cloud management and dispatch center to release the virtual machine, and recover the hardware resources occupied by the virtual machine.
步骤806、虚拟机不够,申请新的虚拟机。Step 806: The virtual machine is insufficient, and a new virtual machine is applied.
通过上述本可选实施例,可以自动地将基站绑定到合适的虚拟机上,使与基站相关联的基站控制器业务在绑定的虚拟机上进行处理。Through the foregoing optional embodiment, the base station can be automatically bound to a suitable virtual machine, so that the base station controller service associated with the base station is processed on the bound virtual machine.
需要说明的是,本实施例中涉及到的基于基站控制器配置数据绑定虚拟机的方法,虽然是在全球移动通信网络(GSM)系统中实现的,但基于此方法完全可以应用到第三代移动通信(3G)、4G、5G或者基于传输的其它通讯设备或系统。更严格地,本发明所述基于基站控制器配置数据绑定虚拟机的实施系统也可以衍生出更多的变种系统和方法。以上所述也在本发明的保护范围。It should be noted that the method for binding a virtual machine based on a base station controller configuration data in this embodiment is implemented in a Global System for Mobile Communications (GSM) system, but can be applied to the third method based on this method. Mobile communication (3G), 4G, 5G or other communication equipment or systems based on transmission. More strictly, the implementation system based on the base station controller configuration data binding virtual machine of the present invention can also derive more variant systems and methods. The above is also within the scope of protection of the present invention.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1:依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;S1: Sort all the location areas according to the total carrier frequency of all base stations in the coverage of each location area, and add the location information of the location area to the location area information list; according to each base station in the coverage area of each location area The number of carrier frequencies owned is sorted for all base stations, and the sorting information of the base station is added to the base station information list;
S2:建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;S2: Establish a mapping relationship between the location area information list and the base station information list, and query, according to the established mapping relationship, the sorting information of all the base stations that are sorted in the coverage of the location area;
S3:依据根据映射关系查询到的排序信息依次将基站与虚拟机进行绑定。S3: Bind the base station to the virtual machine according to the sorting information that is queried according to the mapping relationship.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明实施例的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或 者将它们分别制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the above-described modules or steps of the embodiments of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or They are separately fabricated into integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and the present invention may be modified and changed by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述技术方案实现了虚拟机与电信网络的业务处理绑定。 The foregoing technical solution implements service processing binding between a virtual machine and a telecommunication network.

Claims (14)

  1. 一种基站与虚拟机的绑定方法,所述绑定方法包括:A method for binding a base station to a virtual machine, where the binding method includes:
    依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站进行排序,并将基站的排序信息添加到基站信息列表中;All the location areas are sorted according to the total carrier frequency of all base stations in the coverage of each location area, and the ranking information of the location area is added to the location area information list; according to each base station in the coverage of each location area The number of carrier frequencies is sorted for all base stations, and the ordering information of the base stations is added to the base station information list;
    建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;Establishing a mapping relationship between the location area information list and the base station information list, and querying, according to the established mapping relationship, the ranking information of all the base stations in the coverage of the location area;
    依据根据映射关系查询到的排序信息依次将所述基站与虚拟机进行绑定。The base station and the virtual machine are sequentially bound according to the sorting information queried according to the mapping relationship.
  2. 根据权利要求1所述的绑定方法,其中,The binding method according to claim 1, wherein
    所述依据每一个所述位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序包括:The sorting all the location areas according to the total carrier frequency of all base stations in the coverage of each of the location areas includes:
    依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有所述位置区进行排序;All the location areas are sorted in order of increasing order according to the total carrier frequency of all base stations in the coverage of each location area;
    所述依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量对所有所述基站进行排序包括:依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量,按照从多到少的顺序对所有所述基站进行排序。The sorting all the base stations according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas includes: according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas, All of the base stations are ordered in order of increasing order.
  3. 根据权利要求2所述的绑定方法,其中,所述依据根据映射关系查询到的所述排序信息依次将所述基站与虚拟机进行绑定包括:The binding method according to claim 2, wherein the binding the base station to the virtual machine according to the sorting information queried according to the mapping relationship comprises:
    获取两个或两个以上虚拟机的空闲值,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值;Obtaining idle values of two or more virtual machines, where the idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processing carriers of the virtual machine;
    将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上。Each of the base stations sorted according to the number of carriers in the sorting information according to the mapping relationship is bound to the virtual machine sorted according to the idle value from small to large.
  4. 根据权利要求1至3任一项所述的绑定方法,所述绑定方法还包括:所述依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后, The binding method according to any one of claims 1 to 3, the binding method further comprising: binding the base station to the virtual machine in sequence according to the sorting information queried according to the mapping relationship after that,
    在所有虚拟机都已与所述基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站申请相应的虚拟机;When all virtual machines are bound to the base station, and one or more base stations are not bound, the corresponding virtual machine is applied according to the unbound base station;
    将未被绑定的基站与申请的虚拟机进行绑定。Bind the unbound base station to the applied virtual machine.
  5. 根据权利要求1至3任一项所述的绑定方法,所述绑定方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,The binding method according to any one of claims 1 to 3, the binding method further comprising: after sequentially binding the base station to the virtual machine according to the sorting information queried according to the mapping relationship ,
    在删除基站时,解除删除的所述基站与虚拟机之间的绑定关系。When the base station is deleted, the binding relationship between the deleted base station and the virtual machine is released.
  6. 根据权利要求1至3任一项所述的绑定方法,所述绑定方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,The binding method according to any one of claims 1 to 3, the binding method further comprising: after sequentially binding the base station to the virtual machine according to the sorting information queried according to the mapping relationship ,
    在与虚拟机绑定的基站的业务量低于预设业务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。When the traffic of the base station bound to the virtual machine is lower than the preset traffic threshold, the base station migration lower than the preset traffic threshold is bound to other virtual machines.
  7. 根据权利要求1至3任一项所述的绑定方法,所述绑定方法还包括:在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,The binding method according to any one of claims 1 to 3, the binding method further comprising: after sequentially binding the base station to the virtual machine according to the sorting information queried according to the mapping relationship ,
    在增加新的基站时,判断是否存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定;When adding a new base station, determining whether there is a virtual machine binding to a base station within a coverage area of the location area to which the new base station belongs;
    在判断结果为存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将所述新的基站与所述新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;When the result of the determination is that the virtual machine is bound to the base station in the coverage area of the location area to which the new base station belongs, the new base station is bound to the base station in the coverage area of the location area to which the new base station belongs. The virtual machine is bound;
    在判断结果为不存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与所述新的基站进行绑定,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值。When the result of the determination is that the virtual machine is not bound to the base station in the coverage area of the location area to which the new base station belongs, the virtual machine with the lowest idle value is bound to the new base station, where the idle value is The ratio of the number of carrier frequencies being processed by the virtual machine to the upper limit of the number of carrier frequencies processed by the virtual machine.
  8. 一种基站与虚拟机的绑定装置,所述绑定装置包括:A binding device for a base station and a virtual machine, the binding device includes:
    第一处理模块,设置为依据每一个位置区覆盖范围内所有基站总的载频数量对所有位置区进行排序,并将位置区的排序信息添加到位置区信息列表中;依据每一个位置区覆盖范围内每一个基站所拥有的载频数量对所有基站 进行排序,并将基站的排序信息添加到基站信息列表中;The first processing module is configured to sort all the location areas according to the total carrier frequency of all the base stations in the coverage of each location area, and add the ranking information of the location area to the location area information list; according to each location area coverage The number of carrier frequencies owned by each base station in the range for all base stations Sorting and adding the sorting information of the base station to the base station information list;
    第二处理模块,设置为建立位置区信息列表与基站信息列表之间的映射关系,并根据建立的映射关系查询所有所述位置区覆盖范围内排序后的所有基站的排序信息;The second processing module is configured to establish a mapping relationship between the location area information list and the base station information list, and query, according to the established mapping relationship, the sorting information of all the base stations that are sorted in the coverage of the location area;
    第一绑定模块,设置为依据根据映射关系查询到的所述排序信息依次将所述基站与虚拟机进行绑定。The first binding module is configured to bind the base station to the virtual machine in sequence according to the sorting information that is queried according to the mapping relationship.
  9. 根据权利要求8所述的绑定装置,其中,所述第一处理模块包括:The binding device of claim 8, wherein the first processing module comprises:
    第一排序单元,设置为依据每一个位置区覆盖范围内所有基站总的载频数量,按照从多到少的顺序对所有所述位置区进行排序;The first sorting unit is configured to sort all the location areas in order of increasing order according to the total carrier frequency of all base stations in the coverage of each location area;
    第二排序单元,设置为依据每一个所述位置区覆盖范围内每一个基站所拥有的载频数量,按照从多到少的顺序对所有所述基站进行排序。And a second sorting unit configured to sort all the base stations in a descending order according to the number of carrier frequencies owned by each base station in the coverage of each of the location areas.
  10. 根据权利要求9所述的绑定装置,其中,所述绑定模块包括:The binding device of claim 9, wherein the binding module comprises:
    获取单元,设置为获取两个或两个以上虚拟机的空闲值,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值;An obtaining unit, configured to obtain idle values of two or more virtual machines, where the idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processing carriers of the virtual machine;
    绑定单元,设置为将根据映射关系查询到的排序信息中按载频数量从多到少进行排序后的每一个基站绑定到根据空闲值的从小到大排序后的虚拟机上。The binding unit is configured to bind each of the base stations sorted by the number of carriers according to the number of carriers in the sorting information that is queried according to the mapping relationship to the virtual machines sorted according to the idle value from small to large.
  11. 根据权利要求8至10任一项所述的绑定装置,所述绑定装置还包括申请模块,设置为在所有虚拟机都已与所述基站绑定,且还剩下一个或多个基站未被绑定时,依据未被绑定的基站申请相应的虚拟机;The binding device according to any one of claims 8 to 10, the binding device further comprising an application module, configured to be bound to the base station at all virtual machines, and leaving one or more base stations When not bound, apply for the corresponding virtual machine according to the unbound base station;
    第二绑定模块,设置为将未被绑定的基站与申请的虚拟机进行绑定。The second binding module is configured to bind the unbound base station to the applied virtual machine.
  12. 根据权利要求8至10任一项所述的绑定装置,所述绑定装置还包括解除模块,设置为在删除基站时,解除删除的所述基站与虚拟机之间的绑定关系。The binding device according to any one of claims 8 to 10, wherein the binding device further comprises a release module configured to remove the binding relationship between the deleted base station and the virtual machine when the base station is deleted.
  13. 根据权利要求8至10任一项所述的绑定装置,所述绑定装置还包括迁移模块,设置为在依据根据映射关系查询到的所述排序信息依次将所述基站与所述虚拟机进行绑定之后,在与虚拟机绑定的基站的业务量低于预设业 务量阈值时,将低于预设业务量阈值的基站迁移绑定至其他虚拟机。The binding device according to any one of claims 8 to 10, the binding device further comprising a migration module, configured to sequentially sequentially the base station and the virtual machine according to the sorting information queried according to a mapping relationship After binding, the traffic of the base station bound to the virtual machine is lower than the default industry. When the traffic threshold is used, the base station migration below the preset traffic threshold is bound to other virtual machines.
  14. 根据权利要求8至10任一项所述的绑定装置,所述绑定装置还包括判断模块,设置为在增加新的基站时,判断是否存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定;The binding device according to any one of claims 8 to 10, wherein the binding device further comprises a determining module, configured to determine whether there is a virtual machine and a location area to which the new base station belongs when adding a new base station Base station binding within the coverage;
    第三绑定模块,设置为在判断结果为存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将所述新的基站与所述新的基站所属的位置区覆盖范围内的基站绑定的虚拟机进行绑定;a third binding module, configured to: when the judgment result is that the virtual machine is bound to a base station within a coverage area of the location area to which the new base station belongs, the new base station and the location area to which the new base station belongs The virtual machine bound to the base station in the coverage area is bound;
    第四绑定模块,设置为在判断结果为不存在虚拟机与所述新的基站所属的位置区覆盖范围内的基站绑定时,将空闲值最低的虚拟机与所述新的基站进行绑定,其中,所述空闲值为所述虚拟机正在处理的载频数量与所述虚拟机处理载频数量上限的比值。 a fourth binding module, configured to bind the virtual machine with the lowest idle value to the new base station when the result of the determination is that the virtual machine is not bound to the base station in the coverage area of the location area to which the new base station belongs. The idle value is a ratio of a number of carrier frequencies being processed by the virtual machine to an upper limit of the number of processed carrier frequencies of the virtual machine.
PCT/CN2016/087118 2015-12-17 2016-06-24 Method and device for binding base station with virtual machine WO2016198023A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510955286.3A CN106900012A (en) 2015-12-17 2015-12-17 Base station and the binding method and device of virtual machine
CN201510955286.3 2015-12-17

Publications (1)

Publication Number Publication Date
WO2016198023A1 true WO2016198023A1 (en) 2016-12-15

Family

ID=57503022

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087118 WO2016198023A1 (en) 2015-12-17 2016-06-24 Method and device for binding base station with virtual machine

Country Status (2)

Country Link
CN (1) CN106900012A (en)
WO (1) WO2016198023A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191402A1 (en) * 2010-02-02 2011-08-04 Fujitsu Limited Network system, process-providing-server switching method, information processing apparatus, and virtual-machine building method
CN103906068A (en) * 2012-12-26 2014-07-02 华为技术有限公司 Virtual base station establishment method and device
CN103945548A (en) * 2014-04-29 2014-07-23 西安电子科技大学 Resource distribution system and task/service scheduling method in C-RAN
CN103957231A (en) * 2014-03-18 2014-07-30 成都盛思睿信息技术有限公司 Virtual machine distributed task scheduling method under cloud calculating platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191402A1 (en) * 2010-02-02 2011-08-04 Fujitsu Limited Network system, process-providing-server switching method, information processing apparatus, and virtual-machine building method
CN103906068A (en) * 2012-12-26 2014-07-02 华为技术有限公司 Virtual base station establishment method and device
CN103957231A (en) * 2014-03-18 2014-07-30 成都盛思睿信息技术有限公司 Virtual machine distributed task scheduling method under cloud calculating platform
CN103945548A (en) * 2014-04-29 2014-07-23 西安电子科技大学 Resource distribution system and task/service scheduling method in C-RAN

Also Published As

Publication number Publication date
CN106900012A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN105430688B (en) A kind of wlan system based on software defined network
CN103404196B (en) Shunt processing method, control unit and system
CN112314033A (en) Selecting and managing network slices
CN106201661A (en) Method and apparatus for elastic telescopic cluster virtual machine
CN105516961A (en) Perception-free authentication method and system, control method and system based on same
US11451286B2 (en) Communication method and communications device thereof
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN105850183A (en) Wireless network access control method, device and system
CN112333835B (en) Carrier resource scheduling method and device
CN105025497A (en) Network planning method and system
EP3843444A1 (en) Configuration method and apparatus for cell
CN105580442A (en) Access to local ANDSF server with dedicated bearer
CN112333834B (en) Carrier resource scheduling method and device
CN100586223C (en) The method for building up of Traffic Channel, system and device in a kind of cross-band networking
US10931829B1 (en) Usage data index for wireless communication networks
CN103841625A (en) WLAN access method and WLAN access device
WO2020124930A1 (en) Method and apparatus for scheduling and processing resource
CN108418696B (en) Gateway charging method and gateway
CN104053159B (en) The frequency collocation method and device of a kind of Multi-Carrier basestation
CN103607731A (en) Method and device for processing measurement reports
EP2991407A1 (en) Method, device, and system for configuring access technologies
WO2016198023A1 (en) Method and device for binding base station with virtual machine
WO2023151586A1 (en) Method for reporting target plane capability of network function instance or network element, method for acquiring target plane capability of network function instance or network element, and device
CN107155167A (en) Mobile terminal and its Bluetooth pairing name class processing method and storage device
CN110662275B (en) Network selection method, base station and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806921

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806921

Country of ref document: EP

Kind code of ref document: A1