US 12,169,647 B2
Method for external devices accessing computer memory
Kaipeng Lin, Guangdong (CN)
Assigned to SHENZHEN GUOWEIXIN TECHNOLOGY CO., LTD, Guangdong (CN)
Appl. No. 17/792,476
Filed by SHENZHEN GOUWEIXIN TECHNOLOGY CO., LTD, Guangdong (CN)
PCT Filed Mar. 25, 2020, PCT No. PCT/CN2020/081218
§ 371(c)(1), (2) Date Jul. 13, 2022,
PCT Pub. No. WO2021/093249, PCT Pub. Date May 20, 2021.
Claims priority of application No. 201911109177.4 (CN), filed on Nov. 13, 2019.
Prior Publication US 2023/0049427 A1, Feb. 16, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A method for accessing computer memory by an external device, comprising the following steps:
S1. applying, by said external device, to a computer for a memory space with a certain size, and receiving multiple memory blocks fed back by said computer, wherein the multiple memory blocks are discontinuous memory blocks;
S2. in response to receiving the multiple discontinuous memory blocks fed back by said computer, splicing, by said external device, the discontinuous memory blocks into a sequential storage structure or a chain storage structure of a continuous memory space, and establishing, by said external device, a memory mapping relation between said external device and said computer by means of the sequential storage structure or the chain storage structure, wherein a hash algorithm result of an address value of the continuous memory space in the addressing space of said external device is used as an index of a hash table to find elements in said sequential storage structure or said chain storage structure corresponding to said operation address by means of said hash table, following the corresponding relation between the elements of said chain storage structure or said sequential storage structure and the value of each index of said hash table; and
S3. when initiating a read-and-write operation, finding, by said external device, the corresponding offset address in said computer according to said memory mapping relation between said external device and said computer, generating a read-and-write burst command, and actualizing read-and-write operations in said computer memory.