Unlock instant, AI-driven research and patent intelligence for your innovation.

Storage device and firmware setting method and repartitioning method thereof

A storage device and firmware technology, which is applied in the direction of memory system, memory address/allocation/relocation, instrument, etc., can solve the problems of long-time copying process, limited storage capacity, increased labor cost, etc., and achieve simplified re-partitioning method , improve efficiency and save labor cost

Pending Publication Date: 2021-04-02
YEESTOR MICROELECTRONICS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, storage devices are commonly used devices, and there are more and more requirements for storage devices, and the storage capacity of storage devices is also getting higher and higher, but no matter how high the storage device is, its storage capacity is limited, and the stored data After a certain period of time, data or files need to be replaced, which causes fragmentation of storage space or insufficient storage space. Therefore, large-capacity storage devices will be partitioned when they are in use, and after a period of use, large-capacity storage devices will Re-partitioning according to the storage space requirements, the existing technology is to store the content in the space of the storage device A that needs to be partitioned in another storage device B, and then re-partition the storage device A, and then store the content in the storage device A The content copied in device B is then copied back to storage device A, which is not only troublesome, but also takes a long time to copy when there is a lot of content, which greatly increases labor costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage device and firmware setting method and repartitioning method thereof

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0023] A firmware setting method of a storage device according to the present application, a logical address mapping switching interface is set in the firmware of the storage device, and the logical address mapping switching interface includes the first address, the second address, and the parameter of setting the length of the switching address, from the first The continuous logical addresses starting from the first address and setting the length of the switching address are the first address segment, and the continuous logical addresses starting from the second address and setting the length of the switching address are the second address segment.

[0024] The logical address mapping exchange interface is used for exchanging the slave first address segment with the second address segment; performing logical address exchange by updating the logical address mapping table.

[0025] Specifically, a logical address mapping switching interface instruction is added in the firmware, ...

specific Embodiment 2

[0029] According to a method for repartitioning a storage device according to the present application, the host computer calculates the logical space to be adjusted according to the repartitioning instruction, calls the mapping exchange interface of the storage device, and adjusts the size of the logical space of different partitions.

[0030] Repartitioning, at the user level, is to expand the size of the original first partition and reduce the size of the original second partition. In essence, it is necessary to adjust user information from state A to state B.

[0031] After receiving the repartition command, the host invokes the partition table and file system information to obtain the logical address information of the original partition and the file usage information of the original partition. The partition table includes the start and end address information of each partition.

[0032] Calculate the logical space address to be adjusted according to the start address, end ...

specific Embodiment 3

[0040] A storage device is solidified with a computer program, and a logic address mapping exchange interface is set in the program. When repartitioning the storage device, it is only necessary to call the logical address mapping exchange interface and set relevant parameters to realize the repartitioning of the storage space, which simplifies user operations and saves labor costs.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a storage device and a firmware setting method and a re-partitioning method thereof, belongs to the technical field of storage devices, and aims to set a logic address mappingexchange interface in firmware of the storage device and call the logic address mapping exchange interface during re-partitioning so as to perform re-partitioning on the firmware of the storage device. The first address, the second address and the exchange address length of logic address exchange are set, logic address exchange is achieved, the first address is converted into the second address, repartitioning is achieved, the repartitioning method is simplified, and labor cost is saved.

Description

technical field [0001] The invention relates to the technical field of storage devices, in particular to a storage device and its firmware setting method and repartitioning method. Background technique [0002] At present, storage devices are commonly used devices, and there are more and more requirements for storage devices, and the storage capacity of storage devices is also getting higher and higher, but no matter how high the storage device is, its storage capacity is limited, and the stored data After a certain period of time, data or files need to be replaced, which causes fragmentation of storage space or insufficient storage space. Therefore, large-capacity storage devices will be partitioned when they are in use, and after a period of use, large-capacity storage devices will Re-partitioning according to the storage space requirements, the existing technology is to store the content in the space of the storage device A that needs to be partitioned in another storage ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06G06F12/02
CPCG06F3/0604G06F3/0629G06F12/0253
Inventor 王浩吴大畏李晓强
Owner YEESTOR MICROELECTRONICS CO LTD