Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS7975177 B2
Publication typeGrant
Application numberUS 12/512,047
Publication dateJul 5, 2011
Filing dateJul 30, 2009
Priority dateJun 24, 2009
Also published asCN101931571A, US20100332913
Publication number12512047, 512047, US 7975177 B2, US 7975177B2, US-B2-7975177, US7975177 B2, US7975177B2
InventorsYing-Chuan Tsai
Original AssigneeHon Hai Precision Industry Co., Ltd.
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
System and method for testing network performance
US 7975177 B2
Abstract
A system can test network performance of an electronic device via transmitting a testing file with a first designated name to a number of computers connected to the electronic device, obtaining comparison files from the number of computers after running the testing file, and replacing the names of the comparison files with standard names. The network performance of the electronic device can be confirmed via contents of the comparison files.
Images(5)
Previous page
Next page
Claims(8)
1. A system for testing network performance of an electronic device, the system comprising:
a plurality of computers connected to the electronic device;
a processor in the electronic device; and
a memory unit included in the electronic device and connected to the processor, and storing one or more computerized instructions being executed by the processor, wherein the memory unit comprises:
an address storing module to store a plurality of internet protocol (IP) addresses corresponding to the plurality of computers;
a file storing module to store a testing file with a first designated name and a plurality of standard names corresponding to the plurality of IP addresses;
an obtaining and transmitting module to obtain the testing file with the first designated name from the file storing module and obtain each IP address from the address storing module, and transmit the testing file to the corresponding computers according to the obtained IP addresses;
an obtaining module to obtain a comparison file with a second designated name generated by each of the plurality of computers after running the testing file; and
a name obtaining and replacing module to obtain corresponding standard names from the file storing module according to the IP addresses corresponding to the plurality of computers, and replace the second designated name of each comparison file with the corresponding obtained standard name, wherein the network performance of the electronic device can be confirmed via the contents of the comparison files.
2. The system of claim 1, wherein the memory unit further comprises a determining module, the determining module is operable to determine whether all of the plurality of computers corresponding to the IP addresses receive the testing file, and determine whether the obtaining module obtains the comparison files from all of the plurality of computers which received the testing file, if the determining module determines all of the computers receive the testing file and the obtaining module obtains the comparison files from all of the plurality of computers, the system stops transmitting and obtaining files.
3. The system of claim 2, wherein if a computer fails to receive the testing file, the determining module transmits the IP address corresponding to the computer failing to receive the testing file to the obtaining and transmitting module, and the obtaining and transmitting module transmits the testing file again to the computer corresponding to the received IP address.
4. The system of claim 2, wherein if the obtaining module fails to obtain the comparison file from a computer which received the testing file, the determining module transmits the IP address corresponding to the computer to the obtaining module, the obtaining module obtains the comparison file from the computer according to the received IP address.
5. A method for testing network performance of an electronic device connected to a plurality of computers, the method comprising:
a: obtaining a testing file with a first designated name and a plurality of internet protocol (IP) addresses corresponding to each of the plurality of computers, and transmitting the testing file to the plurality of computers according to the IP addresses;
b: running the testing file, and generating a comparison file with a second designated name by each of the plurality of computers;
c: obtaining the comparison file from each of the plurality of computers; and
d: obtaining corresponding standard names according to the IP addresses corresponding to the plurality of computers, and replacing the second designated names of the comparison files with the obtained standard names, wherein the network performance of the electronic device can be confirmed via contents of the comparison files.
6. The method of claim 5, further comprising:
e: determining whether all of the plurality of computers corresponding to the IP addresses receive the testing file, if all of the computers receive the testing file, the procedure goes to step f; and
f: determining whether the comparison files from all of the computers which received the testing file are obtained, if the comparison files from all of the computers are obtained, the procedure ends.
7. The method of claim 6, wherein the IP address corresponding to the computer failing to receive the testing file is transmitted if a computer fails to receive the testing file, the testing file is transmitted again to the computer corresponding to the received IP address, the procedure goes to step b.
8. The method of claim 6, wherein the corresponding IP address is transmitted to an obtaining module if the comparison file from a computer which received the testing file fails to be read by the obtaining module, the comparison file from the computer according to the received IP address is then obtained, the procedure goes to step d.
Description
BACKGROUND

1. Technical Field

The present disclosure relates to systems and methods, and particularly to a system and a method for testing network performance.

2. Description of Related Art

Nowadays, network performance of a server can be tested via setting a testing file in every computer connected to the server. The computer runs contents of the testing file and generates comparison files after running the contents of the testing file. The network performance of the server can be confirmed via the comparison files. However, the comparison files have to be exported, which is inconvenient.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of one embodiment of a system for testing network performance, the system including a memory unit.

FIG. 2 is a block diagram of one embodiment of the memory unit of FIG. 1.

FIG. 3 is a flowchart illustrating one embodiment of a method for testing network performance.

DETAILED DESCRIPTION

Referring to FIG. 1, an exemplary embodiment of a system 1 used to test network performance of an electronic device, such as a server 2 is illustrated. The system 1 includes a memory unit 30, a processor 10, and a plurality of computers 3 connected to the server 2 via network. In the embodiment, there are four computers 3.

The memory unit 30 is received in the server 2, and may be a random access memory (RAM) for temporary storage of information and/or a read only memory (ROM) for permanent storage of information. The processor 10 is received in the server 2, and connected to the memory unit 30.

Referring to FIG. 2, the memory unit 30 includes an obtaining and transmitting module 31, an obtaining module 32, a name obtaining and replacing module 33, a determining module 34, an address storing module 35, and a file storing module 36. The obtaining and transmitting module 31, the obtaining module 32, the name obtaining and replacing module 33, the determining module 34, the address storing module 35, and the file storing module 36 may include one or more computerized instructions executable by the processor 10.

The processor 10 stores four internet protocol (IP) addresses corresponding to the four computers 3 in the address storing module 35. The file storing module 36 stores a testing file with a first designated name, such as test mss.mpx, and four standard names which meet needs of customers, corresponding to the four IP addresses. The standard names will be used to rename the comparison files generated by the computers 3 in a later stage of the testing.

The obtaining and transmitting module 31 is operable to obtain the testing file with the first designated name from the file storing module 36 and obtain each IP address from the address storing module 35, and transmit the testing file to the corresponding computers 3 according to the obtained IP addresses.

Each computer 3 coupled to the server 2 via the network runs the testing file after receiving it, and generates a comparison file with a second designated name corresponding to the first designated name.

The obtaining module 32 is operable to obtaining the comparison files from all of the computers 3.

The name obtaining and replacing module 33 is operable to obtain the corresponding standard names from the file storing module 36 according to the IP addresses corresponding to the computers 3, and replace the second designated name of each comparison file with a corresponding obtained standard name. Therefore, customers can recognize which one of the computers that each comparison file comes from and confirm the network performance of the server 2.

The determining module 34 is operable to determine whether all of the computers 3 corresponding to the IP addresses receive the testing file, and determine whether the obtaining module 32 obtains the comparison files from all of the computers 3 which received the testing file. If at least one of the computers 3 fails to receive the testing file, the determining module 34 transmits each IP address of the at least one of the computers 3 to the obtaining and transmitting module 31. The obtaining and transmitting module 31 transmits the testing file again to the at least one of the computers 3 corresponding to the received IP addresses. If the obtaining module 32 fails to obtain the comparison file from at least one of the computers 3 which received the testing file, the determining module 34 transmits the IP addresses corresponding to the at least one of the computers 3 to the obtaining module 32. The obtaining module 32 obtains the comparison file from at least one of the computers 3 according to the received IP addresses. If the determining module 34 determines that the obtaining module 32 obtains the comparison files from all of the computers 3 which received the testing file, the system 1 stops transmitting and obtaining files.

Referring to FIG. 3, an exemplary embodiment of a method for testing network performance includes the following steps.

In step S1, the obtaining and transmitting module 31 obtains the testing file with the first designated name from the file storing module 36 and obtains the IP address of each computer 3 from the address storing module 35, and transmits the testing file to the corresponding computers 3 according to the IP addresses.

In step S2, each computer 3 which receives the testing file runs the testing file, and then generates the comparison file with the second designated name.

In step S3, the obtaining module 32 obtains the comparison files from the computers 3.

In step S4, the name obtaining and replacing module 33 obtains corresponding standard names from the file storing module 36 according to the IP addresses corresponding to the computers 3, and replaces the second designated names of the comparison files with the obtained standard names.

In step S5, the determining module 34 determines whether all of the computers 3 corresponding to the IP addresses received the testing file. If at least one of the computers 3 fails to receive the testing file, the procedure goes to step 6. If all of the computers 3 received the testing file, the procedure goes to step 7.

In step S6, the determining module 34 transmits the IP address corresponding to the at least one of the computers 3 which failed to receive the testing file to the obtaining and transmitting module 31. The obtaining and transmitting module 31 transmits the testing file again to the at least one of the computers 3 corresponding to the received IP address, then the procedure goes to step 2.

In step S7, the determining module 34 determines whether the obtaining module 32 obtains the comparison files from all of the computers 3. If the determining module 34 determines that the obtaining module 32 obtains the comparison files from all of the computers 3 which received the testing file, the procedure ends. If the obtaining module 32 fails to obtain the comparison file from at least one of the computers 3 which received the testing file, the procedure goes to step 8.

In step S8, the determining module 34 transmits the IP address corresponding to the at least one of the computers 3 from which the obtaining module 32 fails to obtain a comparison file to the obtaining module 32. The obtaining module 32 obtains the comparison file from the at least one of the computers 3 according to the received IP address, then the procedure goes to step 4.

The network performance of the server 2 can be confirmed according to the contents of the comparison files. If the contents of the comparison meet the customer's definition, the network performance of the server 2 is normal. If the contents of the comparison fail to meet the customer's definition, the network performance of the server 2 is abnormal.

It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in details, especially in matters of shape, size, and arrangement of parts within the principles of the embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US6321347 *Aug 31, 1998Nov 20, 2001Mci Communications CorporationNetwork testing system and method
US6810364 *Jan 30, 2001Oct 26, 2004International Business Machines CorporationAutomated testing of computer system components
US6823479 *Feb 14, 2000Nov 23, 2004Teradyne, Inc.Network fault analysis tool
US7093169 *Dec 12, 2003Aug 15, 2006International Business Machines CorporationMethod, system, and program for diagnosing a computer in a network system
US7114106 *Jul 22, 2002Sep 26, 2006Finisar CorporationScalable network attached storage (NAS) testing tool
US7222255 *Feb 28, 2001May 22, 20073Com CorporationSystem and method for network performance testing
US7840841 *Sep 27, 2007Nov 23, 2010Cisco Technology, Inc.Automatic detection of functional defects and performance bottlenecks in network devices
US20020059545 *Mar 26, 2001May 16, 2002Wataru NakashimaApparatus for testing functions of communication apparatus
US20040049714 *Sep 5, 2002Mar 11, 2004Marples David J.Detecting errant conditions affecting home networks
US20050044443 *Aug 22, 2003Feb 24, 2005Fujitsu LimitedDetection of network misconfigurations
US20050223362 *Apr 2, 2004Oct 6, 2005Gemstone Systems, Inc.Methods and systems for performing unit testing across multiple virtual machines
US20050235263 *Apr 19, 2004Oct 20, 2005Bundy Laura MApparatus, system and/or method for combining multiple tests to a single test in a multiple independent port test environment
US20050268165 *May 19, 2005Dec 1, 2005Christopher BettsMethod and system for automated testing of web services
Classifications
U.S. Classification714/25, 702/118, 714/40, 714/16, 714/43, 714/4.1, 714/18
International ClassificationG06F11/00
Cooperative ClassificationH04L12/2697, H04L43/50
European ClassificationH04L43/50, H04L12/26T
Legal Events
DateCodeEventDescription
Jul 30, 2009ASAssignment
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TSAI, YING-CHUAN;REEL/FRAME:023025/0114
Effective date: 20090727
Owner name: HON HAI PRECISION INDUSTRY CO., LTD., TAIWAN