CN103177283A - Power down prevention method and device for memory card - Google Patents

Power down prevention method and device for memory card Download PDF

Info

Publication number
CN103177283A
CN103177283A CN2011104323075A CN201110432307A CN103177283A CN 103177283 A CN103177283 A CN 103177283A CN 2011104323075 A CN2011104323075 A CN 2011104323075A CN 201110432307 A CN201110432307 A CN 201110432307A CN 103177283 A CN103177283 A CN 103177283A
Authority
CN
China
Prior art keywords
data
terminal
storage card
memory card
response data
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.)
Granted
Application number
CN2011104323075A
Other languages
Chinese (zh)
Other versions
CN103177283B (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.)
Nationz Technologies Inc
Original Assignee
Nationz Technologies Inc
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 Nationz Technologies Inc filed Critical Nationz Technologies Inc
Priority to CN201110432307.5A priority Critical patent/CN103177283B/en
Publication of CN103177283A publication Critical patent/CN103177283A/en
Application granted granted Critical
Publication of CN103177283B publication Critical patent/CN103177283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a power down prevention method and device for a memory card. The method comprises the steps of enabling a terminal to continuously or intermittently send data to the memory card; enabling the memory card to feed back response data for the data sent by the terminal; enabling the terminal to judge whether the memory card is in a working state according to the response data; and enabling the terminal to continuously supply power to the memory card in the working state. The device comprises the terminal and the memory card arranged in the terminal. The terminal comprises a first data transceiving unit, a judging unit and a power supply unit, wherein the first data transceiving unit is used for sending the data to the memory card and receiving the response data fed back through the memory card; the judging unit is used for judging whether the memory card is in the working state according to the response data; and the power supply unit is used for continuously supplying power to the memory card in the working state. The memory card comprises a memory module and a second data transceiving unit for receiving the data sent by the terminal and feeding the response data back to the terminal. According to the technical scheme, the power down prevention method and device for the memory card are improved.

Description

