System and method for testing a modem

Information

  • Patent Grant
  • 7623568
  • Patent Number
    7,623,568
  • Date Filed
    Thursday, December 16, 2004
    20 years ago
  • Date Issued
    Tuesday, November 24, 2009
    15 years ago
Abstract
A modem tester includes a signal reporting circuit which can report signals received from the modem of the computer. To test the operation of the modem in the computer, test data can be sent from the modem tester to the modem in the computer and test data can be received by the modem tester when transmitted from the modem in the computer.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


This invention relates generally to the testing of communication devices and has particular application in the testing of an internal modem on a personal computer.


2. Description of the Related Art


More and more personal computers, including laptop and desktop models, include modems as standard equipment. With the ever expanding use of the Internet, a modem is becoming a standard accessory for a personal computer. A modem can be used, for example, to transmit and receive information over telephone lines and other communication lines. It would be useful to have a simple portable device which could be used, for example, as part of production quality control testing and/or field testing of modems which are parts of personal computers.


SUMMARY OF THE INVENTION

The present invention provides a system and method for testing a modem.


One aspect of the invention is directed to a device for testing the operation of a modem in a computer. The device includes a case with a first communication port attached to the case. A signal reporting circuit is located within the case and coupled to the first communication port. The signal reporting circuit is configured to test the transmit capability of the modem in the computer.


Another aspect of the invention is a method of testing the operation of a modem in a computer using a portable modem testing device. The method includes coupling the modem in the computer to the portable modem testing device and then initiating transmission of test data from the modem with the test data then being received at the portable modem testing device. The transmission is then verified.


In another aspect of the method, the computer is further coupled to the portable modem testing device via an alternate communication link. After the portable modem testing device has received the transmission from the modem, the portable modem testing device transmits a signal to the computer via the alternate communication link.


Another aspect of the invention is directed to a method of testing the operation of a modem in a computer using a portable modem testing device directed to the receive function of the modem. The modem in the computer is first coupled to the portable modem testing device. Transmission of test data from the portable modem testing device is then initiated. The transmission is received at the modem and the transmission is verified.


In another aspect of the method, the computer is coupled to the portable modem testing device via an alternate communication link. After the modem has received the transmission from the portable modem testing device, a signal is transmitted from the computer to the portable modem testing device via the alternate communication link.


These and other features of the invention will become more fully apparent from the following description and appended claims taken in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of a personal computer and a modem tester in accordance with aspects of the present invention;



FIG. 2 is a flow chart of an output test; and



FIG. 3 is a flowchart of an input test.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT


FIG. 1 is a block diagram depicting a computer 10 and a modem tester 30. The computer can be a personal computer such as a laptop or a desktop computer. The computer 10 includes a central processing unit 32, a memory 34 and an internal modem 12. The modem provides the capability to modulate and demodulate signals. The modem 12 is typically used to communicate over telephone lines. The modem also includes an input/output modem port 14 such as an RJ11 connector or jack. The RJ11 jack can receive a typical RJ11 plug. An alternate communications port 18, such as an RS232 serial port, is also present on the computer 10.


The modem tester 30 includes an outer case 31 and is shown coupled to the computer 10 via the modem port 14 of the computer 10. The communication can be accomplished via a cable 16 such as a typical telephone cable. Additionally, the modem tester 20 is also connected to the computer 10 via the alternate port 18 of the computer 10 using an appropriate cable 24. This arrangement provides two communication links between the computer 10 and the modem tester 30.


The modem tester 30 can include a signal reporting circuit 22 which reports the signals received from the computer 10 via the modem communication line 16 back to the computer 10 via the alternate port 18. An electrical power source 26 is also included in the modem tester 30. The power source can be a battery or power can be provided by an external electrical power supply such as a typical electrical outlet.


The modem tester 30 includes an analog to digital converter 42 which is coupled to a first communication port 43 which can be attached to the case 31 so as to be easily accessible. The first port 43 can be, for example, an RJ11 jack. Alternatively, the modem tester can include a modem having an analog to digital converter. A controller 44, such as a microprocessor 44 and a memory 46, form the reporting circuit 22. The microprocessor 44 and the memory 46 are coupled to the analog to digital converter and to a port 48. Port 48 can be, for example, an RS232 serial port.


When in use, the modem 12 of the computer 10 is coupled to the analog to digital converter 42 via the connector 16 for the transmission of the electrical signals between the modem 12 and the analog to digital converter 42. Additionally, the serial port 18 of the computer 10 is coupled to the serial port 48 of the modem tester 30 via a connector 24.


Signals received over the connection 16 from the modem 12 by the analog to digital converter 42 are converted from an analog to a digital form and then stored in the memory 46. In addition, data stored in the memory 46 can be transmitted by the serial port 48 over the connection 24 to the serial port 18 of the computer 10. Both the port 18 and the port 48 can be serial ports, parallel ports or any other communication ports which will allow the communication of data between the computer 10 and the modem tester 30.


An input device 45, such as a contact switch, is provided on the outside of the modem tester 40 to receive input from a user. The input device 45 can be used, for example, to initiate a transmit test. Similarly, a second input device 47 can be provided on the outside of the modem tester so as to be accessible to a user. The second input device 47 can be used to initiate a second test such as a receive test. Alternatively, other types of input devices known to those of ordinary skill in the art could be used to carry out these functions.


The memory 34 of the computer 10 can be used to store a program which causes the central processing unit 32 to perform the steps of a modem testing routine. Similarly, the memory 46 of the modem tester 30 can also store a software program which can cause the controller 44 to execute a reciprocal portion of a testing routine.



FIG. 2 is a flowchart which represents a sequence of operations or steps performed to test the output or transmit capability of a modem in a computer such as personal computer 10 depicted in FIG. 1. As will be apparent to those of ordinary skill in the art, the steps of the test can be carried out utilizing software stored in the memories of both the modem tester 30 and the computer 10. Alternatively, control of the sequence of operations or implementation of the steps can be under the control of a program residing entirely and running entirely on either the modem tester 30 or the computer 10.


Referring to FIG. 2, at a state 210 the test is initiated. For example, the test can be initiated by an operator using the input device 45. The modem tester 30 then sends a signal via connection 24 or connection 16 to the computer indicating that the test is initiated. Alternatively, the test can be initiated by input provided to the computer. Prior to the test being initiated, connections 16 and 24 between the modem tester 30 and the computer 10 (see FIG. 1) should be in place in order to allow communication between the two devices.


At a state 212 the modem 12 of the computer is instructed by the central processing unit 32 to transmit a buffer of test data. Test data can be stored in the memory 34 of the computer 10. Alternatively, the test data can be transmitted to the computer 10 from the modem tester 30 via connection 16 or connection 24.


At a state 214 the modem 12 transmits the test data over connection 16 to the analog to digital converter 42 of the modem tester 30. At a state 216, the analog to digital converter 42 receives the data in the form of an analog signal and converts the analog signal back into digital data. That data is stored in the memory 46. Alternatively, the data from the analog to digital converter 42 can be sent directly to port 48 to be transmitted over connection 24 to the port 18 of the computer 10, thereby reducing the need for memory 46 and microprocessor 44 in the tester 30.


At a state 218 the data stored in memory 46 is transmitted to the computer 10 via port 48 over connection 24 under the control of microprocessor 44. At a state 220 port 18 of the computer receives that data which is then stored in memory 34. At a state 222 the computer 10 compares the data received with the original data that was transmitted in order to confirm that the transmission was successful.


Alternatively, after the modem tester 30 receives the data from the modem 12, the modem tester 30 can compare the receive data against a known data set to determine that the transmission was successful. That arrangement would eliminate the need for the connection 24.



FIG. 3 is a flow chart which represents the sequence of steps or operations performed to test the input or receive capability of a modem in a computer such as personal computer 10 depicted in FIG. 1. As will be apparent to those of ordinary skill in the art, the steps or process of the test can be carried out utilizing software stored in the memories of both the modem tester 30 and the computer 10. Alternatively, control of the sequence of operation can be under the control of the program residing and running entirely on either the modem tester 30 or the computer 10.


Referring to FIG. 3, at a state 310 the test is initiated. For example, the test can be initiated by an operator using the input device 47. The modem tester 30 then sends a signal via a connection 24 or connection 16 to the computer 10 indicating that the test is initiated. Alternatively, the test can be initiated by input provided directly to the computer 10. Prior to the test being initiated, connections 16 and 24 between the modem tester 30 and the computer 10 (see FIG. 1) need to be in place in order to allow communications between the two devices.


At a state 312 the modem 12 is initialized to receive data. For example, the CPU 32 can send a command to the modem 12. At a state 314 the computer 10 sends a signal to the modem tester 30 indicating that the modem 12 has been initialized to receive a transmission. For example, the CPU can send a signal via connection 24.


At a state 316 the modem tester 30 transmits test data via connection 16 to the modem 12. At a state 318 the modem 12 receives the test data and stores that data. The data can be stored in an internal buffer of the modem 12 or can be stored in the memory 34 of the computer 10.


At a state 320 the test data received by the modem is verified as accurate. This can be accomplished by the computer 10 having an identical set of the test data. Alternatively, the receive data can be transmitted to the modem tester 30 via connection 24 and a comparison can take place in the modem tester 30. When the test data received by the modem is verified to be accurate, as represented by a state 322, the test has been completed successfully.


The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as a illustrative and not restrictive. The scope of the invention is indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims
  • 1. A device for testing a modem, the device comprising: a signal reporting circuit;a first communication port configured to be directly coupled to a modem in a computer, thereby forming a first communication link; anda second communication port coupled to a signal reporting circuit and configured to be coupled to the computer, thereby forming a second communication link that bypasses the modem, wherein the first and second communication links provide separate paths to the computer,wherein the signal reporting circuit is configured to send an initiation signal to the computer via the second communication link to initiate testing of the operation of the modem, wherein the signal reporting circuit is configured to receive first test data from the modem via the first communication link and is configured to receive second test data via the second communication link,and wherein the signal reporting circuit is configured to verify the first test data by comparing the first test data with the second test data.
  • 2. The device of claim 1, wherein the signal reporting circuit comprises a microprocessor.
  • 3. The device of claim 2, wherein the signal reporting circuit further comprises a memory.
  • 4. The device of claim 3, wherein the memory is configured to store the first test data.
  • 5. The device of claim 3, wherein the memory is configured to store a software program having executable instructions to control the microprocessor.
  • 6. The device of claim 1, wherein the first communication port comprises an RJ11 jack.
  • 7. The device of claim 1, wherein the first communication port is configured to couple to a cable.
  • 8. The device of claim 1, wherein the second communication port comprises a serial port.
  • 9. The device of claim 1, wherein the second communication port comprises a parallel port.
  • 10. The device of claim 1, further comprising an analog to digital converter coupling the first communication port to the signal reporting circuit.
  • 11. A portable device for testing the operation of a modem, the device comprising: means for coupling to a modem in a computer via a first communication link;means for coupling to the computer via an alternate communication link that bypasses the modem, wherein the first and alternate communication links provide separate paths to the computer;means for generating and sending a signal to the computer via the alternate communication link to initiate testing of the operation of the modem in the computer; andmeans for verifying test data transmitted from the modem, wherein said means for verifying is configured to receive a first transmission of the test data via the first communication link and to receive a second transmission of the test data via the alternate communication link, and wherein the means for verifying is configured to compare the first transmission of the test data with the second transmission of the test data.
  • 12. The portable device of claim 11, further comprising a means for storing the first transmission of the test data.
  • 13. The portable device of claim 12, wherein the means for storing is further configured to store software instructions capable of execution by the means for verifying.
  • 14. The portable device of claim 11, wherein the means for coupling to the modem comprises an RJ11 jack.
  • 15. The portable device of claim 11, wherein the means for coupling to the modem is configured to communicate with a cable.
  • 16. The portable device of claim 11, wherein the means for verifying comprises a processor.
  • 17. The portable device of claim 11, further comprising a battery.
  • 18. The portable device of claim 11, wherein the means for coupling to the computer comprises one of a serial port and a parallel port.
  • 19. An apparatus comprising: one or more computer processors of a modem testing device configured, to send a signal to a computer via a first communication link to initiate testing of the operation of a modem in the computer; andone or more computer processors configured to, verify a first transmission of test data received from the modem via a second communication link by comparing the first transmission of test data with a second transmission of test data received via the first communication link.
  • 20. The apparatus of claim 19, wherein one or more computer processors are configured to store in a memory the test data from the first transmission.
RELATED APPLICATION

The present application is a continuation of and claims priority benefit under 35 U.S.C. § 120 from U.S. patent application Ser. No. 09/457,207, filed Dec. 7, 1999, entitled “SYSTEM AND METHOD FOR TESTING A MODEM,” now U.S. Pat. No. 6,834,077, issued on Dec. 21, 2004, which is hereby incorporated herein by reference.

US Referenced Citations (13)
Number Name Date Kind
3956601 Harris et al. May 1976 A
4125872 Maxwell Nov 1978 A
4351059 Gregoire et al. Sep 1982 A
5127041 O'Sullivan Jun 1992 A
5210470 Anzai et al. May 1993 A
5239535 Borm et al. Aug 1993 A
5764694 Rahamim et al. Jun 1998 A
6195414 Simmons et al. Feb 2001 B1
6307877 Philips et al. Oct 2001 B1
6311291 Barrett, Sr. Oct 2001 B1
6560557 Carnahan et al. May 2003 B1
6834077 Woude Dec 2004 B1
6891803 Chang et al. May 2005 B1
Related Publications (1)
Number Date Country
20050094721 A1 May 2005 US
Continuations (1)
Number Date Country
Parent 09457207 Dec 1999 US
Child 11014270 US