CN101615152A - The detection method of hot plug fault of storage card and device - Google Patents
The detection method of hot plug fault of storage card and device Download PDFInfo
- Publication number
- CN101615152A CN101615152A CN200910158972A CN200910158972A CN101615152A CN 101615152 A CN101615152 A CN 101615152A CN 200910158972 A CN200910158972 A CN 200910158972A CN 200910158972 A CN200910158972 A CN 200910158972A CN 101615152 A CN101615152 A CN 101615152A
- Authority
- CN
- China
- Prior art keywords
- hot plug
- simulation
- fault
- storage card
- testing result
- 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
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention provides a kind of detection method of hot plug fault of storage card, may further comprise the steps: every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug; To each simulation hot plug, judge whether to take place hot plug fault; Obtain the testing result of hot plug fault according to judged result.The present invention also provides a kind of pick-up unit of hot plug fault of storage card, comprising: analog module; Judge module; Detection module.It is lower to the reproduction efficient of hot plug fault of storage card that the present invention has overcome in the correlation technique detection method of hot plug fault of storage card, the problem that accuracy of detection is relatively poor, and then reduced the detection cost, the carrying out that helps mass detection, thus the reproduction efficient and the accuracy of detection of hot plug fault of storage card improved.
Description
Technical field
The present invention relates to the digital memory card field, in particular to a kind of detection method and device of hot plug fault of storage card.
Background technology
Digital equipment such as mobile phone, digital camera is universal day by day in people's life, for the needs of realizing storage space is expanded or moves, digital equipment has used external connection of storage card more and more, comprise SD card (Secure Digital Memory Card, safe digital card), T card, mmc card (Multi Media Card, multimedia card) etc.
A lot of digital equipments all have storage card hot plug function, and the storage card hot plug will have a strong impact on user's normal use if break down.Statistics shows in all mobile phone faults of customer complaint that the corresponding failure of storage card increases the fastest, comprises that specifically the storage card plug is reactionless, storage card inserts initialization exception, hot plug causes mobile phone deadlock, storage card hot plug damage etc.
A kind of detection method of hot plug fault of storage card is provided in the correlation technique, and this method utilization manually plugs storage card and detects hot plug fault, and the manual plug that needs the testing staff to carry out is repeatedly operated.
The detection method of hot plug fault of storage card causes the draw-in groove fatigue breakdown easily in the prior art, and need to be equipped with a large amount of testing staff, because it is higher to detect cost, so be difficult to carry out mass detection, thereby cause the reproduction efficient of hot plug fault of storage card lowlyer, accuracy of detection is relatively poor.
Summary of the invention
The present invention aims to provide a kind of detection method of hot plug fault of storage card, the detection method that can solve hot plug fault of storage card in the correlation technique causes the draw-in groove fatigue breakdown easily, and need to be equipped with a large amount of testing staff, because it is higher to detect cost, so be difficult to carry out mass detection, thereby cause the reproduction efficient of hot plug fault of storage card lower, the problem that accuracy of detection is relatively poor.
In an embodiment of the present invention, provide a kind of detection method of hot plug fault of storage card, may further comprise the steps: every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug; To each simulation hot plug, judge whether to take place hot plug fault; Obtain the testing result of hot plug fault according to judged result.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to judged result specifically comprises: if hot plug fault does not take place, the minute book time simulation single that hot plug produced detects information; Relatively simulate the size of hot plug total degree and frequency threshold value; Obtain the testing result of hot plug fault according to comparative result and single detection information.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to comparative result and single detection information specifically comprises: if simulation hot plug total degree is less than frequency threshold value, according to this simulation hot plug and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result; Simulation hot plug total degree is set adds one, restart timing, wait for and simulate hot plug next time.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to comparative result and single detection information specifically comprises: if simulation hot plug total degree is more than or equal to frequency threshold value, according to this simulation hot plug and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result; The end simulation hot plug operations.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to judged result specifically comprises: if hot plug fault takes place, the minute book time simulation single that hot plug produced detects information; Simulate hot plug and repeatedly simulate hot plug before a plurality of single detection information that produced according to this and obtain testing result; The end simulation hot plug operations.
Preferably, in above-mentioned detection method, the minute book time simulation single that hot plug produced detects information and specifically comprises: this simulation single detection information that hot plug produced is saved in nonvolatile memory.
Preferably, in above-mentioned detection method, be communicated with or the power supply that cuts off storage card specifically comprises every the schedule time: transistor switch is set opens or turn-off every the schedule time, power supply is powered to storage card by transistor switch.
Preferably, in above-mentioned detection method, the power supply that opens or closes storage card every the schedule time is also to comprise before the simulation hot plug: start hot plug fault and detect; The frequency threshold value and the schedule time are set,, start timer and pick up counting the zero clearing of hot plug total degree
In an embodiment of the present invention, also provide a kind of pick-up unit of hot plug fault of storage card, having comprised: analog module, be used for every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug; Judge module is used for each simulation hot plug is judged whether to take place hot plug fault; Detection module is used for obtaining according to judged result the testing result of hot plug fault.
Preferably, in above-mentioned detection device, detection module specifically comprises: storage unit is used to preserve the single detection information that each simulation hot plug is produced; Comparing unit is used for relatively simulating the size of hot plug total degree and frequency threshold value.
Preferably, in above-mentioned detection device, storage unit is a nonvolatile memory.
Preferably, in above-mentioned detection device, also comprise transistor switch, the power supply that is used for the control store card was communicated with or cut-out every the schedule time, and transistor switch is set to open or turn-off every the schedule time, and power supply is powered to storage card by transistor switch.
Preferably, in above-mentioned detection device, comprising: start module, be used to start hot plug fault and detect; Module is set, is used to be provided with the frequency threshold value and the schedule time,, start timer and pick up counting the zero clearing of hot plug total degree.
The foregoing description comes the hot plug of analog memory card to detect to finish hot plug fault by the power supply of connection or cut-out storage card, and then reduced the detection cost, the carrying out that helps mass detection, thereby the reproduction efficient and the accuracy of detection of hot plug fault of storage card have been improved, the detection method of hot plug fault of storage card causes the draw-in groove fatigue breakdown easily in the correlation technique so overcome, and need to be equipped with a large amount of testing staff, because it is higher to detect cost, so be difficult to carry out mass detection, thereby cause the reproduction efficient of hot plug fault of storage card lower, the problem that accuracy of detection is relatively poor.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram according to the detection method of first embodiment of the invention;
Fig. 2 shows the storage card power supply synoptic diagram according to second embodiment of the invention;
Fig. 3 shows the process flow diagram according to the test initialization of third embodiment of the invention;
Fig. 4 shows the process flow diagram according to the detection method of fourth embodiment of the invention;
Fig. 5 shows the structural drawing according to the pick-up unit of fifth embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram according to the detection method of first embodiment of the invention, and this method may further comprise the steps:
Step S101, every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug;
Step S102 to each simulation hot plug, judges whether to take place hot plug fault;
Step S103 obtains the testing result of hot plug fault according to judged result.
Present embodiment at first every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug, to each simulation hot plug, judge whether to take place hot plug fault, obtain the testing result of hot plug fault then according to judged result, wherein, when being communicated with the storage card power supply, data equipment at first detects storage card and inserts, then the load store card apparatus; When cutting off the storage card power supply, data equipment at first detects storage card and extracts, and unloads memory card device then.Because present embodiment comes the hot plug of analog memory card to detect to finish hot plug fault by the power supply of connection or cut-out storage card, and then reduced the detection cost, the carrying out that helps mass detection, thereby the reproduction efficient and the accuracy of detection of hot plug fault of storage card have been improved, the detection method of hot plug fault of storage card causes the draw-in groove fatigue breakdown easily in the correlation technique so overcome, and need to be equipped with a large amount of testing staff, because it is higher to detect cost, so be difficult to carry out mass detection, thereby cause the reproduction efficient of hot plug fault of storage card lower, the problem that accuracy of detection is relatively poor.
Preferably, in above-mentioned detection method, step S103 specifically comprises: if hot plug fault does not take place, the minute book time simulation single that hot plug produced detects information; Relatively simulate the size of hot plug total degree and frequency threshold value; Obtain the testing result of hot plug fault according to comparative result and single detection information.
Hot plug fault does not take place in the hot plug simulation of present embodiment, then the minute book time simulation single that hot plug produced detects information, relatively simulate the size of hot plug total degree and frequency threshold value then, obtain at last the testing result of hot plug fault according to comparative result and single detection information.Do like this, make the detection information of each simulation hot plug be retained, for the detection and the analysis of hot plug fault of storage card provides foundation.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to comparative result and single detection information specifically comprises: if simulation hot plug total degree is less than frequency threshold value, according to this simulation hot plug and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result; Simulation hot plug total degree is set adds one, restart timing, wait for and simulate hot plug next time.
Hot plug fault does not take place in this simulation hot plug in the present embodiment, and the hot plug total degree is less than frequency threshold value, then simulate hot plug and repeatedly simulate hot plug before a plurality of single detection information that produced and obtain testing result according to this, and simulation hot plug total degree is set adds one, restart timing, wait for and simulate hot plug next time.Do like this, make and hot plug fault not to take place and the simulation hot plug number of times that carried out when not many when this hot plug, order simulation hot plug total degree adds one, and pick up counting again, wait for and simulate hot plug next time, promptly continue to carry out the circulation of simulation hot plug, help reappearing the hot plug fault of storage card, improve accuracy of detection.
Preferably, in above-mentioned detection method, the testing result that obtains hot plug fault according to comparative result and single detection information specifically comprises: if simulation hot plug total degree is more than or equal to frequency threshold value, according to this simulation hot plug and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result; The end simulation hot plug operations.
Hot plug fault does not take place in this simulation hot plug in the present embodiment, and the hot plug total degree is more than or equal to frequency threshold value, then simulate hot plug and repeatedly simulate hot plug before a plurality of single detection information that produced and obtain testing result according to this, and the end simulation hot plug operations, wait for that the user extracts testing result.Though hot plug fault does not take place in this hot plug, but the simulation hot plug number of times that has carried out is too much, can think and obtain abundant detection information, so withdraw from the circulation of simulation hot plug, under the prerequisite that guarantees accuracy of detection, saved the time cost that hot plug fault of storage card detects.
Preferably, in above-mentioned detection method, step S103 specifically comprises: if hot plug fault takes place, the minute book time simulation single that hot plug produced detects information; Simulate hot plug and repeatedly simulate hot plug before a plurality of single detection information that produced according to this and obtain testing result; The end simulation hot plug operations.
This simulation hot plug generation hot plug fault in the present embodiment, at first the minute book time simulation single that hot plug produced detects information, a plurality of single detection information before comprehensive then obtain testing result, and last end simulation hot plug operations waits for that the user extracts testing result.This simulation hot plug generation hot plug fault, be that the hot plug fault is reappeared, write down the detection information of hot plug fault in the testing result that obtain this moment, can realize location to this testing result analysis to hot plug fault, thereby solve the reason that causes hot plug fault better, fundamentally solve the problem of hot plug fault of storage card.
Preferably, in above-mentioned detection method, the minute book time simulation single that hot plug produced detects information and specifically comprises: this simulation single detection information that hot plug produced is saved in nonvolatile memory.
Present embodiment adopts nonvolatile memory to preserve this simulation single that hot plug produced and detects information, and nonvolatile memory is such as Flash storer (flash memory).Do like this, the detection information that makes the simulation hot plug produce obtains safety, perfect protection, has avoided because the problem of the detection information dropout that the use normal memory causes.
Preferably, in above-mentioned detection method, step S101 specifically comprises: transistor switch is set opens or turn-off every the schedule time, power supply is powered to storage card by transistor switch.
Present embodiment is provided with a transistor switch between power supply and storage card, and opens or turn-off every the schedule time by transistor switch is set, and comes the connection or the shutoff of control store card power supply.The hardware that transistor switch is set is realized simple, not only avoided manually plugging repeatedly storage card, realized simulation to the storage card hot plug, and because the switching speed of transistor switch is higher, so improved analog frequency, and then improved the recurrence rate and the detection efficiency of hot plug fault to the storage card hot plug.
Fig. 2 shows the storage card power supply synoptic diagram according to second embodiment of the invention, and GPIO (General Purpose Input Output, general I/O) mouthful that adopts baseband chip in the present embodiment to transistor switch enforcement control.Referring to Fig. 2, power supply sends to transistor switch with power supply signal 202, the GPIO mouth of baseband chip sends to transistor switch with the GPIO control signal 201 that the inner generation of baseband chip oxide-semiconductor control transistors switch turns on and off, transistor switch out-put supply signal 203 sends to storage card, promptly when GPIO control signal 201 when opening signal, transistor switch is open-minded, power supply is communicated with electrical connection between the storage card, and power supply is powered to storage card by power supply signal 202 and transistor switch out-put supply signal 203; When GPIO control signal 201 was cut-off signals, transistor switch turn-offed, and being electrically connected between power supply and the storage card is cut off, and power supply signal 202 is cut off at the transistor switch place, and power supply can't be powered to storage card this moment.
Preferably, in above-mentioned detection method, also comprise before the step S101: start hot plug fault and detect; The frequency threshold value and the schedule time are set,, start timer and pick up counting the zero clearing of hot plug total degree.
Present embodiment at first started hot plug fault by the user and detects before step S101, and the frequency threshold value and the schedule time are set then, and with the zero clearing of hot plug total degree, started timer and pick up counting.Do like this, make the user can select whether need to start hot plug fault and detect, improved the dirigibility that hot plug fault detects, adopt timer to carry out timing in addition and be easy to realize.
Fig. 3 shows the process flow diagram according to the test initialization of third embodiment of the invention, and the digital equipment in the present embodiment is such as being mobile phone, and test initialization comprises following steps:
Step S301 behind the mobile phone power-on, waits for user's operation at idle (Idle) state;
Step S302, user are provided with whether start the hot plug fault detection, then forward step S304 to if start;
Step S303, the user carries out other operations, need not to carry out hot plug fault and detects, and directly forwards end to;
Step S304 is provided with parameters such as the schedule time, frequency threshold value, record detection information, and mobile phone is prepared to enter hot plug fault and detected, storage hot plug schedule time parameter in nonvolatile memory;
Step S305, storage hot plug total degree parameter in nonvolatile memory;
Step S306, mobile phone carries out initialization to timer, starts timer and picks up counting;
Step S307, mobile phone enters idle condition, and waiting timer count down to default time-delay.
Fig. 4 shows the process flow diagram according to the detection method of second embodiment of the invention, and the digital equipment in the present embodiment is such as being mobile phone, and this detection method may further comprise the steps:
Step S401, user are provided with whether start the hot plug fault detection, then forward step S403 to if start;
Step S402, the user carries out other operations, need not to carry out hot plug fault and detects, and directly forwards end to;
Step S403, timer picks up counting;
Step S404 judges whether timer arrives the schedule time, if no show then goes back to step S404;
Step S405 judges whether storage card is in the insertion state, if be not in the insertion state, then forwards step S409 to;
Step S406, if storage card is in the insertion state, then mobile phone is prepared to simulate hot drawing and is gone out, and cuts off the storage card power supply by baseband chip GPIO mouth;
Step S407, the storage card outage, mobile phone detects storage card and extracts operation;
Step S408, mobile phone unloading memory card device, the relevant information of deletion storage card, the catalogue that original storage space is set to storage card is revised as the mobile phone memory block;
Step S409, the single of preserving this simulation hot plug in nonvolatile memory detects information, comprising: whether the unloading storage card is successful, and whether the storage card relevant information is from the mobile phone deletion, and whether the associative directory setting has been set to the mobile phone memory block;
Step S410, if storage card is not in the insertion state, then mobile phone prepares to simulate the heat insertion, is communicated with the storage card power supply by baseband chip GPIO;
Step S411, storage card powers on, and mobile phone detects storage card and inserts operation;
Step S412, the mobile phone initializing memory card, load store card apparatus, mobile phone are read the storage card corresponding information, and the catalogue that original storage space is set to the mobile phone memory block is revised as the storage card memory block;
Step S413, the single of preserving this simulation hot plug in nonvolatile memory detects information, comprises; Whether whether the load store card is successful, and whether the storage card relevant information reads, and whether the associative directory setting has been set to the storage card memory block, various normal with the card interactive operation;
Step S414 judges whether this hot plug hot plug fault takes place, if take place, then forwards step S417 to;
Whether step S415 judges the hot plug total degree less than frequency threshold value, if be not less than, then forwards step S417 to;
Step S416, according to this and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result;
Step S417, mobile phone proceed the hot plug test, deposit nonvolatile memory in after the hot plug total degree is added, and forward step S403 to;
Step S418, according to this and before a plurality of single detection information of repeatedly simulating hot plug and being produced obtain testing result;
Step S419, mobile phone end simulation hot plug operations enters holding state, waits for that the user extracts testing result.
Fig. 5 shows the structural drawing according to the pick-up unit of fifth embodiment of the invention, and this device comprises:
Present embodiment at first adopt analog module 10 every the schedule time be communicated with or the power supply that cuts off storage card with the simulation hot plug, adopt 20 pairs of each simulation hot plugs of judge module then, judge whether to take place hot plug fault, adopt detection module 30 to obtain the testing result of hot plug fault according to judged result at last.Because present embodiment comes the hot plug of analog memory card to detect to finish hot plug fault by the power supply of connection or cut-out storage card, and then reduced the detection cost, the carrying out that helps mass detection, thereby the reproduction efficient and the accuracy of detection of hot plug fault of storage card have been improved, the detection method of hot plug fault of storage card causes the draw-in groove fatigue breakdown easily in the correlation technique so overcome, and need to be equipped with a large amount of testing staff, because it is higher to detect cost, so be difficult to carry out mass detection, thereby cause the reproduction efficient of hot plug fault of storage card lower, the problem that accuracy of detection is relatively poor.
Preferably, in above-mentioned detection device, detection module specifically comprises: storage unit is used to preserve the single detection information that each simulation hot plug is produced; Comparing unit is used for relatively simulating the size of hot plug total degree and frequency threshold value.
Present embodiment adopts storage unit to preserve each simulation single that hot plug produced and detects information, adopts comparing unit relatively to simulate the size of hot plug total degree and frequency threshold value.Do like this, make the detection information of each simulation hot plug be retained, for the detection and the analysis of hot plug fault of storage card provides foundation, and support to take different detection methods with the different magnitude relationship of frequency threshold value, further improved accuracy of detection according to simulation hot plug total degree.
Preferably, in above-mentioned detection device, storage unit is a nonvolatile memory.
Storage unit in the present embodiment adopts nonvolatile memory, and nonvolatile memory is such as Flash storer (flash memory).Do like this, the detection information that makes the simulation hot plug produce obtains safety, perfect protection, has avoided because the problem of the detection information dropout that the use normal memory causes.
Preferably, in above-mentioned detection device, also comprise transistor switch, the power supply that is used for the control store card was communicated with or cut-out every the schedule time, and transistor switch is set to open or turn-off every the schedule time, and power supply is powered to storage card by transistor switch.
Present embodiment adopts the connection and the cut-out of transistor switch control store card power supply.The setting of transistor switch has not only avoided manually plugging repeatedly storage card, realized simulation to the storage card hot plug, and because the switching speed of transistor switch is higher, so improved analog frequency to the storage card hot plug, and then improved the recurrence rate and the detection efficiency of hot plug fault.
Preferably, in above-mentioned detection device, comprising: start module, be used to start hot plug fault and detect; Module is set, is used to be provided with the frequency threshold value and the schedule time,, start timer and pick up counting the zero clearing of hot plug total degree.
Present embodiment adopts and starts the detection of module startup hot plug fault, and employing is provided with module the frequency threshold value and the schedule time are set, and with the zero clearing of hot plug total degree, starts timer and picks up counting.Do like this, make the user can select whether need to start hot plug fault and detect, improved the dirigibility that hot plug fault detects, adopt timer to carry out timing in addition and be easy to realize.
As can be seen from the above description, the above embodiments of the present invention have reduced the detection cost, help the carrying out of mass detection, thereby have improved the reproduction efficient and the accuracy of detection of hot plug fault of storage card.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (13)
1. the detection method of a hot plug fault of storage card is characterized in that, may further comprise the steps:
Every the schedule time be communicated with or the power supply that cuts off described storage card with the simulation hot plug;
To each simulation hot plug, judge whether to take place hot plug fault;
Obtain the testing result of described hot plug fault according to judged result.
2. detection method according to claim 1 is characterized in that, the testing result that obtains described hot plug fault according to judged result specifically comprises:
If described hot plug fault does not take place, the minute book time simulation single that hot plug produced detects information;
The size of more described simulation hot plug total degree and frequency threshold value;
Obtain the testing result of described hot plug fault according to comparative result and described single detection information.
3. detection method according to claim 2 is characterized in that, the testing result that obtains described hot plug fault according to comparative result and described single detection information specifically comprises:
If described simulation hot plug total degree less than described frequency threshold value, is simulated hot plug and is repeatedly simulated hot plug before a plurality of single detection information that produced according to described this and obtain testing result;
Described simulation hot plug total degree is set adds one, restart timing, wait for and simulate hot plug next time.
4. detection method according to claim 2 is characterized in that, the testing result that obtains described hot plug fault according to comparative result and described single detection information specifically comprises:
If described simulation hot plug total degree more than or equal to described frequency threshold value, is simulated hot plug and is repeatedly simulated hot plug before a plurality of single detection information that produced according to described this and obtain testing result;
The end simulation hot plug operations.
5. detection method according to claim 2 is characterized in that, the testing result that obtains described hot plug fault according to judged result specifically comprises:
If described hot plug fault takes place, the minute book time simulation single that hot plug produced detects information;
Simulate hot plug and repeatedly simulate hot plug before a plurality of single detection information that produced according to described this and obtain testing result;
The end simulation hot plug operations.
6. detection method according to claim 2 is characterized in that, the minute book time simulation single that hot plug produced detects information and specifically comprises:
Described this simulation described single detection information that hot plug produced is saved in nonvolatile memory.
7. detection method according to claim 1 is characterized in that, is communicated with or the power supply that cuts off described storage card specifically comprises every the schedule time:
Transistor switch is set opens or turn-off every the described schedule time, described power supply is powered to described storage card by described transistor switch.
8. according to each described detection method among the claim 1-7, it is characterized in that the power supply that opens or closes described storage card every the schedule time is also to comprise before the simulation hot plug:
Starting hot plug fault detects;
The frequency threshold value and the schedule time are set,, start timer and pick up counting the zero clearing of hot plug total degree.
9. the pick-up unit of a hot plug fault of storage card is characterized in that, comprising:
Analog module, be used for every the schedule time be communicated with or the power supply that cuts off described storage card with the simulation hot plug;
Judge module is used for each simulation hot plug is judged whether to take place hot plug fault;
Detection module is used for obtaining according to judged result the testing result of described hot plug fault.
10. pick-up unit according to claim 9 is characterized in that, described detection module specifically comprises:
Storage unit is used to preserve the single detection information that each simulation hot plug is produced;
Comparing unit is used for the size of more described simulation hot plug total degree and frequency threshold value.
11. pick-up unit according to claim 10 is characterized in that, described storage unit is a nonvolatile memory.
12. pick-up unit according to claim 9, it is characterized in that, also comprise transistor switch, be used to control the power supply of described storage card every described schedule time connection or cut-out, described transistor switch is set to open or turn-off every the described schedule time, and described power supply is powered to described storage card by described transistor switch.
13. according to each described pick-up unit among the claim 9-12, it is characterized in that, also comprise:
Start module, be used to start hot plug fault and detect;
Module is set, is used to be provided with the frequency threshold value and the schedule time,, start timer and pick up counting the zero clearing of hot plug total degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910158972.2A CN101615152B (en) | 2009-07-13 | 2009-07-13 | Method and device for detecting hot plug fault of storage card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910158972.2A CN101615152B (en) | 2009-07-13 | 2009-07-13 | Method and device for detecting hot plug fault of storage card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101615152A true CN101615152A (en) | 2009-12-30 |
CN101615152B CN101615152B (en) | 2013-07-03 |
Family
ID=41494805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910158972.2A Active CN101615152B (en) | 2009-07-13 | 2009-07-13 | Method and device for detecting hot plug fault of storage card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101615152B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300001A (en) * | 2011-09-14 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Method for preventing memory card of mobile terminal from frequent hot plug and mobile terminal |
CN102708032A (en) * | 2012-01-18 | 2012-10-03 | 晨星软件研发(深圳)有限公司 | Method and device for detecting hot plug of secure digital card |
CN103049344A (en) * | 2012-11-30 | 2013-04-17 | 华为技术有限公司 | Fault-tolerance processing method and device for plugging hardware |
TWI463328B (en) * | 2012-01-18 | 2014-12-01 | Mstar Semiconductor Inc | Detecting method and apparatus for hot swapped sd card |
CN105245671A (en) * | 2015-10-13 | 2016-01-13 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal, detecting device and method for plugging and unplugging of SD (Secure Digital) card thereof |
CN105554186A (en) * | 2015-12-10 | 2016-05-04 | Tcl移动通信科技(宁波)有限公司 | Method and system for accelerating enabling of TF card |
CN107656842A (en) * | 2017-09-20 | 2018-02-02 | 惠州Tcl移动通信有限公司 | A kind of SIM card hot plug method for testing performance, storage device and mobile terminal |
CN108073462A (en) * | 2016-11-14 | 2018-05-25 | 厦门雅迅网络股份有限公司 | A kind of SD card reads abnormal repositioning method and system |
CN109062749A (en) * | 2018-08-15 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of server M.3 hard disk hot-plug stability test method and device |
CN109189621A (en) * | 2018-08-20 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of test method and system of NVMe SSD hot plug |
CN111638439A (en) * | 2020-04-27 | 2020-09-08 | 西安广和通无线软件有限公司 | Communication module testing method, device, computer equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117335A (en) * | 2018-08-15 | 2019-01-01 | 浪潮电子信息产业股份有限公司 | A kind of hard disk simulation hot plug test method, device, terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200525343A (en) * | 2004-01-20 | 2005-08-01 | Red Hat Inc | Hot plug interfaces and failure handling |
CN101008911A (en) * | 2007-02-06 | 2007-08-01 | 杭州华为三康技术有限公司 | Method and main machine equipment for implementing virtual hot-Swap |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3573350B2 (en) * | 1995-12-22 | 2004-10-06 | トムソン コンシユーマ エレクトロニクス インコーポレイテツド | Smart card reader and method for protecting smart card with smart card reader |
CN1251445C (en) * | 2002-05-14 | 2006-04-12 | 华为技术有限公司 | PCI bus expansion method and detecting device for PCI card batch detection |
CN100583076C (en) * | 2007-09-21 | 2010-01-20 | 中兴通讯股份有限公司 | Hot plug detection method of mobile memory card |
-
2009
- 2009-07-13 CN CN200910158972.2A patent/CN101615152B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200525343A (en) * | 2004-01-20 | 2005-08-01 | Red Hat Inc | Hot plug interfaces and failure handling |
CN101008911A (en) * | 2007-02-06 | 2007-08-01 | 杭州华为三康技术有限公司 | Method and main machine equipment for implementing virtual hot-Swap |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300001B (en) * | 2011-09-14 | 2014-04-16 | 惠州Tcl移动通信有限公司 | Method for preventing memory card of mobile terminal from frequent hot plug and mobile terminal |
CN102300001A (en) * | 2011-09-14 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Method for preventing memory card of mobile terminal from frequent hot plug and mobile terminal |
CN102708032A (en) * | 2012-01-18 | 2012-10-03 | 晨星软件研发(深圳)有限公司 | Method and device for detecting hot plug of secure digital card |
TWI463328B (en) * | 2012-01-18 | 2014-12-01 | Mstar Semiconductor Inc | Detecting method and apparatus for hot swapped sd card |
CN102708032B (en) * | 2012-01-18 | 2014-12-10 | 晨星软件研发(深圳)有限公司 | Method and device for detecting hot plug of secure digital card |
CN103049344A (en) * | 2012-11-30 | 2013-04-17 | 华为技术有限公司 | Fault-tolerance processing method and device for plugging hardware |
CN103049344B (en) * | 2012-11-30 | 2015-12-09 | 华为技术有限公司 | The method and apparatus of hardware plug fault-tolerant processing |
CN105245671B (en) * | 2015-10-13 | 2019-03-26 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its SD card plug detection device and method |
CN105245671A (en) * | 2015-10-13 | 2016-01-13 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal, detecting device and method for plugging and unplugging of SD (Secure Digital) card thereof |
CN105554186A (en) * | 2015-12-10 | 2016-05-04 | Tcl移动通信科技(宁波)有限公司 | Method and system for accelerating enabling of TF card |
CN105554186B (en) * | 2015-12-10 | 2019-01-29 | Tcl移动通信科技(宁波)有限公司 | It is a kind of to accelerate the enabled method and system of TF card |
CN108073462A (en) * | 2016-11-14 | 2018-05-25 | 厦门雅迅网络股份有限公司 | A kind of SD card reads abnormal repositioning method and system |
CN107656842A (en) * | 2017-09-20 | 2018-02-02 | 惠州Tcl移动通信有限公司 | A kind of SIM card hot plug method for testing performance, storage device and mobile terminal |
CN109062749A (en) * | 2018-08-15 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of server M.3 hard disk hot-plug stability test method and device |
CN109189621A (en) * | 2018-08-20 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of test method and system of NVMe SSD hot plug |
CN111638439A (en) * | 2020-04-27 | 2020-09-08 | 西安广和通无线软件有限公司 | Communication module testing method, device, computer equipment and storage medium |
CN111638439B (en) * | 2020-04-27 | 2023-09-15 | 西安广和通无线软件有限公司 | Communication module testing method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101615152B (en) | 2013-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101615152B (en) | Method and device for detecting hot plug fault of storage card | |
CN103324549B (en) | The implementation method of sleep standby and communication terminal | |
CN201789480U (en) | Circuit reusing power on/off key for realizing reset function and portable mobile terminal | |
WO2016197984A1 (en) | Switch control circuit and method for terminal | |
CN103440079A (en) | Restoration method for operation interface and communication terminal | |
CN102098390A (en) | Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone | |
CN103034597A (en) | Device and method for operating memory cards | |
CN107612792A (en) | A kind of intelligent home device gateway data information quick replacement method | |
CN102123205B (en) | Power on/off control method for card socket and terminal | |
CN102522119A (en) | Method and digital device for intelligently burning HDCP (High-bandwidth Digital-content Copy Protection) KEY | |
CN102314403A (en) | Device and method for identifying I2C (Inter-Integrated Circuit) bus signal by taking MCU (Micro Control Unit) as slave device | |
CN101969577A (en) | Method for automatically testing set top box | |
CN107850932A (en) | For preserving and recovering data within a processor to save the apparatus and method of electric power | |
CN103702107B (en) | A kind of intelligent television switching on and shutting down high speed test method | |
CN102759975A (en) | Start-up and shut-down management system and method of electronic device | |
CN100505854C (en) | Recording method based on set top box | |
CN104572363A (en) | Device and method for testing recognition reliability of USB equipment | |
CN104102498A (en) | Mobile terminal and booting method thereof | |
CN104917245A (en) | Charging management circuit, mobile terminal and charging control method of mobile terminal | |
CN106681893B (en) | A kind of implementation method of NAND FLASH simulator | |
CN101867697A (en) | Set-top box system for realizing plugging and playing by utilizing network and method thereof | |
CN101526802A (en) | Information protection method for PIN input equipment | |
CN201548953U (en) | Startup and shutdown time sequence control device of disk array storage system | |
CN109885731B (en) | Data information mapping matching method and system for power monitoring platform | |
CN103648029B (en) | The energising guard method of intelligent television and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |