This application claims priority of Taiwanese Application No. 097129242, filed on Aug. 1, 2008.
1. Field of the Invention
This invention relates to a method of control in a system, more particularly to a method of control in a system that includes a media reader.
2. Description of the Related Art
Typically, a multimedia information service system, a.k.a., an interactive kiosk, provides information access, and services such as ticketing, image editing and sharing, e-mail, downloading, and printing.
The aforementioned conventional multimedia information service system 7 is disadvantageous in that suppose the media reader 72 stops responding, e.g., due to improper insertion of the electronic card 711 thereinto. The user has to notify first service personnel. Then, the service personnel connect with the conventional multimedia information service system 7 via a remote terminal 9 over a network 8 and reset the media reader 72 to thereby restore the media reader 72 to its normal condition. This does not only cause inconvenience on the part of the user, but also takes up a considerable amount of time.
Therefore, an object of the present invention is to provide a method of control that restores a malfunctioning media reader of a system to its normal condition without user intervention and within a short period of time.
Another object of the present invention is to provide a system that restores a malfunctioning media reader thereof to its normal condition without user intervention and within a short period of time.
According to an aspect of the present invention, a method of control in a system, which includes a media reader and a host unit, comprises configuring the host unit to detect whether the media reader is responding, and configuring the host unit to reset the media reader when it is detected that the media reader stops responding.
According to another aspect of the present invention, a system comprises a media reader and a host unit. The host unit is coupled to the media reader, and is operable so as to detect whether the media reader is responding, and so as to issue a reset command to the media reader, which resets the media reader, when it is detected thereby that the media reader stops responding.
Other features and advantages of the present invention will become apparent in the following detailed description of the preferred embodiments with reference to the accompanying drawings, of which:
Referring to
The system 100 of this invention is a multimedia information service system.
In this embodiment, the media reader 2, or media device module, includes four card slots 210 and an interface controller module 22. Each of the card slots 210 receives an electronic card 3 therein and complies with a distinct specification. The interface controller module 22 is connected to the card slots 210 and reads information contained in the electronic cards 3.
The host unit 1 includes a controller 10 that is connected to the interface controller module 22, and that is operable so as to access the information read by the interface controller module 22.
In this embodiment, the interface controller module 22 converts the information read thereby into protocol-compliant information, which complies with a predetermined protocol, prior to access of the information by the controller 10 of the host unit 1.
The controller 10 of the host unit 1 is further operable so as to detect whether the interface controller module 22 is responding, and so as to issue a reset command to the interface controller module 22, which resets the interface controller module 22, when it is detected thereby that the interface controller module 22 stops responding.
It is noted that the interface controller module 22 for instance may stop responding, i.e., malfunction, when an electronic card 3 is improperly inserted into one of the card slots 210.
In this embodiment, the reset command issued by the controller 10 of the host unit 1 is a hard reset command, which resets the interface controller module 22 to factory settings.
Furthermore, in this embodiment, the controller 10 of the host unit 1 periodically detects whether the interface controller module 22 is responding. In particular, the host unit 1 further includes a timer 11 that is connected to the controller 10 thereof, and that is operable so as to determine predetermined time points at which the controller 10 of the host unit 1 detects whether the interface controller module 22 is responding.
The host unit 1 further includes an input module 12 and a display module 13, each of which is connected to the controller 10 thereof. The input module 12 accepts inputs from the user. The display module 13 displays information services accessible by the user.
The preferred embodiment of a method of control in the aforementioned system 100 according to this invention will now be described with further reference to
In step 31, the controller 10 of the host unit 1 is configured to periodically detect whether the interface controller module 22 of the media reader 2 is responding.
In this step, the controller 10 of the host unit 1 periodically sends a detecting signal to and detects a response from the interface controller module 22 of the media reader 2.
In step 32, when it is detected in step 31 that the interface controller module 22 of the media reader 2 stops responding, i.e., the controller 10 of the host unit 1 does not detect a response from the interface controller module 22 of the media reader 2, the flow proceeds to step 33. On the other hand, when the controller 10 of the host unit 1 detects the response from the interface controller module 22 of the media reader 2 indicating that the interface controller module 22 of the media reader 2 is functioning properly, the flow goes back to step 31.
In step 33, the controller 10 of the host unit 1 is configured to issue a reset command to the interface controller module 22 of the media reader 2. Thereafter, the flow goes back to step 31.
The interface controller module 22 of the media reader 2 includes first and second card reader controllers 221, 222, first and second port hub controllers 220, 223, and an interface converter module 224.
The first and second card reader controllers 221, 222 are connected to the card slots 230 and read information contained in each of the electronic cards 3 inserted in a corresponding one of the card slots 230. In this embodiment, each of the first and second card reader controllers 221, 222 is a RTS5181-type card reader controller.
The media reader 2 further includes a universal serial bus (USB) interface 25 connected to the controller 10 of the host unit 1.
The first port hub controller 220 is connected to the card reader controllers 221, 222, is coupled to the controller 10 of the host unit 1 through the USB interface 25, and forwards the information read by the first and second card reader controllers 221, 222 to the controller 10 of the host unit 1 through the USB interface 25.
In this embodiment, the first and second card reader controllers 221, 222 convert the information read thereby into protocol-compliant information, which complies with the USB protocol, prior to receipt of the information by the first port hub controller 220.
The controller 10 of the host unit 1 is further operable so as to detect whether the first/second card reader controller 221/222 is responding, and so as to issue a reset command to the first/second card reader controller 221/222 through the first port hub controller 220 to thereby reset the first/second card reader controller 221/222 when it is detected thereby that the first/second card reader controller 221/222 stops responding.
The interface converter module 224 is connected to the first port hub controller 220 and the first and second card reader controllers 221, 222, and converts the reset command from the first port hub controller 220, which complies with the USB protocol, into a reset signal, which complies with a general purpose input output (GPIO) protocol and which is subsequently provided to the first/second card reader controller 221, 222. In this embodiment, the interface converter module 224 is implemented using an 8051-type controller.
It is noted that the first or second card reader controller 221, 222 may stop responding when an electronic card 3 is improperly inserted into the corresponding card slot 230.
In this embodiment, the reset command issued by the controller 10 of the host unit 1 is a hard reset command, which resets the first/second card reader controller 221, 222 to factory settings.
The second port hub controller 223 is connected to the first port hub controller 220.
In this embodiment, each of the first and second port hub controllers 220, 223 is a 4-port hub controller.
The media reader 2 further includes four USB ports 241, 242, 243, 244 which are connected to the second port hub controller 223 and to which a USB device, e.g. the USB device 4, may be connected.
The second port hub controller 223 forwards USB protocol-compliant information from the USB device 4 to the controller 10 of the host unit 1 through the first port hub controller 220 and the USB interface 25.
The media reader 2 further includes eight indicator lamps 260, each of which is connected to the interface converter module 224 and corresponds to a respective one of the card slots 230 and the USB port 241. In this embodiment, the host unit 1 illuminates each indicator lamp 260 via the interface converter module 224 when the electronic card 3 is properly inserted into the corresponding card slot 230. Similarly, the host unit 1 illuminates the corresponding indicator lamp 260 via the interface converter module 224 when the USB device 4 is connected to the USB port 241.
It has thus been shown that the system 100 of this invention includes a media reader 2, and a host unit 1 that is connected to the media reader 2, that detects whether the media reader 2 is responding, and that resets the media reader 2 when it is detected thereby that the media reader 2 stops responding. As such, when the media reader 2 malfunctions, the media reader 2 is restored immediately to its normal condition without user intervention.
While the present invention has been described in connection with what are considered the most practical and preferred embodiments, it is understood that this invention is not limited to the disclosed embodiments but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
Number | Date | Country | Kind |
---|---|---|---|
097129242 | Aug 2008 | TW | national |