A kind of method that limit tests the speedTechnical field
The present invention relates to a kind of network transfer speeds method of testing, particularly relate to a kind of method that limit tests the speed.
Background technology
Test the speed and refer to that broadband user passes through to use velocity-measuring system or platform in broadband, the speed obtaining own net transmission understands the network speed situation of self.Transmission speed when factor due to every aspects such as network environments all will have influence on network implementation, so network is often because being subject to various impact, network speed changes.Therefore increasing user like test self networking speed with various software systems or the platform of testing the speed, report for repairment to carry out feedback to operator in time when network speed is abnormal.In the prior art, because signing bandwidth is lower than network velocity-measuring system bandwidth, or user contracts the physical channel bandwidth of bandwidth lower than subscriber's line, the result that tests the speed of network velocity-measuring system all can be caused to be significantly less than user's actual available bandwidth, to affect the measuring accuracy of network test system.
Therefore, a kind of test the speed platform and method of network is needed to solve the problem.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, there is provided a kind of to contract bandwidth by changing user first temporarily, then detect network speed and then recover the method that a kind of limit of physical channel maximum bandwidth of method detection subscriber's line that user contracts bandwidth tests the speed.
The object of the invention is to be achieved through the following technical solutions: a kind of limit speed-measuring method, it comprises the following steps:
S1: the signing bandwidth of change: client (Client) is initiated request by intelligent speed acceleration platform to BAS Broadband Access Server and signing bandwidth is changed to 100M temporarily, and it comprises following sub-step:
S101: client is initiated to obtain signing bandwidth information request message to intelligent speed acceleration platform;
S102: intelligent speed acceleration platform initiates to obtain signing bandwidth information request message to node server (BSS);
S103: node server returns signing bandwidth information message to intelligent speed acceleration platform;
S104: intelligent speed acceleration platform initiates the signing bandwidth request message of change to authentication server (AAA), asks signing bandwidth to change to 100M temporarily;
S105: authentication server sends the signing bandwidth request message of change to BAS Broadband Access Server (BRAS);
S106: BAS Broadband Access Server receives the bandwidth change of will contract of change signing bandwidth request and sends change the complete message of bandwidth of contracting to authentication server to 100M;
S107: complete for signing bandwidth change message is sent to intelligent speed acceleration platform by authentication server;
S108: complete for signing bandwidth change message is sent to client by intelligent speed acceleration platform;
S2: detect network speed: client initiates solicited message Sampling network transmission speed to the server that tests the speed, and it comprises following sub-step:
S201: client sends to the server that tests the speed the request message that tests the speed;
S202: the server that tests the speed returns to client the resource that tests the speed and performs the task that tests the speed and return to client the result that tests the speed;
S3: the signing bandwidth of reduction: user side is initiated request by intelligent speed acceleration platform to bandwidth node server and signing bandwidth is reduced to former signing value, and it comprises following sub-step:
S301: client is initiated to obtain signing bandwidth information request message to intelligent speed acceleration platform;
S302: intelligent speed acceleration platform initiates to obtain signing bandwidth information request message to node server;
S303: node server returns signing bandwidth information message to intelligent speed acceleration platform;
S304: intelligent speed acceleration platform initiates the signing bandwidth request message of change to authentication server, asks bandwidth change to former signing value;
S305: authentication server sends the signing bandwidth request of change to BAS Broadband Access Server;
S306: BAS Broadband Access Server receives the bandwidth change of will contract of change signing bandwidth request and sends change the complete message of bandwidth of contracting to authentication server to former signing value;
S307: signing bandwidth is reduced complete message and is sent to intelligent speed acceleration platform by authentication server;
S308: signing bandwidth is reduced complete message and is sent to client by intelligent speed acceleration platform.
The request message that tests the speed in described step S201 comprises user ID.
The invention has the beneficial effects as follows:
The present invention to contract bandwidth by changing user first temporarily, then detect network speed then to recover the contract method of bandwidth of user and detect the physical channel maximum bandwidth of subscriber's line, solve because signing bandwidth is lower than network velocity-measuring system bandwidth, or because user contracts, lower than the physical channel bandwidth of subscriber's line, network speed detects incorrect problem to bandwidth, and network tests the speed result more accurately and reliably.
Accompanying drawing explanation
Fig. 1 is that the limit of the present invention tests the speed flow chart.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail: as shown in Figure 1, a kind of method that limit tests the speed, it comprises the following steps:
S1: the signing bandwidth of change: client (Client) is initiated request by intelligent speed acceleration platform to BAS Broadband Access Server and signing bandwidth is changed to 100M temporarily, and it comprises following sub-step:
S101: client is initiated to obtain signing bandwidth information request message to intelligent speed acceleration platform;
S102: intelligent speed acceleration platform initiates to obtain signing bandwidth information request message to node server (BSS);
S103: node server returns signing bandwidth information message to intelligent speed acceleration platform;
S104: intelligent speed acceleration platform initiates the signing bandwidth request message of change to authentication server (AAA), asks signing bandwidth to change to 100M temporarily;
S105: authentication server sends the signing bandwidth request message of change to BAS Broadband Access Server (BRAS);
S106: BAS Broadband Access Server receives the bandwidth change of will contract of change signing bandwidth request and sends change the complete message of bandwidth of contracting to authentication server to 100M;
S107: complete for signing bandwidth change message is sent to intelligent speed acceleration platform by authentication server;
S108: complete for signing bandwidth change message is sent to client by intelligent speed acceleration platform;
S2: detect network speed: client initiates solicited message Sampling network transmission speed to the server that tests the speed, and it comprises following sub-step:
S201: client sends to the server that tests the speed the request message that tests the speed, and the request message that wherein tests the speed comprises user ID;
S202: the server that tests the speed returns to client the resource that tests the speed and performs the task that tests the speed and return to client the result that tests the speed;
S3: the signing bandwidth of reduction: user side is initiated request by intelligent speed acceleration platform to bandwidth node server and signing bandwidth is reduced to former signing value, and it comprises following sub-step:
S301: client is initiated to obtain signing bandwidth information request message to intelligent speed acceleration platform;
S302: intelligent speed acceleration platform initiates to obtain signing bandwidth information request message to node server;
S303: node server returns signing bandwidth information message to intelligent speed acceleration platform;
S304: intelligent speed acceleration platform initiates the signing bandwidth request message of change to authentication server, asks bandwidth change to former signing value;
S305: authentication server sends the signing bandwidth request of change to BAS Broadband Access Server;
S306: BAS Broadband Access Server receives the bandwidth change of will contract of change signing bandwidth request and sends change the complete message of bandwidth of contracting to authentication server to former signing value;
S307: signing bandwidth is reduced complete message and is sent to intelligent speed acceleration platform by authentication server;
S308: signing bandwidth is reduced complete message and is sent to client by intelligent speed acceleration platform.