hottub.patents
US 12,801,299 B2#3073112 Most CitedActiveUnited States (USPTO)Utility

Physical address mapping method and component, and data processing method and component

0Forward Citations (#3073112 Global)
0.0/yrCitation Velocity (#3073112 Global)
0.00Citation PageRank (#3073112 Global)
14Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

The present application provides a physical address mapping method and component, and a data processing method and component. The physical address mapping method includes: obtaining a target total capacity of a target hard disk; determining a Physical Media Address (PMA) expansion length if an existing PMA length does not meet a physical addressing range of target total capacity; and obtaining an available PMA length that meets the physical addressing range according to the PMA expansion length and the existing PMA length.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A physical address mapping method, comprising: obtaining a target total capacity of a target hard disk; determining a Physical Media Address (PMA) expansion length when an existing PMA length does not meet a physical addressing range of the target total capacity; obtaining a first available PMA length that meets the physical addressing range according to the PMA expansion length and the existing PMA length; adjusting the first available PMA length to obtain an optional PMA length; calculating a first number of PMAs and a first remaining length included in a cache line of the target hard disk according to an available length of the cache line and the first available PMA length; calculating a second number of PMAs and a second remaining length included in the cache line according to the available length of the cache line and the optional PMA length; and using the optional PMA length as a second available PMA length that meets the physical addressing range when the first remaining length

  2. Claim 2Depends on #1

    The physical address mapping method according to claim 1, wherein determining the PMA expansion length comprises: determining a maximum total capacity that the existing PMA length meets; and determining the PMA expansion length as X when the target total capacity is 2 X times of the maximum total capacity, wherein X is a positive integer.

  3. Claim 3Independent Claim

    A data processing method, comprising: receiving data read and write operations sent by a host to which a target hard disk belongs; performing physical addressing in the target hard disk for at least one available Physical Media Address (PMA) length; performing the data read and write operations; and updating a logical-to-physical (L2P) table in a memory of the host, wherein the at least one available PMA length is obtained by performing operations comprising: obtaining a target total capacity of the target hard disk; determining a PMA expansion length when an existing PMA length does not meet a physical addressing range of the target total capacity; obtaining a first available PMA length that meets the physical addressing range according to the PMA expansion length and the existing PMA length; adjusting the first available PMA length to obtain an optional PMA length; calculating a first number of PMAs and a first remaining length included in a cache line of the target hard disk accordi

  4. Claim 4Depends on #3

    The data processing method according to claim 3, wherein performing the physical addressing in the target hard disk for the at least one available PMA length comprises: building the cache line based on the at least one available PMA length and performing physical addressing in the target hard disk based on the cache line.

  5. Claim 5Depends on #4

    The data processing method according to claim 4, wherein building the cache line based on the at least one available PMA length comprises: determining PMAs of a target value included in the cache line according to the length of the cache line and the at least one available PMA length; sequentially arranging the PMAs of the target value having the at least one available PMA length to build the cache line; or determining PMAs of the target value included in the cache line according to the length of the cache line and the at least one available PMA length, and calculating a difference D between the at least one available PMA length and 32-bit length; and sequentially arranging first 32 bits of the PMAs of the target value, and arranging last D bits of the PMAs of the target value from a tail of the cache line to build the cache line.

  6. Claim 6Depends on #3

    The data processing method according to claim 3, further comprising: using a mutex when updating the L2P table to ensure that only a single process accesses the L2P table at a time.

  7. Claim 7Depends on #3

    The data processing method according to claim 3, further comprising: moving updated data corresponding to any PMA to a memory area corresponding to a user process after all bits corresponding to the PMA in the L2P table are updated, so that the user process reads the updated data corresponding to the PMA from the memory area.

  8. Claim 8Independent Claim

    An electronic device, comprising: a memory storing a computer program; and a processor coupled to the memory, wherein the computer program, when executed by the processor, causes the processor to perform operations comprising: obtaining a target total capacity of a target hard disk; determining a Physical Media Address (PMA) expansion length when an existing PMA length does not meet a physical addressing range of the target total capacity; obtaining a first available PMA length that meets the physical addressing range according to the PMA expansion length and the existing PMA length; adjusting the first available PMA length to obtain an optional PMA length; calculating a first number of PMAs and a first remaining length included in a cache line of the target hard disk according to an available length of the cache line and the first available PMA length; calculating a second number of PMAs and a second remaining length included in the cache line according to the available length of the

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS The present application is a continuation of International Application No. PCT/CN2023/085317, filed on Mar. 31, 2023, which claims the benefit of priority to Chinese Patent Application No. 202211572911.2, filed on Dec. 8, 2022. The entire contents of each of the above-referenced applications are expressly incorporated herein by reference in their entirety. TECHNICAL FIELD The present application relates to the field of computer technology, in particular to a physical address mapping method and component, and a data processing method and component. BACKGROUND As the generation speed and amount of user data increase day by day, the amount of data to be stored also increases sharply. The 16 terabyte (TB) and 32 TB large-capacity storage hard disks have also emerged at the right moment, and the required memory size has been expanded to 16 GB and 32 GB accordingly. In this case, the Physical Media Address (PMA) needs to be able to access a larger physical storage space. However, the existing 32-bit PMAs only meet the need of physical addressing of hard disks with a capacity of 8 TB and below. That is, the existing 32-bit PMAs cannot cover the physical addressing range of hard disks with a capacity larger than 8 TB. For example, for a 16 TB hard disk, the 32-bit PMA cannot complete the physical addressing. The PMA expandability of the current storage hard disk is poor, making it impossible to flexibly meet the constantly expanding physical storage space. Therefore, how to expand the physical addressing range of PMAs to improve expandability is a problem that needs to be solved by those skilled in the art. SUMMARY In view of this, an object of the present application is to provide a physical address mapping method and component, as well as a data processing method and component, for expanding the physical addressing range of PMAs and improving the expandability of PMAs. The specific solution is as follows. In a first aspect, the pres

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (14)

PatentTitleYearCitations

Non-Patent Literature (1)

  • International Search Report and Written Opinion in related PCT Application No. PCT/CN2023/085317 dated Jul. 14, 2023 (12 pages).