CN108491740A - A kind of TF card performance method of real-time - Google Patents
A kind of TF card performance method of real-time Download PDFInfo
- Publication number
- CN108491740A CN108491740A CN201810102074.4A CN201810102074A CN108491740A CN 108491740 A CN108491740 A CN 108491740A CN 201810102074 A CN201810102074 A CN 201810102074A CN 108491740 A CN108491740 A CN 108491740A
- Authority
- CN
- China
- Prior art keywords
- card
- detection
- data
- read
- real
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
- G06K7/0021—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers for reading/sensing record carriers having surface contacts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
- G06K7/0034—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers the connector being capable of simultaneously receiving a plurality of cards in the same insertion slot
- G06K7/0043—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers the connector being capable of simultaneously receiving a plurality of cards in the same insertion slot the plurality of cards being cards of different formats, e.g. SD card and memory stick
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Debugging And Monitoring (AREA)
Abstract
Technical scheme of the present invention includes a kind of TF card performance method of real-time, which is characterized in that this method includes:Spot failure detects, and is detected to multiple link data of TF card using reading device, and being sent to interactive interface to spot failure that is that mistake occur and can not restoring shows;Card performance detection, the statistics of TF card and its corresponding driving device amount of carrying out data transmission to insertion, and, read or write speed is detected, when volume of transmitted data and data transmission bauds reach predetermined threshold value, sends corresponding prompting message to user;Card safety detection, the volatibility for the file data to being specified in TF in fixed time period verify, and corresponding prompt is given according to check results.Beneficial effects of the present invention are:It can detect that a variety of error types report in time in real time;Do not increase extra load and carries out ground read or write speed detection in real time;The testing mechanism of data volatility is provided.
Description
Technical field
The present invention relates to a kind of TF card performance method of real-time, belong to computer realm.
Background technology
TF card is that very universal storage medium belongs to easily loss device due to its physical characteristic in mobile video recording equipment
Part, high definition record a video scene in for a long time read-write be easily damaged or performance be not achieved high definition record a video needs, and Video data to collect evidence,
Amusement etc. is most important, it is therefore desirable to the readwrite performance and deterioration extent of TF card be detected in real time, if there is abnormal prompting user in time
It replaces.
In order to realize the above demand, user experience is improved, this programme uses in driving to transmitting or receiving TF card
Data volume does statistics to detect read or write speed;Real-time tracking is done to driving identification card and the process used;In performance deficiency or go out
It staggers the time and user is prompted by sound and pop-up.
Can not dynamic detection card deterioration extent, user can not know the operation conditions of card, cause important Video data crucial
Moment can not find;Detection speed needs application layer in addition to read and write detection data to judge, has located to TF card in high definition video recording scene
It is not suitable in the case where high load.
Invention content
In view of the deficiencies of the prior art, technical scheme of the present invention provides a kind of TF card performance method of real-time, uses
In the card for identifying a problem that bad, performance is undesirable, transmission speed grade is low, volatile data, user is prompted to replace, with true
High definition video recording is protected to stablize;In real time detection read-write card speed, when performance deficiency prompt user card service life reach before in time more
It changes.
Technical scheme of the present invention includes a kind of TF card performance method of real-time, which is characterized in that this method includes:Damage
Bad point detection is detected multiple link data of TF card using reading device, to that mistake occur and can not restore
Spot failure is sent to interactive interface and is shown;Card performance detection, TF card and its corresponding driving device to insertion are into line number
According to the statistics of transmission quantity, and, read or write speed is detected, when volume of transmitted data and data transmission bauds reach predetermined threshold value
When, corresponding prompting message is sent to user;Card safety detection, for the file data to being specified in TF in fixed time period
Volatibility verified, give corresponding prompt according to check results.
According to the power TF card performance method of real-time, the detection of wherein spot failure includes the following steps:S21, will
TF card is inserted into TF card detection device, is carried out successively to the step of including but not limited to drive load, file system detection and carry
Detection;S22, the spot failure for obtaining the generation of each step is recorded and is attempted to repair, by spot failure if it can not repair
Position and type are shown by interactive interface.
According to the power TF card performance method of real-time, the detection of wherein spot failure further includes:Read the biography of TF card
The required transmission speed grade of functions of the equipments residing for defeated speed class and TF card, if the transmission speed grade read is less than TF card institute
Locate the required transmission speed grade of functions of the equipments and then carries out corresponding prompt to user.
According to the power TF card performance method of real-time, the detection of wherein spot failure further includes:Text is used to TF card
Part detecting system is detected, if executing next step if, if not by the way that the position of spot failure and type are passed through friendship
Mutual interface is shown;The carry actuation time of TF card is detected, if carry action is more than preset time, carry is moved
Make corresponding problem to be shown by interactive interface.
According to the power TF card performance method of real-time, wherein card performance detection further includes:Each fixed time period
Statistics is done to the volume of transmitted data that driving device and TF card carry out and takes statistics, is worth according to statistical data amount and time-consuming ratio
To transmission speed, if read-write data are less than 2.5M/s, corresponding prompt is carried out to user, wherein fixed time period is 20 points
Clock.
According to the power TF card performance method of real-time, wherein card safety detection further includes:Data volatility detects,
A plain text read-write is carried out at interval of fixed time period, read-write content is MAC Address and No. SN, if read-write content error
I.e. instruction card is unable to storing data permanently, then carries out corresponding prompting to user, text therein is the one or more specified
Text.
Beneficial effects of the present invention are:It can detect that a variety of error types report in time in real time;Do not increase extra load
Carry out ground read or write speed detection in real time;The testing mechanism of data volatility is provided.
Description of the drawings
Fig. 1 show the overview flow chart according to embodiment of the present invention;
Fig. 2 show the damage overhaul flow chart according to embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.The TF card performance method of real-time of the present invention is suitable for the mobile device of various video recordings.
Fig. 1 show the overview flow chart according to embodiment of the present invention.It specifically includes spot failure detection, uses reading
Device is detected multiple link data of TF card, and interactive boundary is sent to spot failure that is that mistake occur and can not restoring
Face is shown;Card performance detection, the statistics of TF card and its corresponding driving device amount of carrying out data transmission to insertion, with
And read or write speed is detected, when volume of transmitted data and data transmission bauds reach predetermined threshold value, send corresponding prompting
Information is to user, in long-term high definition records a video scene, does statistics to the volume of transmitted data that driving and TF card carry out and takes statistics,
Continue 5 minutes every time, it is primary every detection in 20 minutes.With data volume and divided by take and obtain read or write speed, if read-write number
Replacement card is carried out according to report of user (is calculated) i.e. from camera Video data gauge less than 2.5M/s;Card safety detection is used for
The volatibility of file data in fixed time period to being specified in TF verifies, and corresponding prompt is given according to check results,
It is specifically included carried out a plain text read-write at interval of 30 minutes, and content is MAC Address and No. SN.If reading of content goes out
Mistake is that instruction card is unable to storing data permanently, and user is reminded to replace.Wherein spot failure detection, card performance detection and card safety
Detection might not be executed according to the sequence in figure.
Fig. 2 show the damage overhaul flow chart according to embodiment of the present invention.
In TF card machine is inserted into start to detect, from drive load, file system detection, carry etc. using each link into
Row monitoring carries out report of user processing to the mistake that can not restore, is capable of detecting when a variety of error types, clearly knows to user
The spot failure of card.Machine is inserted into TF card to start to detect, driving can carry out electro-detection, it is desirable that detection is normal;Card is read at this time
Class transmission speed grade points, it is desirable that it is more than class transmission speed class 6s, otherwise cannot be satisfied high definition video recording demand;It drives
Message is sent to vold after dynamic layer completion, vold carries out card the detection of file system, it is desirable that is detected by fsck_msdos;It connects
Carry out carry action, it is desirable that carry success at the appointed time.If above procedure malfunctions, i.e., to application affairs, prompt user.
The above, only presently preferred embodiments of the present invention, the invention is not limited in the above embodiments, as long as
It reaches the technique effect of the present invention with identical means, should all belong to the scope of protection of the present invention.In the protection model of the present invention
Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.
Claims (6)
1. a kind of TF card performance method of real-time, which is characterized in that this method includes:
Spot failure detect, multiple link data of TF card are detected using reading device, to occur mistake and can not
The spot failure of recovery is sent to interactive interface and is shown;
Card performance detection, the statistics of TF card and its corresponding driving device amount of carrying out data transmission to insertion, and, to read-write
Speed is detected, and when volume of transmitted data and data transmission bauds reach predetermined threshold value, sends corresponding prompting message to using
Family;
Card safety detection, the volatibility for the file data to being specified in TF in fixed time period verifies, according to school
It tests result and gives corresponding prompt.
2. TF card performance method of real-time according to claim 1, which is characterized in that the detection of the spot failure includes
Following steps:
TF card is inserted into TF card detection device by S21, to including but not limited to the step of drive load, file system detection and carry
Suddenly it is detected successively;
S22, the spot failure for obtaining the generation of each step are recorded and are attempted to repair, by the position of spot failure if it can not repair
It sets and type is shown by interactive interface.
3. TF card performance method of real-time according to claim 2, which is characterized in that the detection of the spot failure is also wrapped
It includes:
The required transmission speed grade of functions of the equipments residing for the transmission speed grade and TF card of TF card is read, if the transmission speed read
It spends grade and then carries out corresponding prompt to user less than the required transmission speed grade of functions of the equipments residing for TF card.
4. TF card performance method of real-time according to claim 2, which is characterized in that the detection of the spot failure is also wrapped
It includes:
TF card is detected using file detecting system, if executing next step if, if not by by spot failure
Position and type are shown by interactive interface;
The carry actuation time of TF card is detected, if carry action is more than preset time, carry is acted into corresponding ask
Topic is shown by interactive interface.
5. TF card performance method of real-time according to claim 1, which is characterized in that the card performance detection is also wrapped
It includes:
The volume of transmitted data that each fixed time period carries out driving device and TF card does statistics and takes statistics, according to statistical number
It is worth to transmission speed according to amount and time-consuming ratio, if read-write data are less than 2.5M/s, corresponding prompt is carried out to user,
Middle fixed time period is 20 minutes.
6. TF card performance method of real-time according to claim 1, which is characterized in that the card safety detection is also wrapped
It includes:
Data volatility detects, and carries out a plain text read-write at interval of fixed time period, read-write content is MAC Address and SN
Number, if read-write content error is that instruction card is unable to storing data permanently, corresponding prompting, text therein are carried out to user
For specified one or more texts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810102074.4A CN108491740A (en) | 2018-02-01 | 2018-02-01 | A kind of TF card performance method of real-time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810102074.4A CN108491740A (en) | 2018-02-01 | 2018-02-01 | A kind of TF card performance method of real-time |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108491740A true CN108491740A (en) | 2018-09-04 |
Family
ID=63344314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810102074.4A Pending CN108491740A (en) | 2018-02-01 | 2018-02-01 | A kind of TF card performance method of real-time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108491740A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110597674A (en) * | 2019-08-05 | 2019-12-20 | 天津华来科技有限公司 | Memory detection method, device, video recording system and storage medium |
CN111983354A (en) * | 2020-08-20 | 2020-11-24 | 广东全芯半导体有限公司 | Multi-TF card plug-in and plug-out detection method and system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090059695A1 (en) * | 2007-09-04 | 2009-03-05 | Samsung Electronics Co., Ltd. | Semiconductor memory device and block management method of the same |
CN101727989A (en) * | 2008-10-16 | 2010-06-09 | 付建云 | NAND FLASH memory chip test system |
CN103106125A (en) * | 2013-01-04 | 2013-05-15 | 苏州懿源宏达知识产权代理有限公司 | Flash storage method based on storage block repairing |
CN203133817U (en) * | 2013-03-19 | 2013-08-14 | 李哲君 | Multifunctional safe mobile hard disk |
CN103854704A (en) * | 2012-12-03 | 2014-06-11 | 上海斐讯数据通信技术有限公司 | Automatic detection method and automatic detection device of flash memory bad block |
CN104268049A (en) * | 2014-09-30 | 2015-01-07 | 北京金山安全软件有限公司 | Method, device and terminal for judging storage device abnormity |
CN105097050A (en) * | 2015-08-24 | 2015-11-25 | 宁波三星智能电气有限公司 | Memory service life test algorithm |
CN105808170A (en) * | 2016-03-22 | 2016-07-27 | 华东交通大学 | RAID6 (Redundant Array of Independent Disks 6) encoding method capable of repairing single-disk error by minimum disk accessing |
CN106683709A (en) * | 2016-12-28 | 2017-05-17 | 西北工业大学 | Method for evaluating NOR and NAND flash memory performance |
-
2018
- 2018-02-01 CN CN201810102074.4A patent/CN108491740A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090059695A1 (en) * | 2007-09-04 | 2009-03-05 | Samsung Electronics Co., Ltd. | Semiconductor memory device and block management method of the same |
CN101727989A (en) * | 2008-10-16 | 2010-06-09 | 付建云 | NAND FLASH memory chip test system |
CN103854704A (en) * | 2012-12-03 | 2014-06-11 | 上海斐讯数据通信技术有限公司 | Automatic detection method and automatic detection device of flash memory bad block |
CN103106125A (en) * | 2013-01-04 | 2013-05-15 | 苏州懿源宏达知识产权代理有限公司 | Flash storage method based on storage block repairing |
CN203133817U (en) * | 2013-03-19 | 2013-08-14 | 李哲君 | Multifunctional safe mobile hard disk |
CN104268049A (en) * | 2014-09-30 | 2015-01-07 | 北京金山安全软件有限公司 | Method, device and terminal for judging storage device abnormity |
CN105097050A (en) * | 2015-08-24 | 2015-11-25 | 宁波三星智能电气有限公司 | Memory service life test algorithm |
CN105808170A (en) * | 2016-03-22 | 2016-07-27 | 华东交通大学 | RAID6 (Redundant Array of Independent Disks 6) encoding method capable of repairing single-disk error by minimum disk accessing |
CN106683709A (en) * | 2016-12-28 | 2017-05-17 | 西北工业大学 | Method for evaluating NOR and NAND flash memory performance |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110597674A (en) * | 2019-08-05 | 2019-12-20 | 天津华来科技有限公司 | Memory detection method, device, video recording system and storage medium |
CN110597674B (en) * | 2019-08-05 | 2023-08-22 | 天津华来科技股份有限公司 | Memory detection method, device, video recording system and storage medium |
CN111983354A (en) * | 2020-08-20 | 2020-11-24 | 广东全芯半导体有限公司 | Multi-TF card plug-in and plug-out detection method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101228583B (en) | Error correcting device, method | |
CN101887351B (en) | Fault-tolerance method and system for redundant array of independent disk | |
CN105824754B (en) | The method of the Python exception catchings and upload of client-side program | |
CN106205731B (en) | Information processing method and storage equipment | |
CN206136139U (en) | Quality production video monitor system | |
CN108491740A (en) | A kind of TF card performance method of real-time | |
CN105280239A (en) | Method and device for dynamically realizing ECC check codes of solid state drives | |
CN102135925A (en) | Method and device for detecting error check and correcting memory | |
CN110704257A (en) | Solid state disk, quality monitoring method and device thereof and computer readable storage medium | |
KR20160104671A (en) | Method and apparatus for data access | |
CN102314322B (en) | Data processing method and device based on RAID (redundant array of independent disks) | |
CN115083510B (en) | Solid state disk testing method and device, storage medium, power supply and electronic equipment | |
CN109741786A (en) | A kind of solid state hard disk monitoring method, device and equipment | |
CN105573872A (en) | Hardware maintenance method and device of data storage system | |
CN112084097B (en) | Disk alarm method and device | |
CN110413463A (en) | A kind of SMART information inspection method of hard disk | |
CN105161138A (en) | Repair method for situation of incapability of accessing to data block caused by error of Seagate hard disk firmware manager | |
CN105004957A (en) | SD card test method and test device | |
CN103902232A (en) | Data write-in method and device | |
CN104636082A (en) | Disk array RAID control method and device | |
CN106648969A (en) | Method and system for inspecting damaged data in disk | |
CN105224416A (en) | Restorative procedure and related electronic device | |
CN106528342A (en) | Disk array fault tolerance apparatus with cloud server backup function | |
CN110399098A (en) | A kind of data processing method and electronic equipment | |
CN109683810A (en) | A kind of reading/writing method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180904 |