Method for indicating status of a storage device
First Claim
1. A method for indicating a status of a storage device, the method to be implemented by a complex programmable logic device (CPLD) that is coupled to a connector adapted for connection with the storage device (1), and to a visual indicator corresponding to the storage device, the method comprising:
- in response to receipt of a signal set from the connector, where the signal set includes an activity signal, a first signal that relates to whether the connector is connected with a storage device and that is used for distinguishing whether an interface of the storage device is of a certain type, a second signal that relates to whether the connector is connected with a storage device, and a third signal that relates to whether the connector is connected with a storage device and that is used for distinguishing between types of interfaces of storage devices other than the certain type, determining whether the connector is connected with a storage device based on the first signal, the second signal and the third signal;
when it is determined that the connector is connected with a storage device, identifying the storage device based on the first signal and the third signal;
operating in a mode corresponding to a result of identification of the storage device;
when operating in the mode corresponding to the result of identification of the storage device, generating a determination result representing an operating status of the storage device based on the activity signal; and
based on the determination result, outputting a control signal corresponding to the determination result to the visual indicator for driving the visual indicator to indicate the operating status of the storage device;
wherein the step of operating in a mode corresponding to a result of identification includes;
when it is determined that the connector is connected with the storage device, determining, based on the first signal, which one of a first category and a second category the storage device belongs to;
when it is determined that the storage device belongs to the first category, operating in a mode corresponding to the first category;
when it is determined that the storage device belongs to the second category, determining, based on the third signal, which one of a first type interface and a second type interface the storage device supports;
when it is determined that the storage device supports the first type interface, operating in a mode corresponding to a storage device which belongs to the second category and supports the first type interface; and
when it is determined that the storage device supports the second type interface, operating in a mode corresponding to a storage device which belongs to the second category and supports the second type interface;
wherein the step of generating the determination result includes;
when the CPLD operates in the mode corresponding to the first category, or in the mode corresponding to a storage device which belongs to the second category and supports the first type interface, sampling the activity signal at a first sampling frequency; and
when the CPLD operates in the mode corresponding to a storage device which belongs to the second category and which supports the second type interface, sampling the activity signal at a second sampling frequency different from the first sampling frequency.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for indicating a status of a storage device to be implemented by a complex programmable logic device (CPLD) is provided. The CPLD is coupled to a connector for connection with the storage device, and to an LED. The method includes: in response to receipt of a signal set from a connector, determining whether the connector is connected with a storage device based on the signal set; when affirmative, identifying the storage device based on the signal set; operating in a mode corresponding to a result of identification; generating a determination result representing an operating status of the storage device based on the signal set; and outputting a control signal corresponding to the determination result to the LED.
-
Citations
10 Claims
-
1. A method for indicating a status of a storage device, the method to be implemented by a complex programmable logic device (CPLD) that is coupled to a connector adapted for connection with the storage device (1), and to a visual indicator corresponding to the storage device, the method comprising:
-
in response to receipt of a signal set from the connector, where the signal set includes an activity signal, a first signal that relates to whether the connector is connected with a storage device and that is used for distinguishing whether an interface of the storage device is of a certain type, a second signal that relates to whether the connector is connected with a storage device, and a third signal that relates to whether the connector is connected with a storage device and that is used for distinguishing between types of interfaces of storage devices other than the certain type, determining whether the connector is connected with a storage device based on the first signal, the second signal and the third signal; when it is determined that the connector is connected with a storage device, identifying the storage device based on the first signal and the third signal; operating in a mode corresponding to a result of identification of the storage device; when operating in the mode corresponding to the result of identification of the storage device, generating a determination result representing an operating status of the storage device based on the activity signal; and based on the determination result, outputting a control signal corresponding to the determination result to the visual indicator for driving the visual indicator to indicate the operating status of the storage device; wherein the step of operating in a mode corresponding to a result of identification includes; when it is determined that the connector is connected with the storage device, determining, based on the first signal, which one of a first category and a second category the storage device belongs to; when it is determined that the storage device belongs to the first category, operating in a mode corresponding to the first category; when it is determined that the storage device belongs to the second category, determining, based on the third signal, which one of a first type interface and a second type interface the storage device supports; when it is determined that the storage device supports the first type interface, operating in a mode corresponding to a storage device which belongs to the second category and supports the first type interface; and when it is determined that the storage device supports the second type interface, operating in a mode corresponding to a storage device which belongs to the second category and supports the second type interface; wherein the step of generating the determination result includes; when the CPLD operates in the mode corresponding to the first category, or in the mode corresponding to a storage device which belongs to the second category and supports the first type interface, sampling the activity signal at a first sampling frequency; and when the CPLD operates in the mode corresponding to a storage device which belongs to the second category and which supports the second type interface, sampling the activity signal at a second sampling frequency different from the first sampling frequency. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification