This application claims the priority benefit of Taiwan application serial no. 98139334, filed Nov. 19, 2009. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The invention generally relates to a method of realizing an automatic dial-up connection to Internet from a computer, and more particularly, to a method of an automatic dial-up connection to Internet from a computer and a communication device using the same.
2. Description of Related Art
Nowadays, wireless communication networks have been broadly deployed. Besides going online by directly using a mobile phone, a user may also connect to Internet through a mobile phone or a wireless data network card by using a computer. However, most wireless communication network usually require users to set up a specific Internet connection procedure (for example, input specific username and password) in the computer. The user needs to read a manual of the mobile phone or the wireless data network card carefully in order to set up Internet connection procedure. Once the manual is lost or the user forgets the specific username or password, the user cannot connect to Internet through the mobile phone or the wireless data network card by using the computer. Accordingly, techniques of connecting to Internet through a mobile phone or a wireless communication network by using a computer is too complicated and inconvenient to use currently.
According to exemplary embodiments of the invention, a method of realizing an automatic dial-up connection to Internet from a computer and a communication device using the same are provided. In the present method, a compact disc image file is virtually composed in a communication device, where the compact disc image file includes an automatic installation procedure and an automatic dial-up connection procedure. After the computer and the communication device establish a wired connection and complete a handshaking procedure, the computer reads the automatic installation procedure from the compact disc image file in the communication device and executes an automatic dial-up connection by performing the automatic installation procedure. Thus, a user does not need manually setting up any dial-up connection procedure in the computer when the user needs using Internet so that complexity of the operation is lowered.
According to an exemplary embodiment of the invention, a method of realizing an automatic dial-up connection to Internet from a computer is provided. The method is suitable for connecting the computer to Internet through a communication device, and the method includes the following steps. A procedure of automatic dial-up connection to Internet is composed, where the automatic dial-up connection procedure includes a user data. A compact disc image file is produced according to the automatic dial-up connection procedure, and the compact disc image file includes an automatic installation procedure. The compact disc image file is burned into the communication device, and when the communication device is connected to the computer, the computer executes the automatic dial-up connection procedure by performing the automatic installation procedure, in order to make a dial-up connection to Internet.
According to an exemplary embodiment of the invention, a communication device is provided, suitable for realizing an automatic dial-up connection to Internet from a computer via the communication device to connect the computer to Internet. The communication device includes a communication network interface, a wired connection interface and a memory unit. The communication network interface establishes a dial-up connection to Internet. The wired connection interface establishes a wired connection with the computer. The memory unit stores a compact disc image file, where the compact disc image file includes an automatic installation procedure. When the communication device is connected to the computer, the computer executes an automatic dial-up connection procedure by performing the automatic installation procedure, in order to make a dial-up connection to Internet.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to the present exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
According to exemplary embodiments of the invention, a method of realizing an automatic dial-up connection to Internet from a computer and an apparatus thereof are provided. The method includes the following steps. A compact disc image file is produced in a memory unit of a communication device, where the compact disc image file includes an automatic installation procedure and an automatic dial-up connection procedure. After the computer and the communication device establish a wired connection and complete a handshaking procedure, the computer reads the automatic installation procedure from the compact disc image file in the communication device and performs the automatic installation procedure to accomplish an automatic dial-up connection functionality. Accordingly, a user does not need manually setting up any dial-up connection procedure in the computer when the user needs using Internet.
Referring to
In the present exemplary embodiment, the memory unit 112 stores a program module. The program module executes one or multiple procedures for generating medium programs when the program module is executed by the processor unit 114. Besides, the memory unit 112 may be one or multiple memory devices adapted for storing data and software programs, and the memory unit 112 includes a predetermined storage area (not shown). In the present exemplary embodiment, the memory unit 112 may be a FLASH memory device. However, the invention is not limited thereto, and in another embodiment of the invention, the memory unit 112 is, for example, one or a combination of magnetic storage equipments and optical storage equipments.
In the present exemplary embodiment, the predetermined storage area in the memory unit 112 contains an automatic dial-up connection procedure. Accordingly, the computer device 102 can execute the automatic dial-up connection procedure to connect the wireless communication device 110 to the wireless communication network 120 by performing an automatic installation procedure, in order to make a dial-up connection to Internet, so as to connect the computer to Internet. The automatic dial-up connection procedure includes a user data, where the user data includes a predetermined legitimate username, a predetermined legitimate password, and a predetermined legitimate dial-up connection option. When the computer device 102 performs the automatic dial-up connection procedure, the wireless communication device 110 provides the predetermined legitimate username, the predetermined legitimate password, and the predetermined legitimate dial-up connection option to the wireless communication network 120 to perforin an authentication procedure. In the present exemplary embodiment, for example, the wireless communication network 120 may be a wireless communication network adopting the CDMA2000 system, the predetermined legitimate username may be “card”, the predetermined legitimate password may also be “card”, and the predetermined legitimate dial-up connection option may be “#777”. However, the invention is not limited thereto, and in another embodiment of the invention, the predetermined legitimate username, the predetermined legitimate password, and the predetermined legitimate dial-up connection option may also be other text strings, and the predetermined legitimate username may be different from the predetermined legitimate password. Besides, the processor unit 114 controls the wireless transceiver unit 116, the wired connection interface, and the memory unit 112.
In the present exemplary embodiment, the automatic dial-up connection procedure includes a first file, a second file, and a third file. The filename extension of the first file includes “.exe,” the filename extension of the second file includes “.dat,” and the third file includes a file “autorun.inf.” When the computer device 102 performs the automatic installation procedure, the computer device 102 calls the first file according to the third file so as to complete the automatic dial-up connection procedure.
In the present exemplary embodiment, both the wireless communication device 110 and the computer device 102 support a small computer system interface (SCSI) standard. Thus, the computer device 102 can perform a SCSI command exchange with the wireless communication device 110 via the wired connection, so as to read the compact disc image file from the wireless communication device 110. Moreover, the compact disc image file includes the automatic installation procedure. When the computer device 102 identifies the compact disc image file as a drivable compact disc device, the computer device 102 performs the automatic installation procedure to execute the automatic dial-up connection procedure, so that the computer device 102 is connected to Internet via a wireless dial-up connection and starts to transmit data to Internet and receive data from Internet. The methods of realizing a automatic dial-up connection to Internet from a computer via a wireless communication device will be further described below with reference to
Referring to
In the step S310, the computer device 102 and the wireless communication device 110 establish a wired connection. After the step S310, step S312 is executed. In the step S312, the computer device 102 reads the compact disc image file from the wireless communication device 110 and automatically executes the automatic dial-up connection procedure in the compact disc image file by performing the automatic installation procedure, in order to make a dial-up connection to Internet. In the step S314, the computer device 102 is connected to Internet via the dial-up connection established by the wireless communication device 110 (between the wireless communication device 110 and the wireless communication network 120), and starts the data transmission with Internet. After the step S314, step S316 is executed. In the step S316, the automatic dial-up connection method 300 ends.
Referring to
In the present exemplary embodiment, after receiving the response related to the TOC area from the wireless communication device 110, the computer device 102 issues a READ10 REQUEST command to the wireless communication device 110. The READ10 REQUEST command is a standard SCSI command, and which is mainly adapted for reading data from a compact disc. In the present exemplary embodiment, the computer device 102 uses the READ10 REQUEST command to read the compact disc image file from the wireless communication device 110. The computer device 102 needs to provide at least a logical block address and a transfer length to the wireless communication device 110 in the READ10 REQUEST command. For example, if the storage hardware device configured with the predetermined storage area is a NAND FLASH memory therefore the block length thereof is not 2,048 bytes but 512 bytes or 1,024 bytes, the wireless communication device 110 needs to convert the logical block address and the transfer length.
In another example, if the logical block address provided by the computer device 102 is 17 and the transfer length is 2, the actual block length of the storage hardware device configured with the predetermined storage area is 2,048 bytes, and the wireless communication device 110 provides the content in the compact disc image file corresponding to the 17th and 18th blocks to the computer device 102. However, assuming that the actual block length of the storage hardware device is not 2,048 bytes but 512 bytes, if the logical block address provided by the computer device 102 is still 17 and the transfer length is still 2, the wireless communication device 110 provides the content in the compact disc image file corresponding to the 68th and 75th blocks to the computer device 102 through appropriate conversions. Herein each logical block address is corresponding to 4 of NAND FLASH memory blocks (herein the starting logical block address of the CD-ROM is 17×4=68), and each transfer length is corresponding to 2 of NAND FLASH memory blocks (in the present example, the total transfer length is 2×4=8). Similar conversions can be performed when the storage hardware device has different actual block length (for example, 1,024 bytes).
In the present exemplary embodiment, the commands issued by the computer device 102 to the wireless communication device 110 are all SCSI commands, and the wireless communication device 110 sends corresponding responses (SCSI command responses) to the computer device 102. The SCSI commands, the SCSI command responses, and related technical details can be obtained from the official website (URL: http://www.t10.org/drafts.htm#TOC) of the INCITS T10 technical committee (T10 Committee) of the American National Standard Institute (ANSI).
The systems and methods described above are not intended to limit the scope of the invention.
The memory unit 112 in the system 600 includes an ISO file area 202, where the ISO file area 202 includes a compact disc image file. When the computer device 102 identifies the compact disc image file as a drivable compact disc device, the computer device 102 performs an automatic installation procedure in the compact disc image file, and executes an automatic dial-up connection procedure by performing the automatic installation procedure, so that the computer device 102 can be connected to Internet via a wired dial-up connection and start transmitting data to and receiving data from Internet. The automatic dial-up connection procedure of the communication network 320 can be adjusted according to requirements of the communication network 320. However, the detailed configurations and procedures of the automatic dial-up connection procedure will not be described herein. A method of realizing an automatic dial-up connection to Internet from a computer via a communication device will be described below with reference to
In the step S712, the computer device 102 and the communication device 310 performs a SCSI command exchange via the wired connection so as to read the compact disc image file from the communication device 310. After the step S712, step S714 is executed. In the step S714, the computer device 102 performs an automatic installation procedure according to the compact disc image file, and the computer device 102 executes an automatic dial-up connection procedure by performing the automatic installation procedure so that a dial-up connection is established between the communication device 310 and the communication network 320. After the step S714, step S716 is executed. In the step S716, the computer device 102 is connected to Internet via the dial-up connection established by the communication device 310 and starts transmitting data to and receiving data from Internet. After the step S716, step S718 is executed. In step S718, the automatic dial-up connection method 700 ends. After the method of realizing an automatic dial-up connection to Internet from a computer via a communication device is described, the technical details of the SCSI command exchange executed in step S712 between the computer device 102 and the communication device 310 will be described below with reference to
After the computer device 102 receives the response of the communication device 310, the computer device 102 issues a READ TOC command to the communication device 310 to obtain information related to optical tracks within a CD-ROM block of the predetermined storage area. In the present exemplary embodiment, when the actual memory device is, for example, a NAND FLASH memory, no TOC area is configured in the predetermined storage area. When the communication device 310 responds the computer device 102, it sends a virtual TOC area information to the computer device 102 according to the procedure and format of the SCSI command response. In the present exemplary embodiment, after the computer device 102 receives the response related to the TOC area from the communication device 310, the computer device 102 issues a READ10 REQUEST command to the communication device 310 to read data from the compact disc (i.e., the computer device 102 uses the READ10 REQUEST command to read the compact disc image file from the communication device 310). In the present exemplary embodiment, the commands issued by the computer device 102 to the communication device 310 are all SCSI commands, and the communication device 110 issues corresponding responses (i.e., SCSI command responses) to the computer device 102.
In summary, according to exemplary embodiments of the invention, a method of realizing an automatic dial-up connection to Internet from a computer and a communication device using the same are provided. A compact disc image file is virtually composed in a memory area of a communication device, where the compact disc image file includes an automatic installation procedure and an automatic dial-up connection procedure. After the computer and the communication device establish a wired connection and complete a handshaking procedure, the computer performs an automatic installation procedure in the compact disc image file to accomplish an automatic dial-up connection functionality. Thereby, the complexity of configuring a computer to be connected to Internet via a dial-up connection through a communication device is lowered. Accordingly, when a user needs using Internet, the user does not need manually setting up a dial-up connection procedure in the computer.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
98139334 | Nov 2009 | TW | national |