CN102866863A - Embedded multimedia card data migration method, embedded equipment system layer and embedded equipment - Google Patents

Embedded multimedia card data migration method, embedded equipment system layer and embedded equipment Download PDF

Info

Publication number
CN102866863A
CN102866863A CN2012103027026A CN201210302702A CN102866863A CN 102866863 A CN102866863 A CN 102866863A CN 2012103027026 A CN2012103027026 A CN 2012103027026A CN 201210302702 A CN201210302702 A CN 201210302702A CN 102866863 A CN102866863 A CN 102866863A
Authority
CN
China
Prior art keywords
media card
threshold value
update times
equal
default
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
CN2012103027026A
Other languages
Chinese (zh)
Other versions
CN102866863B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201210302702.6A priority Critical patent/CN102866863B/en
Publication of CN102866863A publication Critical patent/CN102866863A/en
Application granted granted Critical
Publication of CN102866863B publication Critical patent/CN102866863B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an embedded multimedia card data migration method, an embedded equipment system layer, and embedded equipment. The method comprises the following steps that: when determining that an embedded multimedia card meets a preset migration requirement, the embedded equipment system layer queries a data block which has an update frequency smaller or equal to a preset update frequency threshold value in the embedded multimedia card; and the embedded equipment system layer transmits a migration control instruction to a controller of the embedded multimedia card, controls the controller of the embedded multimedia card to backup data in the data block which has the update frequency smaller or equal to the preset update frequency threshold value, and releases storage space of the data block which has the update frequency smaller or equal to the preset update frequency threshold value, so that the data block which has the update frequency smaller or equal to the preset update frequency threshold value participates writing equilibrium. By the method, the system layer and the equipment, starting from the embedded equipment system layer, the service life of the embedded multimedia card can be effectively prolonged, the whole service life of the embedded equipment can be prolonged, product quality is improved, and after-sale service cost is reduced.

Description

Embedded multi-media card data migration method, system layer and embedded device
Technical field
The present invention relates to the embedded system technology field, specially refer to embedded multi-media card data migration method, system layer and embedded device.
Background technology
Along with the renewal of flash technology, embedded multi-media card EMMC(Embedded MultiMedia Card appears) and this capacity is larger, and the flash device of cheaper has begun extensive use in embedded system.But the serviceable life of embedded multi-media card is lower, erasable number of times is 3000 times in theory, far below nand flash, need by the raising total volume, and adopt the embedded multi-media card controller to guarantee the equilibrium of writing of embedded multi-media card content according to certain algorithm.But in embedded system, because the restriction of cost can not use jumbo embedded multi-media card, and only adopt the equalization algorithm of writing of embedded multi-media card controller, can not make and obtain larger raising in serviceable life of embedded multi-media card.
Summary of the invention
Fundamental purpose of the present invention is for providing a kind of Effective Raise embedded multi-media card embedded multi-media card data migration method, system layer and the embedded device in serviceable life.
The present invention proposes a kind of embedded multi-media card data migration method of system layer of embedded device, comprises step:
The system layer of embedded device is inquired about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value when judging that embedded multi-media card satisfies default transition condition;
The system layer of described embedded device sends the migration steering order to the controller of described embedded multi-media card, the controller of controlling described embedded multi-media card backs up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
Preferably, the system layer of described embedded device is inquired about the step that update times in the described embedded multi-media card is less than or equal to the data block of default update times threshold value and is specifically comprised when judging that described embedded multi-media card satisfies default transition condition:
When the remaining space summation of the system layer of described embedded device freed data blocks in judging described embedded multi-media card is less than or equal to default remaining space threshold value, inquire about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value.
Preferably, when the remaining space summation of the system layer of described embedded device freed data blocks in judging described embedded multi-media card is less than or equal to default remaining space threshold value, inquires about update times in the described embedded multi-media card and also comprise before being less than or equal to the step of data block of default update times threshold value:
The system layer of described embedded device during more than or equal to default start frequency threshold value, judges whether the remaining space summation of freed data blocks in the described embedded multi-media card is less than or equal to default remaining space threshold value at the start number of times of the embedded device of judging described embedded multi-media card place.
Preferably, the system layer of described embedded device is inquired about update times in the described embedded multi-media card and is also comprised before being less than or equal to the step of data block of default update times threshold value when judging that described embedded multi-media card satisfies default transition condition:
The system layer of described embedded device is added up the update times of each data block in the start number of times of described embedded device and the described embedded multi-media card.
The present invention also proposes a kind of system layer of embedded device, comprising:
Micro-processor MCV is used for when judging that embedded multi-media card satisfies default transition condition, inquires about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value;
Instruction sending module, be used for sending the migration steering order to the controller of described embedded multi-media card, the controller of controlling described embedded multi-media card backs up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
Preferably, described Micro-processor MCV specifically is used for:
When the remaining space summation of freed data blocks is less than or equal to default remaining space threshold value in judging described embedded multi-media card, inquire about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value.
Preferably, described Micro-processor MCV specifically also is used for:
During more than or equal to default start frequency threshold value, judge whether the remaining space summation of freed data blocks in the described embedded multi-media card is less than or equal to default remaining space threshold value at the start number of times of the embedded device of judging described embedded multi-media card place.
Preferably, the system layer of described embedded device also comprises:
Statistical module is used for adding up the start number of times of described embedded device and the update times of described each data block of embedded multi-media card.
The present invention also proposes a kind of embedded device, comprises system layer and the embedded multi-media card of embedded device, and described embedded multi-media card comprises controller, and described controling appliance body is used for:
Receive the migration steering order of the system layer transmission of described embedded device, back up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium;
The system layer of described embedded device comprises:
Micro-processor MCV is used for when judging that described embedded multi-media card satisfies default transition condition, inquires about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value;
Instruction sending module, be used for sending the migration steering order to the controller of described embedded multi-media card, the controller of controlling described embedded multi-media card backs up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
The present invention starts with from the system layer of embedded device, effectively prolongs the serviceable life of embedded multi-media card, promotes embedded device whole tenure of use, improves the quality of products, and reduces after service cost.
Description of drawings
Fig. 1 is the process flow diagram of the first embodiment of embedded multi-media card data migration method of the present invention;
Fig. 2 is the process flow diagram of the second embodiment of embedded multi-media card data migration method of the present invention;
Fig. 3 is the process flow diagram of the 3rd embodiment of embedded multi-media card data migration method of the present invention;
Fig. 4 is the process flow diagram of the 4th embodiment of embedded multi-media card data migration method of the present invention;
Fig. 5 is the structural representation of system layer first embodiment of embedded device of the present invention;
Fig. 6 is the structural representation of system layer second embodiment of embedded device of the present invention;
Fig. 7 is the structural representation of embedded device one embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the process flow diagram of the first embodiment of embedded multi-media card data migration method of the present invention, and the embedded multi-media card data migration method that this embodiment mentions comprises:
Step S101, the system layer of embedded device is when judging that embedded multi-media card satisfies default transition condition, update times is less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card;
In embedded multi-media card, a part of data block is owing to repeatedly carry out Data Update, and its erasable number of times is near ultimate value; The Data Update number of times of storing in another part data block is less, and its remaining erasable number of times is more.But because the controller of embedded multi-media card can not write other data to data block under data block store has the situation of data, simultaneously, controller also can't be judged the frequent degree of Data Update in the data block, and present embodiment utilizes the system layer of embedded device just can address this problem.
Step S102, the system layer of embedded device sends the migration steering order to the controller of embedded multi-media card, the controller backup updating number of times of control embedded multi-media card is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
Present embodiment is when satisfying transition condition, the system layer of the embedded device by the embedded multi-media card place is searched the more data block of the erasable number of times of residue, the controller of informed embed formula multimedia card discharges the storage space of this partial data piece, allow this partial data piece participate in and write equilibrium, guarantee that the erasable number of times of each data block is fully used in the embedded multi-media card, the whole service life of Effective Raise embedded multi-media card.
As shown in Figure 2, Fig. 2 is the process flow diagram of the second embodiment of embedded multi-media card data migration method of the present invention.
Step S201, when the remaining space summation of the system layer of embedded device freed data blocks in judging embedded multi-media card was less than or equal to default remaining space threshold value, update times was less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card.
Embedded multi-media card deposits data in freed data blocks when the storage data.Present embodiment and default remaining space threshold ratio freed data blocks should be the more freed data blocks of the erasable number of times of residue.The system layer of embedded device is added up the remaining space that remains the more freed data blocks of erasable number of times, when remaining space is less than or equal to default remaining space threshold value, the system layer of embedded device can judge that this embedded multi-media card satisfies default transition condition, and the controller of informed embed formula multimedia card discharges the storage space of the more data block of erasable number of times.
Step S202, the system layer of embedded device sends the migration steering order to the controller of embedded multi-media card, the controller backup updating number of times of control embedded multi-media card is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
The system layer of present embodiment by embedded multi-media card place embedded device with the remaining space summation of freed data blocks and default remaining space threshold ratio, and with it as one of transition condition.When the system layer of embedded device judges that the remaining space of freed data blocks is inadequate, adopt the data transference package of present embodiment, allow the more data block of the erasable number of times of residue participate in and write equilibrium, the whole service life of Effective Raise embedded multi-media card.For the more embedded multi-media card of the remaining space of freed data blocks, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
As shown in Figure 3, Fig. 3 is the process flow diagram of the 3rd embodiment of embedded multi-media card data migration method of the present invention.
Step S301, the system layer of embedded device is at the start number of times of the embedded device of judging the embedded multi-media card place during more than or equal to default start frequency threshold value, and whether the remaining space summation of judging freed data blocks in the embedded multi-media card is less than or equal to is preset the remaining space threshold value.
Embedded device can be equipped with the equipment based on embedded system of embedded multi-media card for televisor or other.Embedded device can carry out reading and writing data after start.Embedded device start number of times is fewer, in the embedded multi-media card data block carry out erasable number of times may be fewer; Embedded device start number of times is more, in the embedded multi-media card data block carry out erasable number of times may be more.
Step S302, when the remaining space summation of the system layer of embedded device freed data blocks in judging embedded multi-media card was less than or equal to default remaining space threshold value, update times was less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card.
Step S303, the system layer of embedded device sends the migration steering order to the controller of embedded multi-media card, the controller backup updating number of times of control embedded multi-media card is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
Present embodiment as one of transition condition, meets or exceeds the embedded device of default start frequency threshold value for the start number of times with the start number of times of embedded device, can carry out the freed data blocks remaining space and judge; Otherwise, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
As shown in Figure 4, Fig. 4 is the process flow diagram of the 4th embodiment of embedded multi-media card data migration method of the present invention.
Step S401, the update times of each data block in the start number of times of the system layer statistics embedded device of embedded device and the embedded multi-media card.
Because the controller of embedded multi-media card can't be judged the frequent degree of Data Update in the data block, therefore, adds up the work of the update times of each data block and is finished by the system layer of embedded device.Simultaneously, the system layer of embedded device is also added up the start number of times of embedded device self.Statistics is stored in the system layer of embedded device, supplies the Micro-processor MCV of the system layer of embedded device to do follow-up judgement processing.
Step S402, the system layer of embedded device during more than or equal to default start frequency threshold value, judges further whether the remaining space summation of freed data blocks in the embedded multi-media card is less than or equal to default remaining space threshold value at the start number of times of the embedded device of judging the embedded multi-media card place.
Default start frequency threshold value can arrange according to the specific performance parameter of embedded multi-media card, for example with reference to the erasable number of times maximal value of embedded multi-media card.Present embodiment will be preset the start frequency threshold value and be set as 200 times.
Step S403, when the remaining space summation of the system layer of embedded device freed data blocks in judging embedded multi-media card was less than or equal to default remaining space threshold value, update times was less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card.
Default remaining space threshold value can arrange according to the specific performance parameter of embedded multi-media card, for example with reference to the storage space maximal value of embedded multi-media card.It is 100M that present embodiment will be preset the remaining space Threshold.
Step S404, the system layer of embedded device sends the migration steering order to the controller of embedded multi-media card, the controller backup updating number of times of control embedded multi-media card is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
Default update times threshold value and predetermined limit are upgraded threshold value and can be arranged according to the specific performance parameter of embedded multi-media card, for example with reference to the erasable number of times maximal value of embedded multi-media card.It is 30 times that present embodiment will be preset the update times Threshold.
The start number of times of the system layer statistics embedded device of present embodiment by embedded multi-media card place embedded device and the remaining space summation of freed data blocks, and with it as one of transition condition; When satisfying transition condition, adopt the data transference package of present embodiment, allow the more data block of the erasable number of times of residue participate in and write equilibrium, the whole service life of Effective Raise embedded multi-media card; Otherwise, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
As shown in Figure 5, Fig. 5 is the structural representation of system layer first embodiment of embedded device of the present invention, and the system layer 100 of the embedded device that this embodiment mentions comprises:
Micro-processor MCV 110 is used for when judging that embedded multi-media card satisfies default transition condition, and update times is less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card;
Instruction sending module 120, be used for sending the migration steering order to the controller of embedded multi-media card, the controller backup updating number of times of control embedded multi-media card is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
In the present embodiment embedded multi-media card, a part of data block is owing to repeatedly carry out Data Update, and its erasable number of times is near ultimate value; The Data Update number of times of storing in another part data block is less, and its remaining erasable number of times is more.But because the controller of embedded multi-media card can not write other data to data block under data block store has the situation of data, simultaneously, controller also can't be judged the frequent degree of Data Update in the data block, and present embodiment utilizes the system layer 100 of embedded device just can address this problem.Present embodiment is when satisfying transition condition, the Micro-processor MCV 110 of the system layer 100 of the embedded device by the embedded multi-media card place is searched the more data block of the erasable number of times of residue, discharged the storage space of this partial data piece by the controller of instruction sending module 120 informed embed formula multimedia cards, allow this partial data piece participate in and write equilibrium, guarantee that the erasable number of times of each data block is fully used in the embedded multi-media card, the whole service life of Effective Raise embedded multi-media card.
In the embodiment of the invention, Micro-processor MCV 110 specifically is used for:
When the remaining space summation of freed data blocks was less than or equal to default remaining space threshold value in judging embedded multi-media card, update times was less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card.
The present embodiment embedded multi-media card deposits data in freed data blocks when the storage data.Present embodiment and default remaining space threshold ratio freed data blocks should be the more freed data blocks of the erasable number of times of residue.The remaining space of the freed data blocks that 110 pairs of erasable number of times of residue of the Micro-processor MCV of the system layer 100 of embedded device are more compares, when remaining space is less than or equal to default remaining space threshold value, Micro-processor MCV 110 can judge that this embedded multi-media card satisfies default transition condition, and is discharged the storage space of the more data block of erasable number of times by the controller of instruction sending module 120 informed embed formula multimedia cards.Present embodiment by Micro-processor MCV 110 with the remaining space summation of freed data blocks and default remaining space threshold ratio, and with it as one of transition condition.When Micro-processor MCV 110 judges that the remaining space of freed data blocks is inadequate, adopt the data transference package of present embodiment, allow the more data block of the erasable number of times of residue participate in and write equilibrium, the whole service life of Effective Raise embedded multi-media card.For the more embedded multi-media card of the remaining space of freed data blocks, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
In the embodiment of the invention, Micro-processor MCV 110 specifically also is used for:
At the start number of times of the embedded device of judging the embedded multi-media card place during more than or equal to default start frequency threshold value, whether the remaining space summation of judging freed data blocks in the embedded multi-media card is less than or equal to is preset the remaining space threshold value.
The present embodiment embedded device can be equipped with the equipment based on embedded system of embedded multi-media card for televisor or other.Embedded device can carry out reading and writing data after start.Embedded device start number of times is fewer, in the embedded multi-media card data block carry out erasable number of times may be fewer; Embedded device start number of times is more, in the embedded multi-media card data block carry out erasable number of times may be more.Present embodiment as one of transition condition, meets or exceeds the embedded device of default start frequency threshold value for the start number of times with the start number of times of embedded device, can carry out the freed data blocks remaining space and judge; Otherwise, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
As shown in Figure 6, Fig. 6 is the structural representation of system layer second embodiment of embedded device of the present invention.The system layer 100 of embedded device also comprises:
Statistical module 130 is used for the start number of times of statistics embedded device and the update times of each data block of embedded multi-media card.
In the present embodiment, because the controller of embedded multi-media card can't be judged the frequent degree of Data Update in the data block, therefore, add up the work of the update times of each data block and finished by the statistical module 130 of the system layer 100 of embedded device.Simultaneously, statistical module 130 is also added up the start number of times of embedded device self.Statistics is stored in statistical module 130, supplies the Micro-processor MCV 110 of the system layer 100 of embedded device to do follow-up judgement processing.In addition, default start frequency threshold value, default remaining space threshold value and default update times threshold value can arrange according to the specific performance parameter of embedded multi-media card, for example with reference to the erasable number of times maximal value of embedded multi-media card default start frequency threshold value, default update times threshold value and predetermined limit are set and upgrade threshold value, with reference to the storage space maximal value of embedded multi-media card default remaining space threshold value is set.Present embodiment will be preset the start frequency threshold value and be set as 200 times, and will preset the remaining space Threshold is 100M, and will preset the update times Threshold is 30 times.The start number of times of the statistical module 130 statistics embedded devices of the system layer 100 of present embodiment by embedded multi-media card place embedded device and the remaining space of freed data blocks are total, and with it as one of transition condition; When transition condition is satisfied in Micro-processor MCV 110 judgements, adopt the data transference package of present embodiment, allow the more data block of the erasable number of times of residue participate in and write equilibrium, the whole service life of Effective Raise embedded multi-media card; Otherwise, still according to original mode, realize writing equilibrium by the embedded device controller, reduce the Data Migration flow process, effectively saved the time, improved data storage efficiency.
As shown in Figure 7, Fig. 7 is the structural representation of embedded device one embodiment of the present invention, and the embedded device that this embodiment mentions comprises system layer 100 and the embedded multi-media card 200 of embedded device:
Embedded multi-media card 200 comprises controller 210, and controller 210 specifically is used for:
Receive the migration steering order of system layer 100 transmissions of embedded device, the backup updating number of times is less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium;
The system layer 100 of embedded device comprises:
Micro-processor MCV 110 is used for when judging that embedded multi-media card 200 satisfies default transition condition, and update times is less than or equal to the data block of default update times threshold value in the inquiry embedded multi-media card 200;
Instruction sending module 120, be used for sending the migration steering order to the controller 210 of embedded multi-media card 200, the controller 210 backup updating number of times of control embedded multi-media card 200 are less than or equal to the data in the data block of presetting the update times threshold value, and discharging the storage space that update times is less than or equal to the data block of default update times threshold value, the data block that makes update times be less than or equal to default update times threshold value participates in writing equilibrium.
Embedded device of the present invention comprises the system layer 100 of embedded device, the system layer 100 of this embedded device can comprise earlier figures 5 and embodiment illustrated in fig. 6 in all technical schemes, its detailed operation principle can be with reference to previous embodiment, therefore not to repeat here.Owing to adopt the scheme of the system layer 100 of aforementioned embedded device, the relatively existing embedded device of embedded device of the present invention effectively prolongs serviceable life of embedded multi-media card, promotes embedded device whole tenure of use, improve the quality of products, reduce after service cost.
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. an embedded multi-media card data migration method is characterized in that, comprises step:
The system layer of embedded device is inquired about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value when judging that embedded multi-media card satisfies default transition condition;
The system layer of described embedded device sends the migration steering order to the controller of described embedded multi-media card, the controller of controlling described embedded multi-media card backs up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
2. embedded multi-media card data migration method according to claim 1, it is characterized in that, the system layer of described embedded device is inquired about the step that update times in the described embedded multi-media card is less than or equal to the data block of default update times threshold value and is specifically comprised when judging that described embedded multi-media card satisfies default transition condition:
When the remaining space summation of the system layer of described embedded device freed data blocks in judging described embedded multi-media card is less than or equal to default remaining space threshold value, inquire about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value.
3. embedded multi-media card data migration method according to claim 2, it is characterized in that, when the remaining space summation of the system layer of described embedded device freed data blocks in judging described embedded multi-media card is less than or equal to default remaining space threshold value, inquires about update times in the described embedded multi-media card and also comprise before being less than or equal to the step of data block of default update times threshold value:
The system layer of described embedded device during more than or equal to default start frequency threshold value, judges whether the remaining space summation of freed data blocks in the described embedded multi-media card is less than or equal to default remaining space threshold value at the start number of times of the embedded device of judging described embedded multi-media card place.
4. embedded multi-media card data migration method according to claim 3, it is characterized in that, the system layer of described embedded device is inquired about update times in the described embedded multi-media card and is also comprised before being less than or equal to the step of data block of default update times threshold value when judging that described embedded multi-media card satisfies default transition condition:
The system layer of described embedded device is added up the update times of each data block in the start number of times of described embedded device and the described embedded multi-media card.
5. the system layer of an embedded device is characterized in that, comprising:
Micro-processor MCV is used for when judging that embedded multi-media card satisfies default transition condition, inquires about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value;
Instruction sending module, be used for sending the migration steering order to the controller of described embedded multi-media card, the controller of controlling described embedded multi-media card backs up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
6. the system layer of embedded device according to claim 5 is characterized in that, described Micro-processor MCV specifically is used for:
When the remaining space summation of freed data blocks is less than or equal to default remaining space threshold value in judging described embedded multi-media card, inquire about the data block that update times in the described embedded multi-media card is less than or equal to default update times threshold value.
7. the system layer of embedded device according to claim 6 is characterized in that, described Micro-processor MCV specifically also is used for:
During more than or equal to default start frequency threshold value, judge whether the remaining space summation of freed data blocks in the described embedded multi-media card is less than or equal to default remaining space threshold value at the start number of times of the embedded device of judging described embedded multi-media card place.
8. the system layer of embedded device according to claim 7 is characterized in that, also comprises:
Statistical module is used for adding up the start number of times of described embedded device and the update times of described each data block of embedded multi-media card.
9. an embedded device is characterized in that, comprises embedded multi-media card and such as the system layer of each described embedded device of claim 5 to 8, wherein, described embedded multi-media card comprises controller, and described controling appliance body is used for:
Receive the migration steering order of the system layer transmission of described embedded device, back up the data in the data block that described update times is less than or equal to default update times threshold value, and discharging the storage space that described update times is less than or equal to the data block of default update times threshold value, the data block that makes described update times be less than or equal to default update times threshold value participates in writing equilibrium.
CN201210302702.6A 2012-08-23 2012-08-23 Embedded multi-media card data migration method, system layer and embedded device Expired - Fee Related CN102866863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210302702.6A CN102866863B (en) 2012-08-23 2012-08-23 Embedded multi-media card data migration method, system layer and embedded device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210302702.6A CN102866863B (en) 2012-08-23 2012-08-23 Embedded multi-media card data migration method, system layer and embedded device

Publications (2)

Publication Number Publication Date
CN102866863A true CN102866863A (en) 2013-01-09
CN102866863B CN102866863B (en) 2016-09-21

Family

ID=47445750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210302702.6A Expired - Fee Related CN102866863B (en) 2012-08-23 2012-08-23 Embedded multi-media card data migration method, system layer and embedded device

Country Status (1)

Country Link
CN (1) CN102866863B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897492A (en) * 2018-05-30 2018-11-27 新华三技术有限公司 A kind of method for writing data and device
CN111427511A (en) * 2020-03-10 2020-07-17 青岛小鸟看看科技有限公司 Data storage method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230233B1 (en) * 1991-09-13 2001-05-08 Sandisk Corporation Wear leveling techniques for flash EEPROM systems
CN1701389A (en) * 2002-10-28 2005-11-23 桑迪士克股份有限公司 Maintaining an average erase count in a non-volatile storage system
CN101477492A (en) * 2009-01-21 2009-07-08 华中科技大学 Circulating rewriting flash memory equalization method used for solid state disk
CN101667160A (en) * 2009-09-27 2010-03-10 浪潮电子信息产业股份有限公司 Method for prolonging service life of Nand Flash chip
CN102063941A (en) * 2010-12-07 2011-05-18 中国电力科学研究院 EEPROM (Electrically Erasable Programmable Read-Only Memory) loss balancing method for prolonging life of electric energy meter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230233B1 (en) * 1991-09-13 2001-05-08 Sandisk Corporation Wear leveling techniques for flash EEPROM systems
CN1701389A (en) * 2002-10-28 2005-11-23 桑迪士克股份有限公司 Maintaining an average erase count in a non-volatile storage system
CN101477492A (en) * 2009-01-21 2009-07-08 华中科技大学 Circulating rewriting flash memory equalization method used for solid state disk
CN101667160A (en) * 2009-09-27 2010-03-10 浪潮电子信息产业股份有限公司 Method for prolonging service life of Nand Flash chip
CN102063941A (en) * 2010-12-07 2011-05-18 中国电力科学研究院 EEPROM (Electrically Erasable Programmable Read-Only Memory) loss balancing method for prolonging life of electric energy meter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897492A (en) * 2018-05-30 2018-11-27 新华三技术有限公司 A kind of method for writing data and device
CN108897492B (en) * 2018-05-30 2021-06-29 新华三技术有限公司 Data writing method and device
CN111427511A (en) * 2020-03-10 2020-07-17 青岛小鸟看看科技有限公司 Data storage method and device
CN111427511B (en) * 2020-03-10 2023-10-27 青岛小鸟看看科技有限公司 Data storage method and device

Also Published As

Publication number Publication date
CN102866863B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
US20200167083A1 (en) Techniques for controlling recycling of blocks of memory
CN103678144A (en) Data storage device and flash memory control method
US9405670B2 (en) Wear leveling method and apparatus
CN103902465B (en) Method and system for recycling solid state disk junk and solid state disk controller
CN102347078A (en) Methods and systems for dynamically controlling operations in a non-volatile memory
CN103902333A (en) Method for automatically unloading application of mobile terminal and mobile terminal
KR20050077505A (en) Data managing device and method thereof
CN101874239A (en) Writing data to different storage devices based on write frequency
US20150154110A1 (en) Data Storage Device and Flash Memory Control Method
CN105101478A (en) Method and device for charging wireless network sensor
CN102841849A (en) Method and system for operating computerized memory
CN104334975A (en) Air conditioner control system
US8954646B2 (en) Method for managing a plurality of blocks of a flash memory, and associated memory device and controller thereof
CN102866863A (en) Embedded multimedia card data migration method, embedded equipment system layer and embedded equipment
CN108089994B (en) Storage device and data storage method
JP2021176026A (en) Memory system
CN105138472B (en) Flash memory abrasion optimization method and equipment
CN104965793A (en) Cloud storage data node apparatus
CN106502591A (en) A kind of storage controlling method and memory control device based on mixing storage product
JP4839749B2 (en) Computer, portable terminal device, power control method, power control program
CN109215714A (en) For enhancing storage system, method and the non-transitory computer-readable medium of the service quality of storage equipment
CN113703670B (en) Wear balance control method, device, equipment and readable storage medium
CN108595117A (en) The smooth method of safety during a kind of adjustment of dynamic capacity
CN110600822B (en) Charging method, electronic equipment and computer storage medium
WO2012167642A1 (en) Wear leveling method and apparatus

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160921

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