Summary of the invention
In view of this, be necessary to provide a kind of computer system with hard disk time state deixis, the service time of hard disk and the time of making the product can be shown.
A kind of computer system with hard disk time state deixis, comprise a hard disk backboard and a mainboard, described hard disk backboard is arranged the first to the 3rd connector, control chip and the first charactron, described first connector is for being electrically connected a hard disk, first to fourth signal pins of described first connector is connected respectively first to fourth signal pins of described second connector, first and second input and output pin of described control chip is connected respectively first and second pin of described 3rd connector, 3rd pin ground connection of described 3rd connector, 3rd to the tenth input and output pin of described control chip is connected respectively the tenth pin of described first charactron, 9th pin, 8th pin, 5th pin, 4th pin, second pin, 3rd pin and the 7th pin, described first charactron first and the 6th pin all connect one first voltage source, described mainboard is arranged a platform controller, for being electrically connected the 4th connector of described second connector and the 5th connector for being electrically connected described 3rd connector, first to fourth input and output pin of described platform controller is connected respectively first to fourth signal pins of described 4th connector, the clock pins of described platform controller connects the first pin of described 5th connector, the data pin of described platform controller connects the second pin of described 5th connector, the 3rd pin ground connection of described 5th connector, during work, described platform controller is read the date of production of described hard disk by described 4th connector, the second connector and the first connector and is outputed it to described control chip, the date of production received and current date are compared the time of making the product obtaining described hard disk by described control chip, and control described first charactron and shown at the time of making the product of described hard disk.
The described computer system with hard disk time state deixis obtains the time of making the product of described hard disk by described platform controller and described control chip, and after being resolved, the time of making the product of described hard disk shows by described first charactron of control, observes with person easy to use.
Embodiment
Please refer to Fig. 1 to Fig. 4, the better embodiment that the present invention has the computer system 1 of hard disk time state deixis comprises hard disk backboard 100 and a mainboard 200.Connect a hard disk 300 for described hard disk backboard 100 to be in the present embodiment described.
Described hard disk backboard 100 is provided with connector J1-J3, control chip U1, electric capacity C1-C4, resistance R1-R24 and charactron 30 and 40.In the present embodiment, all the other electronic components on described hard disk backboard 100 are identical with the electronic component on usual hard disk backboard, do not repeat them here.Described connector J1 is for being electrically connected hard disk 300, and its pin TP+, TP-, RP-and RP+ are connected respectively pin RX0+, RX0-, TX0+ and TX0-of described connector J2.The voltage pin V5_P of described connector J1 connects voltage source P5V through described resistance R1, and its voltage pin V5_1 and V5_2 all connects described voltage source P5V.The voltage pin V12_P of described connector J1 connects a voltage source P12V through described resistance R2, and its voltage pin V12_1 and V12_2 all connects described voltage source P12V.
Input and output pin IO20 and IO19 of described control chip U1 is connected respectively the pin 1 and 2 of described connector J3, pin 3 ground connection of described connector J3.The input and output pin VCCIO1 of described control chip U1 connects a voltage source P3V3 and through described electric capacity C1 ground connection.The input and output pin VCCIO2 of described control chip U1 connects described voltage source P3V3 and through described electric capacity C2 ground connection.The input and output pin INT1 of described control chip U1 connects described voltage source P3V3 and through described electric capacity C3 ground connection, and the input and output pin INT2 of described control chip U1 connects described voltage source P3V3 and through described electric capacity C4 ground connection.The input and output pin OE1 of described control chip U1 is through described resistance R3 ground connection, and the input and output pin OE2 of described control chip U1 is through described resistance R4 ground connection.The input and output pin TCK of described control chip U1 is through described resistance R5 ground connection, its input and output pin TDI connects described voltage source P3V3 through described resistance R6, its input and output pin TDO connects described voltage source P3V3 through described resistance R7, and its input and output pin TMS connects described voltage source P3V3 through described resistance R8.The input and output pin IO1-IO8 of described control chip U1 connects the pin 10,9,8,5,4,2,3 and 7 of described charactron 30 respectively through described resistance R9-R16, the input and output pin IO9-1O16 of described control chip U1 connects the pin 10,9,8,5,4,2,3 and 7 of described charactron 40 respectively through described resistance R17-R24.The pin 1 and 6 of described charactron 30 and 40 all connects described voltage source P3V3.
Described mainboard 200 is arranged a platform controller (platform controller hub, PCH) 10, connector J4 and J5 and resistance R25 and R26.In the present embodiment, all the other electronic components on described mainboard 200 are identical with the electronic component on usual mainboard, do not repeat them here.Described connector J4 is for being electrically connected the connector J2 on described hard disk backboard 100, and described connector J5 is for being electrically connected the connector J3 on described hard disk backboard 100.Input and output pin RX0_DP, RX0_DN, TX0_DP and TX0_DN of described PCH10 are connected respectively pin TX0+, TX0-, RX0+ and RX0-of described connector J4.The clock pins SCL of described PCH10 connects the pin 1 of described connector J5 through described resistance R25, its data pin SDA connects the pin 2 of described connector J5 through described resistance R26, pin 3 ground connection of described connector J5.
During use, connector J1 on described hard disk backboard 100 connects described hard disk 300, connector J2 on described hard disk backboard 100 is connected to the connector J4 on described mainboard 200 by a cable, and the connector J3 on described hard disk backboard 100 is connected to the connector J5 on described mainboard 200 by a cable.
When after described mainboard 200 electrifying startup, described PCH10 exports hard disk controlling signal by described connector J4, J2 and J1, as SATA or SAS signal give as described in hard disk 300, carry out reading and writing data to control described hard disk 300.Because its date of production has been stored in described hard disk 300 when dispatching from the factory by hard disk 300, therefore, when described hard disk 300 works, described PCH10 can obtain its date of production by described connector J4, J2 and J1 from described hard disk 300 and output it to described control chip U1, the date of production received and current date compare by described control chip U1, to calculate the time of making the product of described hard disk 300, and control described charactron 30 time of making the product of described hard disk 300 is shown.For the ease of display, with full 1 year for the time of making the product of time limit by described hard disk 300 shows.Wherein when the time of making the product of described hard disk 300 is less than 1 year, described control chip U1 judges that the time of making the product of described hard disk 300 is 1 year, and described charactron 30 shows " 1 "; When the time of making the product of described hard disk 300 is greater than 1 year and is less than 2 years, described control chip U1 judges that the time of making the product of described hard disk 300 is 2 years, and described charactron 30 shows " 2 "; When the time of making the product of described hard disk 300 is greater than 2 years and is less than 3 years, described control chip U1 judges that the time of making the product of described hard disk 300 is 3 years, and described charactron 30 shows " 3 "; When the time of making the product of described hard disk 300 is greater than 3 years and is less than 4 years, described control chip U1 judges that the time of making the product of described hard disk 300 is 4 years, and described charactron 30 shows " 4 "; When the time of making the product of described hard disk 300 is greater than 4 years and is less than 5 years, described control chip U1 judges that the time of making the product of described hard disk 300 is 5 years, and described charactron 30 shows " 5 ", by that analogy.As described in date of production of hard disk 300 be on September 10th, 2012, current date is on Dec 10th, 2013, then described control chip U1 calculates the time of making the product of described hard disk 300 is 2 years, and now described charactron 30 shows " 2 ".
Because described hard disk 300 can record the power-on time of self and be stored, as when as described in hard disk 300 power on time, first main control chip in described hard disk 300 reads the power-on time stored in its internal storage, as 0 day (not being previously used before hard disk 300 namely), and with the power-on time of described storage, as based on 0 day to as described in this power-on time of hard disk 300, as within 5 days, carried out recording and will within 5 days, being stored in internal storage after record, when described hard disk 300 powers on again, main control chip in described hard disk reads the power-on time stored in its internal storage, as 5 days (before hard disk 300 namely, used service time is 5 days), and with the power-on time stored, as based on 5 days to as described in this power-on time of hard disk 300, as within 8 days, carried out recording and will within 13 days, being stored in internal storage after record, by that analogy.Described PCH10 reads the power-on time of described hard disk 300 from described hard disk 300 by described connector J4, J2 and J1, and output it to described control chip U1, described control chip U1 judges the service time of described hard disk 300 according to the power-on time received, and controls described charactron 40 and shown the service time of described hard disk 300.For the ease of display, with full 1 year for showing the service time of time limit by described hard disk 300.Wherein when the power-on time of described hard disk 300 is less than 1 year, described control chip U1 judges that the service time of described hard disk 300 is 0 year, and described charactron 40 shows " 0 "; When the power-on time of described hard disk 300 is greater than 1 year and is less than 2 years, described control chip U1 judges that the service time of described hard disk 300 is 1 year, and described charactron 40 shows " 1 "; When the power-on time of described hard disk 300 is greater than 2 years and is less than 3 years, described control chip U1 judges that the service time of described hard disk 300 is 2 years, and described charactron 40 shows " 2 "; When the power-on time of described hard disk 300 is greater than 3 years and is less than 4 years, described control chip U1 judges that the service time of described hard disk 300 is 3 years, and described charactron 40 shows " 3 "; When the power-on time of described hard disk 300 is greater than 4 years and is less than 5 years, described control chip U1 judges that the service time of described hard disk 300 is 4 years, and described charactron 40 shows " 4 ", by that analogy.
The described computer system with hard disk time state deixis obtains the time of making the product and the service time of described hard disk 300 by described PCH10 and described control chip U1, and after being resolved, the time of making the product of described hard disk 30 and service time show by the described charactron 30 and 40 of control, observe with person easy to use.