WO2019010820A1 - 带宽分配装置及无线接入设备 - Google Patents

带宽分配装置及无线接入设备 Download PDF

Info

Publication number
WO2019010820A1
WO2019010820A1 PCT/CN2017/102726 CN2017102726W WO2019010820A1 WO 2019010820 A1 WO2019010820 A1 WO 2019010820A1 CN 2017102726 W CN2017102726 W CN 2017102726W WO 2019010820 A1 WO2019010820 A1 WO 2019010820A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
bandwidth
terminal device
terminal application
application
Prior art date
Application number
PCT/CN2017/102726
Other languages
English (en)
French (fr)
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 WO2019010820A1 publication Critical patent/WO2019010820A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/803Application aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/824Applicable to portable or mobile terminals

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation apparatus and a wireless access device.
  • a wireless access device is an access point that uses a wireless device (a mobile device such as a mobile device or a wireless device such as a notebook computer) to enter a wired network, and is mainly used in a broadband home, a building interior, a campus interior, a campus interior, and the like where a wireless network is required. .
  • a wireless device a mobile device such as a mobile device or a wireless device such as a notebook computer
  • network delay/blocking may occur, such as slow downloading, video buffering, game jamming, etc., especially in the case of a certain terminal device. This situation sometimes occurs when the number of terminal devices accessing the network is large.
  • QOS Quality of Service
  • the quality of service is used to control the traffic of each IP address in the LAN.
  • the implementation of this function requires manual control. Not smart enough, and its speed limit for each user is fixed. If you want to make adjustments, you need to re-enter the configuration page to set up, which is more complicated.
  • the normal use of the terminal device due to insufficient bandwidth may affect the normal user experience.
  • some terminal devices are only used to access web pages, shopping websites, etc., and do not require large bandwidth, but allocate high bandwidth, resulting in wasted bandwidth resources.
  • the object of the present invention is to provide a bandwidth allocation device and a wireless access device, which effectively solve the technical problem that the existing wireless access device cannot automatically allocate bandwidth.
  • a bandwidth allocation device comprising:
  • a memory configured to store terminal application information and bandwidth allocation information corresponding to each terminal application
  • the processor is in communication with the memory, and is configured to allocate a corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the processor allocates corresponding bandwidth according to the terminal application to be accessed by the network in the terminal device, and automatically and automatically allocates bandwidth, and solves network congestion and congestion that may occur when multiple terminal devices access the network at the same time.
  • the problem is that the user no longer needs to set the speed limit manually, which is convenient for the user.
  • the processor allocates a corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory, including:
  • a preset first bandwidth is allocated to the terminal device.
  • the terminal device that sends the data request is allocated a bandwidth according to the set rule, in the set rule, when the number of the access terminal devices is less than the first quantity threshold and the terminal device that is using the terminal is being used If the quantity is less than the second quantity threshold, the first bandwidth is allocated to the terminal device that sends the data request, so that the terminal device automatically allocates the bandwidth of the terminal device according to the terminal application, and the network resource is reasonably utilized, and the terminal device is not caused by the uneven resource allocation. There are phenomena such as slow downloading, video buffering, and game jams.
  • the memory stores terminal application information, a classification to which each terminal device belongs, and bandwidth allocation information corresponding to each classified terminal application.
  • the terminal applications in the terminal device are classified, and bandwidth allocation rules are set for each type of terminal device, thereby eliminating the need to configure bandwidth allocation rules for each terminal application, thereby effectively saving user time. And resources while saving time for processor matching rules.
  • storing, in the memory, the terminal application information, the classification of each terminal device, and the bandwidth allocation information corresponding to the terminal application of each category includes:
  • Each terminal application and its bandwidth allocation information are stored in a memory.
  • the processor allocates a corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory, including:
  • a preset second bandwidth is allocated to the terminal device.
  • the terminal device that sends the data request is allocated a bandwidth according to the set rule, in the set rule, when the number of access terminal devices is less than the first quantity threshold and the terminal application of the type is being used If the number of the terminal devices is less than the third threshold, the second bandwidth is allocated to the terminal device that sends the data request, so that the terminal device automatically allocates the bandwidth of the terminal device according to the terminal application, and the network resource is reasonably utilized, which is simple, convenient, and fast.
  • the step of determining whether the number of access terminal devices is less than a preset first number threshold if it is determined that the number of the current access terminal devices is greater than the first quantity threshold,
  • the network bandwidth is evenly distributed to the current access terminal device.
  • the network bandwidth is evenly distributed to each terminal device. .
  • the step of determining whether the number of applications using the terminal is less than a preset second quantity threshold if it is determined that the number of applications using the terminal is greater than a preset second quantity threshold,
  • the speed limit is further determined.
  • the third bandwidth is allocated to ensure the normal use of the terminal devices.
  • the step of determining whether the number of terminal devices that are using the same classified terminal application as the terminal application is less than a preset third number threshold if it is determined that the terminal device belongs to the same classification terminal If the number of applied terminal devices is greater than a preset third number threshold, then
  • the number of terminal devices that are using the same classified terminal application as the terminal application is greater than a preset third number threshold, the number of applications using the terminal in the accessed terminal device is excessive. Then, the speed limit is further extended, and the fourth bandwidth is allocated to ensure the normal use of the terminal devices.
  • the present invention also provides a wireless access device comprising the above bandwidth allocation device.
  • the wireless access device allocates corresponding bandwidth according to the terminal application to be accessed by the network in the terminal device, and automatically and automatically allocates bandwidth, and solves network congestion that may occur when multiple terminal devices access the network at the same time.
  • blocking problems rational use of network resources; and there is no conflict with the protocol in the wireless access device, users can freely choose the bandwidth allocation method according to the needs, simple and convenient.
  • FIG. 1 is a schematic diagram of a bandwidth allocation apparatus according to the present invention.
  • FIG. 2 is a schematic flow chart of an embodiment of the processor in the present invention for allocating corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory;
  • FIG. 3 is a schematic flowchart of another implementation manner in which the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory according to the present invention
  • FIG. 4 is a schematic flowchart of another implementation manner in which the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory according to the present invention
  • FIG. 5 is a schematic flowchart of another implementation manner in which a processor allocates a corresponding bandwidth according to a terminal application to be used in a terminal device and information stored in a memory to the terminal device according to the present invention
  • FIG. 6 is a schematic flowchart of another implementation manner in which a processor allocates a corresponding bandwidth according to a terminal application to be used in a terminal device and information stored in a memory to the terminal device according to the present invention
  • FIG. 7 is a schematic flow chart of another implementation manner in which a processor allocates a corresponding bandwidth according to a terminal application to be used in a terminal device and information stored in a memory to the terminal device according to the present invention.
  • 100-bandwidth allocation device 110-memory, 120-processor.
  • FIG. 1 is a schematic diagram of a bandwidth allocation apparatus according to the present invention.
  • the bandwidth allocation apparatus 100 includes: a memory 110, configured to store terminal application information and bandwidth allocation information corresponding to each terminal application;
  • the processor 120 is connected to the memory for allocating corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the terminal application before the bandwidth allocation device is used to allocate the bandwidth of the terminal device, the terminal application is stored in the memory, and the bandwidth allocation rule is configured for each terminal application and stored in the memory.
  • the processor allocates corresponding bandwidth according to the terminal application in the terminal device to be connected to the network, thereby realizing automatic allocation of bandwidth of the terminal device, and solving multiple terminal devices may simultaneously appear on the network. Network congestion and congestion problems.
  • the bandwidth allocation rule configured here is configured according to actual conditions.
  • a certain game APP Application
  • the terminal device of the game APP has too much access, affecting the normal Internet access of other terminal devices, setting a bandwidth allocation rule for the game APP in the bandwidth allocation device, and performing bandwidth limitation on the game APP according to actual conditions.
  • the bandwidth allocation rule is set in the bandwidth allocation device, and the terminal device of the game APP is preferentially used. Allocate more bandwidth.
  • a certain bandwidth may be set for a certain terminal device, and a certain proportion of network bandwidth may also be allocated, which is not limited herein.
  • the terminal device may be a mobile terminal device that can access a wireless network, such as a smart phone or a tablet computer, and the terminal application includes, but is not limited to, any terminal APP currently on the market.
  • the processor allocates the corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory, and includes the following steps.
  • S11 receives a data request sent by any terminal device;
  • S12 determines whether the data request originates from the terminal application; if yes, goes to step S13;
  • S13 acquires terminal application information;
  • S14 counts the number of current access terminal devices;
  • S15 determines current connection Whether the number of the terminal devices is less than the preset first number threshold; if yes, go to step S16;
  • S16 counts the number of terminal applications used by the current access terminal device;
  • S17 determines whether the number of used terminal applications is less than the preset number Two number thresholds; if yes, go to step S18;
  • S18 allocates a preset first bandwidth to the terminal device.
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If it is determined that the terminal application is used, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the terminal is being used If the number of the applied terminal devices is less than the second threshold, the first bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented.
  • the first quantity threshold, the second quantity threshold, and the first bandwidth may be set according to actual needs, such as setting the first quantity threshold to 10, 15, 20, etc., and setting the second quantity threshold. Set to 2, 3, 4, etc., set the first bandwidth to 10%, 15%, 20%, etc. of the network bandwidth.
  • the user configures the bandwidth allocation rule of the terminal application 1 and the terminal application 2. Specifically, if the number of access terminal devices is less than 10 and the number of terminal devices using the terminal application 1 is less than three, the network bandwidth is allocated. 20% to the terminal device that sends the request data; if the number of access terminal devices is less than 10 and the number of terminal devices using the terminal application 1 is less than 4, 30% of the network bandwidth is allocated to the terminal device that sends the request data, Other devices share the remaining network bandwidth.
  • bandwidth allocation after receiving the data request and determining that it is a request sent in the terminal application, it is further determined whether the terminal application that sends the data request is the terminal application 1 or the terminal application 2, and if it is one, according to The set rules are used for bandwidth allocation.
  • the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the method includes the following steps: S11 receives a data request sent by any terminal device; S12 determines whether the data request is from a terminal application; if yes, goes to step S13; S13 acquires terminal application information; S14 counts the number of current access terminal devices; S15 Determining whether the current number of access terminal devices is less than a preset first number threshold; if yes, go to step S16; otherwise, go to step S19; S16 collect the number of terminal applications used by the current access terminal device; Whether the number of terminal applications is less than a preset second number threshold; if yes, jumping to step S18; S18 assigning a preset first bandwidth to the terminal device; S19 equally distributing the network bandwidth to the current access terminal device.
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If it is determined that the terminal application is used, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the terminal is being used If the number of the applied terminal devices is less than the second threshold, the first bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented. If it is determined that the number of the current access terminal devices is greater than the first threshold, the current terminal devices are too many. To ensure the normal use of the terminal devices, the network bandwidth is evenly distributed to the terminal devices.
  • the bandwidth allocation rule of the user-configured terminal application is: when the number of access terminal devices is less than or equal to 10, and the number of terminal devices used by the terminal is less than or equal to three, the allocation is: 20% of the network bandwidth to the terminal device that sends the request data. If it is determined that the number of current access terminal devices is >10, the network bandwidth is evenly distributed to each terminal device.
  • the 20M network bandwidth is evenly distributed to 20 terminals. device.
  • the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the method includes the following steps: S11 receives a data request sent by any terminal device; S12 determines whether the data request is from a terminal application; if yes, goes to step S13; S13 acquires terminal application information; S14 counts the number of current access terminal devices; S15 Determining whether the current number of access terminal devices is less than a preset first number threshold; if yes, go to step S16; otherwise, go to step S19; S16 collect the number of terminal applications used by the current access terminal device; Whether the number of terminal applications is less than a preset second number threshold; if yes, go to step S18; otherwise, go to step S20; S18 allocates a preset first bandwidth to the terminal device; S19 distributes the network bandwidth evenly to the current connection Entering the terminal device; S20 allocates a preset third bandwidth to the
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If it is determined that the terminal application is used, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the terminal is being used If the number of the applied terminal devices is less than the second threshold, the first bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented. If it is determined that the number of the current access terminal devices is greater than the first threshold, the current terminal devices are too many. To ensure the normal use of the terminal devices, the network bandwidth is evenly distributed to the terminal devices. If it is determined that the number of terminal devices using the terminal application is greater than the second number threshold, the third bandwidth is allocated to the terminal device that sends the data request.
  • the bandwidth allocation rule of the user-configured terminal application is: when the number of access terminal devices is less than or equal to 10, and the number of terminal devices used by the terminal is less than or equal to three, the allocation is: 20% of the network bandwidth to the terminal device that sends the request data. If it is determined that the number of current access terminal devices is >10, the network bandwidth is evenly distributed to each terminal device. If the number of access terminal devices is ⁇ 10, the number of terminal devices to which the terminal is applied is used. >3, allocate 10% of the network bandwidth to the terminal device that sends the request data.
  • bandwidth allocation After receiving the data request and determining that it is a request sent in the terminal application, if it is determined that the number of the current access terminal devices is nine and the terminal devices using the terminal application are five, Then allocate 10% of the network bandwidth, that is, 2M bandwidth to the terminal device.
  • a timer (such as detecting every 1 min/2 min) is configured in the bandwidth allocation apparatus, and the number of access terminal devices is periodically counted, and the terminal obtained according to the statistics is obtained.
  • the number of devices adjusts the bandwidth allocation policy.
  • the method includes: if the number of the access terminal devices is greater than the first threshold, the network bandwidth is evenly distributed to ensure that the terminal devices can be used normally.
  • the memory stores terminal application information, a classification of each terminal device, and bandwidth allocation information corresponding to each terminal application of the classification. Specifically, storing, in the memory, the terminal application information, the classification of each terminal device, and the bandwidth allocation information corresponding to the terminal application of each category, including: counting bandwidth requirements during use of each terminal application; and determining bandwidth requirements of each terminal application. It classifies; configures a bandwidth for each type of terminal application; stores each terminal application and its bandwidth allocation information in a memory.
  • the terminal devices are classified into three types and respectively configured with corresponding bandwidth allocation rules.
  • the first category is a broadband requirement.
  • the largest number of terminal applications such as video players, P2P download software, large games, etc.
  • the second type is the terminal application with moderate bandwidth demand, such as shopping website, small networked game, live broadcast software Etc.
  • 10% of the network bandwidth is allocated to the terminal device that sends the request data, otherwise 8% of the network is allocated.
  • Bandwidth; the third category is terminal applications with smaller bandwidth requirements. Such terminal applications basically do not consume traffic, such as chat tools, E-mail, and web access. Et al., Assigned to the transmission bandwidth of 5% of the data requesting terminal apparatus.
  • the foregoing bandwidth allocation rule may be set according to an actual situation, which is not limited herein, and includes a first quantity threshold, a third quantity threshold, and an allocated bandwidth.
  • the bandwidth is less than the first type of terminal application, so less bandwidth is allocated relative to the terminal device using the first type of terminal application; the terminal device using the third type of terminal application is allocated compared to the terminal device using the second type of terminal application Less bandwidth.
  • the classification of the terminal application is also not specifically limited, and in other embodiments, the classification may be performed according to other methods.
  • the processor allocates a corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory, and the method includes: S21 receiving a data request sent by any one of the terminal devices; S22: determining whether the data request is from the terminal application; if yes, going to step S23; S23 acquiring the terminal application information and determining the classification of the terminal application according to the stored information in the memory; S24 counting the number of the current access terminal devices; S25 determining the current connection Whether the number of the incoming terminal devices is less than a preset first number threshold; if yes, the process goes to step S26; S26 counts the number of terminal devices in the current access terminal device that are using the same classified terminal application as the terminal application; Whether the number of terminal devices belonging to the same classified terminal application as the terminal application is less than a preset third number Threshold; if yes, go to step S28; S28 allocates a preset second bandwidth to the terminal device.
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If the determination is derived from the terminal application, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the same class is being used. If the number of the terminal devices of the terminal application is less than the third threshold, the second bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented.
  • the first quantity threshold, the third quantity threshold, and the second bandwidth may be set according to actual needs, such as setting the first quantity threshold to 10, 15, 20, etc., setting the third quantity threshold Set to 2, 3, 4, etc., set the second bandwidth to 10%, 15%, 20%, etc. of the network bandwidth.
  • the user configures a bandwidth allocation rule for a terminal application
  • the terminal application belonging to the terminal is listed in the terminal reference: the bandwidth allocation rule of the terminal application is the access terminal device. If the number of terminal devices is less than 10 and the number of terminal devices using the same type of terminal application is less than three, 20% of the network bandwidth is allocated to the terminal device that transmits the request data. Then, in the process of bandwidth allocation, after receiving the data request and determining that it is a request sent in the terminal application, it is further determined whether the terminal application that sends the data request belongs to the bandwidth allocation rule classification configured, and if so, according to the setting Rules are used for bandwidth allocation.
  • the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the method includes: S21 receiving a data request sent by any terminal device; S22 determining whether the data request is from a terminal application; if yes, jumping to step S23; S23 acquiring terminal application information and determining a classification of the terminal application according to the stored information in the memory; S24 counts the number of the current access terminal devices; S25 determines whether the current number of access terminal devices is less than a preset first number threshold; if yes, the process goes to step S26, otherwise, the process goes to step S29; S26 counts the current access terminal The number of terminal devices belonging to the same classified terminal application as the terminal application is being used in the device; 27 determining whether the number of terminal devices that are using the same classified terminal application as the terminal application is less than a preset third number threshold; if yes, jumping to Step S28; S28 assigns a preset
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If the determination is derived from the terminal application, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the same class is being used. If the number of the terminal devices of the terminal application is less than the third threshold, the second bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented. If it is determined that the number of the current access terminal devices is greater than the first threshold, the current terminal devices are too many. To ensure the normal use of the terminal devices, the network bandwidth is evenly distributed to the terminal devices.
  • the user configures a bandwidth allocation rule for a terminal application
  • the terminal application belonging to the terminal is listed in the terminal reference: the bandwidth allocation rule of the terminal application is the access terminal device.
  • 20% of the network bandwidth is allocated to the terminal device that transmits the request data. If it is determined that the number of current access terminal devices is >10, the network bandwidth is evenly distributed to each terminal device.
  • the 20M network bandwidth is evenly distributed to 20 terminals. device.
  • the processor allocates corresponding bandwidth to the terminal device according to the terminal application to be used in the terminal device and the information stored in the memory.
  • the method includes: S21 receiving a data request sent by any terminal device; S22 determining whether the data request is from a terminal application; if yes, jumping to step S23; S23 acquiring terminal application information and determining a classification of the terminal application according to the stored information in the memory; S24 counts the number of the current access terminal devices; S25 determines whether the current number of access terminal devices is less than a preset first number threshold; if yes, the process goes to step S26, otherwise, the process goes to step S29; S26 counts the current access terminal The number of terminal devices belonging to the same classified terminal application as the terminal application is being used in the device; 27 determining whether the number of terminal devices that are using the same classified terminal application as the terminal application is less than a preset third number threshold; if yes, jumping to Step S28, otherwise, the process goes to step
  • the request source is first determined according to the data request sent by the terminal device, and if the data request is not from the terminal application transmitting terminal application information in the terminal device, no processing is performed. If the determination is derived from the terminal application, the terminal device that sends the data request is allocated a bandwidth according to the set rule, and in the set rule, specifically, when the number of access terminal devices is less than the first quantity threshold and the same class is being used. If the number of the terminal devices of the terminal application is less than the third threshold, the second bandwidth is allocated to the terminal device that sends the data request, and the automatic allocation of the bandwidth of the terminal device is implemented. If it is determined that the number of the current access terminal devices is greater than the first threshold, the current terminal devices are too many. To ensure the normal use of the terminal devices, the network bandwidth is evenly distributed to the terminal devices. If it is determined that the number of terminal devices using the same type of terminal application is greater than the third number threshold, the second bandwidth is allocated to the terminal device that sends the data request.
  • the bandwidth allocation rule of the user configuration terminal application is: when the number of access terminal devices is less than or equal to 10, and the number of terminal devices using the same type of terminal application is less than or equal to three, Allocate 20% of the network bandwidth to the terminal device that sent the request data. If it is determined that the number of current access terminal devices is >10, the network bandwidth is evenly distributed to each terminal device. If the number of access terminal devices is ⁇ 10 but the number of terminal devices using the same type of terminal application is >3, 10% of the network bandwidth is allocated to the terminal device that transmits the request data.
  • bandwidth allocation After receiving the data request and determining that it is a request sent in the terminal application, if it is determined that the number of the current access terminal devices is 9 and the terminal devices using the same type of terminal application have 5 , allocate 10% of the network bandwidth, that is, 2M bandwidth to the terminal device.
  • a timer (such as detecting every 1 min/2 min) is configured in the bandwidth allocation apparatus, and the number of access terminal devices is periodically counted, and the terminal obtained according to the statistics is obtained.
  • the number of devices adjusts the bandwidth allocation policy.
  • the method mainly includes: if the number of access terminal devices is greater than the first quantity threshold, The network bandwidth is evenly distributed to ensure that each terminal device can be used normally.
  • the present invention also provides a wireless access device comprising the above bandwidth allocation device.
  • the wireless access device may be a wireless router, a wireless access point (AP), or the like.
  • the wireless access device allocates corresponding bandwidth according to the terminal application of the terminal device to be accessed by the network, and the automatic allocation of bandwidth is realized simply and conveniently.
  • the specific bandwidth allocation rule can be set for a certain terminal application, or can be set for a certain type of terminal application, and the user is determined according to requirements, and is not limited.
  • the wireless access device is a wireless router
  • the network bandwidth is 20M as an example. The process of bandwidth allocation for the wireless router is described:
  • the wireless router Before the bandwidth allocation is performed, the allocation rules are configured. Specifically, the wireless router internally stores the terminal APP database, and the database is classified into three categories based on various types of terminal APP traffic, wherein the first category is a broadband requirement.
  • the largest number of terminal APP such as video player, P2P download software, large games, etc.
  • the second category is APP with moderate bandwidth demand, such as shopping websites, small networked games, live broadcast software, etc.
  • the third category is smaller broadband.
  • Demand apps such as chat tools, E-mail, web access, etc.
  • the network bandwidth of the wireless router connected to the WAN is detected; the terminal device searches for the SSID (Service Set Identifier) of the wireless router to perform networking; the wireless router records The user's MAC address and IP address; specifically, when the terminal device accesses the data on the Internet, an ARP (Address Resolution Protocol) request is issued, and the ARP table in the gateway adds an entry to record the MAC address of the related user.
  • the IP address in this example, is obtained by reading the user's MAC address and IP address from the ARP list in this example.
  • any user who opens the terminal APP (hereinafter referred to as APPi for convenience of explanation) is equivalent to an interrupt trigger. After that, the wireless router automatically reads information about the opened APPi (such as the terminal APP name).
  • the current number of all access terminal devices is refreshed.
  • the next step is directly.
  • the number of Internet users is >10, the total network bandwidth is only 20M, and it is difficult to guarantee all.
  • the timer is used to refresh. The time is 1 min, and the refresh is performed every 1 minute. If the number of Internet users is still over the limit, the bandwidth will continue to be evenly distributed. If the number of Internet users is less than or equal to 10, proceed to the next step.
  • the APPi is classified and allocated bandwidth. If APPi belongs to the high bandwidth requirement, that is, the first type, the number of terminal devices using the first type is further determined to be N1, if N1 ⁇ 3, then Allocate 20% of the network bandwidth; if N1>3, then limit the speed and allocate 10% of the network bandwidth. If APPi does not belong to category 1, proceed to the next step.
  • APPi belongs to the medium bandwidth requirement, that is, the second category, it is judged that the number N2 of the second type is used. If N2 ⁇ 3, 10% of the network bandwidth is allocated; if N2>3, the speed limit is performed, and 8% of the network is allocated. bandwidth. If APPi does not belong to category 2, proceed to the next step.
  • APPi belongs to the third type of bandwidth requirement, that is, a small amount of bandwidth can also be satisfied. At this time, the bandwidth is automatically allocated 5%, and Minimum bandwidth setting.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种带宽分配装置及一种无线接入设备,其中,在该带宽分配装置,包括:存储器,用于存储终端应用信息及各终端应用对应的带宽分配信息;处理器,与存储器通信连接,用于根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备。处理器根据终端设备中待接入网络的终端应用分配相应的带宽,简单方便的实现了带宽的自动分配,解决多个终端设备同时接入网络可能出现的网络拥堵和堵塞问题,用户不再需要通过手动的方式设定限速,为用户提供便利。

Description

带宽分配装置及无线接入设备 技术领域
本发明涉及通信技术领域,尤其涉及一种带宽分配装置及一种无线接入设备。
背景技术
无线接入设备是使用无线设备(手机等移动设备及笔记本电脑等无线设备)用户进入有线网络的接入点,主要用于宽带家庭、大楼内部、校园内部、园区内部等需要布局无线网络的地区。
在网络带宽一定的情况下,若多台终端设备要通过同一台接入设备接入网络时,有时会出现网络延迟/阻塞现象,如下载慢,视频缓冲,游戏卡顿情况等,尤其是在接入网络的终端设备数量较多的情况下,这种情况时有发生。
目前,为了缓解这种情况,部分接入设备中加入了QOS(Quality of Service)功能,即服务质量,用于对局域网内各个IP地址进行流量控制,但是这一功能的实现需要人为手动控制,不够智能,且其针对每个用户的限速都是固定,若要进行调整,需要重新进入配置页面进行设定,较为繁琐。此外,有些情况下仍然会出现由于带宽不够影响终端设备正常使用的现象,影响用户正常体验。再有,有些终端设备只用于访问网页、购物网站等,并不需要较大带宽,却分配了高带宽,造成了带宽资源浪费。
发明内容
本发明的目的是提供一种带宽分配装置及一种无线接入设备,有效解决了现有无线接入设备不能自动分配带宽的技术问题。
本发明提供的技术方案如下:
一种带宽分配装置,包括:
存储器,用于存储终端应用信息及各终端应用对应的带宽分配信息;
处理器,与存储器通信连接,用于根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备。
在本技术方案中,处理器根据终端设备中待接入网络的终端应用分配相应的带宽,简单方便的实现了带宽的自动分配,解决多个终端设备同时接入网络可能出现的网络拥堵和堵塞问题,用户不再需要通过手动的方式设定限速,为用户提供便利。
进一步优选地,在所述处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:
接收任意一终端设备发送的数据请求;
判断所述数据请求是否来源于终端应用;若是,
获取终端应用信息;
统计当前接入终端设备的数量;
判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,
统计当前接入终端设备中使用所述终端应用的数量;
判断使用所述终端应用的数量是否小于预设的第二数量阈值;若是,
分配预设的第一带宽至所述终端设备。
在本技术方案中,根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,当接入终端设备的数量小于第一数量阈值且正在使用该终端应用的终端设备的数量小于第二数量阈值,则分配第一带宽给发送数据请求的终端设备,以此根据终端应用实现了终端设备带宽的自动分配,合理利用网络资源,不会因为资源分配不均导致终端设备中出现下载慢、视频缓冲、游戏卡顿情况等现象。
进一步优选地,所述存储器中存储有终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息。
在本技术方案中,在存储器中,将终端设备中的终端应用进行分类,并为每一类终端设备设定带宽分配规则,以此无需为每个终端应用配置带宽分配规则,有效节约用户时间和资源,同时节约处理器匹配规则的时间。
进一步优选地,在所述存储器中存储终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息中,包括:
统计各终端应用使用过程中的带宽需求;
根据各终端应用的带宽需求对其进行分类;
为每一类终端应用配置一带宽;
将各终端应用及其带宽分配信息存储在存储器中。
进一步优选地,在所述处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:
接收任意一终端设备发送的数据请求;
判断所述数据请求是否来源于终端应用;若是,
获取终端应用信息并根据存储器中的存储信息判断所述终端应用所属分类;
统计当前接入终端设备的数量;
判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,
统计当前接入终端设备中正在使用与所述终端应用属于同一分类终端应用的终端设备的数量;
判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值;若是,
分配预设的第二带宽至所述终端设备。
在本技术方案中,根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,当接入终端设备的数量小于第一数量阈值且正在使用这一类型终端应用的终端设备的数量小于第三数量阈值,则分配第二带宽给发送数据请求的终端设备,以此根据终端应用实现了终端设备带宽的自动分配,合理利用网络资源,简单方便快速。
进一步优选地,在所述步骤判断接入终端设备的数量是否小于预设的第一数量阈值中,若判断当前接入终端设备的数量大于第一数量阈值,则,
将网络带宽平均分配至所述当前接入终端设备。
在本技术方案中,若判断当前接入终端设备的数量大于第一数量阈值,说明当前接入的终端设备过多,为了保障各个终端设备的正常使用,将网络带宽进行平均分配至各终端设备。
进一步优选地,在所述步骤判断使用所述终端应用的数量是否小于预设的第二数量阈值中,若判断使用所述终端应用的数量大于预设的第二数量阈值,则,
分配预设的第三带宽至所述终端设备,所述第三带宽小于第一带宽。
在本技术方案中,若判断出使用所述终端应用的数量大于预设的第二数量阈值,说明在接入的终端设备中使用该终端应用的数量过多,则进一步对其进行限速,分配第三带宽,确保个终端设备的正常使用。
进一步优选地,在所述步骤判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值中,若判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量大于预设的第三数量阈值,则,
分配预设的第四带宽至所述终端设备,所述第四带宽小于第二带宽。
在本技术方案中,若判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量大于预设的第三数量阈值,说明在接入的终端设备中使用该终端应用的数量过多,则进一步对其进行限速,分配第四带宽,确保个终端设备的正常使用。
本发明还提供了一种无线接入设备,包括上述带宽分配装置。
在本技术方案中,无线接入设备根据终端设备中待接入网络的终端应用分配相应的带宽,简单方便的实现了带宽的自动分配,解决多个终端设备同时接入网络可能出现的网络拥堵和堵塞问题,合理利用网络资源;且与无线接入设备中的协议没有冲突,用户可以根据需求自由选择带宽分配方式,简单方便。
附图说明
下面将以明确易懂的方式,结合附图说明优选实施方式,对本发明的上述特性、技术特征、优点及其实现方式予以进一步说明。
图1为本发明中带宽分配装置示意图;
图2为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备一种实施方式流程示意图;
图3为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备另一种实施方式流程示意图;
图4为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备另一种实施方式流程示意图;
图5为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备另一种实施方式流程示意图;
图6为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备另一种实施方式流程示意图;
图7为本发明中处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备另一种实施方式流程示意图。
附图标号说明:
100-带宽分配装置,110-存储器,120-处理器。
具体实施方式
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。
为使图面简洁,各图中的只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。
如图1所示为本发明提供的带宽分配装置示意图,从图中可以看出,在该带宽分配装置100中包括:存储器110,用于存储终端应用信息及各终端应用对应的带宽分配信息;处理器120,与存储器通信连接,用于根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备。
在本实施方式中,在使用该带宽分配装置对终端设备的带宽进行分配之前,在存储器中存储终端应用,同时为各终端应用配置带宽分配规则存储在存储器中。以此,在进行带宽分配的过程中,处理器根据终端设备中待接入网络的终端应用分配相应的带宽,以此实现终端设备带宽的自动分配,解决多个终端设备同时接入网络可能出现的网络拥堵和堵塞问题。
具体,这里配置的带宽分配规则根据实际情况进行配置,如在一实例中,某一游戏APP(Application,应用程序)在当前较为流行,接入无线网络玩该游戏的用户较多,为了避免使用该游戏APP的终端设备接入过多,影响其他终端设备的正常上网,在该带宽分配装置中针对该游戏APP设定带宽分配规则,根据实际情况对该游戏APP进行带宽限制。又如,在另一实例中,用户怕其他终端设备的接入影响自己终端设备中某一游戏APP的正常运行,则在带宽分配装置中设定带宽分配规则,优先使用该游戏APP的终端设备分配较多的带宽。 至于具体的带宽分配信息,可以为某一终端设备设定一定的带宽,也可以分配一定比例的网络带宽,这里均不作限定。此外,上述终端设备可以为智能手机、平板电脑等可以接入无线网络的移动终端设备,终端应用包括但不限于目前市面上任意一款终端APP。
在一种实施方式中,基于存储器中存储的信息,如图2所示,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中包括以下步骤:S11接收任意一终端设备发送的数据请求;S12判断数据请求是否来源于终端应用;若是,跳转至步骤S13;S13获取终端应用信息;S14统计当前接入终端设备的数量;S15判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S16;S16统计当前接入终端设备中使用终端应用的数量;S17判断使用终端应用的数量是否小于预设的第二数量阈值;若是,跳转至步骤S18;S18分配预设的第一带宽至终端设备。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用该终端应用的终端设备的数量小于第二数量阈值,则分配第一带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。更具体来说,这里的第一数量阈值、第二数量阈值以及第一带宽可以根据实际需求进行设定,如将第一数量阈值设定为10、15、20等,将第二数量阈值设定为2、3、4等,将第一带宽设定为网络带宽的10%、15%、20%等。
在一实例中,用户配置了终端应用1和终端应用2的带宽分配规则,具体,若接入终端设备的数量小于10个且使用终端应用1的终端设备的数量小于3个,则分配网络带宽的20%至发送请求数据的终端设备;若接入终端设备的数量小于10个且使用终端应用1的终端设备的数量小于4个,则分配网络带宽的30%至发送请求数据的终端设备,其他设备均分剩余的网络带宽。
在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求,则进一步判定发送数据请求的终端应用是否为终端应用1或终端应用2,若是其中的一个,则根据设定的规则进行带宽分配。
对上述实施方式进行改进得到本实施方式,如图3所示,在本实施方式中,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中包括以下步骤:S11接收任意一终端设备发送的数据请求;S12判断数据请求是否来源于终端应用;若是,跳转至步骤S13;S13获取终端应用信息;S14统计当前接入终端设备的数量;S15判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S16;否则跳转至步骤S19;S16统计当前接入终端设备中使用终端应用的数量;S17判断使用终端应用的数量是否小于预设的第二数量阈值;若是,跳转至步骤S18;S18分配预设的第一带宽至终端设备;S19将网络带宽平均分配至当前接入终端设备。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用该终端应用的终端设备的数量小于第二数量阈值,则分配第一带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。若判断当前接入终端设备的数量大于第一数量阈值,说明当前接入的终端设备过多,为了保障各个终端设备的正常使用,将网络带宽进行平均分配至各终端设备。
在一实例中,若网络带宽为20M(兆赫),用户配置终端应用的带宽分配规则为:当接入终端设备的数量≤10个且使用该终端应用的终端设备的数量≤3个时,分配网络带宽的20%至发送请求数据的终端设备。若判定出当前接入终端设备的数量>10,则将网络带宽平均分配至各终端设备。
在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求之后,若判断出当前接入终端设备的数量达20个,则将20M网络带宽平均分配至20个终端设备。
对上述实施方式进行改进得到本实施方式,如图3所示,在本实施方式中,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中包括以下步骤:S11接收任意一终端设备发送的数据请求;S12判断数据请求是否来源于终端应用;若是,跳转至步骤S13;S13获取终端应用信息;S14统计当前接入终端设备的数量;S15判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S16;否则跳转至步骤S19;S16统计当前接入终端设备中使用终端应用的数量;S17判断使用终端应用的数量是否小于预设的第二数量阈值;若是,跳转至步骤S18;否则跳转至步骤S20;S18分配预设的第一带宽至终端设备;S19将网络带宽平均分配至当前接入终端设备;S20分配预设的第三带宽至终端设备,第三带宽小于第一带宽。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用该终端应用的终端设备的数量小于第二数量阈值,则分配第一带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。若判断当前接入终端设备的数量大于第一数量阈值,说明当前接入的终端设备过多,为了保障各个终端设备的正常使用,将网络带宽进行平均分配至各终端设备。若判断使用该终端应用的终端设备的数量大于第二数量阈值,则分配第三带宽至发送数据请求的终端设备。
在一实例中,若网络带宽为20M(兆赫),用户配置终端应用的带宽分配规则为:当接入终端设备的数量≤10个且使用该终端应用的终端设备的数量≤3个时,分配网络带宽的20%至发送请求数据的终端设备。若判定出当前接入终端设备的数量>10,则将网络带宽平均分配至各终端设备。若接入终端设备的数量≤10个但使用该终端应用的终端设备的数量 >3个时,分配网络带宽的10%至发送请求数据的终端设备。
在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求之后,若判断出当前接入终端设备的数量为9个且使用该终端应用的终端设备有5个,则分配10%的网络带宽,即2M带宽至该终端设备。
此外,在上述实施方式中,为了实现带宽的自动分配,在带宽分配装置中配置定时器(如每1min/2min检测一次),以此定时统计接入终端设备的数量,并根据统计得到的终端设备的数量调整带宽分配策略。主要包括,若统计出接入终端设备数量大于第一数量阈值,则将网络带宽进行平均分配,保证各终端设备能够正常使用。
对上述实施方式进行改进得到本实施方式,在本实施方式中,存储器中存储有终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息。具体,在存储器中存储终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息中,包括:统计各终端应用使用过程中的带宽需求;根据各终端应用的带宽需求对其进行分类;为每一类终端应用配置一带宽;将各终端应用及其带宽分配信息存储在存储器中。
在本实施方式中,我们对终端设备的分类不做具体限定,如在一实例中,根据统计结果,将终端设备分类三类并分别配置相应的带宽分配规则,具体,第一类为宽带需求量最大的终端应用,如视频播放器、P2P下载软件、大型游戏等,当接入终端设备的数量≤第一数量阈值(10个)且使用该终端应用的终端设备的数量≤第三数量阈值(3个),分配网络带宽的20%至发送请求数据的终端设备,否则分配10%的网络带宽;第二类为宽带需求量适中的终端应用,如购物网站、小型连网游戏、直播软件等,当接入终端设备的数量≤第一数量阈值且使用该终端应用的终端设备的数量≤第三数量阈值,分配网络带宽的10%至发送请求数据的终端设备,否则分配8%的网络带宽;第三类为较小宽带需求的终端应用,这类终端应用基本不耗费流量,如聊天工具、E-mail、网页访问等,分配5%的带宽至发送请求数据的终端设备。当然,在其他实例中,可以根据实际情况设定上述带宽分配规则,在此不做限定,包括第一数量阈值、第三数量阈值、分配的带宽,总体来说,由于第二类终端应用需要的带宽比第一类终端应用少,所以相对于使用第一类终端应用的终端设备分配更少的带宽;使用第三类终端应用的终端设备相较于使用第二类终端应用的终端设备分配更少的带宽。此外,我们对终端应用的分类同样不做具体限定,在其他实施方式中可以根据其他方式进行分类。
基于此,如图5所示,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:S21接收任意一终端设备发送的数据请求;S22判断数据请求是否来源于终端应用;若是,跳转至步骤S23;S23获取终端应用信息并根据存储器中的存储信息判断终端应用所属分类;S24统计当前接入终端设备的数量;S25判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S26;S26统计当前接入终端设备中正在使用与终端应用属于同一分类终端应用的终端设备的数量;27判断正在使用与终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量 阈值;若是,跳转至步骤S28;S28分配预设的第二带宽至终端设备。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用同一类终端应用的终端设备的数量小于第三数量阈值,则分配第二带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。更具体来说,这里的第一数量阈值、第三数量阈值以及第二带宽可以根据实际需求进行设定,如将第一数量阈值设定为10、15、20等,将第三数量阈值设定为2、3、4等,将第二带宽设定为网络带宽的10%、15%、20%等。
在一实例中,用户配置了一类终端应用的带宽分配规则,且在该类终端引用下罗列出了属于该类的终端应用:具体该类终端应用的带宽分配规则为,接入终端设备的数量小于10个且使用同一类终端应用的终端设备的数量小于3个,则分配网络带宽的20%至发送请求数据的终端设备。则在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求,则进一步判定发送数据请求的终端应用是否属于配置了带宽分配规则分类,若是,则根据设定的规则进行带宽分配。
对上述实施方式进行改进得到本实施方式,如图6所示,在本实施方式中,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:S21接收任意一终端设备发送的数据请求;S22判断数据请求是否来源于终端应用;若是,跳转至步骤S23;S23获取终端应用信息并根据存储器中的存储信息判断终端应用所属分类;S24统计当前接入终端设备的数量;S25判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S26,否则跳转至步骤S29;S26统计当前接入终端设备中正在使用与终端应用属于同一分类终端应用的终端设备的数量;27判断正在使用与终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值;若是,跳转至步骤S28;S28分配预设的第二带宽至终端设备;S29将网络带宽平均分配至当前接入终端设备。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用同一类终端应用的终端设备的数量小于第三数量阈值,则分配第二带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。若判断当前接入终端设备的数量大于第一数量阈值,说明当前接入的终端设备过多,为了保障各个终端设备的正常使用,将网络带宽进行平均分配至各终端设备。
在一实例中,用户配置了一类终端应用的带宽分配规则,且在该类终端引用下罗列出了属于该类的终端应用:具体该类终端应用的带宽分配规则为,接入终端设备的数量≤10个 且使用同一类终端应用的终端设备的数量≤3个,则分配网络带宽的20%至发送请求数据的终端设备。若判定出当前接入终端设备的数量>10,则将网络带宽平均分配至各终端设备。在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求之后,若判断出当前接入终端设备的数量达20个,则将20M网络带宽平均分配至20个终端设备。
对上述实施方式进行改进得到本实施方式,如图7所示,在本实施方式中,在处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:S21接收任意一终端设备发送的数据请求;S22判断数据请求是否来源于终端应用;若是,跳转至步骤S23;S23获取终端应用信息并根据存储器中的存储信息判断终端应用所属分类;S24统计当前接入终端设备的数量;S25判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,跳转至步骤S26,否则跳转至步骤S29;S26统计当前接入终端设备中正在使用与终端应用属于同一分类终端应用的终端设备的数量;27判断正在使用与终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值;若是,跳转至步骤S28,否则跳转至步骤S30;S28分配预设的第二带宽至终端设备;S29将网络带宽平均分配至当前接入终端设备;S30分配预设的第四带宽至终端设备,第四带宽小于第二带宽。
在本实施方式中,首先根据终端设备发送的数据请求判断请求来源,若该数据请求不是来源于终端设备中的终端应用发送终端应用信息,不作处理。若判定来源于终端应用,则根据设定的规则对发送数据请求的终端设备分配带宽,在该设定的规则中,具体,当接入终端设备的数量小于第一数量阈值且正在使用同一类终端应用的终端设备的数量小于第三数量阈值,则分配第二带宽给发送数据请求的终端设备,实现了终端设备带宽的自动分配。若判断当前接入终端设备的数量大于第一数量阈值,说明当前接入的终端设备过多,为了保障各个终端设备的正常使用,将网络带宽进行平均分配至各终端设备。若判断使用该使用同一类终端应用的终端设备的数量大于第三数量阈值,则分配第二带宽至发送数据请求的终端设备。
在一实例中,若网络带宽为20M(兆赫),用户配置终端应用的带宽分配规则为:当接入终端设备的数量≤10个且使用同一类终端应用的终端设备的数量≤3个时,分配网络带宽的20%至发送请求数据的终端设备。若判定出当前接入终端设备的数量>10,则将网络带宽平均分配至各终端设备。若接入终端设备的数量≤10个但使用同一类终端应用的终端设备的数量>3个时,分配网络带宽的10%至发送请求数据的终端设备。
在带宽分配的过程中,在接收到数据请求且判断出其为终端应用中发送的请求之后,若判断出当前接入终端设备的数量为9个且使用同一类终端应用的终端设备有5个,则分配10%的网络带宽,即2M带宽至该终端设备。
此外,在上述实施方式中,为了实现带宽的自动分配,在带宽分配装置中配置定时器(如每1min/2min检测一次),以此定时统计接入终端设备的数量,并根据统计得到的终端设备的数量调整带宽分配策略。主要包括,若统计出接入终端设备数量大于第一数量阈值,则将 网络带宽进行平均分配,保证各终端设备能够正常使用。
本发明还提供了一种无线接入设备,包括上述带宽分配装置。具体该无线接入设备可以为无线路由器、无线AP(Access Point,接入点)等。在该无线接入设备中,无线接入设备根据终端设备中待接入网络的终端应用分配相应的带宽,简单方便的实现了带宽的自动分配。具体的带宽分配规则可以针对某一个终端应用进行设定,也可以针对某一类终端应用进行设定,用户根据需求而定,不做限定。
在一实例中,以无线接入设备为无线路由器,网络带宽为20M为例,对无线路由器进行带宽分配的过程进行说明:
在进行带宽分配之前,对分配规则进行配置,具体:无线路由器内部存储终端APP数据库,在该数据库中以各类终端APP流量为基础,将其分为3类,其中,第1类为宽带需求量最大的终端APP,如视频播放器、P2P下载软件、大型游戏等;第2类为宽带需求量适中的APP,如购物网站、小型连网游戏、直播软件等;第3类为较小宽带需求APP,如聊天工具、E-mail、网页访问等。
无线路由器及网络设置完成后,检测由WAN(Wide Area Network,广域网)口接入无线路由器的网络带宽;终端设备搜索无线路由器的SSID(Service Set Identifier,服务集标识),进行联网;无线路由器记录用户的MAC地址和IP地址;具体,由于终端设备上网访问数据时,会发出ARP(Address Resolution Protocol,地址解析协议)请求,而网关中的ARP表会添加一条目来记录相关用户的MAC地址和IP地址,以此,在本实例中通过从ARP列表中读取用户MAC地址和IP地址的方式获取。
任何一个用户打开终端APP(为了方便说明,以下简称APPi),相当于一个中断触发,之后,无线路由器自动读取所打开的APPi的相关信息(如终端APP名称)。
当该终端APP完成分类后,刷新目前的所有接入终端设备的数量,当目前上网人数≤10时,则直接下一步,当上网人数>10时,总网络带宽因只有20M,很难保证所有用户的需求,此时,将进行带宽均分,将20M带宽平均分给每个用户。此时因上网人数超限,故需及时刷新上网人数,缓解网络拥挤状况,采用定时器来实现刷新,定时1min,每过1min进行一次刷新,若上网人数依旧超限,继续平均分配带宽,若上网人数小于等于10,则进行下一步。
当接入终端设备的数量N≤10,则对APPi进行分类并分配带宽,若APPi属于高带宽需求,即第1类,进一步判断使用第1类的终端设备数量N1,若N1≤3,则分配20%的网络带宽;若N1>3,则进行限速,分配10%的网络带宽。若APPi不属于第1类,继续下一步。
若APPi属于中等带宽需求,即第2类,则判断使用第2类的人数N2,若N2≤3,则分配10%的网络带宽;若N2>3,则进行限速,分配8%的网络带宽。若APPi不属于第2类,继续下一步。
APPi属于第3类带宽需求,即很少的带宽也可以满足,此时,自动分配带宽5%,且为 最低带宽设置。
任何一个用户进行终端APP切换时,都将重新连接数据据,执行以上步骤往复循环,实现带宽的动态分布。
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (9)

  1. 一种带宽分配装置,其特征在于,所述带宽分配装置中包括:
    存储器,用于存储终端应用信息及各终端应用对应的带宽分配信息;
    处理器,与存储器通信连接,用于根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备。
  2. 如权利要求1所述的带宽分配装置,其特征在于,在所述处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:
    接收任意一终端设备发送的数据请求;
    判断所述数据请求是否来源于终端应用;若是,
    获取终端应用信息;
    统计当前接入终端设备的数量;
    判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,
    统计当前接入终端设备中使用所述终端应用的数量;
    判断使用所述终端应用的数量是否小于预设的第二数量阈值;若是,
    分配预设的第一带宽至所述终端设备。
  3. 如权利要求1所述的带宽分配装置,其特征在于,所述存储器中存储有终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息。
  4. 如权利要求3所述的带宽分配装置,其特征在于,在所述存储器中存储终端应用信息、各终端设备所属分类及每个分类的终端应用对应的带宽分配信息中,包括:
    统计各终端应用使用过程中的带宽需求;
    根据各终端应用的带宽需求对其进行分类;
    为每一类终端应用配置一带宽;
    将各终端应用及其带宽分配信息存储在存储器中。
  5. 如权利要求3所述的带宽分配装置,其特征在于,在所述处理器根据终端设备中待使用的终端应用及存储器中存储的信息分配相应的带宽至该终端设备中,包括:
    接收任意一终端设备发送的数据请求;
    判断所述数据请求是否来源于终端应用;若是,
    获取终端应用信息并根据存储器中的存储信息判断所述终端应用所属分类;
    统计当前接入终端设备的数量;
    判断当前接入终端设备的数量是否小于预设的第一数量阈值;若是,
    统计当前接入终端设备中正在使用与所述终端应用属于同一分类终端应用的终端设备的数量;
    判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值;若是,
    分配预设的第二带宽至所述终端设备。
  6. 如权利要求2或5所述的带宽分配装置,其特征在于,在所述步骤判断接入终端设备的数量是否小于预设的第一数量阈值中,若判断当前接入终端设备的数量大于第一数量阈值,则,
    将网络带宽平均分配至所述当前接入终端设备。
  7. 如权利要求2所述的带宽分配装置,其特征在于,在所述步骤判断使用所述终端应用的数量是否小于预设的第二数量阈值中,若判断使用所述终端 应用的数量大于预设的第二数量阈值,则,
    分配预设的第三带宽至所述终端设备,所述第三带宽小于第一带宽。
  8. 如权利要求5所述的带宽分配装置,其特征在于,在所述步骤判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量是否小于预设的第三数量阈值中,若判断正在使用与所述终端应用属于同一分类终端应用的终端设备的数量大于预设的第三数量阈值,则,
    分配预设的第四带宽至所述终端设备,所述第四带宽小于第二带宽。
  9. 一种无线接入设备,其特征在于,所述无线接入设备中包括如权利要求1-8任意一项所述的带宽分配装置。
PCT/CN2017/102726 2017-07-14 2017-09-21 带宽分配装置及无线接入设备 WO2019010820A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710574603.6A CN107294874A (zh) 2017-07-14 2017-07-14 带宽分配装置及无线接入设备
CN201710574603.6 2017-07-14

Publications (1)

Publication Number Publication Date
WO2019010820A1 true WO2019010820A1 (zh) 2019-01-17

Family

ID=60101838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102726 WO2019010820A1 (zh) 2017-07-14 2017-09-21 带宽分配装置及无线接入设备

Country Status (2)

Country Link
CN (1) CN107294874A (zh)
WO (1) WO2019010820A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533216B (zh) * 2020-11-18 2023-06-23 深圳创维数字技术有限公司 无线网络通信方法、装置、设备及计算机可读存储介质
CN114629737B (zh) * 2020-12-14 2024-03-12 深圳Tcl新技术有限公司 一种带宽调整方法、装置、网关设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024825A (zh) * 2011-09-26 2013-04-03 中国移动通信集团公司 终端多应用间网络资源分配方法及其设备
CN104113492A (zh) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 基于路由器的接入用户带宽调整方法、装置及系统
CN106161280A (zh) * 2016-06-08 2016-11-23 联想(北京)有限公司 一种带宽控制方法、装置和电子设备
CN106506391A (zh) * 2016-10-28 2017-03-15 上海斐讯数据通信技术有限公司 一种网络流量的分配方法及路由器
CN106792835A (zh) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 一种无线设备共享带宽的控制方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024825A (zh) * 2011-09-26 2013-04-03 中国移动通信集团公司 终端多应用间网络资源分配方法及其设备
CN104113492A (zh) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 基于路由器的接入用户带宽调整方法、装置及系统
CN106161280A (zh) * 2016-06-08 2016-11-23 联想(北京)有限公司 一种带宽控制方法、装置和电子设备
CN106506391A (zh) * 2016-10-28 2017-03-15 上海斐讯数据通信技术有限公司 一种网络流量的分配方法及路由器
CN106792835A (zh) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 一种无线设备共享带宽的控制方法及系统

Also Published As

Publication number Publication date
CN107294874A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
JP6236719B2 (ja) WLANにおけるQoSパラメータ構成のための方法、装置、およびシステム
CN109951347B (zh) 业务识别方法、装置及网络设备
US20110113146A1 (en) Dynamic quality of service (qos) setup over wired and wireless networks
WO2015096680A1 (zh) 一种节点分配方法和控制中心
WO2013166769A1 (zh) 一种带宽自适应分配方法和系统
KR102275579B1 (ko) 이동 통신 시스템에서 전송 차별화를 제공하는 방법 및 장치
WO2022193890A1 (zh) 一种资源调度方法和装置
CN105721341A (zh) 一种路由器网络资源分配的方法及路由器
US9432999B1 (en) Optimization of airtime among Wi-Fi clients connected to an access point
WO2019001391A1 (zh) 无线资源调度方法、视频终端及接入网设备
US9450880B2 (en) Load condition based transfer of processing responsibility
CN115211158A (zh) 动态策略交换
CN106332153B (zh) 一种wlan中的带宽控制方法及装置
WO2019010820A1 (zh) 带宽分配装置及无线接入设备
US10412006B2 (en) Bandwith sentinel
US10575239B2 (en) Data network management
US9356964B2 (en) Application based policy enforcement
Radics et al. Insight based dynamic QoE management in LTE
CN110999233A (zh) 一种管理组播节目的方法、装置和网络设备
Spenst et al. An implementation of the user-centric qos management approach in wireless home networks
US11558303B2 (en) Prioritized protocol messaging
US11706124B2 (en) Low latency for network devices not supporting LLD
US20230328029A1 (en) Multi-level and dynamic timers for carrier grade nat
CN115883448A (zh) 一种报文转发方法及设备
EP4205501A1 (en) Mitigation of excessive client steering attempts in multiple access point networks

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: 17917840

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: 17917840

Country of ref document: EP

Kind code of ref document: A1