[go: up one dir, main page]

CN100426766C - Method and apparatus for starting client bandwidth adjustment - Google Patents

Method and apparatus for starting client bandwidth adjustment Download PDF

Info

Publication number
CN100426766C
CN100426766C CNB2004100823630A CN200410082363A CN100426766C CN 100426766 C CN100426766 C CN 100426766C CN B2004100823630 A CNB2004100823630 A CN B2004100823630A CN 200410082363 A CN200410082363 A CN 200410082363A CN 100426766 C CN100426766 C CN 100426766C
Authority
CN
China
Prior art keywords
bandwidth
network
bandwidth adjustment
user
authentication information
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.)
Expired - Lifetime
Application number
CNB2004100823630A
Other languages
Chinese (zh)
Other versions
CN1801748A (en
Inventor
胡立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100823630A priority Critical patent/CN100426766C/en
Publication of CN1801748A publication Critical patent/CN1801748A/en
Application granted granted Critical
Publication of CN100426766C publication Critical patent/CN100426766C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种发起客户端带宽调整的方法,该方法包含:用户向网络发起连接请求,并提供鉴权信息,客户端存储该鉴权信息,用户接入网络;判断是否需要发起带宽调整,如果是,则向网络发起携带有鉴权信息的带宽调整请求;否则,继续判断是否需要发起带宽调整。本发明还公开了一种发起客户端带宽调整的装置,该装置包括:输入单元,用于用户输入鉴权信息,并发送至网络连接单元;网络连接单元,用于向网络发送携带有鉴权信息的连接请求,接入互联网;带宽调整单元,用于向网络发起携带有鉴权信息的带宽调整请求。根据本发明提出的方案,可根据设定的条件或用户的需求,调整用户接入互联网的带宽,为上网用户节省时间和上网费用。

Figure 200410082363

The invention discloses a method for initiating bandwidth adjustment of a client. The method includes: a user initiates a connection request to the network and provides authentication information, the client stores the authentication information, and the user accesses the network; judging whether to initiate bandwidth adjustment , if yes, initiate a bandwidth adjustment request carrying authentication information to the network; otherwise, continue to determine whether to initiate bandwidth adjustment. The present invention also discloses a device for initiating client bandwidth adjustment, which includes: an input unit for users to input authentication information and send it to a network connection unit; a network connection unit for sending authentication information to the network The information connection request is to access the Internet; the bandwidth adjustment unit is used to initiate a bandwidth adjustment request carrying authentication information to the network. According to the solution proposed by the present invention, the bandwidth for users to access the Internet can be adjusted according to the set conditions or user requirements, saving time and Internet access fees for Internet users.

Figure 200410082363

Description

一种发起客户端带宽调整的方法及装置 A method and device for initiating client bandwidth adjustment

技术领域 technical field

本发明涉及网络通信技术,特别是指一种发起客户端带宽调整的方法及装置。The present invention relates to network communication technology, in particular to a method and device for initiating client bandwidth adjustment.

背景技术 Background technique

互联网接入服务供应商(ISP,Internet Service Provider)为用户提供互联网的宽带接入服务,并根据用户的数据流量或使用时间长度对用户进行计费,这就是一般所说的上网。由于数据流量对于用户是比较抽象的,非常难以理解,因此,ISP大多采用根据使用时间长度进行计费的方式,例如,每月累计上网时间长度小于或等于60个小时,上网费用为90元,超过60小时的部分按照每分钟0.05元计费。部分ISP还可为用户提供带宽选择,并为不同带宽选择限制最高带宽,例如,每月不限制上网时间长度、最高带宽为每秒512千字节(Kbits),上网费用为100元;每月不限制上网时间长度、最高带宽为每秒2兆字节(Mbits),上网费用为200元。Internet access service provider (ISP, Internet Service Provider) provides users with Internet broadband access services, and bills users according to their data traffic or usage time, which is generally referred to as surfing the Internet. Since the data traffic is relatively abstract for users, it is very difficult to understand. Therefore, most ISPs use the method of billing according to the length of use. For example, if the cumulative online time per month is less than or equal to 60 hours, the online fee is 90 yuan. The part exceeding 60 hours is billed at 0.05 yuan per minute. Some ISPs can also provide users with bandwidth choices, and limit the maximum bandwidth for different bandwidth choices. For example, there is no limit to the length of Internet access per month, the maximum bandwidth is 512 kilobytes (Kbits) per second, and the Internet access fee is 100 yuan; There is no limit to the length of time spent on the Internet, the maximum bandwidth is 2 megabytes (Mbits) per second, and the Internet access fee is 200 yuan.

图1示出了用户接入互联网示意图,如图1所示,用户使用上网设备等客户端上网时,客户端中的网络连接模块向接入服务器(BAS,BroadbandAccess Server)发送连接请求,接入服务器请求鉴权授权计费(AAA,Authentication,Authorization and Accounting)服务器对用户进行鉴权;AAA服务器中集中存储用户数据,根据存储的用户数据对用户进行鉴权。如果用户通过AAA服务器的鉴权,则AAA服务器向接入服务器下发带宽信息,接入服务器根据该带宽信息控制用户接入互联网的最高带宽,为用户提供流量和时间长度的计费服务,使得客户端通过接入服务器接入到互联网中。接入服务器对数据包进行计量和控制,从而实现对不同用户的计费。如果用户未通过AAA服务器的鉴权,则AAA服务器通知接入服务器拒绝用户与互联网建立连接。用户开始接入互联网到与互联网终止连接,接入服务器都会通知AAA服务器,AAA服务器会生成用户接入互联网的相应记录,如时间长度、数据流量等。Figure 1 shows a schematic diagram of a user accessing the Internet. As shown in Figure 1, when a user uses a client such as an Internet access device to access the Internet, the network connection module in the client sends a connection request to the access server (BAS, Broadband Access Server), and the access The server requests the AAA, Authentication, Authorization and Accounting (AAA, Authentication, Authorization and Accounting) server to authenticate the user; the AAA server centrally stores user data, and authenticates the user according to the stored user data. If the user passes the authentication of the AAA server, the AAA server sends bandwidth information to the access server, and the access server controls the highest bandwidth for the user to access the Internet according to the bandwidth information, and provides the user with traffic and time length billing services, so that The client accesses the Internet through the access server. The access server measures and controls the data packets, so as to realize the charging of different users. If the user fails the authentication of the AAA server, the AAA server notifies the access server to reject the user from establishing a connection with the Internet. The access server will notify the AAA server from the time the user starts to access the Internet to the termination of the connection with the Internet, and the AAA server will generate corresponding records of the user's access to the Internet, such as the length of time, data flow, etc.

另外,AAA服务器可不需要接入服务器的请求,就主动向接入服务器下发相关信息,如用户接入互联网的带宽,改变接入服务器对用户接入互联网的控制,从而实现动态实时地改变用户接入互联网的带宽。In addition, the AAA server can actively send relevant information to the access server without requesting the access server, such as the bandwidth of the user's access to the Internet, and change the access server's control over the user's access to the Internet, thereby realizing dynamic and real-time change of the user's access to the Internet. Internet access bandwidth.

ISP也为用户提供接入互联网带宽的调整方法,如图2所示,用户需要调整接入互联网的带宽时,可登录运营商提供的万维网(Web)服务器,输入自身的认证信息,用户通过Web服务器的鉴权认证后,将用户调整带宽的请求转发至AAA服务器,然后AAA服务器将需要调整的带宽下发至接入服务器,接入服务器调整用户接入互联网的带宽,从而实现对带宽的调整。但是,这种用户调整接入互联网带宽的方法,需要用户登录Web服务器并输入相关认证信息,以对用户的身份进行鉴权;而且带宽调整是由用户本身发起的,具有很大的主观性,很可能当前的带宽调整并不符合上网情况的要求。The ISP also provides users with a method for adjusting the Internet access bandwidth. As shown in Figure 2, when the user needs to adjust the Internet access bandwidth, he can log in to the World Wide Web (Web) server provided by the operator and enter his own authentication information. After the authentication and authentication of the server, the user's bandwidth adjustment request is forwarded to the AAA server, and then the AAA server sends the bandwidth to be adjusted to the access server, and the access server adjusts the bandwidth of the user's access to the Internet, thereby realizing the adjustment of the bandwidth . However, this method for the user to adjust the bandwidth of access to the Internet requires the user to log in to the Web server and input relevant authentication information to authenticate the user's identity; and the bandwidth adjustment is initiated by the user itself, which is highly subjective. It is likely that the current bandwidth adjustment does not meet the requirements of the Internet situation.

发明内容 Contents of the invention

有鉴于此,本发明的一个目的在于提供一种发起客户端带宽调整的方法,本发明的另一目的在于提供一种发起客户端带宽调整的装置,使得客户端能够自动发起接入互联网的带宽调整。In view of this, an object of the present invention is to provide a method for initiating client bandwidth adjustment, and another object of the present invention is to provide a device for initiating client bandwidth adjustment, so that the client can automatically initiate bandwidth access to the Internet Adjustment.

为了达到上述目的,本发明提供了一种调整客户端带宽的方法,该方法包含:In order to achieve the above object, the present invention provides a method for adjusting client bandwidth, which method includes:

A、用户向网络发起连接请求,并提供鉴权信息,客户端存储该鉴权信息,用户接入网络;A. The user initiates a connection request to the network and provides authentication information, the client stores the authentication information, and the user accesses the network;

B、客户端判断是否需要发起带宽调整,如果是,则执行步骤C,否则,返回执行步骤B;B. The client judges whether it is necessary to initiate bandwidth adjustment, and if yes, execute step C, otherwise, return to execute step B;

C、客户端向网络发起携带有鉴权信息的带宽调整请求。C. The client sends a bandwidth adjustment request carrying authentication information to the network.

步骤B中所述判断是否需要发起带宽调整为:判断用户当前的上网情况是否满足设定的上网情况,如果是,则执行步骤C;否则,返回执行步骤B。The determination in step B of whether to initiate bandwidth adjustment is as follows: determine whether the user’s current online status satisfies the set online status, if yes, perform step C; otherwise, return to step B.

所述步骤B之前进一步包括:客户端检测用户的上网情况。Before the step B, it further includes: the client detects the user's online status.

步骤B中所述判断用户当前的上网情况是否满足设定的上网情况为:对确定时间长度内收到的数据包进行统计,然后根据该统计结果计算实际的数据流量,将该数据流量与当前选择的最高带宽进行比较,判断该数据流量与当前选择最高带宽的比值是否达到设定比例,如果是,则执行步骤C,否则,返回执行步骤B;Judging whether the current online status of the user satisfies the set online status as described in step B is: counting the data packets received within a certain period of time, then calculating the actual data flow according to the statistical results, and comparing the data flow with the current Compare the selected highest bandwidth to determine whether the ratio of the data flow to the currently selected highest bandwidth reaches the set ratio, if yes, execute step C, otherwise, return to execute step B;

所述步骤C为:向网络发起带宽调高的请求。The step C is: initiate a bandwidth increase request to the network.

步骤B中所述判断用户当前的上网情况是否满足设定的上网情况为:对确定时间长度内收到的数据包进行统计,然后根据该统计结果计算实际的数据流量,将该数据流量与当前选择的最高带宽进行比较,判断该数据流量与当前选择最高带宽是否小于设定比例,如果是,则执行步骤C,否则,返回执行步骤B;Judging whether the current online status of the user satisfies the set online status as described in step B is: counting the data packets received within a certain period of time, then calculating the actual data flow according to the statistical results, and comparing the data flow with the current Compare the selected highest bandwidth to determine whether the data flow and the currently selected highest bandwidth are less than the set ratio, if yes, execute step C, otherwise, return to execute step B;

所述步骤C为:向网络发起带宽调低的请求。The step C is: initiate a bandwidth reduction request to the network.

所述步骤B之前进一步包括:用户发起带宽调整。Before the step B, it further includes: the user initiates bandwidth adjustment.

步骤B所述执行步骤C之前进一步包括:客户端通知用户当前需要进行带宽调整,用户确定需要进行带宽调整操作。Step B before performing step C further includes: the client notifies the user that bandwidth adjustment is currently required, and the user determines that bandwidth adjustment is required.

所述步骤B之前进一步包括:用户选择需要调整的带宽;Before the step B, it further includes: the user selects the bandwidth to be adjusted;

所述步骤C为:向网络发起携带有鉴权信息和所述带宽的带宽调整请求。The step C is: initiate a bandwidth adjustment request carrying authentication information and the bandwidth to the network.

所述步骤C之后进一步包括:如果用户通过网络的鉴权,调整用户接入互联网的带宽。After the step C, it further includes: if the user passes the authentication of the network, adjusting the bandwidth for the user to access the Internet.

所述鉴权信息为:用户名和密码,或会话号。The authentication information is: user name and password, or session number.

本发明还提供了一种调整客户端带宽的装置,该装置置于客户端包括:The present invention also provides a device for adjusting the bandwidth of the client, the device placed on the client includes:

输入单元,用于用户输入鉴权信息,并发送至网络连接单元;The input unit is used for the user to input authentication information and send it to the network connection unit;

网络连接单元,用于向网络发送携带有鉴权信息的连接请求,接入互联网;A network connection unit, configured to send a connection request carrying authentication information to the network to access the Internet;

带宽调整单元,用于在需要发起带宽调整时向网络发起携带有鉴权信息的带宽调整请求。The bandwidth adjustment unit is configured to initiate a bandwidth adjustment request carrying authentication information to the network when bandwidth adjustment needs to be initiated.

所述输入单元进一步用于输入带宽信息。The input unit is further used for inputting bandwidth information.

所述输入单元进一步用于存储鉴权信息,在带宽调整单元向网络发起带宽调整请求时,提供给带宽调整单元。The input unit is further used to store authentication information, and provide it to the bandwidth adjustment unit when the bandwidth adjustment unit initiates a bandwidth adjustment request to the network.

所述带宽调整单元用于存储鉴权信息,在向网络发起带宽调整请求时提供给网络。The bandwidth adjustment unit is used to store authentication information and provide it to the network when a bandwidth adjustment request is initiated to the network.

该装置进一步包括:网络检测单元,用于检测用户的上网情况,判断是否需要通知带宽调整单元向网络发起带宽调整请求;The device further includes: a network detection unit, which is used to detect the user's online status, and judge whether it is necessary to notify the bandwidth adjustment unit to initiate a bandwidth adjustment request to the network;

所述带宽调整单元,用于根据网络检测单元的通知,向网络发起携带有鉴权信息的带宽调整请求。The bandwidth adjustment unit is configured to initiate a bandwidth adjustment request carrying authentication information to the network according to the notification of the network detection unit.

所述鉴权信息由输入单元提供,带宽调整单元存储。The authentication information is provided by the input unit and stored by the bandwidth adjustment unit.

根据本发明提出的方案,网络连接调整模块实时检测用户的上网情况,判断是否需要发起带宽调整,如果是,则向网络发起带宽调整,以使网络对用户接入互联网的带宽进行调整,从而根据设定的条件或用户的需求,调整用户接入互联网的带宽,为上网用户节省时间和上网费用。According to the solution proposed by the present invention, the network connection adjustment module detects the user's online status in real time, judges whether it is necessary to initiate bandwidth adjustment, and if so, initiates bandwidth adjustment to the network, so that the network can adjust the bandwidth of the user's Internet access, thereby According to the set conditions or user's needs, adjust the user's access to the Internet bandwidth, saving time and Internet access fees for Internet users.

附图说明 Description of drawings

图1示出了用户接入互联网示意图;Figure 1 shows a schematic diagram of a user accessing the Internet;

图2示出了用户调整接入互联网带宽示意图;Fig. 2 shows a schematic diagram of user's adjustment of Internet access bandwidth;

图3示出了本发明中带宽调整示意图;Fig. 3 shows a schematic diagram of bandwidth adjustment in the present invention;

图4示出了网络连接调整模块结构示意图;FIG. 4 shows a schematic structural diagram of a network connection adjustment module;

图5示出了发起客户端带宽调整流程图。Fig. 5 shows a flow chart of initiating client bandwidth adjustment.

具体实施方式 Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

图3示出了本发明中带宽调整示意图,如图3所示,客户端中的网络连接调整模块向接入服务器发送连接请求,接入服务器请求AAA服务器对用户进行鉴权;AAA服务器根据存储的用户数据对用户进行鉴权。如果用户通过AAA服务器的鉴权,则AAA服务器向接入服务器下发带宽信息,接入服务器根据该带宽信息控制用户接入互联网的最高带宽,为用户提供流量和时间长度的计费服务,使得客户端通过接入服务器接入到互联网中。网络连接调整模块实时检测用户的上网情况,判断是否需要发起带宽调整,如果是,则向网络发起带宽调整,网络对用户接入互联网的带宽进行调整。Fig. 3 shows a schematic diagram of bandwidth adjustment in the present invention. As shown in Fig. 3, the network connection adjustment module in the client sends a connection request to the access server, and the access server requests the AAA server to authenticate the user; User data to authenticate users. If the user passes the authentication of the AAA server, the AAA server sends bandwidth information to the access server, and the access server controls the highest bandwidth for the user to access the Internet according to the bandwidth information, and provides the user with traffic and time length billing services, so that The client accesses the Internet through the access server. The network connection adjustment module detects the user's online status in real time, and judges whether it is necessary to initiate bandwidth adjustment, and if so, initiates bandwidth adjustment to the network, and the network adjusts the bandwidth of the user's access to the Internet.

网络连接调整模块的具体结构如图4所示,包括输入单元、网络连接单元、网络检测单元和带宽调整单元,其中,输入单元用于为用户提供操作界面,如输入用户名和密码等鉴权信息,输入带宽信息等,将用户的输入信息提供至网络连接单元,输入单元可进一步用于将鉴权信息提供至带宽调整单元,如用户通过鉴权后,输入单元将鉴权信息发送至带宽调整单元;网络连接单元用于向接入服务器发起连接请求,并将来自输入单元的鉴权信息发送至接入服务器,由网络对用户进行鉴权,用户通过鉴权后,用于与接入服务器相配合,使用户接入互联网;网络检测单元用于检测用户的上网情况,如单位时间内的数据流量、实际数据流量达到最高带宽的比例、一定时间长度内的数据流量等等,在当前条件满足设定条件时,通知带宽调整单元发起用户接入互联网带宽的调整;带宽调整单元用于向接入服务器或位于网络侧的带宽调整服务器发起带宽调整请求,带宽调整单元可进一步用于向接入服务器或带宽调整服务器发送用户的鉴权信息,带宽调整单元还可进一步用于向用户发出提示,由用户确定当前是否需要调整接入互联网的带宽,用户确定需要调整接入互联网的带宽后,可进一步将选择的带宽通过输入单元发送至带宽调整单元。以上所述的设定条件可为用户设置的条件,也可为运营商设置的条件。所述的带宽调整服务器可为Web服务器,也可为非Web服务器。The specific structure of the network connection adjustment module is shown in Figure 4, including an input unit, a network connection unit, a network detection unit and a bandwidth adjustment unit, wherein the input unit is used to provide the user with an operation interface, such as inputting authentication information such as user name and password , input bandwidth information, etc., provide the user’s input information to the network connection unit, and the input unit can be further used to provide authentication information to the bandwidth adjustment unit, such as after the user passes the authentication, the input unit sends the authentication information to the bandwidth adjustment unit unit; the network connection unit is used to initiate a connection request to the access server, and send the authentication information from the input unit to the access server, and the network authenticates the user. After the user passes the authentication, it is used to communicate with the access server Cooperate with each other to enable users to access the Internet; the network detection unit is used to detect the user's online status, such as the data flow per unit time, the proportion of actual data flow reaching the highest bandwidth, the data flow within a certain period of time, etc., under the current conditions When the setting conditions are satisfied, the bandwidth adjustment unit is notified to initiate the adjustment of the user's access to the Internet bandwidth; The access server or the bandwidth adjustment server sends the authentication information of the user, and the bandwidth adjustment unit can further be used to send a prompt to the user, and the user determines whether the bandwidth for accessing the Internet needs to be adjusted currently. After the user determines that the bandwidth for accessing the Internet needs to be adjusted, The selected bandwidth may be further sent to the bandwidth adjustment unit through the input unit. The above-mentioned setting conditions may be conditions set by the user, and may also be conditions set by the operator. The bandwidth adjustment server can be a web server or a non-web server.

图5示出了发起客户端带宽调整流程图,如图5所示,发起客户端带宽调整的实现过程包括以下步骤:Figure 5 shows a flowchart of initiating client bandwidth adjustment, as shown in Figure 5, the implementation process of initiating client bandwidth adjustment includes the following steps:

步骤501:用户通过输入单元将鉴权信息发送至网络连接单元,网络连接单元向接入服务器发送携带有该鉴权信息的连接请求,接入服务器请求AAA服务器对用户进行鉴权,用户通过鉴权后接入互联网。Step 501: The user sends the authentication information to the network connection unit through the input unit, and the network connection unit sends a connection request carrying the authentication information to the access server, and the access server requests the AAA server to authenticate the user, and the user passes the authentication After accessing the Internet.

用户通过鉴权后,输入单元可将鉴权信息发送至带宽调整单元,带宽调整单元可对收到的鉴权信息进行存储,并在请求网络调整带宽时提供给网络,以使网络能够对用户进行进一步鉴权;也可由输入单元存储用户的鉴权信息,然后在带宽调整单元请求网络调整带宽时,通过输入单元获取该鉴权信息,并提供给网络对用户进行鉴权。After the user passes the authentication, the input unit can send the authentication information to the bandwidth adjustment unit, and the bandwidth adjustment unit can store the received authentication information and provide it to the network when requesting the network to adjust the bandwidth, so that the network can adjust the bandwidth of the user. Perform further authentication; the input unit can also store the user's authentication information, and then when the bandwidth adjustment unit requests the network to adjust the bandwidth, the authentication information is obtained through the input unit and provided to the network for user authentication.

步骤502~步骤503:用户上网过程中,网络检测单元对用户的上网情况进行检测,如检测单位时间内的数据流量、实际数据流量达到最高带宽的比例、一定时间长度内的数据流量等等,判断当前条件是否满足设定条件,如果是,则执行步骤504;否则,返回执行步骤502。Steps 502 to 503: During the user's online access process, the network detection unit detects the user's online status, such as detecting the data flow per unit time, the proportion of the actual data flow reaching the highest bandwidth, the data flow within a certain period of time, etc., Judging whether the current condition satisfies the set condition, if yes, execute step 504; otherwise, return to execute step 502.

步骤504~步骤505:网络检测单元通知带宽调整单元向网络发起用户接入互联网带宽的调整,带宽调整单元向接入服务器或带宽调整服务器发送带宽调整请求。接入服务器或带宽调整服务器收到带宽调整请求后,对用户接入互联网的带宽进行调整。Steps 504 to 505: the network detection unit notifies the bandwidth adjustment unit to initiate the adjustment of the user's Internet access bandwidth to the network, and the bandwidth adjustment unit sends a bandwidth adjustment request to the access server or the bandwidth adjustment server. After receiving the bandwidth adjustment request, the access server or the bandwidth adjustment server adjusts the bandwidth for the user to access the Internet.

带宽调整单元向接入服务器或带宽调整服务器发送带宽调整请求之前,可将当前需要调整带宽的情况通知用户,由用户确定是否需要调整带宽,如果用户选择带宽调整,则带宽调整单元向接入服务器或带宽调整服务器发送带宽调整请求,如果用户选择不进行带宽调整,则带宽调整单元不向接入服务器或带宽调整服务器发送带宽调整请求。用户还可通过输入单元将其期望调整的带宽发送至带宽调整单元,由带宽调整单元将该带宽携带在带宽调整请求中发送至接入服务器或带宽调整服务器。Before the bandwidth adjustment unit sends a bandwidth adjustment request to the access server or the bandwidth adjustment server, the user can be notified of the current situation that needs to adjust the bandwidth, and the user determines whether the bandwidth needs to be adjusted. If the user selects bandwidth adjustment, the bandwidth adjustment unit sends the request to the access server. Or the bandwidth adjustment server sends a bandwidth adjustment request, and if the user chooses not to perform bandwidth adjustment, the bandwidth adjustment unit does not send the bandwidth adjustment request to the access server or the bandwidth adjustment server. The user can also send the desired bandwidth to the bandwidth adjustment unit through the input unit, and the bandwidth adjustment unit carries the bandwidth in the bandwidth adjustment request and sends it to the access server or the bandwidth adjustment server.

在带宽调整单元请求网络调整带宽时,网络可进一步对用户进行鉴权,此时,带宽调整单元可向接入服务器或带宽调整服务器发送携带有鉴权信息的带宽调整请求,接入服务器或带宽调整服务器请求AAA服务器对用户进行鉴权,用户通过鉴权后,接入服务器或带宽调整服务器对用户接入互联网的带宽进行调整。另外,由于用户接入互联网后,会生成与网络建立连接的会话号,这样,带宽调整单元也可向接入服务器或带宽调整服务器发送携带有会话号的带宽调整请求,接入服务器或带宽调整服务器请求AAA服务器对用户进行鉴权,用户通过鉴权后,接入服务器或带宽调整服务器对用户接入互联网的带宽进行调整。也可由输入单元对用户的鉴权信息进行存储,在带宽调整单元向网络发起带宽调整请求时,提供给带宽调整单元。When the bandwidth adjustment unit requests the network to adjust the bandwidth, the network can further authenticate the user. At this time, the bandwidth adjustment unit can send a bandwidth adjustment request carrying authentication information to the access server or the bandwidth adjustment server. The adjustment server requests the AAA server to authenticate the user, and after the user passes the authentication, the access server or the bandwidth adjustment server adjusts the bandwidth for the user to access the Internet. In addition, since the user will generate a session number to establish a connection with the network after accessing the Internet, the bandwidth adjustment unit can also send a bandwidth adjustment request carrying the session number to the access server or the bandwidth adjustment server, and the access server or bandwidth adjustment The server requests the AAA server to authenticate the user, and after the user passes the authentication, the access server or the bandwidth adjustment server adjusts the bandwidth for the user to access the Internet. The user authentication information may also be stored by the input unit, and provided to the bandwidth adjustment unit when the bandwidth adjustment unit initiates a bandwidth adjustment request to the network.

此外,可预先设置当前条件与需要调整带宽之间的对应关系,这样,在网络检测单元检测到需要调整带宽时,可进一步向带宽调整单元提供需要调整的带宽,然后将该需要调整的带宽携带在带宽调整单元向接入服务器或带宽调整服务器发送的带宽调整请求中。In addition, the corresponding relationship between the current conditions and the bandwidth to be adjusted can be set in advance, so that when the network detection unit detects that the bandwidth needs to be adjusted, it can further provide the bandwidth to be adjusted to the bandwidth adjustment unit, and then carry the bandwidth to be adjusted In the bandwidth adjustment request sent by the bandwidth adjustment unit to the access server or the bandwidth adjustment server.

网络检测单元对用户上网情况进行检测的具体步骤可为:对一定时间长度内收到的数据包进行统计,如5分钟,并根据该统计结果计算实际的数据流量;将实际数据流量与当前选择的最高带宽进行比较,如果实际数据流量比较接近当前选择的最高带宽,如实际数据流量达到当前选择的最高带宽的80%,即可确定当前需要将带宽调整得高一些;根据设置的设定条件,在需要调整带宽时,通知带宽调整单元向网络发起带宽调整,表一为设定条件的示意内容。The specific steps for the network detection unit to detect the user's online status can be: count the data packets received within a certain period of time, such as 5 minutes, and calculate the actual data flow according to the statistical results; compare the actual data flow with the currently selected If the actual data traffic is relatively close to the currently selected maximum bandwidth, such as the actual data traffic reaches 80% of the currently selected maximum bandwidth, it can be determined that the current bandwidth needs to be adjusted higher; according to the set conditions , when the bandwidth needs to be adjusted, the bandwidth adjustment unit is notified to initiate bandwidth adjustment to the network, and Table 1 shows the content of setting conditions.

  当前选择的最高带宽 The highest bandwidth currently selected   统计的时间长度 The length of time for statistics   实际数据流量达到最高带宽的比例 The proportion of actual data traffic reaching the highest bandwidth   512K 512K   5秒钟 5 seconds   >70% >70%   调整调高带宽 Adjust the bandwidth   512K 512K   30分钟 30 minutes   >50% >50%   调整调高带宽 Adjust the bandwidth   512K 512K   5分钟 5 minutes   <30% <30%   调整调低带宽 Adjust lower bandwidth   512K 512K   10分钟 10 minutes   <20% <20%   调整调低带宽 Adjust lower bandwidth   2M 2M   5秒钟 5 seconds   <5% <5%   调整调低带宽 Adjust lower bandwidth

表一Table I

根据表一所示内容举例如下:用户上网下载文件,在开始下载文件的5分钟内,下载速度较慢,实际数据流量达到400K,当前选择的最高带宽为512K,实际数据流量达到当前选择最高带宽的比例为400K/512K=78%,超过设定的70%,此时网络检测单元通知带宽调整单元向网络发起带宽调高,网络将带宽调高至2M,这样,文件下载速度加快,实际数据流量达到1.8M,实际数据流量达到当前选择最高带宽的比例为1.8M/2M=90%,根据设定条件,2M带宽时,实际数据流量达到最高带宽的70%,也无需通知带宽调整单元,保持当前选择带宽2M不变,完成文件下载,实际数据流量小于当前选择带宽2M的5%,此时网络检测单元通知带宽调整单元向网络发起带宽调低,网络将带宽调低至512K,以节省用户的上网费用。According to the content shown in Table 1, an example is as follows: a user downloads a file online. Within 5 minutes of starting to download the file, the download speed is slow, the actual data flow reaches 400K, the currently selected maximum bandwidth is 512K, and the actual data flow reaches the currently selected maximum bandwidth The ratio is 400K/512K=78%, which exceeds the set 70%. At this time, the network detection unit notifies the bandwidth adjustment unit to initiate a bandwidth increase to the network, and the network increases the bandwidth to 2M. In this way, the file download speed is accelerated, and the actual data When the traffic reaches 1.8M, the ratio of the actual data traffic to the highest bandwidth currently selected is 1.8M/2M=90%. According to the set conditions, when the bandwidth is 2M, the actual data traffic reaches 70% of the highest bandwidth, and there is no need to notify the bandwidth adjustment unit. Keep the currently selected bandwidth of 2M unchanged, complete the file download, and the actual data flow is less than 5% of the currently selected bandwidth of 2M. At this time, the network detection unit notifies the bandwidth adjustment unit to initiate a bandwidth reduction to the network, and the network reduces the bandwidth to 512K to save The user's Internet access fee.

用户可设置带宽调整单元通知其带宽调整的条件,如当带宽需要调整至2M时,带宽调整单元将当前需要调整带宽的情况通知用户,当带宽需要调整至512K时,带宽调整单元无需将当前需要调整带宽的情况通知用户。用户也可在数据流量不理想时,通知带宽调整单元向网络发起带宽调整。The user can set the conditions for the bandwidth adjustment unit to notify the bandwidth adjustment. For example, when the bandwidth needs to be adjusted to 2M, the bandwidth adjustment unit will notify the user of the current bandwidth adjustment situation; when the bandwidth needs to be adjusted to 512K, the bandwidth adjustment unit does not need to notify the current needs The user is notified of bandwidth adjustments. The user can also notify the bandwidth adjustment unit to initiate bandwidth adjustment to the network when the data traffic is not ideal.

以上带宽调整过程也可由用户发起,带宽调整单元判断是否需要发起带宽调整。The above bandwidth adjustment process may also be initiated by the user, and the bandwidth adjustment unit judges whether to initiate the bandwidth adjustment.

虽然以上所述的实现过程将图4中所述结构的各部分描述在内,但该实现过程并不仅限于图4所述的结构。Although the implementation process described above describes each part of the structure shown in FIG. 4 , the implementation process is not limited to the structure shown in FIG. 4 .

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (15)

1、一种发起客户端带宽调整的方法,其特征在于,该方法包含以下步骤:1. A method for initiating client bandwidth adjustment, characterized in that the method comprises the following steps: A、用户向网络发起连接请求,并提供鉴权信息,客户端存储该鉴权信息,用户接入网络;A. The user initiates a connection request to the network and provides authentication information, the client stores the authentication information, and the user accesses the network; B、客户端判断是否需要发起带宽调整,如果是,则执行步骤C,否则,返回执行步骤B;B. The client judges whether it is necessary to initiate bandwidth adjustment, and if yes, execute step C, otherwise, return to execute step B; C、客户端向网络发起携带有鉴权信息的带宽调整请求。C. The client sends a bandwidth adjustment request carrying authentication information to the network. 2、根据权利要求1所述的方法,其特征在于,步骤B中所述判断是否需要发起带宽调整为:判断用户当前的上网情况是否满足设定的上网情况,如果是,则执行步骤C;否则,返回执行步骤B。2. The method according to claim 1, wherein the judging in step B whether to initiate bandwidth adjustment is as follows: judging whether the user's current online status satisfies the set online status, and if so, execute step C; Otherwise, go back to step B. 3、根据权利要求1所述的方法,其特征在于,所述步骤B之前进一步包括:客户端检测用户的上网情况。3. The method according to claim 1, characterized in that before the step B, it further comprises: the client detects the user's online status. 4、根据权利要求2所述的方法,其特征在于,4. The method of claim 2, wherein: 步骤B中所述判断用户当前的上网情况是否满足设定的上网情况为:对确定时间长度内收到的数据包进行统计,然后根据该统计结果计算实际的数据流量,将该数据流量与当前选择的最高带宽进行比较,判断该数据流量与当前选择最高带宽的比值是否达到设定比例,如果是,则执行步骤C,否则,返回执行步骤B;Judging whether the current online status of the user satisfies the set online status as described in step B is: counting the data packets received within a certain period of time, then calculating the actual data flow according to the statistical results, and comparing the data flow with the current Compare the selected highest bandwidth to determine whether the ratio of the data flow to the currently selected highest bandwidth reaches the set ratio, if yes, execute step C, otherwise, return to execute step B; 所述步骤C为:向网络发起带宽调高的请求。The step C is: initiate a bandwidth increase request to the network. 5、根据权利要求2所述的方法,其特征在于,5. The method of claim 2, wherein: 步骤B中所述判断用户当前的上网情况是否满足设定的上网情况为:对确定时间长度内收到的数据包进行统计,然后根据该统计结果计算实际的数据流量,将该数据流量与当前选择的最高带宽进行比较,判断该数据流量与当前选择最高带宽是否小于设定比例,如果是,则执行步骤C,否则,返回执行步骤B;Judging whether the current online status of the user satisfies the set online status as described in step B is: counting the data packets received within a certain period of time, then calculating the actual data flow according to the statistical results, and comparing the data flow with the current Compare the selected highest bandwidth to determine whether the data flow and the currently selected highest bandwidth are less than the set ratio, if yes, execute step C, otherwise, return to execute step B; 所述步骤C为:向网络发起带宽调低的请求。The step C is: initiate a bandwidth reduction request to the network. 6、根据权利要求1所述的方法,其特征在于,所述步骤B之前进一步包括:用户发起带宽调整。6 . The method according to claim 1 , further comprising: before step B, the user initiates bandwidth adjustment. 7、根据权利要求1至6中任一项所述的方法,其特征在于,步骤B所述执行步骤C之前进一步包括:客户端通知用户当前需要进行带宽调整,用户确定需要进行带宽调整操作。7. The method according to any one of claims 1 to 6, characterized in that, before performing step C in step B, the method further includes: the client notifies the user that bandwidth adjustment is currently required, and the user determines that bandwidth adjustment is required. 8、根据权利要求1所述的方法,其特征在于,8. The method of claim 1, wherein: 所述步骤B之前进一步包括:用户选择需要调整的带宽;Before the step B, it further includes: the user selects the bandwidth to be adjusted; 所述步骤C为:向网络发起携带有鉴权信息和所述带宽的带宽调整请求。The step C is: initiate a bandwidth adjustment request carrying authentication information and the bandwidth to the network. 所述步骤C之后进一步包括:如果用户通过网络的鉴权,调整用户接入互联网的带宽。After the step C, it further includes: if the user passes the authentication of the network, adjusting the bandwidth for the user to access the Internet. 9、根据权利要求1所述的方法,其特征在于,所述鉴权信息为:用户名和密码,或会话号。9. The method according to claim 1, wherein the authentication information is: user name and password, or session number. 10、一种发起客户端带宽调整的装置,其特征在于,该装置置于客户端,包括:10. A device for initiating client bandwidth adjustment, characterized in that the device is placed on the client, including: 输入单元,用于用户输入鉴权信息,并发送至网络连接单元;The input unit is used for the user to input authentication information and send it to the network connection unit; 网络连接单元,用于向网络发送携带有鉴权信息的连接请求,接入互联网;A network connection unit, configured to send a connection request carrying authentication information to the network to access the Internet; 带宽调整单元,用于在需要发起带宽调整时向网络发起携带有鉴权信息的带宽调整请求。The bandwidth adjustment unit is configured to initiate a bandwidth adjustment request carrying authentication information to the network when bandwidth adjustment needs to be initiated. 11、根据权利要求10所述的装置,其特征在于,所述输入单元进一步用于输入带宽信息。11. The device according to claim 10, wherein the input unit is further used for inputting bandwidth information. 12、根据权利要求10或11所述的装置,其特征在于,所述输入单元进一步用于存储鉴权信息,在带宽调整单元向网络发起带宽调整请求时,提供给带宽调整单元。12. The device according to claim 10 or 11, wherein the input unit is further used to store authentication information and provide it to the bandwidth adjustment unit when the bandwidth adjustment unit initiates a bandwidth adjustment request to the network. 13、根据权利要求10或11所述的装置,其特征在于,所述带宽调整单元用于存储鉴权信息,在向网络发起带宽调整请求时提供给网络。13. The device according to claim 10 or 11, wherein the bandwidth adjustment unit is configured to store authentication information and provide it to the network when a bandwidth adjustment request is initiated to the network. 14、根据权利要求10或11所述的装置,其特征在于,14. Apparatus according to claim 10 or 11, characterized in that 该装置进一步包括:网络检测单元,用于检测用户的上网情况,判断是否需要通知带宽调整单元向网络发起带宽调整请求;The device further includes: a network detection unit, which is used to detect the user's online status, and judge whether it is necessary to notify the bandwidth adjustment unit to initiate a bandwidth adjustment request to the network; 所述带宽调整单元,用于根据网络检测单元的通知,向网络发起携带有鉴权信息的带宽调整请求。The bandwidth adjustment unit is configured to initiate a bandwidth adjustment request carrying authentication information to the network according to the notification of the network detection unit. 15、根据权利要求10或11所述的装置,其特征在于,所述鉴权信息由输入单元提供,带宽调整单元存储。15. The device according to claim 10 or 11, wherein the authentication information is provided by an input unit and stored by a bandwidth adjustment unit.
CNB2004100823630A 2004-12-31 2004-12-31 Method and apparatus for starting client bandwidth adjustment Expired - Lifetime CN100426766C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100823630A CN100426766C (en) 2004-12-31 2004-12-31 Method and apparatus for starting client bandwidth adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100823630A CN100426766C (en) 2004-12-31 2004-12-31 Method and apparatus for starting client bandwidth adjustment

Publications (2)

Publication Number Publication Date
CN1801748A CN1801748A (en) 2006-07-12
CN100426766C true CN100426766C (en) 2008-10-15

Family

ID=36811525

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100823630A Expired - Lifetime CN100426766C (en) 2004-12-31 2004-12-31 Method and apparatus for starting client bandwidth adjustment

Country Status (1)

Country Link
CN (1) CN100426766C (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309204B (en) * 2007-05-18 2015-02-18 中国电信股份有限公司 Method and system regulating access bandwidth in real-time
CN101409674B (en) * 2008-11-26 2012-05-09 中兴通讯股份有限公司 A device, system and method for realizing dynamic adjustment of access bandwidth
CN101505281B (en) * 2009-04-10 2012-08-08 华为技术有限公司 Customer flow scheduling control method, device and system
CN101924680B (en) * 2009-06-10 2013-02-20 谢海永 Distributed network flow combined optimization system and method based on feedback
CN102055734B (en) * 2009-10-27 2014-07-16 阿尔卡特朗讯公司 Method and device based on IMS and used for strengthening user interaction
CN102201968A (en) * 2010-03-25 2011-09-28 华为技术有限公司 Method, device and system for distributing user bandwidth in Internet protocol television (IPTV)
CN102158390B (en) * 2010-08-31 2014-07-09 华为软件技术有限公司 Method and device for adjusting and processing access bandwidth
CN102316037B (en) * 2011-09-07 2014-10-08 华为技术有限公司 Band width selection method, device and system
CN102624634B (en) * 2012-04-11 2014-12-24 深圳证券通信有限公司 Method and device for controlling network bandwidth at client
CN103095836B (en) * 2013-01-17 2016-08-10 华为技术有限公司 The method of adjustment of internet, applications service quality and device, system
CN103117960A (en) * 2013-01-24 2013-05-22 成都网丁科技有限公司 System and method of broadband user speeding up access bandwidth in self-service mode
CN103987091B (en) * 2013-02-07 2018-07-31 华为技术有限公司 A kind of service bandwidth variation, controller and system
CN103731887A (en) * 2014-01-13 2014-04-16 中国联合网络通信集团有限公司 Network bandwidth adjusting method, mobile terminal and server
CN104010092B (en) * 2014-05-29 2016-06-15 成都网丁科技有限公司 A kind of method of the speed-raising automatically at times suitable in set-off user
CN105827425B (en) * 2015-01-08 2020-07-24 华为技术有限公司 Network control method and device
CN105472665A (en) * 2015-12-02 2016-04-06 北京佰才邦技术有限公司 Adjustment method and device for wireless communication signal, and base station
CN110138688A (en) * 2019-04-15 2019-08-16 深圳壹账通智能科技有限公司 Dynamic adjusts method, apparatus, equipment and the readable storage medium storing program for executing of business interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402143A (en) * 2002-09-29 2003-03-12 清华大学 Flow control method based on feedback of client terminal
US20040215956A1 (en) * 2000-02-22 2004-10-28 Microsoft Corporation Methods and systems for accessing networks, methods and systems for accessing the internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215956A1 (en) * 2000-02-22 2004-10-28 Microsoft Corporation Methods and systems for accessing networks, methods and systems for accessing the internet
US20040221155A1 (en) * 2000-02-22 2004-11-04 Microsoft Corporation Methods and systems for accessing networks, methods and systems for accessing the internet
CN1402143A (en) * 2002-09-29 2003-03-12 清华大学 Flow control method based on feedback of client terminal

Also Published As

Publication number Publication date
CN1801748A (en) 2006-07-12

Similar Documents

Publication Publication Date Title
CN100426766C (en) Method and apparatus for starting client bandwidth adjustment
CN101527655B (en) Dynamic Profile System for Resource Access Control
CN1600036B (en) Method for providing service based on service quality and accounting method for mobile communication system
CN1826766B (en) Method and apparatus for controlling credit-based (prepaid) access to a wireless network
US7653933B2 (en) System and method of network authentication, authorization and accounting
EP2472815B1 (en) User online bandwidth adjustment method and remote authentication dial-in user service server
US20030220994A1 (en) Wireless network access system and method
US20050195743A1 (en) Real time charging of pre-paid accounts
US20160057628A1 (en) Hotspot communicator limiter
CN103731887A (en) Network bandwidth adjusting method, mobile terminal and server
US8374578B2 (en) Methods and apparatus for charging a subscriber roaming in a mobile communication network
CN101317366B (en) A network billing method, system and device
WO2007095546A2 (en) Hotspot communication limiter
US20050063333A1 (en) System and method for accessing network and data services
JP2006500879A (en) Billing information processing method in linked structure of wireless LAN network and mobile communication network
US20020167909A1 (en) Method, system and service node for pre-paid service provision in packet data cellular telecommunication networks
WO2006025989B1 (en) Method and apparatus for automatically re-validating multiple clients of an authentication system
CN1223140C (en) Method for implementing broad band pre-payment based on authentication, authorization and charging protocol
WO2013091410A1 (en) Network access method, system and device
WO2009024056A1 (en) Method, system and device of expanding policy and charging control rule
WO2014206316A1 (en) Service authentication method and system
CN101132403A (en) Service authorization method and server
US8713178B2 (en) Tiered cost model for access to a computer network
CN101499912A (en) Fee charging method and system
JP2007501469A (en) Content provider authentication method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20081015