CN111934927B - Local area network gateway bandwidth resource allocation management method based on virtual currency - Google Patents

Local area network gateway bandwidth resource allocation management method based on virtual currency Download PDF

Info

Publication number
CN111934927B
CN111934927B CN202010766158.5A CN202010766158A CN111934927B CN 111934927 B CN111934927 B CN 111934927B CN 202010766158 A CN202010766158 A CN 202010766158A CN 111934927 B CN111934927 B CN 111934927B
Authority
CN
China
Prior art keywords
virtual
gateway
period
account
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010766158.5A
Other languages
Chinese (zh)
Other versions
CN111934927A (en
Inventor
顾翔
童建成
张淼
王进
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong University
Original Assignee
Nantong University
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 Nantong University filed Critical Nantong University
Priority to CN202010766158.5A priority Critical patent/CN111934927B/en
Publication of CN111934927A publication Critical patent/CN111934927A/en
Application granted granted Critical
Publication of CN111934927B publication Critical patent/CN111934927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Abstract

The invention provides a local area network gateway bandwidth resource allocation management method based on virtual money, which comprises the following steps: s10, manually dividing the gateway into an idle cycle time period, a busy cycle time period and a statistical cycle according to the service time; s20, generating and distributing virtual coins at a gateway end, wherein the gateway generates the total amount of the virtual coins at the beginning of each busy cycle period, the unit virtual coin quantity which can be distributed by a unit account and the virtual coin quantity of the ith user account; and S30, distributing and using the virtual money at the user side, and distributing the virtual money according to different user account levels and network application priorities. The local area network gateway bandwidth resource allocation management method based on the virtual money is realized in a software mode, special equipment is not needed, the network flow requirements of key users and key applications in a network can be fully guaranteed, and meanwhile, bandwidth allocation can be dynamically adjusted according to the network operation condition and the user requirements.

Description

Local area network gateway bandwidth resource allocation management method based on virtual currency
Technical Field
The invention relates to the technical field of network communication, in particular to a local area network gateway bandwidth resource allocation management method based on virtual money.
Background
Communication between a user in a computer local area network and an external network needs to be performed through a gateway. The gateway outlet bandwidth resource is limited, if the number of users in a local area network is large, the requirement for the external network to access data volume is large, the outlet bandwidth and the network flow which can be used by a single user can be obviously inhibited, and the user experience and the working efficiency are directly influenced. The gateway bandwidth resources are scientifically managed and scheduled, dynamically adjusted in a self-adaptive manner, and allocated to key post users and key network applications in a priority manner, so that the use efficiency of the network bandwidth can be fully improved.
Currently, the bandwidth management of the local area network may be implemented by an access control method of a gateway, for example: directly rejecting P2P services or some network application; or a dedicated device is used for management and control at a higher cost. The access control management method needs manual configuration and cannot dynamically adapt to the network use requirement, and the management control method is simple and rough. The adoption of special equipment can increase the cost of network layout and increase the network processing delay.
Disclosure of Invention
In order to solve the problems, the invention provides a local area network gateway bandwidth resource allocation management method based on virtual coins, which is realized in a software mode, does not need special equipment, considers the requirements of different user levels and different network applications on the bandwidth during virtual coin allocation, can fully ensure the network flow requirements of key users and key applications in a network, simultaneously performs virtual coin allocation according to a time period, and can dynamically adjust the bandwidth allocation according to the network operation condition and the user requirements.
In order to achieve the above purpose, the invention adopts a technical scheme that:
a local area network gateway bandwidth resource allocation management method based on virtual money comprises the following steps: s10, manually dividing the gateway into a statistical cycle of an idle cycle time interval, a busy cycle time interval and a busy cycle time interval according to the use time; s20, generating and distributing virtual coins at a gateway end, wherein the gateway generates the total amount of the virtual coins at the beginning of each busy cycle period, the unit virtual coin quantity which can be distributed by a unit account and the virtual coin quantity of the ith user account; and S30, distributing and using the virtual coins at the user side, and distributing the virtual coins according to different user account levels and priorities of network applications.
Further, the step S20 includes the steps of: s21, setting different user accounts to different levels; s22 the Total amount of virtual money TCPP (Total Coins Per Period) generated by the gateway at the beginning of each busy cycle Period is:
Figure GDA0003802254160000021
the bandwidth/unit virtual coin is a fixed value and represents the available bandwidth of one unit virtual coin; the Unit virtual currency quantity CPCU (Coins Per Customer Unit) that the gateway can divide into the Unit account at the beginning of each busy cycle period in S23 is:
Figure GDA0003802254160000022
wherein Pi is the level of the ith user account; s23, the new virtual coin that the gateway can obtain from the ith account at the beginning of each busy cycle period is:
account new virtual coin = CPCU × P i
The number of the virtual coins of the ith user account is as follows: c i = MIN (last period of last account remaining virtual coin + new virtual coin added to account in this period, C max-i ),C max-i The maximum value of the virtual currency allowed to be owned by the user i for the gateway, which is not fixed, is calculated as follows,
Figure GDA0003802254160000023
wherein n is the current online user number of the gateway.
Further, the step S30 includes the steps of: s31, the user side sets the priority of various network applications in each period, and distributes virtual coins to each running network application according to the priority; and S32, after the virtual money allocation of the network application is completed in each period, each network application uses the network traffic within a limited range in each period.
Further, the S32 gateway does not recognize the specific network application of each user end, but only recognizes the total traffic of each user end, and accordingly deducts the virtual money of the user account, and calculates according to the network traffic when deducting.
Further, in a period, the user manually adjusts the network application priority, and the starting or the termination of the network application triggers the recalculation of the client application unit currency where the network application is located and the redistribution of the corresponding virtual currency.
Further, the time period of the idle cycle period is 24-00, and the busy cycle period is 9.
Further, the idle period uses bandwidth without generating and consuming virtual coins.
Further, the statistical period is 30min.
Furthermore, the accounting of each account virtual coin is carried out at the gateway, the gateway informs each user account of the number of the account virtual coins at the beginning of each period, and each user account cannot question and review the accounting of the gateway.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the local area network gateway bandwidth resource allocation management method based on the virtual money can be realized in a software upgrading mode without modifying hardware equipment or special equipment, the requirements of different user levels and different network applications on the bandwidth are considered during the virtual money allocation, the network flow requirements of key users and key applications in a network can be fully guaranteed, meanwhile, the virtual money allocation is carried out according to a time period, and the bandwidth allocation can be dynamically adjusted according to the network operation condition and the user requirements; the method has low implementation cost, can start execution or prohibit execution according to the needs of users, and is flexible to deploy.
Drawings
The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for allocating and managing bandwidth resources of a local area network gateway based on virtual currency according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a local area network topology according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The embodiment provides a virtual coin-based local area network gateway bandwidth resource allocation management method, as shown in fig. 1, including the following steps: s10, manually dividing the gateway into a statistical cycle of an idle cycle time period, a busy cycle time period and a busy cycle time period according to the use time. S20, generating and distributing virtual coins at the gateway end, wherein the total amount of the virtual coins generated by the gateway at the beginning of each busy cycle period, the unit virtual coin quantity which can be distributed by a unit account and the ith user account virtual coin quantity. And S30, distributing and using the virtual coins at the user side, and distributing the virtual coins according to different user account levels and priorities of network applications.
Preferably, the time period of the idle cycle period is 24-00, and the idle cycle period uses bandwidth without generating and consuming virtual coins. The busy cycle period is 9. The statistical period is preferably 30min.
The step S20 includes the steps of: s21, setting different user accounts to different levels; preferably four levels 1, 2, 3 and 4. The level 1 account corresponds to 1 unit account when the virtual coin is distributed, the level 2 account corresponds to 2 unit accounts when the virtual coin is distributed, the level 3 account corresponds to 3 unit accounts when the virtual coin is distributed, and the level 4 account corresponds to 4 unit accounts when the virtual coin is distributed. The administrator can also set more levels according to the management needs. S22 the Total amount of virtual money TCPP (Total Coins Per Period) generated by the gateway at the beginning of each busy cycle Period is:
Figure GDA0003802254160000041
the bandwidth/unit virtual coin is a fixed value, and represents the available bandwidth of one unit virtual coin. The Unit virtual currency quantity CPCU (Coins Per Customer Unit) that the gateway can divide into the Unit account at the beginning of each busy cycle period in S23 is:
Figure GDA0003802254160000042
wherein Pi is the level of the ith user account. S24 the gateway may obtain a new virtual coin from the ith account at the beginning of each busy cycle time period as follows:
account new virtual coin = CPCU × P i
The number of the virtual coins of the ith user account is as follows: c i = MIN (last cycle last account remaining virtual coin + this cycle account newly added virtual coin, C) max-i ) Wherein, C max-i The maximum value of the virtual currency allowed to be owned by the user i for the gateway, which is not fixed, is calculated as follows,
Figure GDA0003802254160000043
wherein n is the current online user number of the gateway.
The step S30 includes the steps of: s31, the user end sets the priority of various network applications in each period, and distributes virtual coins to each running network application according to the priority. The priority is preferably divided into four categories, namely, extremely high, medium and low, and the priority applications are distributed according to the following steps of 1. Assuming that four types of applications currently running at the user end are respectively the number n4 of the super levels, the number n3 of the high levels, the number n2 of the middle levels and the number n1 of the low levels, and the virtual coin available to the user is C, each application unit coin in the present period is:
Figure GDA0003802254160000051
accordingly, the number of virtual coins that can be used by each super high-level application is 4CU, the number of virtual coins that can be used by each high-level application is 3CU, the number of virtual coins that can be used by each mid-level application is 2CU, and the number of virtual coins that can be used by each low-level application is CU. The number of virtual coins available for a certain network application is CU in this period m Then in this period, the maximum network bandwidth that can be used by the application is: 1kbps cu m . During this period, each application uses network traffic within its obtained virtual currency repurchase network traffic cap. For example: the available virtual currency of a certain application is 3, the bandwidth/unit virtual currency is 1kbps, and the network flow rate which can be used by the application in the period is 1kbps × 3 × 60 × 30=5400kbit. And after the period is finished, clearing the number of the residual virtual coins of the application.
If a certain network application finishes running in the period, the residual virtual currency of the application automatically disappears and is not adjusted and distributed to other applications.
For example: the number of the network applications currently running at the current user end is 4, the number is respectively 1 extremely high, 0 high, 2 medium and 1 low, the number of the virtual coins which can be allocated to the current user end is 0.9 + C ÷ (1 + 4+ 2+ 1) × (1*4), the number of the virtual coins which can be allocated to each medium-level application is 0.9 + C ÷ (1 + 4+ 2+ 1) ((1*2), and the number of the virtual coins which can be allocated to the low-level application is 0.9 + C ÷ (1 + 4+ 2+ 1) ((1*1).
S32, after the network application virtual currency distribution is completed in each period, the network flow is used within a limited range in each period of each network application. The gateway does not identify the specific network application of each user side, only identifies the total flow of each user side, and correspondingly deducts the virtual money of the user account, and the calculation is carried out according to the network flow during deduction. When one network application in a period uses up the distributed network traffic, the available network bandwidth of the network application in the remaining time period of the period is 0.01C 1kbps. In a period, a user manually adjusts the priority of the network application, and the starting or the termination of the network application triggers the recalculation of the client application unit currency where the network application is located and the redistribution of the corresponding virtual currency. The accounting of each account virtual coin is carried out at the gateway, the gateway informs each user account of the number of the account virtual coins at the beginning of each period, and each user account cannot question and recheck the accounting of the gateway.
The following describes a method for managing bandwidth resource allocation of a local area network gateway according to a specific embodiment of the present invention:
as shown in fig. 2, the gateway has an egress bandwidth of 10Mbps, a bandwidth/unit virtual currency value of 1kbps, and two user equipments and an access switch are connected to the gateway, and the specific network applications are shown in table 1 below.
TABLE 1 concrete network applications
Figure GDA0003802254160000061
S10, manually dividing the gateway into a statistical cycle of an idle cycle time period, a busy cycle time period and a busy cycle time period according to the use time. The time period of the idle cycle period is 24-00, and the busy cycle period is 9. The statistical period is 30min.
S22 the Total amount of virtual money TCPP (Total Coins Per Period) generated by the gateway at the beginning of each busy cycle Period is:
Figure GDA0003802254160000062
the Unit virtual currency quantity CPCU (Coins Per Customer Unit) that the gateway can divide into the Unit account at the beginning of each busy cycle period in S23 is:
Figure GDA0003802254160000063
s24 the new virtual coin that the gateway can obtain from the account at the beginning of each busy cycle period is:
user 1 account new virtual coin =1264.2 × 2=2528.4;
the account of the user 2 is newly added with a virtual coin =1264.2 × 1=1264.2;
access switch newly-added virtual coin =1264.2 × 4=5056.8
Maximum value of virtual currency allowed to be owned by user by computing gateway
Figure GDA0003802254160000071
Figure GDA0003802254160000072
Figure GDA0003802254160000073
Wherein, C max-3 The maximum value of the virtual currency owned by the access switch.
The number of virtual coins of each user account in the period is as follows:
C 1 =MIN(10.3+2528.4,5143.0)=2538.7
C 2 =MIN(20+1264.2,2571.5)=1284.2
C 3 =MIN(120.5+5056.8,10286.0)=5177.3
wherein, C 3 The number of virtual coins owned by the access exchange.
S30, the user side sets the priority of various network applications in each period, and distributes virtual coins to each running network application according to the priority.
Considering the virtual currency allocation of three network applications of the user 1, each application unit currency in the period is as follows:
user 1 uses unit coins CU = (0.9 × 2539.04)/(2 × 2+4 × 1) =285.6 per application coin CU =
The network application A1-1 may use virtual coins as: 285.6 × 2=571.2, which allocates a bandwidth of 571.2kbps;
the network application A1-2 may use virtual coins as: 285.6 × 4=1142.4, which allocates a bandwidth of 1142.4kbps;
the network application A1-3 may use virtual coins as: 285.6 × 2=571.2, which allocates a bandwidth of 571.2kbps.
Assuming that at some point in the cycle, the network application A1-1 runs out of allocated traffic, the available bandwidth of the application is limited to: 0.01 × 2539.04 × 1kbps =25.4kbps;
assuming that the user 1 uses the network traffic 3790Mb in the same period, at the end of the period, the remaining virtual coins in the account of the user 1 are:
2538.7-3790Mb/(1kbps×30×60)=2538.7-2105.6=433.1
user 2's unit currency CU = (0.9 × 1264.2)/(2 × 1+1 × 1) =379.3
The network application A2-1 may use virtual coins as: 379.3 × 1=379.3, which allocates a bandwidth of 379.3kbps;
the network application A2-2 may use virtual coins as: 379.3 × 2=758.6, which allocates a bandwidth of 758.6kbps.
The above description is only an exemplary embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes that are transformed by the content of the present specification and the attached drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A local area network gateway bandwidth resource allocation management method based on virtual money is characterized by comprising the following steps:
s10, manually dividing the gateway into a statistical cycle of an idle cycle time interval, a busy cycle time interval and a busy cycle time interval according to the use time;
s20, generating and distributing virtual coins at a gateway end, wherein the gateway generates a total amount of the virtual coins at the beginning of each busy cycle period, the number of unit virtual coins which can be distributed by a unit account and the number of the virtual coins of the ith user account; and
s30, distributing and using virtual coins at a user side, and distributing the virtual coins according to different user account levels and priorities of network applications;
the step S20 includes the steps of:
s21, setting different user accounts to different levels;
s22 the total amount TCPP of virtual coins generated by the gateway at the beginning of each busy cycle period is:
Figure FDA0003802254150000011
the bandwidth/unit virtual coin is a fixed value and represents the available bandwidth of one unit virtual coin;
s23, the unit virtual currency quantity CPCU which can be divided by the gateway at the beginning of each busy cycle time period is as follows:
Figure FDA0003802254150000012
wherein Pi is the level of the ith user account;
s24 the gateway may obtain a new virtual coin from the ith account at the beginning of each busy cycle time period as follows:
account new virtual coin = CPCU × P i
The number of the virtual coins of the ith user account is as follows:
C i = MIN (last cycle last account remaining virtual coin + this cycle account newly added virtual coin, C) max-i )
C max-i The maximum value of the virtual currency allowed to be owned by the user i for the gateway, which is not fixed, is calculated as follows,
Figure FDA0003802254150000021
wherein n is the current online user number of the gateway;
the step S30 includes the steps of:
s31, the user side sets the priority of various network applications in each period, and distributes virtual coins to each running network application according to the priority; and
s32, after the network application virtual currency distribution is completed in each period, each network application uses network traffic within a limited range in each period.
2. The virtual coin-based local area network gateway bandwidth resource allocation management method according to claim 1, wherein the S32 gateway does not identify the specific network application of each user end, only identifies the total flow of each user end, and deducts the virtual coin of the user account accordingly, and calculates according to the network flow when deducting.
3. The virtual coin-based local area network gateway bandwidth resource allocation management method according to claim 1, characterized in that in a period, the user manually adjusts the network application priority, and the start or the termination of the network application triggers the recalculation of the client application unit coin in which the network application is located and the reallocation of the corresponding virtual coin.
4. The method for managing bandwidth resource allocation of a local area network gateway based on virtual money according to claim 1, wherein the time period of the idle cycle period is 24-00.
5. The virtual coin-based local area network gateway bandwidth resource allocation management method of claim 1, wherein the idle period uses bandwidth without generating and consuming virtual coins.
6. The virtual coin-based local area network gateway bandwidth resource allocation management method according to claim 1, wherein the statistical period is 30min.
7. The virtual coin-based local area network gateway bandwidth resource allocation management method according to claim 1, characterized in that the accounting of each account virtual coin is at the gateway, the gateway informs each user account of the number of account virtual coins at the beginning of each period, and each user account cannot question and review the accounting of the gateway.
CN202010766158.5A 2020-08-03 2020-08-03 Local area network gateway bandwidth resource allocation management method based on virtual currency Active CN111934927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010766158.5A CN111934927B (en) 2020-08-03 2020-08-03 Local area network gateway bandwidth resource allocation management method based on virtual currency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010766158.5A CN111934927B (en) 2020-08-03 2020-08-03 Local area network gateway bandwidth resource allocation management method based on virtual currency

Publications (2)

Publication Number Publication Date
CN111934927A CN111934927A (en) 2020-11-13
CN111934927B true CN111934927B (en) 2023-03-24

Family

ID=73306304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010766158.5A Active CN111934927B (en) 2020-08-03 2020-08-03 Local area network gateway bandwidth resource allocation management method based on virtual currency

Country Status (1)

Country Link
CN (1) CN111934927B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017093791A1 (en) * 2015-12-04 2017-06-08 Sony Corporation Using network assistance protocol for improving network utilization
CN106572031B (en) * 2016-10-31 2019-11-15 中山大学 A kind of bandwidth sharing method applied to community's wired home
CN109523264A (en) * 2017-09-20 2019-03-26 成都高新信息技术研究院 A kind of mixed excitation mechanism and system
CN109886659A (en) * 2018-12-29 2019-06-14 平安健康保险股份有限公司 Virtual resource allocation method, apparatus and computer equipment based on block chain
CN110599323B (en) * 2019-09-24 2024-02-20 腾讯科技(深圳)有限公司 Resource processing method and processing equipment

Also Published As

Publication number Publication date
CN111934927A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
EP3101851B1 (en) Method and apparatus for data flow restriction
CN104079503B (en) A kind of resource allocation methods and device
US10135753B2 (en) System to share network bandwidth among competing applications
US7072968B2 (en) Bandwidth control service management apparatus
US8600767B2 (en) Bid-based control of networks
CN105007287A (en) public cloud resource dynamic configuration method and system
CN103532873B (en) flow control policy applied to distributed file system
US20070248007A1 (en) Broadband access network capacity management
CN107844376A (en) Resource allocation method, computing system, medium and the server of computing system
CN102932281A (en) Method and equipment for dynamic allocation of resources
EP1391135A2 (en) Method and apparatus for communications bandwidth allocation
CN105897612A (en) Multi-service dynamic bandwidth allocation method and system based on SDN (Software Defined Network)
CN104572302B (en) A kind of method and device for realizing resource allocation
CN104714845B (en) Resource dynamic regulation method, device and more kernel operating systems
CN101431745B (en) Account resource reservation and distribution method used for IMS multi-service on-line charging
US20150004928A1 (en) Group data plan quota allocation for mobile devices
CN109428735B (en) Charging method and charging system
CN113938435A (en) Data transmission method, data transmission device, electronic device, storage medium, and program product
CN111934927B (en) Local area network gateway bandwidth resource allocation management method based on virtual currency
CN108933675B (en) Conference resource allocation method, device and storage medium
CN112003790B (en) Distribution method of network traffic used by intelligent school
CN107786680A (en) Method and apparatus for being managed to IP address resources
Khan et al. Cooperative game theoretic approach to integrated bandwidth sharing and allocation
CN104579764A (en) Dynamic data link resource allocation method based on shared time slot pools

Legal Events

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