CN103561471A - Method for allocating bandwidths in multi-user single relay communication system - Google Patents
Method for allocating bandwidths in multi-user single relay communication system Download PDFInfo
- Publication number
- CN103561471A CN103561471A CN201310581786.6A CN201310581786A CN103561471A CN 103561471 A CN103561471 A CN 103561471A CN 201310581786 A CN201310581786 A CN 201310581786A CN 103561471 A CN103561471 A CN 103561471A
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- relay
- user
- value
- users
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明提供了一种多用户单中继通信系统中的带宽分配方法,当一个区域中有多个用户时,部分可直接连接AP成为中继,部分需要连接中继用户以获取数据服务,当用户进入该公共局域网区域时,根据用户收益函数和中继消耗函数,离散化用户收益函数,并利用带宽分配算法选择最优的带宽分配策略进行带宽分配,同时也考虑了中继的最大服务带宽和用户的最小需求带宽的限制,在适当的情况下剔除对网络效益不高的用户,接入新的效益更高的用户,并更新整个簇的带宽分配。当用户离开时,释放带宽并更新带宽分配。
The present invention provides a bandwidth allocation method in a multi-user single-relay communication system. When there are multiple users in an area, some of them can be directly connected to APs to become relays, and some of them need to connect to relay users to obtain data services. When a user enters the public LAN area, the user revenue function is discretized according to the user revenue function and the relay consumption function, and the bandwidth allocation algorithm is used to select the optimal bandwidth allocation strategy for bandwidth allocation, and the maximum service bandwidth of the relay is also considered And the user's minimum demand bandwidth limit, remove the user with low benefit to the network under appropriate circumstances, insert new user with higher benefit, and update the bandwidth allocation of the entire cluster. When the user leaves, the bandwidth is released and the bandwidth allocation is updated.
Description
技术领域technical field
本发明涉及无线通信领域,尤其涉及一种多用户单中继通信系统中的带宽分配方法。The invention relates to the field of wireless communication, in particular to a bandwidth allocation method in a multi-user single-relay communication system.
背景技术Background technique
随着无线局域网WLAN的发展,移动用户可以通过连接接入点AP接入互联网获取信息,随时随地浏览网页、读取邮件等。但是,由于AP连接的范围有限、信号强度较差等原因,导致部分用户无法接入互联网。此时,多跳接入就可以很好的解决这一问题,也即,在AP信号覆盖范围内的用户直接接入AP成为中继,对于那些无法直接连接AP的用户则可以连接其周围的中继来间接获取互联网服务。With the development of wireless local area network (WLAN), mobile users can access the Internet to obtain information, browse webpages and read emails anytime and anywhere by connecting to the access point AP. However, some users cannot access the Internet due to reasons such as limited AP connection range and poor signal strength. At this time, multi-hop access can solve this problem very well, that is, users within the signal coverage of the AP directly access the AP to become a relay, and those users who cannot directly connect to the AP can connect to the surrounding Relay to obtain Internet service indirectly.
WLAN中各个节点的合作方式一般分为两种:合作型和自私型。在合作场景下,所有节点都愿意为别人服务以解决资源分配问题。我们将一个用户相对固定的无线局域网(如教室等)定义为中继联盟网络(Relay-Union Network,RUN),在RUN中每个用户都愿意为别人服务以获取整个网络的最大效益。在单个垄断运行商条件下,Jiongkuan Hou等人根据互联网服务商利益最大化和拥塞管理方案对服务带宽进行定价,为用户提供合适的接入服务。但这种定价策略主要目的是最大化服务提供商的利益,没有考虑终端用户的承受能力和服务需求,同时也忽略了RUN网络的特点,比如普通用户或者中继的角色变化。The cooperation modes of each node in WLAN are generally divided into two types: cooperative type and selfish type. In a cooperative scenario, all nodes are willing to serve others to solve resource allocation problems. We define a wireless LAN with relatively fixed users (such as classrooms, etc.) as a Relay-Union Network (RUN), in which each user is willing to serve others to obtain the maximum benefit of the entire network. Under the condition of a single monopoly operator, Jiongkuan Hou et al. priced the service bandwidth according to the maximization of the interests of the Internet service provider and the congestion management scheme, and provided users with appropriate access services. However, the main purpose of this pricing strategy is to maximize the interests of service providers, without considering the end user's affordability and service requirements, and at the same time ignoring the characteristics of the RUN network, such as the role changes of ordinary users or relays.
发明内容Contents of the invention
本发明针对上述问题,提出了一种多用户单中继通信系统中的带宽分配方法,从用户角度设计中继的连接策略,最大化全网的收益。Aiming at the above problems, the present invention proposes a bandwidth allocation method in a multi-user single-relay communication system, designs a relay connection strategy from the perspective of users, and maximizes the revenue of the entire network.
本发明提供的多用户单中继通信系统中的带宽分配方法,主要包括以下步骤:The bandwidth allocation method in the multi-user single-relay communication system provided by the present invention mainly includes the following steps:
步骤一、获取为用户分配带宽所需参数,所述为用户分配带宽所需参数包括用户最低带宽需求Bmin、用户收益函数fi(Bi)、中继最大服务带宽Bmax以及中继消耗函数g(B);
步骤二、初始化中继带宽限制Br、网络总收益Rrc以及为用户分配的带宽值k;Step 2: Initialize the relay bandwidth limit B r , the total network revenue R rc and the bandwidth value k allocated to users;
步骤三、设置分段粒度ΔB,根据所述分段粒度ΔB对用户收益函数fi(Bi)进行离散化,并根据所述分段粒度ΔB和所述中继带宽限制Br建立候选带宽集合;Step 3: Set the segmentation granularity ΔB, discretize the user benefit function f i (B i ) according to the segmentation granularity ΔB, and establish candidate bandwidths according to the segmentation granularity ΔB and the relay bandwidth limit B r gather;
步骤四、从所述候选带宽集合中选择带宽作为给用户分配的带宽值k,计算i个用户的用户收益与中继剩余带宽j之间的函数dp(i,j)值,取dp(i-1,j-k)+fi(k)与dp(i-1,j)较大者,将k值依次增大,循环计算函数dp(i,j)值,直至k值大于中继剩余带宽j结束循环,记录dp(i,j)值最大时为该用户分配的带宽分配值k;Step 4, select bandwidth from the candidate bandwidth set as the bandwidth value k allocated to the user, calculate the function dp (i, j) value between the user income of i users and the relay remaining bandwidth j, and get dp (i -1, jk)+f i (k) and dp(i-1, j) are larger, increase the value of k in turn, and calculate the value of function dp(i, j) in a loop until the value of k is greater than the remaining bandwidth of the relay j ends the loop, and records the bandwidth allocation value k allocated to the user when the dp(i, j) value is the largest;
步骤五、循环步骤四直至完成所有用户的带宽分配,记录为每个用户选择的k值;Step 5, loop step 4 until the bandwidth allocation of all users is completed, and record the k value selected for each user;
步骤六、计算中继带宽限制Br下的网络总收益Rrc,Br=Br+ΔB,依次循环步骤四和步骤五直至中继带宽限制达到中继最大服务带宽,记录最大网络总收益Rrc、该总收益下为每个用户分配的带宽值k以及获得该最大网络总收益的中继带宽限制Br。Step 6. Calculate the total network revenue R rc under the relay bandwidth limit B r , B r =B r +ΔB, repeat steps 4 and 5 in sequence until the relay bandwidth limit reaches the maximum service bandwidth of the relay, and record the maximum total network revenue R rc , the bandwidth value k allocated to each user under the total revenue, and the relay bandwidth limit B r for obtaining the maximum total network revenue.
所述候选带宽集合为从0依次增加分段粒度ΔB直至中继带宽限制Br的集合,即{0,Bmin,Bmin+ΔB,...,Br}。The candidate bandwidth set is a set with segment granularity ΔB increasing sequentially from 0 to relay bandwidth limit B r , that is, {0, B min , B min +ΔB, . . . , B r }.
所述分段粒度ΔB根据实际需要的精确度进行设置,所述分段粒度与所述精确度成反比。The segmentation granularity ΔB is set according to the accuracy actually required, and the segmentation granularity is inversely proportional to the accuracy.
所述k值依次增大循环计算函数dp(i,j)值为k值每次增加分段粒度ΔB。The value of k increases sequentially and the value of the loop calculation function dp(i, j) increases the segmentation granularity ΔB each time the value of k increases.
所述中继带宽限制Br的变化范围为{Bmin,Bmin+ΔB,...,Bmax}。The variation range of the relay bandwidth limit B r is {B min , B min +ΔB, . . . , B max }.
所述方法还包括:当中继内用户离开所述中继时,中继重新执行步骤六,为中继内其他用户分配带宽。The method further includes: when the user in the relay leaves the relay, the relay re-performs step 6 to allocate bandwidth to other users in the relay.
所述方法还包括:当所述中继离开局域网时,判断所述局域网内的用户是否能与接入点AP直接连接,如果能,则将该用户作为中继为其他用户提供服务;否则,随机接入周围的中继,由该被接入的中继执行步骤一至步骤六。The method further includes: when the relay leaves the local area network, judging whether the user in the local area network can directly connect to the access point AP, and if so, serving the user as a relay to other users; otherwise, The surrounding relays are randomly accessed, and the accessed relays perform
本发明着重考虑单中继多用户条件下中继的分配策略,提出了一种在用户相对固定的无线局域网中的集中式带宽分配合作方法,以最大化网络中所有用户的服务效益,降低服务提供者的开销。与现有一般的算法相比,采用本发明的技术方案可以根据用户的需求提高计算精度或降低计算复杂度。The present invention focuses on the allocation strategy of relays under the condition of single relay and multiple users, and proposes a centralized bandwidth allocation cooperation method in a wireless local area network with relatively fixed users, so as to maximize the service benefits of all users in the network and reduce service costs. Provider overhead. Compared with the existing general algorithm, the technical solution of the invention can improve the calculation accuracy or reduce the calculation complexity according to the needs of users.
附图说明Description of drawings
下面将参照附图描述本发明的具体实施例,其中:Specific embodiments of the present invention will be described below with reference to the accompanying drawings, wherein:
图1示出了用户接入网络的示意图;FIG. 1 shows a schematic diagram of a user accessing a network;
图2示出了单用户单中继情况下带宽收益变化的曲线图;Fig. 2 shows the curve diagram of the change of bandwidth revenue in the case of a single relay for a single user;
图3示出了本发明实施例带宽分配方法的流程图;Fig. 3 shows the flowchart of the bandwidth allocation method of the embodiment of the present invention;
图4示出了单用户单中继情况下带宽分配的示意图;FIG. 4 shows a schematic diagram of bandwidth allocation in the case of a single user and a single relay;
图5示出了本发明实施例带宽重新分配的示意性框图。Fig. 5 shows a schematic block diagram of bandwidth reallocation according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的技术方案及优点更加清楚明白,以下结合附图对本发明的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本发明的一部分实施例,而不是所有实施例的穷举。In order to make the technical solutions and advantages of the present invention clearer, the exemplary embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all implementations. Exhaustive list of examples.
本发明为实现资源分配与全网利益最大化,提出了一种在用户相对固定的无线局域网中进行集中式带宽分配的方法,所设计的场景为合作场景,也即,所有用户都会为其他用户服务。In order to achieve resource allocation and maximize the benefits of the entire network, the present invention proposes a method for centralized bandwidth allocation in a wireless LAN with relatively fixed users. The designed scenario is a cooperative scenario, that is, all users will be other users Serve.
本发明实施例提供了一种多用户单中继通信系统中的带宽分配方法,主要技术方案如下:The embodiment of the present invention provides a bandwidth allocation method in a multi-user single-relay communication system, and the main technical solutions are as follows:
如图1所示,通过对周围环境的感知和识别确定每个用户自己的身份,根据坐标位置以及接入点AP的位置,判断该用户是中继还是普通用户:As shown in Figure 1, the identity of each user is determined through the perception and identification of the surrounding environment, and whether the user is a relay or an ordinary user is judged according to the coordinate position and the position of the access point AP:
如果该用户可以直接和局域网的接入点AP相连,则将其作为中继,为其他用户提供服务;If the user can be directly connected to the access point AP of the LAN, use it as a relay to provide services for other users;
如果该用户需要上网服务而不能直接与接入点AP相连,则随机寻找周围适合的中继相连。If the user needs Internet service but cannot be directly connected to the access point AP, then randomly find suitable relays around to connect.
通常,将一个中继和其服务的所有用户的集合称为一个簇。Usually, the collection of a relay and all users served by it is called a cluster.
所有客户端需在802.11协议定义的标准信标帧的独立基本服务集综合业务支撑系统(IBSS,Independent Basic Service Set)参数集合之后加入定价参数集。定价参数集将包括用户收益函数fi(Bi)、用户最低带宽需求Bmin、中继消耗函数g(B)、中继服务带宽上限Bmax等参数。All clients need to add the pricing parameter set after the Independent Basic Service Set Integrated Service Support System (IBSS, Independent Basic Service Set) parameter set of the standard beacon frame defined by the 802.11 protocol. The pricing parameter set will include user revenue function f i (B i ), user minimum bandwidth requirement B min , relay consumption function g(B), relay service bandwidth upper limit B max and other parameters.
用户收益函数fi(Bi)描述的是用户接入带宽与其满意度之间的关系,表示了相应用户节点ci在接收到服务后的满意程度,其中用户接入带宽Bi是指用户每单位时间内传输的数据数,代表用户节点从它的中继节点处获得的接入带宽,fi(Bi)则是用户愿意为这个带宽所支付的信用上限。The user benefit function f i (B i ) describes the relationship between the user access bandwidth and its satisfaction, and represents the satisfaction degree of the corresponding user node c i after receiving the service, where the user access bandwidth B i refers to the user The number of data transmitted per unit time represents the access bandwidth obtained by the user node from its relay node, and f i (B i ) is the credit limit that the user is willing to pay for this bandwidth.
中继消耗函数g(B),表示中继的成本函数,其中B为中继的服务带宽,而g(B)是它提供带宽B的成本。中继服务带宽B是指中继节点所服务的所有用户的接入带宽之和,当该中继向N个用户提供服务时,用户i从中继获得的服务带宽为Bi,则中继服务带宽为 The relay consumption function g(B) represents the cost function of the relay, where B is the service bandwidth of the relay, and g(B) is the cost of providing the bandwidth B. The relay service bandwidth B refers to the sum of the access bandwidth of all users served by the relay node. When the relay provides services to N users, the service bandwidth obtained by user i from the relay is B i , then the relay service Bandwidth is
中继节点的服务带宽B越大则获得的信用越多。其中,信用是指在中继联盟网络RUN中,中继与用户相互交易的虚拟货币。信用是一个虚拟的实数值(信用可以为负数),存储于各个用户客户端中,当用户刚进入RUN中的时候,假设其信用为0。但是,在用户作为中继为其他用户提供服务的同时也会影响用户本身的传输,另外,能量消耗和CPU利用率也会随着中继服务带宽的增加而增加,因此,中继获得信用的同时也会为此付出代价。The larger the service bandwidth B of the relay node is, the more credits it gets. Among them, credit refers to the virtual currency that relays and users trade with each other in the relay alliance network RUN. Credit is a virtual real value (credit can be negative), stored in each user client, when the user just enters RUN, it is assumed that its credit is 0. However, when a user acts as a relay to provide services for other users, it will also affect the transmission of the user itself. In addition, energy consumption and CPU utilization will also increase with the increase of the bandwidth of the relay service. There will also be a price to pay for it.
本发明实施例以用户获取的接入带宽(从接入点AP或从中继获取)作为衡量服务的标准,追求的目标是为用户分配最优接入带宽(不低于用户最低带宽需求)使得网络总收益最大。In the embodiment of the present invention, the access bandwidth obtained by the user (acquired from the access point AP or from the relay) is used as the standard for measuring the service, and the goal pursued is to allocate the optimal access bandwidth (not lower than the minimum bandwidth requirement of the user) for the user so that The total revenue of the network is the largest.
当被选择的中继连入新的用户时,根据带宽分配算法为用户分配合适带宽,并调整给其他用户的带宽,使得全网的效用最大化(即收益最大化)。When the selected relay connects to a new user, the appropriate bandwidth is allocated to the user according to the bandwidth allocation algorithm, and the bandwidth to other users is adjusted to maximize the utility of the entire network (that is, maximize the revenue).
假设Rrc为整个网络的总收益,网络总收益为中继收益Rr和用户收益Rc之和。其中,中继收益Rr为中继r服务带宽带来的总收入与其消耗成本的差,用户收益Rc为用户c的网络收益与消耗成本(如支付的信用)之差。Assuming that R rc is the total revenue of the entire network, the total network revenue is the sum of relay revenue R r and user revenue R c . Among them, the relay revenue R r is the difference between the total revenue brought by the service bandwidth of relay r and its consumption cost, and the user revenue R c is the difference between the network revenue of user c and the consumption cost (such as payment credit).
对一个中继r和用户ci而言,hi(Bi)表示他们的收费函数,其中Bi为ci的接入带宽,则hi(Bi)为r对ci所收取的费用,也就是ci为了接入带宽Bi所应该向r支付的信用。收费函数hi(Bi)一定要高于中继r的g(B),这样才能保证中继可以通过提供服务而获益,此时中继总的收益为另外,hi(Bi)要低于用户收益函数fi(Bi),这样用户才能通过连接中继获益,此时总的用户收益为
图2中表示了一个单用户单中继情况下的用户收益函数fi(Bi)、中继消耗函数g(B)随接入带宽Bi的变化情况。其中,用户收益函数fi(Bi)是凸函数,中继消耗函数g(B)是凹函数,图中的Rc(B)表示用户收益,Rr(B)表示中继收益。Bc表示用户获得最大收益的带宽分配值,本发明实施例的带宽分配寻求的就是该点带宽值。Bn表示带宽超过Bn后用户获得的带宽增加,不会导致整体效益增大,反而会因为中继的消耗导致网络整体效益减少。Fig. 2 shows the variation of user benefit function f i (B i ) and relay consumption function g(B) with access bandwidth B i in the case of a single user and single relay. Among them, the user income function f i (B i ) is a convex function, and the relay consumption function g(B) is a concave function. R c (B) in the figure represents user income, and R r (B) represents relay income. B c represents the bandwidth allocation value at which the user obtains the maximum benefit, and the bandwidth allocation in the embodiment of the present invention seeks the bandwidth value at this point. B n means that when the bandwidth exceeds B n , the increase in the bandwidth obtained by the user will not lead to an increase in the overall benefit, but will reduce the overall benefit of the network due to the consumption of relays.
单个中继为多个用户分配合适带宽的带宽分配过程,如图3所示,具体说明如下:The bandwidth allocation process in which a single relay allocates appropriate bandwidth for multiple users is shown in Figure 3, and the details are as follows:
首先,中继获取为用户分配带宽所需的参数,包括:用户最低带宽需求、中继服务带宽、用户消耗函数、用户收益函数等参数。First, the relay acquires the parameters required to allocate bandwidth to the user, including: the minimum bandwidth requirement of the user, the bandwidth of the relay service, the user consumption function, and the user revenue function.
由于在实际的应用中,中继联盟网络中获得最优带宽的时候,并不需要将所有中继可以提供的带宽都使用完。有时候,提供较大的服务带宽,可能将导致中继的收益降低。本发明实施例利用分段线性函数来近似用户收益函数和中继消耗函数,而实际应用中,用户带宽有最低带宽限制,中继服务带宽也有限。因此,为了保证考虑所有带宽利用的可能性,我们将针对不同的中继服务带宽限制重复我们的决策过程。设当中继的服务带宽上限为Bmax,每个用户的最低带宽需求为Bmin,将中继服务带宽限制Br的变化范围规定为{Bmin,Bmin+ΔB,...,Bmax}。因此,只能在Bmin到函数Bmax之间对用户收益函数进行离散化。设分段粒度为ΔB,则中继给用户的带宽只能从候选带宽集{0,Bmin,Bmin+ΔB,...,Bmax}中选择。当ΔB→0时,分段线性近似为连续的曲线。当分段粒度ΔB越小时,获得的带宽分配越接近于最优带宽分配,同时,其计算复杂度增加。然后,综合不同服务带宽限制条件下的情况,选择最优网络总收益,进行带宽分配。Because in practical applications, when obtaining the optimal bandwidth in the relay alliance network, it is not necessary to use up the bandwidth that all relays can provide. Sometimes, providing a larger service bandwidth may reduce the revenue of the relay. In the embodiment of the present invention, a piecewise linear function is used to approximate the user revenue function and the relay consumption function, but in practical applications, the user bandwidth is limited by the minimum bandwidth, and the relay service bandwidth is also limited. Therefore, to ensure that all bandwidth utilization possibilities are considered, we will repeat our decision process for different relay service bandwidth limits. Assume that the upper limit of the relay service bandwidth is B max , the minimum bandwidth requirement of each user is B min , and the variation range of the relay service bandwidth limit B r is specified as {B min , B min +ΔB,..., B max }. Therefore, the user benefit function can only be discretized between B min and B max . Assuming that the segmentation granularity is ΔB, the bandwidth relayed to the user can only be selected from the candidate bandwidth set {0, B min , B min +ΔB, ..., B max }. When ΔB→0, the piecewise linear approximation is a continuous curve. When the segmentation granularity ΔB is smaller, the obtained bandwidth allocation is closer to the optimal bandwidth allocation, and at the same time, its computational complexity increases. Then, according to the conditions of different service bandwidth constraints, the optimal network total revenue is selected for bandwidth allocation.
中继根据用户的最低带宽需求以及中继的带宽余量对用户收益函数进行离散化,获得可分配的带宽数组集合{0,Bmin,Bmin+ΔB,...,Bmax},也可以称之为候选带宽集。其中,ΔB为分段粒度,该分段粒度根据精确程度自行设置,精确度越高,ΔB设置越小;精确度要求不高时,ΔB设置较大。The relay discretizes the user revenue function according to the user's minimum bandwidth requirement and the relay's bandwidth margin, and obtains an allocatable bandwidth array set {0, B min , B min +ΔB,..., B max }, It can also be called a candidate bandwidth set. Among them, ΔB is the segmentation granularity, which is set according to the degree of accuracy. The higher the accuracy, the smaller the ΔB setting; when the accuracy requirement is not high, the ΔB setting is larger.
根据用户的收益函数获得i个用户带来的用户收益与剩余带宽之间的关系函数
离散化过程初始化,对于任意的j,j,令dp(i.j)=0,网络总收益Rrc趋近于负无穷大,带宽分配初始化Bj→0。图4示出的是单用户单中继情况下的分段线性近似过程,横坐标代表带宽值,从Bmin逐步加ΔB一直到Bmax,纵坐标代表信用值,k1、k2、...表示为该用户分配的不同带宽,其中f(B)与g(B)随着为该用户分配带宽k值的不同而变化。The discretization process is initialized. For any j, j, let dp(ij)=0, the total network revenue R rc tends to negative infinity, and the bandwidth allocation initialization B j →0. Figure 4 shows the piecewise linear approximation process in the case of a single user and a single relay. The abscissa represents the bandwidth value, gradually adding ΔB from B min to B max , and the ordinate represents the credit value, k 1 , k 2 , . ..indicates the different bandwidths allocated to the user, where f(B) and g(B) vary with the value of the bandwidth k allocated to the user.
本发明实施例中,对于分配第i个用户的带宽时,当剩余带宽j>Bmin,即剩余带宽足够分配,可以在{0,Bmin,Bmin+ΔB,...,Bmax}选择合适的带宽,设给用户i分配带宽为k,初始设置k=Bmin,分别计算:dp(i-1,j-k)+fi(k),即分配带宽为k时,用户组此时的收益;以及计算dp(i-1,j),即分配带宽为0时,用户组的收益。比较两者,当前者较大时,给用户分配带宽k,ki=k;当后者较大时,不给用户分配带宽,ki=0。当k小于等于剩余带宽j时,k=k+ΔB,j=j-ki,k值不断增大,相应的,中继剩余带宽j逐渐变少,循环上述操作,直到找到该用户的最大k值,并记录下来。直到k值大于剩余带宽,结束当前循环,i++,为下一个用户寻找最大k值。直到所有用户循环完,也即i大于N值以后,输出为各个用户选择最大k值,即为中继为用户分配的带宽值对于拥有N个用户一个中继的无线局域网,从候选带宽集中选定一组带宽分配数组{k1,k2,...kN}。In the embodiment of the present invention, when allocating the i-th user's bandwidth, when the remaining bandwidth j>B min , that is, the remaining bandwidth is sufficient for allocation, it can be within {0, B min , B min +ΔB,..., B max } Select the appropriate bandwidth, assuming that the bandwidth allocated to user i is k, and the initial setting k=B min , respectively calculate: dp(i-1, jk)+f i (k), that is, when the allocated bandwidth is k, the user group at this time and calculating dp(i-1, j), that is, the income of the user group when the allocated bandwidth is 0. Comparing the two, when the former is larger, the bandwidth k is allocated to the user, ki =k; when the latter is larger, no bandwidth is allocated to the user, ki =0. When k is less than or equal to the remaining bandwidth j, k=k+ΔB, j= jki , the value of k keeps increasing, correspondingly, the remaining bandwidth j of the relay gradually decreases, and the above operations are repeated until the maximum value of k for the user is found , and record it. Until the k value is greater than the remaining bandwidth, end the current loop, i++, and find the maximum k value for the next user. Until all users have cycled, that is, after i is greater than the N value, the output selects the maximum k value for each user, which is the bandwidth value allocated to the user by the relay For a WLAN with N users and one relay, select a set of bandwidth allocation arrays {k 1 , k 2 ,...k N } from the candidate bandwidth set.
根据上述操作,可获得在中继带宽限制Br=Bmin时的用户最大带宽分配情况
循环带宽分配步骤,直到中继带宽限制大于中继最大服务带宽结束。最终,找到最佳中继带宽限制以及在该带宽限制下每个用户分配的带宽值使得整个网络的总收益最大,达到本定明实施例所要实现的最优带宽分配目的。The loop bandwidth allocation step ends until the relay bandwidth limit is greater than the maximum service bandwidth of the relay. Ultimately, finding the optimal relay bandwidth limit and the bandwidth value allocated to each user under the bandwidth limit maximizes the total revenue of the entire network, and achieves the goal of optimal bandwidth allocation in this embodiment of the invention.
本发明实施例所提供的带宽分配算法的算法复杂度、精确度与分段粒度相关,从上述算法可以看出算法时间复杂度为O(NB2 m袱),是一个伪多项式,和离散粒度有关。通过带宽分配步骤,中继计算出需要给该新接入的用户分配的带宽,并且调整给其他用户的带宽,使得全网效用最大化(也即收益最大化)。The algorithm complexity and accuracy of the bandwidth allocation algorithm provided by the embodiments of the present invention are related to the segmentation granularity. From the above algorithm, it can be seen that the algorithm time complexity is O(NB 2 m burden ), which is a pseudopolynomial, and the discrete granularity related. Through the bandwidth allocation step, the relay calculates the bandwidth that needs to be allocated to the newly accessed user, and adjusts the bandwidth for other users to maximize the utility of the entire network (that is, maximize the revenue).
如果中继中某个用户离开该中继,中继需要在下一时刻重新进行上述带宽分配步骤,重新分配该中继下剩余用户的带宽,如图5所示。If a user in the relay leaves the relay, the relay needs to re-perform the above bandwidth allocation step at the next moment to re-allocate the bandwidth of the remaining users under the relay, as shown in FIG. 5 .
当该中继离开该局域网时,剩余在该局域网中的其他用户则需要重新寻找其他中继连接。When the relay leaves the local area network, other users remaining in the local area network need to search for other relay connections again.
本发明利用带宽分配算法选择最优的带宽分配策略进行带宽分配的同时也考虑了中继的最大服务带宽和用户的最小需求带宽的限制,不仅能够有效地解决单中继多用户的带宽分配问题,还可以根据工程需要适当的调整算法的精确度和复杂度。在适当的情况下剔除对网络效益不高的用户,接入新的效益更高的用户,并更新整个簇的带宽分配。并且,本发明中所有的计算都在客户端侧进行,确保用户的可移动性和安全性。当用户离开时,释放带宽,并更新带宽分配。The present invention uses the bandwidth allocation algorithm to select the optimal bandwidth allocation strategy for bandwidth allocation, and at the same time, it also considers the restrictions on the maximum service bandwidth of the relay and the minimum required bandwidth of the user, and can not only effectively solve the bandwidth allocation problem of single relay and multiple users , and the accuracy and complexity of the algorithm can be adjusted appropriately according to the engineering needs. When appropriate, remove users with low benefit to the network, insert new users with higher benefit, and update the bandwidth allocation of the entire cluster. Moreover, all calculations in the present invention are performed on the client side, ensuring user mobility and safety. When the user leaves, the bandwidth is released and the bandwidth allocation is updated.
以上实施例仅用以说明本发明的技术方案,而非对其进行限制。因此,在不背离本发明的精神及其实质的情况下,本领域技术人员可作出各种改变、替换和变型。很显然,但这些改变、替换和变型都应涵盖于本发明权利要求的保护范围之内。The above embodiments are only used to illustrate the technical solution of the present invention, not to limit it. Therefore, those skilled in the art can make various changes, substitutions and alterations without departing from the spirit and essence of the present invention. Obviously, these changes, substitutions and modifications should all fall within the protection scope of the claims of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310581786.6A CN103561471B (en) | 2013-11-19 | 2013-11-19 | Bandwidth allocation methods in a kind of multi-user single relay communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310581786.6A CN103561471B (en) | 2013-11-19 | 2013-11-19 | Bandwidth allocation methods in a kind of multi-user single relay communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103561471A true CN103561471A (en) | 2014-02-05 |
| CN103561471B CN103561471B (en) | 2016-06-15 |
Family
ID=50015576
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310581786.6A Active CN103561471B (en) | 2013-11-19 | 2013-11-19 | Bandwidth allocation methods in a kind of multi-user single relay communication system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103561471B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110493047A (en) * | 2018-02-27 | 2019-11-22 | 贵州白山云科技股份有限公司 | A kind of method and system distributing CDN network interior joint server bandwidth |
| CN114448814A (en) * | 2022-04-08 | 2022-05-06 | 仲恺农业工程学院 | Intelligent laboratory monitoring method and system based on 5G plus |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6842783B1 (en) * | 2000-02-18 | 2005-01-11 | International Business Machines Corporation | System and method for enforcing communications bandwidth based service level agreements to plurality of customers hosted on a clustered web server |
| CN101854634A (en) * | 2010-05-14 | 2010-10-06 | 南京邮电大学 | A Market-Based Spectrum Allocation Method in Clustered Ad Hoc Networks |
-
2013
- 2013-11-19 CN CN201310581786.6A patent/CN103561471B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6842783B1 (en) * | 2000-02-18 | 2005-01-11 | International Business Machines Corporation | System and method for enforcing communications bandwidth based service level agreements to plurality of customers hosted on a clustered web server |
| CN101854634A (en) * | 2010-05-14 | 2010-10-06 | 南京邮电大学 | A Market-Based Spectrum Allocation Method in Clustered Ad Hoc Networks |
Non-Patent Citations (1)
| Title |
|---|
| 张津华: "基于拍卖理论的无线协作中继网络资源分配算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110493047A (en) * | 2018-02-27 | 2019-11-22 | 贵州白山云科技股份有限公司 | A kind of method and system distributing CDN network interior joint server bandwidth |
| CN114448814A (en) * | 2022-04-08 | 2022-05-06 | 仲恺农业工程学院 | Intelligent laboratory monitoring method and system based on 5G plus |
| CN114448814B (en) * | 2022-04-08 | 2022-06-24 | 仲恺农业工程学院 | A 5G plus-based intelligent laboratory monitoring method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103561471B (en) | 2016-06-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240022914A1 (en) | Methods and apparatus for wireless spectrum allocation across multiple entities | |
| Zhang et al. | A deep reinforcement learning based approach for cost-and energy-aware multi-flow mobile data offloading | |
| Yi et al. | Cooperative communication-aware spectrum leasing in cognitive radio networks | |
| EP2847989B1 (en) | Wi-fi hot-spot networking ecommerce | |
| US9917734B2 (en) | FEMTO parameter profiles based upon nearby access point | |
| US9900445B2 (en) | Systems and methods for allocating and pricing alternative network access resources with reserve prices | |
| CN111182570A (en) | User association and edge computing unloading method for improving utility of operator | |
| CN107864512A (en) | A kind of honeycomb heterogeneous network resource allocation methods based on game theory | |
| CN105075184A (en) | Method and system to represent the impact of load variation on service outage over multiple links | |
| CN114205046B (en) | Communication perception integrated network interference coordination method and device | |
| CN105446817B (en) | A Robust Optimization-Based Joint Resource Reservation Algorithm in Mobile Cloud Computing | |
| CN106455078B (en) | A kind of resource allocation methods in the wireless dummy network of combination balance policy | |
| Tang et al. | Throughput optimization via association control in wireless LANs | |
| JP7151705B2 (en) | Radio resource management method, management device, and radio communication system | |
| CN103561471B (en) | Bandwidth allocation methods in a kind of multi-user single relay communication system | |
| CN116095721B (en) | Mobile crowd-sourced network contract excitation method and system integrating perception communication | |
| Feng et al. | Hybrid pricing for TV white space database | |
| CN107580328B (en) | Spectrum auction method applying social mutual trust in femtocell heterogeneous relay network | |
| WO2011087935A2 (en) | Method of controlling resource usage in communication systems | |
| Mondal et al. | CALM: QoS-aware vehicular sensor-as-a-service provisioning in cache-enabled multi-sensor cloud | |
| CN105916154B (en) | A non-cooperative game-based dynamic spectrum sharing method for cognitive wireless networks | |
| US12439361B2 (en) | Automated relay registration in a citizens broadband radio service (CBRS) system | |
| CN105764121A (en) | Dynamic sorting-based device and base station connection method in cellular flow unloading network | |
| US12490309B2 (en) | Systems and methods for WI-FI collision avoidance | |
| KR102221966B1 (en) | An apparatus for financial consulting and a method therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |



