CN103279307A - Data storage method and intelligent storage card based on data storage method - Google Patents

Data storage method and intelligent storage card based on data storage method Download PDF

Info

Publication number
CN103279307A
CN103279307A CN2013100977178A CN201310097717A CN103279307A CN 103279307 A CN103279307 A CN 103279307A CN 2013100977178 A CN2013100977178 A CN 2013100977178A CN 201310097717 A CN201310097717 A CN 201310097717A CN 103279307 A CN103279307 A CN 103279307A
Authority
CN
China
Prior art keywords
storage
data
chip
storage chip
main control
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
CN2013100977178A
Other languages
Chinese (zh)
Other versions
CN103279307B (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.)
Nanjing cloud Travel Information Technology Co., Ltd.
Original Assignee
方昌銮
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 方昌銮 filed Critical 方昌銮
Priority to CN201310097717.8A priority Critical patent/CN103279307B/en
Publication of CN103279307A publication Critical patent/CN103279307A/en
Application granted granted Critical
Publication of CN103279307B publication Critical patent/CN103279307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention relates to the technical field of data storage and data processing, in particular to a data storage method and an intelligent storage card based on the data storage method. The method includes the steps of storage card setting, data writing, automatic data coverage, automatic data unloading, automatic formatting and written data loop execution. Based on the method, a main control chip of the storage card is connected with at least two storage chips and controls the storage chips. The data storage method and the intelligent storage card based on the data storage method change the traditional method of storing data only by adopting a single storage ship or enlarging the storage capacity by increasing the storage ships. According to the data storage method, the main control chip is used for extending the multiple storage chips, whether size-specific spaces of the storage chips are filled with redundant data is automatically judged through the main control chip on the basis of enlarging the storage capacity, and automatic formatting is carried out when the data can not be written in so as to save valid data closest to the current time and format data farthest from the current time; meanwhile, automatic alarm reminding can be carried out when physical damages occur, and the intelligent storage card based on the data storage method is intelligent and strong in practicality.

Description

A kind of date storage method reaches the intelligent memory card based on this method
Technical field
The present invention relates to data storage, technical field of data processing, especially a kind of date storage method reaches the intelligent memory card based on this method.
Background technology
In recent years, the continuous development along with digital product needs data quantity stored sharply to increase, and the application of storage card is able to popularize fast, and its performance is also in continuous lifting.But since the ability that high speed storing card of the prior art is handled redundant data a little less than, make in the time of to write useful data when occurring being taken by redundant data, the external world can't judge whether writing useful data, have only when needs call useful data, a period of time never writes useful data before just finding, manually format storage card this moment again, so just causes a large amount of useful datas not write; Therefore, in order to guarantee effectively writing of useful data as far as possible, just increased an attended operation in use, namely regularly storage card is formatd, increased great deal of labor, especially in extensive field of using this electronic product, this manpower cost is more huge.
Simultaneously because existing storage card all is to adopt single deck tape-recorder, and preserve without any historical data the format back, like this for the problem of field with regard to occurring to coordinate that requires to preserve nearest historical data.
In addition, in the prior art, the deviser for the performance of high speed storing card also the main interdependent memory capacity that increases single deck tape-recorder how, promote aspect such as data processing speed, and problems such as the preservation of data, cleaning do not cause enough attention, have caused many troubles to the holder thus yet.
Summary of the invention
At above-mentioned the deficiencies in the prior art, the object of the present invention is to provide and a kind ofly carry out data storages by a plurality of storage unit, discharge the date storage method of storage space and automatically formatting in batches; Simultaneously, also according to this method provide a kind of simple in structure, can judge memory capacity automatically, discharge storage space, the intelligent memory card of automatic alarm in the time of can't writing fashionable automatically formatting, physical damage automatically.
To achieve these goals, the present invention adopts following technical scheme:
A kind of date storage method, it may further comprise the steps:
First step: storage card is set, makes the main control chip connection of storage card and control first storage chip, second storage chip ... n-1 storage chip, n storage chip;
Second step: write data, main control chip writes each storage chip until first storage chip, second storage chip with data ... n-1 storage chip, n storage chip are write full;
Third step: data cover automatically, after each storage chip is write and is expired, when main control chip write data, the time that main control chip writes by data was that order makes the data that write cover first storage chip, second storage chip ... write time data the earliest in n-1 storage chip, the n storage chip;
The 4th step: the automatic unloading of data, when main control chip carries out data when covering automatically, first storage chip, second storage chip ... after the situation that can't write appears in arbitrary storage chip in n-1 storage chip, the n storage chip, the storage chip that can't write is to the instruction of main control chip feedback states, and main control chip makes the data that write cover write time data relatively the earliest in other each storage chips;
The 5th step: automatically formatting, when being circulated again into the storage chip that can't write in the 4th step, main control chip formats it;
The 6th step: circulation is carried out and to be write data, and main control chip is written in data in the storage chip formatted in the 5th step, when storage chip formatted in the 5th step write full after, continue to begin circulation from third step and carry out data and write.
Preferably, described first storage chip, second storage chip ... n-1 storage chip, n storage chip all are controlled by main control chip separately, and be independent each other.
Preferably, in described second step, main control chip writes data since first storage chip, successively with first storage chip, second storage chip ... n-1 storage chip, n storage chip are write full.
Preferably, in the described third step, main control chip makes the data that write cover write time data the earliest in first storage chip since first storage chip, until whole coverings; The rest may be inferred, covers second storage chip successively ... write time data the earliest in n-1 storage chip, the n storage chip.
Preferably, in described the 4th step, when first storage chip, second storage chip ... after the situation that can't write appears in arbitrary storage chip in n-1 storage chip, the n storage chip, main control chip make the data covering that writes be listed as in proper order in write time data the earliest in the next storage chip.
Preferably, in described the 6th step, carry out when writing data in can't be in the 5th step formatted storage chip of main control chip, main control chip carries out alarm.
A kind of intelligent memory card, it comprises loam cake and lower cover, it is characterized in that: between described loam cake and the lower cover main control chip is installed, is connected with on the described main control chip and is at least two storage chips, described main control chip also is powered with interface module.
Preferably, each described storage chip all be connected separately with main control chip, independent each other.
Preferably, described main control chip is connected with status indicator lamp.
Owing to adopted such scheme, the present invention has changed conventional data storage and has only adopted the pattern of single storage chip or pass through to increase the pattern that storage chip enlarges memory capacity, this method utilizes main control chip to expand a plurality of storage chips, on the basis that increases memory capacity, judge automatically by main control chip whether storage chip is taken the big or small space of appointment by redundant data; After judging that this storage chip (being made as M chip) is taken designated space by redundant data, jump to next storage chip, after being filled with, skip to next storage chip, store successively, when re-circulating to M chip, again this storage chip is carried out automatically formatting, the typing operation is carried out in format again; It is automatically formatting, saved the complex process of artificial judgment and format, and preserved recently effective data, when format is formatted apart from current time data farthest constantly, and other data are all preserved, for important informations such as video provide guarantee.
Simultaneously, still can't write data if find the storage chip after the format, then judge this storage chip physical damage, utilize status indicator lamp to report to the police to the external world, the replacing of storage chip is carried out in prompting, and it has intellectuality, very strong practicality and market popularization value.
Description of drawings
Fig. 1 is that the method step of the embodiment of the invention concerns synoptic diagram;
Fig. 2 is that main control chip and storage chip concern synoptic diagram in the method for the embodiment of the invention;
Fig. 3 is the logical relation synoptic diagram of the method for the embodiment of the invention;
Fig. 4 is that the internal part of the intelligent memory card of the embodiment of the invention concerns synoptic diagram;
Fig. 5 is the intelligent memory card STRUCTURE DECOMPOSITION synoptic diagram of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated, but the multitude of different ways that the present invention can be defined by the claims and cover is implemented.
As depicted in figs. 1 and 2, a kind of date storage method, it may further comprise the steps:
First step S101: storage card is set, makes main control chip 3 connections of storage card and control first storage chip, second storage chip ... n-1 storage chip, n storage chip;
The second step S102: write data, main control chip 3 writes each storage chip until first storage chip, second storage chip with data ... n-1 storage chip, n storage chip are write full;
Third step S103: data cover automatically, after each storage chip is write and is expired, when main control chip 3 write data, the time that main control chip 3 writes by data was that order makes the data that write cover first storage chip, second storage chip ... write time data the earliest in n-1 storage chip, the n storage chip;
The 4th step S104: the automatic unloading of data, when main control chip 3 carries out data when covering automatically, first storage chip, second storage chip ... after the situation that can't write appears in arbitrary storage chip in n-1 storage chip, the n storage chip, the storage chip that can't write is to the instruction of main control chip 3 feedback states, and main control chip 3 makes the data that write cover write time data relatively the earliest in other each storage chips;
The 5th step S105: automatically formatting, when being circulated again into the storage chip that can't write among the 4th step S104, main control chip 3 is with its format;
The 6th step S106: circulation is carried out and is write data, main control chip 3 is written in data in the storage chip formatted among the 5th step S105, when formatted storage chip in the 5th step S105 write full after, continue to begin circulation from third step S103 and carry out data and write.
For avoiding the interference between each storage chip and forming disorder on the command logic, first storage chip, second storage chip ... n-1 storage chip, n storage chip all are controlled by main control chip 3 separately, communicate and exchanges data with main control chip 3 separately, each other independence.
For the data storage is had more rationally and regularity, data write and cover all with first storage chip, second storage chip ... n-1 storage chip, n storage chip sort successively and carry out; In the second step S102, main control chip 3 writes data since first storage chip, successively with first storage chip, second storage chip ... n-1 storage chip, n storage chip are write full.In third step S103, after each storage chip was write and expired, main control chip 3 made the data that write cover write time data the earliest in first storage chip since first storage chip, until whole coverings; The rest may be inferred, covers second storage chip successively ... write time data the earliest in n-1 storage chip, the n storage chip; Thus, namely when a storage chip write full or data cover finish after, main control chip 3 jumps to next storage chip in order automatically and stores, and writes data to storage chip one by one in order.
If the situation among the 4th step S104 occurs, namely work as main control chip 3 cover data to the first storage chip, second storage chip in order ... after the situation that occurs writing during arbitrary storage chip in n-1 storage chip, the n storage chip, main control chip 3 can make the data covering that writes be listed as in proper order in write time data the earliest in the next storage chip; When waiting to re-circulate to the storage chip that this can't write, main control chip 3 formats then it this storage chip is write data manipulation, still can't write data if find it, then main control chip 3 determines that it is physical damage, main control chip 3 can carry out alarm by the state indicating device that connects outward, changes this storage chip with prompting; The mode of the alarm that adopts can adopt the pilot lamp mode; As: when main control chip 3 cover data to the three storage chips, the situation that appearance can't write, then the 3rd storage chip instructs to main control chip 3 feedback states, main control chip 3 its status commands of record are also skipped the 3rd storage chip, data are covered to the 4th storage chip, by the time when next round was circulated to the 3rd storage chip, main control chip 3 was with its format; After the 3rd storage chip was formatted, main control chip 3 was carried out write operation to it, and data continue to jump to the 4th storage chip after writing and expiring; If still can't write data after the 3rd storage chip is formatted, then main control chip 3 determines that it is physical damage, to extraneous alarm to change the 3rd storage chip; Automatically jump to simultaneously the 4th storage chip and write data or data covering.
For further specifying the storage means that present embodiment provides, as shown in Figure 3, connecting and control two storage chips with main control chip 3 is that example describes (serve as to distinguish two storage chips, be numbered with A and B):
In normal operation, after storage chip A writes completely, storage chip A is to the status command of main control chip 3 feedbacks " data space takes ": TA=1, change storage chip B over to and write data manipulation, after storage chip B write completely, storage chip B feeds back the status command of " data space takes " to main control chip 3: TB=1 changed storage chip A again over to, and so forth, form the data covering of the circulation of storage chip one by one.
In certain once circulated, in the time of data can't being covered to storage chip A as main control chip 3, storage chip A was to the status command of main control chip 3 feedbacks " redundant data takes the space ": TA=0, and main control chip 3 records TA=0 simultaneously; At this moment, main control chip 3 covers data to storage chip B, after storage chip B covering finishes, change storage chip A again over to, at this moment, because the status command of storage chip A is TA=0, data can't successfully cover, and main control chip 3 is satisfied storage chip A format soon, writes data again; If this moment, storage chip A still can't write data, then main control chip 3 external alarms are to change storage chip A; Simultaneously jump to storage chip B automatically and write data or cover data.If storage chip B occurring can't write, then disposal route is the same.
Thus, when redundant data does not take the storage space of certain storage chip as yet, main control chip 3 can make the up-to-date data that write cover the most original data automatically, guarantees that the data that write only replace the raw data of itself size, farthest guarantees to write the safety of data; Simultaneously, take the storage space of certain storage chip when redundant data after, main control chip 3 can in entire method, be equivalent to its format redundant data is concentrated in together, and unifies to handle; The artificial judgment of traditional high speed storing card and the complex process of format have been saved, and preserved nearest active data data, formatted data are formatted apart from current time data farthest, and other data are all preserved, for important informations such as video provide guarantee.The method can extend to data storage and format technical field.
In addition, as shown in Figure 4 and Figure 5, based on the method, present embodiment also provides a kind of intelligent memory card, it comprises loam cake 1 and lower cover 2, between loam cake 1 and lower cover 2 main control chip 3 is installed, wherein is connected with at least two storage chips on the main control chip 3, storage chip is arranged on the body of main control chip 3, design according to type selecting and the real data of main control chip 3, storage chip can expand to a plurality of, and simultaneously, main control chip 3 also is powered be used to carrying out the interface module 5 that external data connects; Main control chip 3 plays the effect that sends instructions under each storage chip as the data processing centre (DPC) of whole storage card, and all is connected with main control chip 3 separately between each storage chip, each other independent, separation; For preventing can't writing data, point out the user that storage chip is changed because of the physical damage of storage chip, main control chip 3 also is connected with status indicator lamp 4, and status indicator lamp 4 can be LED lamp pearl; Based on the date storage method that present embodiment provides, this intelligent memory card can be related data memory storages such as SD card, TF card.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (9)

1. date storage method, it is characterized in that: it may further comprise the steps:
First step: storage card is set, makes the main control chip connection of storage card and control first storage chip, second storage chip ... n-1 storage chip, n storage chip;
Second step: write data, main control chip writes each storage chip until first storage chip, second storage chip with data ... n-1 storage chip, n storage chip are write full;
Third step: data cover automatically, after each storage chip is write and is expired, when main control chip write data, the time that main control chip writes by data was that order makes the data that write cover first storage chip, second storage chip ... write time data the earliest in n-1 storage chip, the n storage chip;
The 4th step: the automatic unloading of data, when main control chip carries out data when covering automatically, first storage chip, second storage chip ... after the situation that can't write appears in arbitrary storage chip in n-1 storage chip, the n storage chip, the storage chip that can't write is to the instruction of main control chip feedback states, and main control chip makes the data that write cover write time data relatively the earliest in other each storage chips;
The 5th step: automatically formatting, when being circulated again into the storage chip that can't write in the 4th step, main control chip formats it;
The 6th step: circulation is carried out and to be write data, and main control chip is written in data in the storage chip formatted in the 5th step, when storage chip formatted in the 5th step write full after, continue to begin circulation from third step and carry out data and write.
2. a kind of date storage method as claimed in claim 1 is characterized in that: described first storage chip, second storage chip ... n-1 storage chip, n storage chip all are controlled by main control chip separately, and be independent each other.
3. a kind of date storage method as claimed in claim 2, it is characterized in that: in described second step, main control chip writes data since first storage chip, successively with first storage chip, second storage chip ... n-1 storage chip, n storage chip are write full.
4. a kind of date storage method as claimed in claim 3, it is characterized in that: in the described third step, main control chip makes the data that write cover write time data the earliest in first storage chip since first storage chip, until whole coverings; The rest may be inferred, covers second storage chip successively ... write time data the earliest in n-1 storage chip, the n storage chip.
5. a kind of date storage method as claimed in claim 4, it is characterized in that: in described the 4th step, when first storage chip, second storage chip ... after the situation that can't write appears in arbitrary storage chip in n-1 storage chip, the n storage chip, main control chip make the data covering that writes be listed as in proper order in write time data the earliest in the next storage chip.
6. as each described a kind of date storage method among the claim 1-5, it is characterized in that: in described the 6th step, carry out when writing data in can't be in the 5th step formatted storage chip of main control chip, main control chip carries out alarm.
7. intelligent memory card, it comprises loam cake and lower cover, it is characterized in that: between described loam cake and the lower cover main control chip is installed, is connected with on the described main control chip and is at least two storage chips, described main control chip also is powered with interface module.
8. a kind of intelligent memory card as claimed in claim 7 is characterized in that: each described storage chip all is connected separately with main control chip, independent each other.
9. a kind of intelligent memory card as claimed in claim 8, it is characterized in that: described main control chip is connected with status indicator lamp.
CN201310097717.8A 2013-03-26 2013-03-26 A kind of date storage method of intelligent memory card Active CN103279307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310097717.8A CN103279307B (en) 2013-03-26 2013-03-26 A kind of date storage method of intelligent memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310097717.8A CN103279307B (en) 2013-03-26 2013-03-26 A kind of date storage method of intelligent memory card

Publications (2)

Publication Number Publication Date
CN103279307A true CN103279307A (en) 2013-09-04
CN103279307B CN103279307B (en) 2016-04-13

Family

ID=49061853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310097717.8A Active CN103279307B (en) 2013-03-26 2013-03-26 A kind of date storage method of intelligent memory card

Country Status (1)

Country Link
CN (1) CN103279307B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760876A (en) * 2014-01-29 2014-04-30 北京七星华创电子股份有限公司 Alarm information storing method and device
CN107605464A (en) * 2017-09-22 2018-01-19 中国石油集团西部钻探工程有限公司 Gas well switch board control system and its control method
CN110502545A (en) * 2019-08-15 2019-11-26 中国平安财产保险股份有限公司 Date storage method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010033013A1 (en) * 2000-04-20 2001-10-25 Lee Dong H. Repairable multi-chip package
CN1881240A (en) * 2005-06-15 2006-12-20 威刚科技股份有限公司 Memory card shell capable of containing multiple memory chips
CN101770593A (en) * 2009-12-17 2010-07-07 北京握奇数据系统有限公司 Multi-chip intelligent card, manufacturing method thereof and data processing method
CN203260054U (en) * 2013-03-26 2013-10-30 方昌銮 Novel intelligent storage card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010033013A1 (en) * 2000-04-20 2001-10-25 Lee Dong H. Repairable multi-chip package
CN1881240A (en) * 2005-06-15 2006-12-20 威刚科技股份有限公司 Memory card shell capable of containing multiple memory chips
CN101770593A (en) * 2009-12-17 2010-07-07 北京握奇数据系统有限公司 Multi-chip intelligent card, manufacturing method thereof and data processing method
CN203260054U (en) * 2013-03-26 2013-10-30 方昌銮 Novel intelligent storage card

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760876A (en) * 2014-01-29 2014-04-30 北京七星华创电子股份有限公司 Alarm information storing method and device
CN107605464A (en) * 2017-09-22 2018-01-19 中国石油集团西部钻探工程有限公司 Gas well switch board control system and its control method
CN110502545A (en) * 2019-08-15 2019-11-26 中国平安财产保险股份有限公司 Date storage method, device, equipment and computer readable storage medium
CN110502545B (en) * 2019-08-15 2023-12-05 中国平安财产保险股份有限公司 Data storage method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN103279307B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN104700886A (en) Memory circuit with power supply state sensor
CN103106152B (en) Based on the data dispatching method of level storage medium
CN106502576A (en) Migration strategy method of adjustment, capacity change suggesting method and device
CN103279307A (en) Data storage method and intelligent storage card based on data storage method
CN101833489A (en) Method for file real-time monitoring and intelligent backup
CN102999442B (en) Towards storage system and the method for media application
CN102253898B (en) Memory management method and memory management device of image data
CN103605618B (en) Non-write-back mirror image and direct write switching method for cache mirror image system
CN103631976A (en) Small multichannel serial data recorder
JPH0772888B2 (en) Dynamic polling device, machine processing method, controller and data processing system
CN105683930B (en) Method for dynamically caching and system for data-storage system
CN106502578A (en) Capacity change suggesting method and device
CN104063184B (en) Magnetic disc storage method and its non-volatile storage medium and electronic installation
CN103713973A (en) Mixed storage backup method and system based on HDD and SSD
CN103763596B (en) A kind of state switching method and device
CN103488504A (en) Method and device for loading data
CN104408109A (en) Alarm video recording method and device
CN102792319A (en) Data recording device, and data recording method
CN103746835A (en) Data downloading method and apparatus
CN203260054U (en) Novel intelligent storage card
CN103002050B (en) Data uploading method
CN103713860A (en) Method and system for building virtual disk base on basis of backup architecture
CN102063271B (en) State machine based write back method for external disk Cache
CN103647914A (en) Method and device for timed wake-up after television turning-off
CN101950248A (en) Method for improving display software data storage structure and structure thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170713

Address after: 211106, Jiangsu province Jiangning Nanjing district general road, state 1000 people plan, expert building, room 6018

Patentee after: Nanjing cloud Travel Information Technology Co., Ltd.

Address before: 211200 Jiangsu County of Lishui province Yong Yang town the road No. 80 Building 1 room 1102

Patentee before: Fang Changluan