A kind of storage card power down preventing method and device
Technical field
The present invention relates to the storage card field, relate in particular to a kind of storage card power down preventing method and device.
Background technology
The application of the terminals such as mobile phone, PAD, digital camera, audio player is more and more extensive, the limited storage space of terminal itself, for the extension storage space, the storage cards such as SD, CF, TF are set in terminal usually, take mobile phone as example, mobile phone is under holding state, for power saving, usually with the program of mode operation necessity of low-power consumption, close other unnecessary program, as built-in storage card, at this moment, built-in storage card is in power-down state, and the payment function of storage card can't normal use, uses for user's payment and makes troubles.Following two kinds of the method for present solution storage card power-off problems:
One, the power management scheme of custom terminal, guarantee any moment terminal to the storage card continued power again, and the method causes power consumption of terminal larger, and end cell shortens cruising time greatly, may increase in addition the production cost of terminal.
Its two, when the terminal sleeping state, wake storage card up by user's manual operation, during as standby status of mobile phone, the user manually lights mobile phone screen, wakes storage card up, and after the method was waken storage card up, terminal also was waken up, cause power consumption larger, and need user's manual operation, not intelligence.
Summary of the invention
The invention provides a kind of more perfect storage card power down preventing method and device.
This storage card power down preventing method comprises: terminal continues or intermittent sends data to storage card; The data feedback response data that storage card sends terminal; Terminal judges according to this response data whether storage card is duty; Terminal is in running order storage card continued power.
Further, terminal continues or intermittent can comprise to the method that storage card sends data: terminal creates file at storage card in advance, and terminal continues or intermittent writes order data to this document.
Further, storage card can comprise the method for the data feedback response data of terminal transmission: storage card is identified the data that terminal continues or intermittent sends; Aim at power down preventing and the data that define if these data are terminals, storage card saves the operation that these data is write memory module, directly to the terminal feedback response data; Otherwise storage card writes memory module with these data, and to this terminal feedback response data.
This storage card power down preventing device comprises terminal and the storage card that is built in terminal, terminal comprises the first data transmit-receive unit, judging unit and power supply unit, the first data transmit-receive unit is used for sending data to storage card, be used for receiving the response data of storage card feedback, judging unit is used for judging according to this response data whether storage card is duty, and power supply unit is used in running order storage card continued power; Storage card comprises memory module and the second data transmit-receive unit, and the second data transmit-receive unit is used for the data that receiving terminal sends, and the data that are used for sending according to terminal are to the terminal feedback response data.
Further, the first data transmit-receive unit of terminal can be used for creating file at storage card in advance, continues or intermittent writes order data to this document.
Further, storage card also comprises recognition unit, be used for the data that the terminal that the second data transmit-receive unit receives sends are identified, if being terminals, these data aim at power down preventing and the data that define, the second data transmit-receive unit saves the operation that these data is write memory module, directly to the terminal feedback response data; Otherwise the second data transmit-receive unit writes memory module with these data, and to the terminal feedback response data.
What further, storage card can be in SD, CF, TF is a kind of.
Further, terminal can be mobile terminal.
The invention provides a kind of storage card power down preventing method and device, continue or intermittent sends data to storage card by terminal, the mode of the data feedback response data that storage card sends terminal makes storage card keep duty and not power down.When having solved the storage card power-off problems, do not need again the power management scheme of custom terminal, need not user's manual operation yet.Further, storage card is identified the data that terminal continues or intermittent sends that receive, if what receive is that terminal aims at power down preventing and the data that define, storage card is directly to the terminal feedback response data, save the operation that these data is write the memory module of storage card, can avoid like this memory module toward storage card to deposit junk data in, also avoid frequently the writing of memory module further reduced power consumption of terminal.
Description of drawings
Fig. 1 is the process flow diagram of a kind of storage card power down preventing of embodiment of the present invention method;
Fig. 2 is the schematic diagram of a kind of storage card power down preventing of embodiment of the present invention device.
Embodiment
The below is elaborated to the present embodiment by reference to the accompanying drawings take mobile phone terminal and built-in SD card as example.
Fig. 1 is the process flow diagram of a kind of storage card power down preventing of embodiment of the present invention method, please refer to Fig. 1:
S11, mobile phone create file in the SD card.
S12, the mobile phone this document in the SD card at regular intervals write order data.
Bidding protocol between mobile phone and SD card, this bidding protocol can be the privately owned bidding protocols between mobile phone and SD card, and mobile phone can be installed application software, write order data based on this bidding protocol to this document in the SD card by this application software; Can create file in the memory module of SD card.
After S13, SD card were received this order data, control module (as memory controller SDC) was resolved this order data.
S14, the data after resolving are identified, determined whether that mobile phone aims at power down preventing and the data that define if so, enter step S15, otherwise enter step S16.
S15, memory controller SDC directly to mobile phone feedback response data, save the operation that these data is write the memory module of SD card, enter step S17.
Data after S16, memory controller SDC will resolve write the memory module of SD card, transfer to other supporting module of SD card and process, and to the terminal feedback response data, enter step S17.
S17, mobile phone judgement SD card are duty, and this in running order SD is held continuous power supply.
the present embodiment continues by mobile phone or intermittent sends data to the SD card, the mode of SD card to the data feedback response data of terminal transmission, make the SD card keep duty and not power down, also do not need again the power management scheme of custom terminal, also need not user's manual operation, the present embodiment also comprises the step that SD identifies the data that receive simultaneously, if what receive is that mobile phone aims at power down preventing and the data that define, memory controller SDC is directly to mobile phone feedback response data, save the memory module that these data is write the SD card, the operation of readable and writable memory NandFlash, can avoid like this depositing junk data in toward the memory module of SD card, also avoided frequently writing memory module, effectively reduce power consumption of terminal.The memory module of SD card can be readable and writable memory NandFlash.
Fig. 2 is the schematic diagram of a kind of storage card power down preventing of embodiment of the present invention device, please refer to Fig. 2:
A kind of storage card power down preventing device comprises terminal 21 and the storage card 22 that is built in terminal 21, wherein.Terminal 21 is including, but not limited to mobile terminal, and storage card 22 is including, but not limited to SD, CF, TF card etc.
Terminal 21 can comprise the first data transmit-receive unit 211, judging unit 212 and power supply unit 213, and storage card 22 comprises memory module 221, the second data transmit-receive unit 222 and recognition unit 223.
The first data transmit-receive unit 211 is used for sending data to the second data transmit-receive unit 222 of storage card 22, and is concrete, is used for creating files at storage card 22 in advance, continues or intermittent writes order data to this document.The first data transmit-receive unit 211 also is used for receiving storage card 22 by the response data of the second data transmit-receive unit 222 feedbacks.Judging unit 212 is used for judging according to this response data whether storage card 22 is duty.Power supply unit 213 is used in running order storage card 22 continued powers.
The second data transmit-receive unit 222 is used for the data that receiving terminal 21 sends by the first data transmit-receive unit 211.Recognition unit 224 is used for the data that the terminal 21 that the second data transmit-receive unit 222 receives sends are identified, aim at power down preventing and the data that define if these data are terminals 21, the second data transmit-receive unit 222 is directly to the first data transmit-receive unit 211 feedback response data of terminal 21; Otherwise the second data transmit-receive unit 222 writes memory module 221 with these data, and to the first data transmit-receive unit 211 feedback response data of terminal 21.
In the present invention, terminal continues or intermittent can be arbitrary data to the data that storage card sends, and is not limited to the terminal order data of the file that creates on storage card in advance.Can consult bidding protocol between terminal and storage card, terminal can utilize application software to write order data based on this bidding protocol to this document in storage card.This bidding protocol can be the privately owned bidding protocol between terminal and storage card.Storage card can be arbitrary data to the response data of terminal feedback.Terminal can be set a time threshold value, receives that in this threshold value response data judges that this storage card is duty, in running order storage card continued power; Surpass this threshold value and do not receive response data, judge that this storage card is off working state, cuts off the power supply to the storage card that is in off working state.Terminal of the present invention is including, but not limited to mobile terminal; Mobile terminal is including, but not limited to mobile phone, PAD, digital camera, audio player etc.; Storage card is including, but not limited to SD, CF, TF etc.
The present invention continues by terminal or intermittent sends data to storage card, and the mode of storage card to the data feedback response data of terminal transmission makes storage card keep duty and not power down.When having solved the storage card power-off problems, do not need again the power management scheme of custom terminal, need not user's manual operation yet.Further, storage card is identified the data that terminal continues or intermittent sends that receive, if what receive is that terminal aims at power down preventing and the data that define, storage card is directly to the terminal feedback response data, save the operation that these data is write the memory module of storage card, can avoid like this memory module toward storage card to deposit junk data in, also avoid frequently the writing of memory module further reduced power consumption of terminal.
Above content is in conjunction with concrete embodiment further description made for the present invention, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a storage card power down preventing method, is characterized in that, comprising:
Terminal continues or intermittent sends data to storage card;
The data feedback response data that described storage card sends described terminal;
Described terminal judges according to described response data whether described storage card is duty;
Described terminal is in running order described storage card continued power.
2. the method for claim 1, is characterized in that, described terminal continues or intermittent comprises to the method that storage card sends data: described terminal creates file at described storage card in advance, and terminal continues or intermittent writes order data to described file.
3. the method for claim 1, is characterized in that, described storage card comprises the method for the data feedback response data that terminal sends:
Described storage card is identified the data that described terminal continues or intermittent sends;
Aim at power down preventing and the data that define if described data are terminals, described storage card is directly to described terminal feedback response data; Otherwise described storage card writes memory module with described data, and to described terminal feedback response data.
4. method as described in the claims 1 to 3 any one, is characterized in that, described storage card is a kind of in SD, CF, TF.
5. method as described in the claims 1 to 3 any one, is characterized in that, described terminal is mobile terminal.
6. a storage card power down preventing device, is characterized in that, comprises terminal and the storage card that is built in terminal, wherein,
Described terminal comprises the first data transmit-receive unit, judging unit and power supply unit; Described the first data transmit-receive unit is used for sending data to described storage card, is used for receiving the response data of described storage card feedback; Described judging unit is used for judging according to described response data whether described storage card is duty; Described power supply unit is used in running order described storage card continued power;
Described storage card comprises memory module and the second data transmit-receive unit; Described the second data transmit-receive unit is used for receiving the data that described terminal sends, and the data that are used for sending according to described terminal are to described terminal feedback response data.
7. device as claimed in claim 6, is characterized in that, described the first data transmit-receive unit is used for creating file at described storage card in advance, continues or intermittent writes order data to described file.
8. device as claimed in claim 6, it is characterized in that, described storage card also comprises recognition unit, be used for the data that the described terminal that described the second data transmit-receive unit receives sends are identified, aim at power down preventing and the data that define if described data are terminals, described the second data transmit-receive unit is directly to described terminal feedback response data; Otherwise described the second data transmit-receive unit writes described memory module with described data, and to described terminal feedback response data.
9. device as described in claim 6 to 8 any one, is characterized in that, described storage card is a kind of in SD, CF, TF.
10. device as described in claim 6 to 8 any one, is characterized in that, described terminal is mobile terminal.
CN201110432307.5A 2011-12-21 2011-12-21 A kind of storage card power down prevention method and device Active CN103177283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110432307.5A CN103177283B (en) 2011-12-21 2011-12-21 A kind of storage card power down prevention method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110432307.5A CN103177283B (en) 2011-12-21 2011-12-21 A kind of storage card power down prevention method and device

