Method for detecting IP network bandwidth and apparatus thereof

An IP network and bandwidth technology, applied in the communication field, can solve the problems of inaccurate detection results, difficult storage space, waste of storage space, etc., and achieve the effect of saving storage space, saving time of use, and improving the accuracy of bandwidth detection.

Active Publication Date: 2012-04-18
HUAWEI TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually use FTP (File Transfer Protocol, File Transfer Protocol) bandwidth detection method when detecting bandwidth in the prior art, promptly use FTP to upload, download file detection bandwidth, this method detects the time that bandwidth lasts can not be too short when using, uploads or The downloaded file should not be too small, otherwise the detection result will not be accurate enough, but if the file is too large, it will occupy too much storage resources of the system and cause a lot of waste, especially for small base stations, the internal memory or flash memory of the device itself is very limited and precious. Uploading or downloading files through FTP to detect bandwidth will take up too much storage resources, and because the storage space is difficult to store large enough files, the detection results will be inaccurate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for detecting IP network bandwidth and apparatus thereof
  • Method for detecting IP network bandwidth and apparatus thereof
  • Method for detecting IP network bandwidth and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The methods for detecting the bandwidth in Embodiment 1 and Embodiment 2 can also be used to detect the bandwidth of the network between two small base stations. In this case, one small base station needs to be used as a server, and the other small base station needs to be used as a client.

[0056] Embodiment 3 of the present invention provides a small base station for detecting IP network bandwidth, such as image 3 As shown, the small base station includes a receiver 301, a memory 302, and a processor 303, wherein:

[0057] Receiver 301: for downloading file data from the server.

[0058] Storage 302: used for caching the data downloaded by the receiver, and releasing the storage space when the storage space is full.

[0059] Processor 303: used to record the length of the data downloaded by the receiver, and control the memory to release the storage space after the memory storage space is full, and the processor is also used to record the total time spent on downlo...

Embodiment 3

[0061] When the small base station provided in Embodiment 3 downloads files from the server, it does not store the entire file in the flash memory or other permanent storage, but caches it in a section of the memory, that is, the cache area. When the cache area is full, it discards and saves the file. For the data, only the length of the data is recorded. When the entire file is downloaded, the network bandwidth is calculated by using the total time spent on downloading the file and the total length of the file. The small base station in this embodiment detects the network bandwidth, and only uses a buffer area of ​​the memory, which effectively saves the storage space.

[0062] Embodiment 4 of the present invention provides a small base station for detecting IP network bandwidth, such as Figure 4 As shown, the small base station includes a transmitter 401, a receiver 402, a processor 403, and a memory 404, wherein:

[0063] Transmitter 401: for uploading information such as...

Embodiment 4

[0069] When the small base station provided in Embodiment 4 uploads files to the server, instead of uploading the files already stored in the flash memory or other permanent storage, it repeatedly constructs file data blocks and uploads them to the server until the specified file length is reached, and finally Calculates the network bandwidth using the specified file length and total elapsed time. The small base station in this embodiment detects the network bandwidth and only uses a section of memory, which can effectively save the storage space of the small base station.

[0070] It should be noted that the memory in all the embodiments of the present invention generally refers to random access memory RAM. By applying the method and the small base station provided by the embodiment of the present invention, the small base station uses a virtual file system to store or construct files, and stores the files not in Flash or other permanent storage, but in a section of memory, e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention provides a method for detecting IP network bandwidth and an apparatus thereof. The IP network bandwidth can be detected without occupying too much storage space. The method comprises the following steps: a small base station downloads file data from a server and is connected to the server through an IP network; the small base station saves received data at a cache region of a memory by utilizing a virtual file system, and records data length of accumulated download; after the cache region is full, the small base station releases the cache region; after a file is downloaded, the small base station records total consumption time of downloading the file, and calculates IP network downlink bandwidth according to file total length and the total consumption time. According to a technical scheme provided by the embodiment, small base station storage space can be effectively saved when detecting the IP network bandwidth.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for detecting IP network bandwidth. Background technique [0002] In recent years, the surge of mobile communication data services has brought great pressure to macro networks. Traditional macro base station networks have been difficult to meet people's demands for wireless broadband coverage, especially indoor broadband coverage. Deploying small base stations is a very important solution to this problem. good plan. A small base station is a form of base station that is different from a macro base station. The small base station is an order of magnitude smaller than the macro base station in terms of transmit power, number of users, and volume and weight. Small base stations can be specifically divided into micro base stations Micro, pico base stations Pico / ePico, home base stations Femto, wireless access points AP, etc. Different types of small base s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L12/56H04L29/08
CPCH04L12/26H04L43/0888H04L43/50
Inventor 罗璟真
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products