CN104700870B - The hard disk of function is indicated with use time - Google Patents

The hard disk of function is indicated with use time Download PDF

Info

Publication number
CN104700870B
CN104700870B CN201310649361.4A CN201310649361A CN104700870B CN 104700870 B CN104700870 B CN 104700870B CN 201310649361 A CN201310649361 A CN 201310649361A CN 104700870 B CN104700870 B CN 104700870B
Authority
CN
China
Prior art keywords
pin
hard disk
chip
main control
chip microcomputer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310649361.4A
Other languages
Chinese (zh)
Other versions
CN104700870A (en
Inventor
吴亢
田波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Scienbizip Consulting Shenzhen Co Ltd
Original Assignee
Scienbizip Consulting Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Scienbizip Consulting Shenzhen Co Ltd filed Critical Scienbizip Consulting Shenzhen Co Ltd
Priority to CN201310649361.4A priority Critical patent/CN104700870B/en
Publication of CN104700870A publication Critical patent/CN104700870A/en
Application granted granted Critical
Publication of CN104700870B publication Critical patent/CN104700870B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

A kind of hard disk with use time instruction function, including main control chip, connect the storage chip of main control chip, single-chip microcomputer, charactron and the first to the 12nd resistance, the first of main control chip is to the 3rd input and output pin respectively through the first to the 3rd input pin of the first to 3rd resistor correspondence connection single-chip microcomputer, the first voltage pin of single-chip microcomputer connects first voltage source and connects the second voltage source through the 4th resistance, its second voltage pin connects the second voltage source, its first to the 8th output pin is respectively through the tenth of the 5th to the 12nd voltage connection charactron the, 9th, 8th, 5th, 4th, second, 3rd and the 7th pin, charactron first and the 6th pin connection the second voltage source.It is described to indicate the hard disk of function to be shown use time with use time, observed with convenient use person.

Description

The hard disk of function is indicated with use time
Technical field
The present invention relates to a kind of hard disk with use time instruction function.
Background technology
At present, hard disk has been widely used in computer system for extending the memory capacity of computer system, however, Job insecurity is likely to result in when the use time of hard disk is reached to a certain degree, or even cause the computer system data cannot to store And lose, therefore, user is needed to understand the use time of hard disk in time, and electricity is caused so that this prevents hard disk use time long Brain system failure.
The content of the invention
In view of this, it is necessary to provide it is a kind of with use time indicate function hard disk, can by the use of hard disk when Between shown.
A kind of hard disk with use time instruction function, including a main control chip, a storage chip, a single-chip microcomputer, one Charactron and the first to the 12nd resistance, the main control chip connect the storage chip, for controlling the storage chip to enter Row reading and writing data, the first input and output pin of the main control chip through the first resistor connect the single-chip microcomputer it is first defeated Enter pin, the second input and output pin of the main control chip draws through the second input that the second resistance connects the single-chip microcomputer Pin, the 3rd input and output pin of the main control chip connects the 3rd input pin of the single-chip microcomputer through the 3rd resistor, The first voltage pin of the single-chip microcomputer connects a first voltage source and connects a second voltage source through the 4th resistance, described The second voltage pin of single-chip microcomputer connects the second voltage source, and the first to the 8th output pin of the single-chip microcomputer is respectively through institute The the 5th to the 12nd voltage is stated to connect the tenth pin of the charactron, the 9th pin, the 8th pin, the 5th pin, the 4th draw Pin, second pin, the 3rd pin and the 7th pin, the charactron first and the 6th pin be all connected with the second voltage Source;During work, the main control chip reads the power-on time and the upper electricity to store of the hard disk stored in internal storage In being recorded to the hard disk this power-on time and being stored it in internal storage based on time, while the master Control chip exports a control signal to the list according to the power-on time of record by the described first to the 3rd input and output pin Piece machine, controls the charactron to carry out the use time of the hard disk after the control signal parsing that the single-chip microcomputer will be received Display.
The use time for indicating the hard disk of function that the hard disk is calculated by the main control chip with use time And in storing it in internal storage, while the use time of the hard disk is entered by the single-chip microcomputer and the charactron Row display, is observed with convenient use person.
Brief description of the drawings
Fig. 1 is the circuit diagram of the better embodiment of the hard disk that the present invention indicates function with use time.Main element Symbol description
Main control chip 10
Storage chip 11
Single-chip microcomputer 12
Charactron 13
Resistance R1-R12
Voltage source P5V_R, P5V
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
Fig. 1 is refer to, the better embodiment of hard disk 1 of the present invention with time indicating function includes a main control chip 10th, a storage chip 11, a single-chip microcomputer 12, a charactron 13 and resistance R1-R12.Other electronic components on the hard disk 1 with Usual hard disk is identical, will not be repeated here.
The main control chip 10 connects the storage chip 11, for controlling the storage chip 11 to carry out reading and writing data. The input and output pin GPIO1 of the main control chip 10 connects the input pin RC0 of the single-chip microcomputer 12 through the resistance R1.Institute The input and output pin GPIO2 for stating main control chip 10 connects the input pin RC1 of the single-chip microcomputer 12 through the resistance R2.It is described The input and output pin GPIO3 of main control chip 10 connects the input pin RC2 of the single-chip microcomputer 12 through the resistance R3.The list The voltage pin RE3 of piece machine 12 connects a voltage source P5V_R and connects a voltage source P5V through the resistance R4.The single-chip microcomputer 12 voltage pin VDD connects the voltage source P5V.The grounding pin VSS1 and VSS2 of the single-chip microcomputer 12 are grounded.It is described The output pin RA0-RA7 of single-chip microcomputer 12 respectively through the resistance R5-R12 connect the charactron 13 pin 10,9,8,5, 4th, 2,3 and 7.The pin 1 and 6 of the charactron 13 is all connected with the voltage source P5V.
When electricity on the hard disk 1, the main control chip 10 reads the power-on time stored in its internal storage first, Such as 0 day (being not used before i.e. described hard disk 1), and with the power-on time of the storage, to described hard such as based on 0 day Disk 1 this power-on time, such as recorded within 5 days and by record after storages in 5 days internally in memory, when the hard disk 1 When going up electricity again, the main control chip 10 read its internal storage in store power-on time, such as 5 days (i.e. described hard disk 1 it Before the use time that is previously used be 5 days), and the power-on time to store, to this upper of the hard disk 1 such as based on 5 days The electric time, such as recorded within 8 days and by record after storages in 13 days internally in memory, by that analogy, obtain described with this The use time of hard disk 1.For the ease of display, with full 1 year for the time limit is shown the use time of the hard disk 1.Wherein When the power-on time of the hard disk 1 is less than 1 year, the main control chip 10 judges that the use time of the hard disk 1 is 0 year, when When the power-on time of the hard disk 1 was less than 2 years more than 1 year, the main control chip 10 judges that the use time of the hard disk 1 is 1 year, when the power-on time of the hard disk 1 was less than 3 years more than 2 years, the main control chip 10 judged the use of the hard disk 1 Time is 2 years, and when the power-on time of the hard disk 1 was less than 4 years more than 3 years, the main control chip 10 judges the hard disk 1 Use time be 3 years, when the power-on time of the hard disk 1 is more than 4 years when being less than 5 years, the main control chip 10 judges institute The use time for stating hard disk 1 is 4 years.The main control chip 10 is according to the power-on time output control signal for calculating is given simultaneously Single-chip microcomputer 12, the making the hard disk 1 of the charactron 13 is controlled after the control signal parsing that the single-chip microcomputer 12 will be received Shown with the time.In other embodiments, by set the main control chip 10 the connection single-chip microcomputer 12 it is defeated Enter the quantity of output pin to set the use time of the hard disk 1 for needing display.
When the power-on time of the hard disk 1 is less than 1 year, the input and output pin GPIO1 of the main control chip 10, GPIO2 and GPIO3 export low level signal, that is, the control signal for exporting is " 000 ", and the control signal is supplied to the list Piece machine 12, controls the charactron 13 to show digital " 0 ", to indicate after the control signal parsing that the single-chip microcomputer 12 will be received The use time of the hard disk 1 is 0 year.
When the power-on time of the hard disk 1 was less than 2 years more than 1 year, the input and output pin of the main control chip 10 GPIO1 and GPIO2 export low level signal, input and output pin GPIO3 and export a high level signal, that is, the control letter for exporting Number it is " 001 ", the control signal is supplied to the single-chip microcomputer 12, after the control signal parsing that the single-chip microcomputer 12 will be received Control the charactron 13 to show " 1 ", be 1 year with the use time for indicating the hard disk 1.
When the power-on time of the hard disk 1 was less than 3 years more than 2 years, the input and output pin of the main control chip 10 GPIO1 and GPIO3 export low level signal, input and output pin GPIO2 and export a high level signal, that is, the control letter for exporting Number it is " 010 ", the control signal is supplied to the single-chip microcomputer 12, after the control signal parsing that the single-chip microcomputer 12 will be received Control the charactron 13 to show " 2 ", be 2 years with the use time for indicating the hard disk 1.
When the power-on time of the hard disk 1 was less than 4 years more than 3 years, the input and output pin of the main control chip 10 GPIO1 exports a low level signal, input and output pin GPIO2 and GPIO3 and exports high level signal, that is, the control letter for exporting Number it is " 011 ", the control signal is supplied to the single-chip microcomputer 12, after the control signal parsing that the single-chip microcomputer 12 will be received Control the charactron 13 to show " 3 ", be 3 years with the use time for indicating the hard disk 1.
When the power-on time of the hard disk 1 was less than 5 years more than 4 years, the input and output pin of the main control chip 10 GPIO1 exports a high level signal, input and output pin GPIO2 and GPIO3 and exports low level signal, that is, the control letter for exporting Number it is " 100 ", the control signal is supplied to the single-chip microcomputer 12, after the control signal parsing that the single-chip microcomputer 12 will be received Control the charactron 13 to show " 4 ", be 4 years with the use time for indicating the hard disk 1.
The upper electricity for indicating the hard disk 1 of function that the hard disk 1 is calculated by the main control chip 10 with use time Time simultaneously stores it in internal storage, while by the single-chip microcomputer 12 and the charactron 13 by the hard disk 1 Use time is shown, is observed with convenient use person.

Claims (2)

1. a kind of hard disk with use time instruction function, an including main control chip, a storage chip, a single-chip microcomputer, a number Code pipe and the first to the 12nd resistance, the main control chip connects the storage chip, for controlling the storage chip to carry out Reading and writing data, the first input and output pin of the main control chip connects the first input of the single-chip microcomputer through the first resistor Pin, the second input and output pin of the main control chip draws through the second input that the second resistance connects the single-chip microcomputer Pin, the 3rd input and output pin of the main control chip connects the 3rd input pin of the single-chip microcomputer through the 3rd resistor, The first voltage pin of the single-chip microcomputer connects a first voltage source and connects a second voltage source through the 4th resistance, described The second voltage pin of single-chip microcomputer connects the second voltage source, and the first to the 8th output pin of the single-chip microcomputer is respectively through institute The the 5th to the 12nd resistance is stated to connect the tenth pin of the charactron, the 9th pin, the 8th pin, the 5th pin, the 4th draw Pin, second pin, the 3rd pin and the 7th pin, the charactron first and the 6th pin be all connected with the second voltage Source;During work, the main control chip reads the power-on time and the upper electricity to store of the hard disk stored in internal storage In being recorded to the hard disk this power-on time and being stored it in internal storage based on time, while the master Control chip exports a control signal to the list according to the power-on time of record by the described first to the 3rd input and output pin Piece machine, controls the charactron to carry out the use time of the hard disk after the control signal parsing that the single-chip microcomputer will be received Display.
2. the hard disk of function is indicated with use time as claimed in claim 1, it is characterised in that:The main control chip, institute Storage chip, the single-chip microcomputer and first to the 12nd resistance is stated to be arranged on the circuit board in the hard disk, it is described Charactron is arranged on the housing of the hard disk.
CN201310649361.4A 2013-12-06 2013-12-06 The hard disk of function is indicated with use time Expired - Fee Related CN104700870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310649361.4A CN104700870B (en) 2013-12-06 2013-12-06 The hard disk of function is indicated with use time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310649361.4A CN104700870B (en) 2013-12-06 2013-12-06 The hard disk of function is indicated with use time

Publications (2)

Publication Number Publication Date
CN104700870A CN104700870A (en) 2015-06-10
CN104700870B true CN104700870B (en) 2017-06-06

Family

ID=53347917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310649361.4A Expired - Fee Related CN104700870B (en) 2013-12-06 2013-12-06 The hard disk of function is indicated with use time

Country Status (1)

Country Link
CN (1) CN104700870B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101183328A (en) * 2007-11-30 2008-05-21 东南大学 Computer universal serial bus interface device time-limited timing controller
CN201725327U (en) * 2009-10-09 2011-01-26 联想(北京)有限公司 Electronic equipment and storage device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001195448A (en) * 2000-01-12 2001-07-19 Sharp Corp Usage history storage device, device and method for calculating value on the basis of use history, electrical apparatus including device, recording medium with program realizing remaining value calculating method recorded thereon and method for recycling electrical apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101183328A (en) * 2007-11-30 2008-05-21 东南大学 Computer universal serial bus interface device time-limited timing controller
CN201725327U (en) * 2009-10-09 2011-01-26 联想(北京)有限公司 Electronic equipment and storage device thereof

Also Published As

Publication number Publication date
CN104700870A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US8582388B1 (en) Serial advanced technology attachment dual in-line memory module (SATA DIMM) capable of preventing data loss
CN104699413A (en) Data management method, memorizer saving device and memorizer control circuit unit
CN106940625A (en) The date storage method of intelligent electric meter
CN105247490B (en) For the optimization method used of the nonvolatile memory of the motor vehicles computer of building blocks of function monitoring
CN101957802B (en) USB device with driving program
CN102999096B (en) Computing machine
CN107704200A (en) A kind of data deposit method
CN106951354A (en) Solid state hard disc and its failure detector and method
CN104700870B (en) The hard disk of function is indicated with use time
CN204189163U (en) A kind of based on I2C bus from machine feed circuit and device
US9195620B2 (en) Computer system having capacity indication function of serial advanced technology attachment dual in-line memory module device
CN105426116A (en) Controller and memory-access method
CN102955554A (en) Hard disk voltage regulating circuit
CN103136087A (en) Hard disc data transmission rate indicating circuit
CN202150274U (en) Anti-lost circuit structure for EEPROM (Electrically Erasable Programmable Read Only Memory) data
CN110597741B (en) Reading-writing and updating method of L2P table and L2P table
CN103956129A (en) Automatic identification system for electronic product display screen
CN102903387A (en) Storage array device and method thereof for reducing read current
CN107918577A (en) A kind of method that BMC obtains FPGA card temperature information
JP4795252B2 (en) Inverter
TW201528261A (en) Hard disk drive having using time indication function
CN103970074A (en) Electronic device
CN201118442Y (en) A low-voltage power circuit
CN207489052U (en) A kind of paper recorder of band USB store functions
CN108132857A (en) A kind of FPGA off-positions Exact recovery method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170208

Address after: 518109 Guangdong province Shenzhen city Longhua District Dragon Road No. 83 wing group building 11 floor

Applicant after: SCIENBIZIP CONSULTING (SHEN ZHEN) CO., LTD.

Address before: Haiyun Binhai Economic and Technological Development Zone, Tianjin City, No. 80 300457 Street

Applicant before: Hongfujin Precision Electronics (Tianjin) Co., Ltd.

Applicant before: Hon Hai Precision Industry Co

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170606

Termination date: 20171206