Publications (2)

Publication Number Publication Date
CN103177283A true CN103177283A (en) 2013-06-26
CN103177283B CN103177283B (en) 2017-09-01

Family

ID=48637123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110432307.5A Active CN103177283B (en) 2011-12-21 2011-12-21 A kind of storage card power down prevention method and device

Country Status (1)

Country Link
CN (1) CN103177283B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580751A (en) * 2015-01-30 2015-04-29 惠州Tcl移动通信有限公司 Mobile terminal and control method and system of its microSD card

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713203A (en) * 2004-06-25 2005-12-28 安国国际科技股份有限公司 Dynamic self-scouting display method of card reader for quick flash storage card
CN101471125A (en) * 2007-12-28 2009-07-01 北京华旗资讯数码科技有限公司 Electronic voice recording equipment with power-down data protection function
CN101471126A (en) * 2007-12-28 2009-07-01 北京华旗资讯数码科技有限公司 Power-down data protection function for electronic voice recording equipment
CN101645014A (en) * 2008-08-09 2010-02-10 海信(北京)电器有限公司 Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip
CN102004706A (en) * 2009-09-01 2011-04-06 联芯科技有限公司 Flash erasing power-fail protection method based on FTL(Flash Translation Layer)
US20110138211A1 (en) * 2009-12-09 2011-06-09 Samsung Electronics Co. Ltd. Apparatus and method for using multiple memories in a portable terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713203A (en) * 2004-06-25 2005-12-28 安国国际科技股份有限公司 Dynamic self-scouting display method of card reader for quick flash storage card
CN101471125A (en) * 2007-12-28 2009-07-01 北京华旗资讯数码科技有限公司 Electronic voice recording equipment with power-down data protection function
CN101471126A (en) * 2007-12-28 2009-07-01 北京华旗资讯数码科技有限公司 Power-down data protection function for electronic voice recording equipment
CN101645014A (en) * 2008-08-09 2010-02-10 海信(北京)电器有限公司 Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip
CN102004706A (en) * 2009-09-01 2011-04-06 联芯科技有限公司 Flash erasing power-fail protection method based on FTL(Flash Translation Layer)
US20110138211A1 (en) * 2009-12-09 2011-06-09 Samsung Electronics Co. Ltd. Apparatus and method for using multiple memories in a portable terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580751A (en) * 2015-01-30 2015-04-29 惠州Tcl移动通信有限公司 Mobile terminal and control method and system of its microSD card
CN104580751B (en) * 2015-01-30 2018-01-05 惠州Tcl移动通信有限公司 A kind of control method and system of mobile terminal and its microSD card

Also Published As

Publication number Publication date
CN103177283B (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN101498964B (en) Wireless modulation-demodulation apparatus and system, sleeping/waking method and terminal
CN102778943B (en) Condition control method, device and portable terminal device
CN109857243B (en) System-on-chip, universal serial bus master device, system and awakening method
CN102799550B (en) Based on the waking up of chip chamber high-speed interface HSIC, hot-plug method and equipment
CN103092701A (en) Communication method, communication device and electronic device
CN201867678U (en) Mainboard of computer capable of reducing power consumption during sleep
CN102684743A (en) Low-power-consumption dormancy activation communication power saving method for electric transmission lines
CN104125077A (en) Communication method and equipment for network terminal equipment
CN105446916A (en) USB bus state switching method and apparatus
US10001830B2 (en) Input-output device management using dynamic clock frequency
CN102437917A (en) Network wake-up method, network wake-up device and computer
CN101420775A (en) Communication device and signal transferring method
CN101778457A (en) Mobile terminal and sleep method of MBBMS module therein
CN103106757B (en) A kind of bluetooth is waken the method for pos machine up
US8825917B2 (en) Method, system and device for enabling USB data card with USB flash drive function to hibernate
CN101383179B (en) Storage system and power supplying method for the storage system
WO2012126396A1 (en) Energy saving method for service board, master control board, service board, and access apparatus
CN201698324U (en) Embedded system
CN103177283A (en) Power down prevention method and device for memory card
CN101782838A (en) Printing system
CN104423530A (en) Electricity saving control method and device of mobile device, mobile device and host terminal
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN102478952B (en) There is electronic installation and the method for operating thereof of standby mode
CN202186348U (en) Vehicle-mounted unit
CN204965633U (en) Intelligent doorbell

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant