WO2017092275A1 - 路由器带宽管理方法、装置及路由器 - Google Patents
路由器带宽管理方法、装置及路由器 Download PDFInfo
- Publication number
- WO2017092275A1 WO2017092275A1 PCT/CN2016/084991 CN2016084991W WO2017092275A1 WO 2017092275 A1 WO2017092275 A1 WO 2017092275A1 CN 2016084991 W CN2016084991 W CN 2016084991W WO 2017092275 A1 WO2017092275 A1 WO 2017092275A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bandwidth
- router
- application
- type
- identification
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/803—Application aware
Definitions
- the present application relates to the field of communications, and in particular, to a router bandwidth management method, apparatus, and router.
- O2O Online To Offline, online and offline e-commerce
- people are increasingly dependent on the network.
- the network gradually penetrates into all aspects of people's lives, such as shopping, education, and entertainment. It can be done through online shopping, online classes, and online games.
- a router also known as a gateway device, is used to connect multiple logically separate networks.
- a logical network is a single network or a subnet. When data is transferred from one subnet to another, it can be done through the routing function of the router. Therefore, the router has the function of judging the network address and selecting an IP (Internet Protocol) path, and can establish a flexible connection in a multi-network interconnection environment, and can connect various subnets by using completely different data packets and media access methods.
- IP Internet Protocol
- home routers have been widely used. Home routers allow multiple clients to access the Internet at the same time.
- the client can be a PC (Personal Computer), a smart phone, a tablet, a laptop, and the like. Therefore, multiple members of the home can use the client to connect to the router separately.
- PC Personal Computer
- the purpose of the present application is to provide a router bandwidth management method, device, and router, which can dynamically adjust the bandwidth of various applications according to actual needs, and improve the user's online experience.
- the present application provides a router bandwidth management method, including:
- the bandwidth of the various applications is adjusted based on the result of the identification and the result of the detection.
- the above method may further have the following features: identify the types of various applications currently running by the client connected to the router according to the set time interval, and set the data packets for each type of application identified. Before the logo, it also includes:
- the initial bandwidth is allocated for each type of preset application according to a preset bandwidth allocation scheme.
- adjusting the bandwidth of each application according to the result of the identifying and the result of the detecting includes:
- the bandwidth of the type of application is increased if the current data traffic of the identified type of application exceeds the upper limit percentage of the initial bandwidth allocated by the router for the type of application.
- adjusting the bandwidth of each application according to the result of the identifying and the result of the detecting includes:
- the bandwidth of the type of application is reduced if the current data traffic of the identified type of application is lower than the set lower limit percentage of the initial bandwidth allocated by the router for the type of application.
- adjusting the bandwidth of each application according to the result of the identifying and the result of the detecting includes:
- the bandwidth of the application that has been allocated the initial bandwidth by this router but is not recognized is adjusted to zero.
- the method for managing the bandwidth of the router in the embodiment of the present application can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection of the currently running application, thereby achieving the effect of optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs, and improving The user's online experience.
- the present application further provides a router bandwidth management apparatus, including:
- the identification module is configured to identify the types of various applications currently running by the client connected to the router according to the set time interval, and set identifiers for the identified data packets of each type of application, where any two The identifier of the type of application is not the same;
- a detecting module configured to detect, by using an identifier of the data packet set by the identification module, current data traffic of the currently running various applications
- an adjustment module configured to adjust bandwidths of the various applications according to the result of the identification by the identification module and the result detected by the detection module.
- the above device may further have the following features, and further includes:
- the initialization module is connected to the identification module, and configured to allocate an initial bandwidth for each type of preset application according to a preset bandwidth allocation scheme before the identification module performs identification.
- the adjustment module includes:
- an adding unit configured to increase the bandwidth of the type of application if the current data traffic of the type of application identified by the identification module exceeds a set upper limit percentage of the initial bandwidth allocated by the router for the type of application.
- the adjustment module includes:
- a reducing unit configured to reduce a bandwidth of the type of application if a current data traffic of a type of application identified by the identification module is lower than a lower limit percentage of an initial bandwidth allocated by the router for the type of application .
- the adjustment module includes:
- the release unit is configured to adjust the bandwidth of the application that has been allocated the initial bandwidth by the router but is not recognized by the identification module to zero.
- the router bandwidth management device of the embodiment of the present invention can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection of the currently running application, thereby achieving the effect of optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs, and improving The user's online experience.
- the present application further provides a router, including the router bandwidth management apparatus according to any of the preceding claims.
- the router in the embodiment of the present application includes a router bandwidth management device, which can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection status of the currently running application, thereby optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs. The effect is to enhance the user's online experience.
- FIG. 1 is a flowchart of a method for managing bandwidth of a router in Embodiment 1 of the present application.
- FIG. 2 is a flowchart of a method for managing bandwidth of a router in Embodiment 2 of the present application.
- FIG. 3 is a structural block diagram of a router bandwidth management apparatus according to Embodiment 3 of the present application.
- FIG. 4 is a structural block diagram of a router bandwidth management apparatus in Embodiment 4 of the present application.
- FIG. 5 is a structural block diagram of a router in Embodiment 5 of the present application.
- FIG. 1 is a flowchart of a method for managing bandwidth of a router in Embodiment 1 of the present application. As shown in FIG. 1 , in this embodiment, the router bandwidth management method may include the following steps:
- Step S101 identifying the types of various applications currently running by the client connected to the router according to the set time interval, and setting identifiers for the identified data packets of each type of application, wherein any two types of The identifier of the applied data packet is different;
- identification is to see which applications are running on the client connected to the router, so that Which types of applications have bandwidth requirements, and provide a basis for detecting the data traffic of these running applications for step S102 below.
- the client is a client connected to the router, and the client communicates with the network through the router to obtain data of various applications from the network.
- the number of clients can be one or more.
- the client can be a PC, a smartphone, a tablet, a laptop, and the like.
- the identifying the types of various applications currently running by the client connected to the router may include: identifying related applications according to characteristics of different applications. These features can include IP, port PORT, domain name, and some keywords.
- the data packets of the identified application are marked with different identifiers for the subsequent steps to perform traffic detection and dynamic bandwidth adjustment on the application according to the identifiers.
- the data packet of the application may be identified by the type to which the application belongs, that is, the data packet identifier of the application is an application type.
- the time interval can be set by the user or router manufacturer. Steps S101 to S103 are cyclically executed at set time intervals. For example, assuming that the time interval is 3 s (seconds), steps S101 to S103 are performed once every 3 seconds.
- Step S102 detecting, by using the identifier of the data packet, current data traffic of various applications currently running;
- the purpose of detecting data traffic is to understand the traffic change of a specific application, so as to dynamically adjust the bandwidth of the specific application according to the traffic change of the specific application, so as to optimize the bandwidth configuration and use the bandwidth reasonably.
- step S103 the bandwidths of the various applications are adjusted according to the result identified in step S101 and the result detected in step S102.
- the application of the adjusted bandwidth may be the application identified in step S101, or may be an application in which the router allocates an initial bandwidth but is not currently running.
- the router When the router is started, it can be initialized first, that is, the initial bandwidth is allocated for each type of application according to a preset bandwidth allocation scheme.
- the bandwidth allocation scheme at initialization is preset, which specifies which applications are allocated bandwidth at initialization and how much bandwidth is allocated. These applications whose initial bandwidth is allocated by the router may be applications that are not running in the client connected to the router, that is, although these applications occupy bandwidth, the data traffic is zero.
- the bands of various applications are adjusted according to the result of the identification and the result of the detection.
- the width may include increasing the bandwidth of the type of application if the current data traffic of the identified type of application exceeds a set upper limit percentage of the initial bandwidth allocated by the router for the type of application.
- the upper limit percentage can be set by the user or the manufacturer, for example, the upper limit percentage can be 90%.
- adjusting the bandwidth of each application according to the result of the identification and the result of the detection may further include: the current data traffic of the identified type of application is lower than the initial allocation of the type of application by the router.
- the bandwidth of this type of application is reduced.
- the lower limit percentage can be set by the user or the manufacturer, for example, the lower limit percentage can be 10%.
- the bandwidth occupied by the application is mostly idle, so that part of the bandwidth occupied by the application can be released for use by other required applications, which can avoid waste of bandwidth resources and improve other needs.
- the running speed of the application so as to optimize the bandwidth configuration and rationally utilize the bandwidth.
- adjusting the bandwidth of each application according to the result of the identification and the result of the detection may further include: adjusting the bandwidth of the application that has been allocated the initial bandwidth by the router but is not recognized to 0.
- An unrecognized application is actually an application that is not currently running. An application that is not running does not require bandwidth, so the initial bandwidth allocated by the currently running application can be released for use by the currently running application. In this way, the bandwidth resources can be reasonably utilized, and the speed of the currently running application can be improved to improve the user's online experience.
- the router bandwidth management method of the present application is further described herein by a specific application example.
- a download tool such as Thunder
- the initial bandwidth allocated by other applications can be released, so that Thunder takes up all the bandwidth, which can greatly improve the download speed.
- Thunder the bandwidth occupied by the downloading tool such as Thunder is dynamically adjusted, so that the user can normally watch the video and browse the webpage.
- the router bandwidth management method of the embodiment of the present application can be based on the currently running application.
- Type identification and traffic detection dynamically adjust the bandwidth of each application, thus achieving the effect of optimizing bandwidth configuration and rationally utilizing bandwidth according to actual needs, and improving the user's online experience.
- FIG. 2 is a flowchart of a method for managing bandwidth of a router in Embodiment 2 of the present application. As shown in FIG. 2, in this embodiment, the router bandwidth management method may include the following steps:
- Step S201 Allocating an initial bandwidth for each type of preset application according to a preset bandwidth allocation scheme
- the router When the router is started, it can be initialized first, that is, the initial bandwidth is allocated for each type of application according to a preset bandwidth allocation scheme.
- the bandwidth allocation scheme at initialization is preset, which specifies which applications are allocated bandwidth at initialization and how much bandwidth is allocated.
- Step S202 identifying the types of various applications currently running by the client connected to the router according to the set time interval, and setting identifiers for the identified data packets of each type of application, wherein any two types of The identifier of the applied data packet is different;
- Step S203 detecting, by using the identifier of the data packet, current data traffic of various applications currently running;
- step S204 the bandwidths of the various applications are adjusted according to the result identified in step S202 and the result detected in step S203.
- step S201 although the initial allocation of the bandwidth of each application is performed in step S201, the subsequent steps S202 to S204 still dynamically adjust the bandwidth of each application according to the type identification and the traffic detection situation of the currently running application.
- the method for managing the bandwidth of the router in the embodiment of the present application can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection of the currently running application, thereby achieving the effect of optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs, and improving The user's online experience.
- FIG. 3 is a structural block diagram of a router bandwidth management apparatus according to Embodiment 3 of the present application.
- the router bandwidth management apparatus shown in FIG. 3 can be used to execute the router bandwidth management method in the foregoing embodiment shown in FIG. 1 of the present application.
- the router bandwidth management apparatus 300 may include an identification module 310, a detection module 320, and an adjustment module 330.
- the identification module 310, the detection module 320, and the adjustment module 330 are sequentially connected.
- the identification module 310 is configured to identify the types of various applications currently running by the client connected to the router according to the set time interval, and set identifiers for the identified data packets of each type of application, where any Packets for two types of applications The logo is not the same.
- the detecting module 320 is configured to detect the current data traffic of various applications currently running by using the identifier of the data packet set by the identification module 310.
- the adjustment module 330 is configured to adjust the bandwidth of the various applications according to the result of the identification by the identification module 310 and the result detected by the detection module 320.
- the adjustment module 330 may include an adding unit.
- the adding unit is configured to increase the bandwidth of the type of application if the current data traffic of the type of application identified by the identification module 310 exceeds a set upper limit percentage of the initial bandwidth allocated by the router for the type of application.
- the upper limit percentage can be set by the user or the manufacturer, for example, the upper limit percentage can be 90%.
- the adjustment module 330 may further include a reduction unit.
- the reduction unit is configured to reduce the bandwidth of the type of application if the current data traffic of one type of application identified by the identification module 310 is lower than a lower limit percentage of the initial bandwidth allocated by the router for the type of application.
- the lower limit percentage can be set by the user or the manufacturer, for example, the lower limit percentage can be 10%.
- the bandwidth occupied by the application is mostly idle, so that part of the bandwidth occupied by the application can be released for use by other required applications, which can avoid waste of bandwidth resources and improve other needs.
- the running speed of the application so as to optimize the bandwidth configuration and rationally utilize the bandwidth.
- the client is a client connected to the router, and the client communicates with the network through the router to obtain data of various applications from the network.
- the number of clients can be one or more.
- the client can be a PC, a smartphone, a tablet, a laptop, and the like.
- the identification module 310 can identify related applications according to characteristics of different applications. These features can include IP, port PORT, domain name, and some keywords.
- the adjustment module 330 may further include a release unit.
- the release unit is configured to adjust the bandwidth of the application that has been allocated the initial bandwidth by the router but is not recognized by the identification module 310 to zero. Unrecognized applications are actually applications that are not currently running. Applications that are not running do not require bandwidth, so you can assign an application that is not currently running. The initial bandwidth is released for use by the currently running application, so that the bandwidth resources can be reasonably utilized, and the speed of the currently running application can be improved to improve the user's online experience.
- the router bandwidth management device of the embodiment of the present invention can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection of the currently running application, thereby achieving the effect of optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs, and improving The user's online experience.
- FIG. 4 is a structural block diagram of a router bandwidth management apparatus in Embodiment 4 of the present application.
- the router bandwidth management apparatus shown in FIG. 4 can be used to execute the router bandwidth management method in the foregoing embodiment shown in FIG. 2 of the present application.
- the router bandwidth management apparatus 300 may include an initialization module 340, an identification module 310, a detection module 320, and an adjustment module 330.
- the initialization module 340, the identification module 310, the detection module 320, and the adjustment module 330 are sequentially connected.
- the identification module 310 is configured to identify the types of various applications currently running by the client connected to the router according to the set time interval, and set identifiers for the identified data packets of each type of application, where any The identification of packets for both types of applications is different.
- the detecting module 320 is configured to detect the current data traffic of various applications currently running by using the identifier of the data packet set by the identification module 310.
- the adjustment module 330 is configured to adjust the bandwidth of the various applications according to the result of the identification by the identification module 310 and the result detected by the detection module 320.
- the initialization module 340 is connected to the identification module 310, and is configured to allocate an initial bandwidth for each type of preset application according to a preset bandwidth allocation scheme before the identification module 310 performs the identification.
- the adjustment module 330 may also include the foregoing adding unit, reducing unit, and releasing unit.
- the router bandwidth management device of the embodiment of the present invention can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection of the currently running application, thereby achieving the effect of optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs, and improving The user's online experience.
- FIG. 5 is a structural block diagram of a router in Embodiment 5 of the present application.
- the router 500 includes a router bandwidth management device 300.
- the router bandwidth management apparatus 300 may be any one of the router bandwidth management apparatuses in the foregoing embodiments of the present application.
- the router bandwidth management apparatus 300 may be configured to identify types of various applications currently running by the client connected to the router according to the set time interval, and set identifiers for the identified data packets of each type of application, where The identification of the packets of any two types of applications is not Same; use; the identity of the data packet detects the current data traffic of various applications currently running; adjusts the bandwidth of various applications according to the result of the identification; and the result of the detection.
- the router bandwidth management apparatus 300 may be further configured to allocate an initial bandwidth for a preset type of application according to a preset bandwidth allocation scheme before performing identification.
- the router in the embodiment of the present application includes a router bandwidth management device, which can dynamically adjust the bandwidth of each application according to the type identification and the traffic detection status of the currently running application, thereby optimizing the bandwidth configuration and rationally utilizing the bandwidth according to actual needs. The effect is to enhance the user's online experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请涉及一种路由器带宽管理方法、装置及路由器。其中,路由器带宽管理方法包括:按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;利用所述数据包的标识检测所述当前正在运行的各种应用的当前数据流量;根据所述识别的结果和所述检测的结果调整各种应用的带宽。本申请能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
Description
交叉引用
本申请要求在2015年11月30日提交中国专利局、申请号为201510867158.3、发明名称为“路由器带宽管理方法、装置及路由器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信领域,尤其涉及一种路由器带宽管理方法、装置及路由器。
随着互联网的普及和应用,以及电商平台、O2O(Online To Offline,线上线下电子商务)等的快速发展,人们对于网络的依赖也越来越强。网络逐渐深入到人们生活的各个方面,比如购物、教育、娱乐,可以分别通过网上购物、网络课堂、在线游戏来进行。
路由器又称网关设备,是用于连接多个逻辑上分开的网络,所谓逻辑网络是代表一个单独的网络或者一个子网。当数据从一个子网传输到另一个子网时,可通过路由器的路由功能来完成。因此,路由器具有判断网络地址和选择IP(Internet Protocol,网际协议)路径的功能,它能在多网络互联环境中,建立灵活的连接,可用完全不同的数据分组和介质访问方法连接各种子网,路由器只接受源站或其他路由器的信息,属网络层的一种互联设备。
近年来,家庭用路由器应用广泛。家庭路由器允许多个客户端同时上网。其中,客户端可以是PC(Personal Computer,个人电脑)机、智能手机、平板电脑、笔记本电脑等。因此,家庭中的多个成员可以分别使用客户端连接路由器。
在网络的重要性不断增加的同时,有效的分配和利用网络带宽显得尤
为重要。网络优化及分配不能仅仅依靠运营商来处理,对于用户来说,家庭路由器也同样需要根据家庭成员的上网行为来合理分配网络带宽。然而,目前的相关技术中,路由器的带宽分配大多是固定的。例如,路由器为各种类型的应用分配固定的带宽,这种方式下,当某一类型应用没有运行时,也仍然占用着固定的带宽,造成了带宽资源的浪费。而另一方面,其他正在运行之中的应用可能由于分配的固定带宽的限制而运行缓慢,需要更多的带宽资源。可见,该相关技术中,路由器的带宽资源不能得到合理配置。
发明内容
本申请的目的在于提供一种路由器带宽管理方法、装置及路由器,能够根据实际需求动态调整各种应用的带宽,提升用户上网体验。
为实现上述目的,本申请提出了一种路由器带宽管理方法,包括:
按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;
利用所述数据包的标识检测所述当前正在运行的各种应用的当前数据流量;
根据所述识别的结果和所述检测的结果调整各种应用的带宽。
进一步地,上述方法还可具有以下特点,在按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识之前,还包括:
按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
进一步地,上述方法还可具有以下特点,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:
在被识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。
进一步地,上述方法还可具有以下特点,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:
在被识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。
进一步地,上述方法还可具有以下特点,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:
将已由本路由器分配了初始带宽,但未被识别出的应用的带宽调整为0。
本申请实施例的路由器带宽管理方法,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
为实现上述目的,本申请还提出了一种路由器带宽管理装置,包括:
识别模块,用于按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;
检测模块,用于利用所述识别模块设置的数据包的标识检测所述当前正在运行的各种应用的当前数据流量;
调整模块,用于根据所述识别模块识别的结果和所述检测模块检测的结果调整各种应用的带宽。
进一步地,上述装置还可具有以下特点,还包括:
初始化模块,与所述识别模块相连,用于在所述识别模块进行识别之前,按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
进一步地,上述装置还可具有以下特点,所述调整模块包括:
增加单元,用于在被所述识别模块识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。
进一步地,上述装置还可具有以下特点,所述调整模块包括:
减少单元,用于在被所述识别模块识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。
进一步地,上述装置还可具有以下特点,所述调整模块包括:
释放单元,用于将已由本路由器分配了初始带宽,但未被所述识别模块识别出的应用的带宽调整为0。
本申请实施例的路由器带宽管理装置,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
为实现上述目的,本申请还提出了一种路由器,包括前述任一项所述的路由器带宽管理装置。
本申请实施例的路由器中包括路由器带宽管理装置,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
图1为本申请实施例一中路由器带宽管理方法的流程图。
图2为本申请实施例二中路由器带宽管理方法的流程图。
图3为本申请实施例三中路由器带宽管理装置的结构框图。
图4为本申请实施例四中路由器带宽管理装置的结构框图。
图5为本申请实施例五中路由器的结构框图。
以下结合附图对本申请的原理和特征进行描述,所举实施例只用于解释本申请,并非用于限定本申请的范围。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,根据本申请精神所获得的所有实施例,都属于本申请的保护范围。
图1为本申请实施例一中路由器带宽管理方法的流程图。如图1所示,本实施例中,路由器带宽管理方法可以包括如下步骤:
步骤S101,按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;
识别的目的是看连接本路由器的客户端有哪些应用正在运行,以便知
道哪些类型的应用有带宽需求,以及为下面的步骤S102检测这些正在运行的应用的数据流量是多少提供基础。
其中,客户端是与本路由器相连的客户端,这些客户端通过本路由器与网络连通,从网络获取各种应用的数据。客户端的数量可以是一个也可以是多个。客户端可以是PC机、智能手机、平板电脑、笔记本电脑等。
其中,识别与本路由器相连的客户端当前正在运行的各种应用的类型可以包括:根据不同应用的特征来识别相关应用。这些特征可以包括IP、端口PORT、域名以及一些关键字等。
其中,将识别出的应用的数据包打上不同的标识,是为了后续步骤根据这些标识对应用进行流量检测和动态带宽调整。
其中,可以用应用所属的类型标识应用的数据包,即应用的数据包标识是应用类型。
其中,时间间隔可以由用户或路由器厂商设置。步骤S101至步骤S103按照设定的时间间隔循环执行,例如,假设时间间隔是3s(秒),那么每隔3秒钟,就执行一遍步骤S101至步骤S103。
步骤S102,利用数据包的标识检测当前正在运行的各种应用的当前数据流量;
检测数据流量的目的是了解具体应用的流量变化,以便后续根据具体应用的流量变化情况动态地调整该具体应用的带宽,以达到优化带宽配置、合理使用带宽的效果。
步骤S103,根据步骤S101识别的结果和步骤S102检测的结果调整各种应用的带宽。
本步骤中,被调整带宽的应用可以是步骤S101识别出的应用,也可以是本路由器分配了初始带宽但当前没有运行的应用。路由器在启动时,可以首先进行初始化,即按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。初始化时的带宽分配方案是预设好的,它规定了在初始化时给哪些应用分配带宽,以及分配的带宽多少。这些由本路由器分配了初始带宽的应用可能是与本路由器相连的客户端中没有运行的应用,也就是说,这些应用虽然占有带宽,但数据流量为0。
在本申请实施例中,根据识别的结果和检测的结果调整各种应用的带
宽可以包括:在被识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。其中,上限百分比可以由用户或厂商设定,例如上限百分比可以是90%。当应用的当前数据流量超过分配到的初始带宽的设定上限百分比时,说明该应用的当前数据流量快要达到分配到的初始带宽的上限了。此时,该应用运行的速度就会减慢,产生“卡”的感觉,此时为该应用增加带宽可以提高该应用运行的速度,消除“卡”的现象。
在本申请实施例中,根据识别的结果和检测的结果调整各种应用的带宽还可以包括:在被识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。其中,下限百分比可以由用户或厂商设定,例如下限百分比可以是10%。当应用的当前数据流量低于分配到的初始带宽的设定上限百分比时,说明该应用的当前数据流量快要达到分配到的初始带宽的下限了。此时,该应用所占用的带宽大部分处于闲置状态,因此可以将该应用所占用的带宽的一部分释放出来给其他需要的应用使用,这既可以避免带宽资源的浪费,又可以提高其他需要的应用的运行速度,从而达到优化带宽配置、合理利用带宽的目的。
在本申请实施例中,根据识别的结果和检测的结果调整各种应用的带宽还可以包括:将已由本路由器分配了初始带宽,但未被识别出的应用的带宽调整为0。未被识别出的应用其实就是当前没有运行的应用,没有运行的应用是不需要带宽的,因此可以将当前没有运行的应用所分配到的初始带宽释放出来,以供当前正在运行的应用使用,这样可以合理利用带宽资源,提高当前正在运行的应用的速度,以提升用户上网体验。
这里通过一个具体应用示例来对本申请的路由器带宽管理方法作进一步说明。例如,用户使用迅雷等下载工具时,如果当前没有其他应用使用上网流量,则可将其他应用分配到的初始带宽释放,使迅雷占用所有带宽,这样可以大大提高下载的速度。如果检测到用户在使用迅雷等下载工具时,还正在观看视频、浏览网页等,则动态调整迅雷等下载工具占用的带宽,使用户可以正常观看视频、浏览网页。
本申请实施例的路由器带宽管理方法,能够根据对当前运行的应用的
类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
图2为本申请实施例二中路由器带宽管理方法的流程图。如图2所示,本实施例中,路由器带宽管理方法可以包括如下步骤:
步骤S201,按照预设的带宽分配方案,为预设的各类型应用分配初始带宽;
路由器在启动时,可以首先进行初始化,即按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。初始化时的带宽分配方案是预设好的,它规定了在初始化时给哪些应用分配带宽,以及分配的带宽多少。
步骤S202,按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;
步骤S203,利用数据包的标识检测当前正在运行的各种应用的当前数据流量;
步骤S204,根据步骤S202识别的结果和步骤S203检测的结果调整各种应用的带宽。
本实施例中,虽然步骤S201对各应用的带宽做了初始分配,但后续的步骤S202至步骤S204仍然根据当前运行的应用的类型识别和流量检测情况,动态地调整了各应用的带宽。
本申请实施例的路由器带宽管理方法,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
图3为本申请实施例三中路由器带宽管理装置的结构框图。图3所示的路由器带宽管理装置可以用于执行本申请前述图1所示实施例中的路由器带宽管理方法。
如图3所示,本实施例中,路由器带宽管理装置300可以包括识别模块310、检测模块320和调整模块330。识别模块310、检测模块320和调整模块330顺次相连。其中,识别模块310用于按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包
的标识不相同。检测模块320用于利用识别模块310设置的数据包的标识检测当前正在运行的各种应用的当前数据流量。调整模块330用于根据识别模块310识别的结果和检测模块320检测的结果调整各种应用的带宽。
在本申请实施例中,调整模块330可以包括增加单元。增加单元用于在被识别模块310识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。其中,上限百分比可以由用户或厂商设定,例如上限百分比可以是90%。当应用的当前数据流量超过分配到的初始带宽的设定上限百分比时,说明该应用的当前数据流量快要达到分配到的初始带宽的上限了。此时,该应用运行的速度就会减慢,产生“卡”的感觉,此时增加单元为该应用增加带宽可以提高该应用运行的速度,消除“卡”的现象。
在本申请实施例中,调整模块330还可以包括减少单元。减少单元用于在被识别模块310识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。其中,下限百分比可以由用户或厂商设定,例如下限百分比可以是10%。当应用的当前数据流量低于分配到的初始带宽的设定上限百分比时,说明该应用的当前数据流量快要达到分配到的初始带宽的下限了。此时,该应用所占用的带宽大部分处于闲置状态,因此可以将该应用所占用的带宽的一部分释放出来给其他需要的应用使用,这既可以避免带宽资源的浪费,又可以提高其他需要的应用的运行速度,从而达到优化带宽配置、合理利用带宽的目的。
其中,客户端是与本路由器相连的客户端,这些客户端通过本路由器与网络连通,从网络获取各种应用的数据。客户端的数量可以是一个也可以是多个。客户端可以是PC机、智能手机、平板电脑、笔记本电脑等。
其中,识别模块310可以根据不同应用的特征来识别相关应用。这些特征可以包括IP、端口PORT、域名以及一些关键字等。
在本申请实施例中,调整模块330还可以包括释放单元。释放单元用于将已由本路由器分配了初始带宽,但未被识别模块310识别出的应用的带宽调整为0。未被识别出的应用其实就是当前没有运行的应用,没有运行的应用是不需要带宽的,因此可以将当前没有运行的应用所分配到的初
始带宽释放出来,以供当前正在运行的应用使用,这样可以合理利用带宽资源,提高当前正在运行的应用的速度,以提升用户上网体验。
本申请实施例的路由器带宽管理装置,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
图4为本申请实施例四中路由器带宽管理装置的结构框图。图4所示的路由器带宽管理装置可以用于执行本申请前述图2所示实施例中的路由器带宽管理方法。
如图4所示,本实施例中,路由器带宽管理装置300可以包括初始化模块340、识别模块310、检测模块320和调整模块330。初始化模块340、识别模块310、检测模块320和调整模块330顺次相连。其中,识别模块310用于按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同。检测模块320用于利用识别模块310设置的数据包的标识检测当前正在运行的各种应用的当前数据流量。调整模块330用于根据识别模块310识别的结果和检测模块320检测的结果调整各种应用的带宽。初始化模块340与识别模块310相连,用于在识别模块310进行识别之前,按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
本实施例中,调整模块330也可以包括前述的增加单元、减少单元和释放单元。
本申请实施例的路由器带宽管理装置,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
图5为本申请实施例五中路由器的结构框图。如图5所示,本实施例中,路由器500包括路由器带宽管理装置300。其中,路由器带宽管理装置300可以是本申请前述实施例中的任一种路由器带宽管理装置。
路由器带宽管理装置300可以用于按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不
相同;利用;数据包的标识检测当前正在运行的各种应用的当前数据流量;根据识别;的结果和;检测的结果调整各种应用的带宽。
在本申请其他实施例中,路由器带宽管理装置300还可以用于在进行识别之前,按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
本申请实施例的路由器中包括路由器带宽管理装置,能够根据对当前运行的应用的类型识别和流量检测情况,动态地调整各应用的带宽,从而达到了根据实际需要优化带宽配置、合理利用带宽的效果,提升了用户上网体验。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (11)
- 一种路由器带宽管理方法,其特征在于,包括:按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识,其中,任意两种类型的应用的数据包的标识不相同;利用所述数据包的标识检测所述当前正在运行的各种应用的当前数据流量;根据所述识别的结果和所述检测的结果调整各种应用的带宽。
- 根据权利要求1所述的路由器带宽管理方法,其特征在于,在按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设置标识之前,还包括:按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
- 根据权利要求1所述的路由器带宽管理方法,其特征在于,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:在被识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。
- 根据权利要求1所述的路由器带宽管理方法,其特征在于,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:在被识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。
- 根据权利要求1所述的路由器带宽管理方法,其特征在于,所述根据所述识别的结果和所述检测的结果调整各种应用的带宽包括:将已由本路由器分配了初始带宽,但未被识别出的应用的带宽调整为0。
- 一种路由器带宽管理装置,其特征在于,包括:识别模块,用于按照设定时间间隔,识别与本路由器相连的客户端当前正在运行的各种应用的类型,并为识别出的每种类型的应用的数据包设 置标识,其中,任意两种类型的应用的数据包的标识不相同;检测模块,用于利用所述识别模块设置的数据包的标识检测所述当前正在运行的各种应用的当前数据流量;调整模块,用于根据所述识别模块识别的结果和所述检测模块检测的结果调整各种应用的带宽。
- 根据权利要求6所述的路由器带宽管理装置,其特征在于,还包括:初始化模块,与所述识别模块相连,用于在所述识别模块进行识别之前,按照预设的带宽分配方案,为预设的各类型应用分配初始带宽。
- 根据权利要求6所述的路由器带宽管理装置,其特征在于,所述调整模块包括:增加单元,用于在被所述识别模块识别出的一种类型的应用的当前数据流量超过本路由器为该类型应用分配的初始带宽的设定上限百分比的情况下,增加该类型应用的带宽。
- 根据权利要求6所述的路由器带宽管理装置,其特征在于,所述调整模块包括:减少单元,用于在被所述识别模块识别出的一种类型的应用的当前数据流量低于本路由器为该类型应用分配的初始带宽的设定下限百分比的情况下,减少该类型应用的带宽。
- 根据权利要求6所述的路由器带宽管理装置,其特征在于,所述调整模块包括:释放单元,用于将已由本路由器分配了初始带宽,但未被所述识别模块识别出的应用的带宽调整为0。
- 一种路由器,其特征在于,包括权利要求6至10任一项所述的路由器带宽管理装置。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510867158.3A CN105871753A (zh) | 2015-11-30 | 2015-11-30 | 路由器带宽管理方法、装置及路由器 |
| CN201510867158.3 | 2015-11-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017092275A1 true WO2017092275A1 (zh) | 2017-06-08 |
Family
ID=56623994
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/084991 Ceased WO2017092275A1 (zh) | 2015-11-30 | 2016-06-06 | 路由器带宽管理方法、装置及路由器 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105871753A (zh) |
| WO (1) | WO2017092275A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3876485A4 (en) * | 2018-11-07 | 2021-12-22 | Wangsu Science & Technology Co., Ltd. | NOMINAL BANDWIDTH ADJUSTMENT METHOD AND DEVICE |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108566286B (zh) * | 2017-12-29 | 2021-08-03 | 惠州Tcl移动通信有限公司 | 一种智能路由器服务质量的实现方法、路由器及电子设备 |
| CN109495518A (zh) * | 2019-01-10 | 2019-03-19 | 王艳 | 网络访问权限管理系统 |
| CN109951316B (zh) * | 2019-02-19 | 2022-04-29 | 腾讯科技(深圳)有限公司 | 应用程序的管理方法、装置、计算机可读介质及电子设备 |
| WO2020181534A1 (zh) * | 2019-03-13 | 2020-09-17 | 深圳市柔宇科技有限公司 | 连接控制方法、路由器及计算机可读存储介质 |
| CN119211103B (zh) * | 2024-11-25 | 2025-02-14 | 北京格如灵科技有限公司 | 一种网络文件部署方法及系统 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1107509A2 (en) * | 1999-12-02 | 2001-06-13 | Hitachi, Ltd. | System, apparatus and method for controlling the communication quality of a network |
| CN101719870A (zh) * | 2009-11-25 | 2010-06-02 | 中国电信股份有限公司 | 共享带宽接入互联网用户的带宽分配方法和装置 |
| CN102158404A (zh) * | 2011-03-25 | 2011-08-17 | 成都飞鱼星科技开发有限公司 | 一种交互式网络流量智能控制系统及其实现方法 |
| CN104038442A (zh) * | 2014-06-11 | 2014-09-10 | 普联技术有限公司 | 一种带宽分配的方法及路由器 |
| CN104243332A (zh) * | 2013-06-20 | 2014-12-24 | 上海博达数据通信有限公司 | 基于dpi识别的分通道应用流量控制方法 |
| CN104780149A (zh) * | 2014-08-28 | 2015-07-15 | 苏州优势讯通互联网科技有限公司 | 一种无线路由器智能业务质量管理方法 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2750345C (en) * | 2011-08-24 | 2013-06-18 | Guest Tek Interactive Entertainment Ltd. | Method of allocating bandwidth between zones according to user load and bandwidth management system thereof |
| CN103986715B (zh) * | 2014-05-21 | 2017-10-03 | 海信集团有限公司 | 一种网络流量控制的方法及装置 |
| CN104468411A (zh) * | 2014-11-28 | 2015-03-25 | 东莞宇龙通信科技有限公司 | 一种带宽分配方法、装置及路由器 |
| CN104994037A (zh) * | 2015-07-07 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | 一种带宽自动分配系统及分配方法 |
-
2015
- 2015-11-30 CN CN201510867158.3A patent/CN105871753A/zh active Pending
-
2016
- 2016-06-06 WO PCT/CN2016/084991 patent/WO2017092275A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1107509A2 (en) * | 1999-12-02 | 2001-06-13 | Hitachi, Ltd. | System, apparatus and method for controlling the communication quality of a network |
| CN101719870A (zh) * | 2009-11-25 | 2010-06-02 | 中国电信股份有限公司 | 共享带宽接入互联网用户的带宽分配方法和装置 |
| CN102158404A (zh) * | 2011-03-25 | 2011-08-17 | 成都飞鱼星科技开发有限公司 | 一种交互式网络流量智能控制系统及其实现方法 |
| CN104243332A (zh) * | 2013-06-20 | 2014-12-24 | 上海博达数据通信有限公司 | 基于dpi识别的分通道应用流量控制方法 |
| CN104038442A (zh) * | 2014-06-11 | 2014-09-10 | 普联技术有限公司 | 一种带宽分配的方法及路由器 |
| CN104780149A (zh) * | 2014-08-28 | 2015-07-15 | 苏州优势讯通互联网科技有限公司 | 一种无线路由器智能业务质量管理方法 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3876485A4 (en) * | 2018-11-07 | 2021-12-22 | Wangsu Science & Technology Co., Ltd. | NOMINAL BANDWIDTH ADJUSTMENT METHOD AND DEVICE |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105871753A (zh) | 2016-08-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017092275A1 (zh) | 路由器带宽管理方法、装置及路由器 | |
| US9986061B2 (en) | Programming a data network device using user defined scripts | |
| KR100959523B1 (ko) | 사용자를 위한 서비스 품질 관리 방법 및 이를 수행하기위한 시스템 | |
| JP6162337B2 (ja) | アプリケーションアウェアネットワーク管理 | |
| US9967237B2 (en) | Systems and methods for implementing a layer two tunnel for personalized service functions | |
| US9674112B2 (en) | Application aware network virtualization | |
| US10701582B2 (en) | Dynamic application QoS profile provisioning | |
| US20170357528A1 (en) | Customer premises equipment (cpe) with device slicing | |
| TW201517563A (zh) | 雲閘道、雲閘道創建配置系統及方法 | |
| EP3562099A1 (en) | Scheduling method, system, controller and computer storage medium | |
| WO2011059770A2 (en) | Smart client routing | |
| WO2013174178A1 (zh) | 一种管理虚拟网络服务的方法、装置和系统 | |
| CN106533973A (zh) | 分发业务消息的方法、设备和系统 | |
| CN113014680B (zh) | 一种宽带接入的方法、装置、设备和存储介质 | |
| CN105516122A (zh) | 具有分等级配置的加速策略的网络传输加速方法和系统 | |
| WO2016086544A1 (zh) | 网络设备的网口配置方法、装置及存储介质 | |
| WO2011072583A1 (zh) | 用户接入方法、系统及接入服务器、接入设备 | |
| CN103095836B (zh) | 互联网应用服务质量的调整方法及装置、系统 | |
| US20200267116A1 (en) | Internet protocol version six address management | |
| CN104469406A (zh) | 一种网络资源的处理方法及装置 | |
| CN104486245A (zh) | 一种流量控制方法、系统及网关设备 | |
| CN111654863B (zh) | 基于双ap独立网桥的物联网配网方法及系统 | |
| Ghorab et al. | SDN-Based Service Function Chaining in Kubernetes Using Network Service Mesh with Kernel-type Network Interfaces for Industrial IoT | |
| CN113904871A (zh) | 网络切片的接入方法、pcf实体、终端和通信系统 | |
| US10122571B2 (en) | Autoclassification of network interfaces based on name |
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: 16869588 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: 16869588 Country of ref document: EP Kind code of ref document: A1 |