Adaptively controlling data copy operations that copy data in an electronic environment
US-10261718-B1 · Apr 16, 2019 · US
US2022253252A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2022253252-A1 |
| Application number | US-202217732854-A |
| Country | US |
| Kind code | A1 |
| Filing date | Apr 29, 2022 |
| Priority date | Oct 31, 2019 |
| Publication date | Aug 11, 2022 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A data processing method and apparatus are provided. The data processing method is: receiving a write request, where the write request is for requesting to write, to an external memory, first data in a first storage area in an internal memory; writing the first data to a second storage area in the internal memory, where the second storage area is a storage area, in the internal memory, that is reallocated to the first data, and the second storage area is different from the first storage area; sending a response message after the first data is written to the second storage area, where the response message indicates that processing of the write request is completed; and writing the first data in the second storage area to the external memory.
Opening claim text (preview).
1 . A data processing method performed by a computer system comprising an internal memory and an external memory, the method comprising: receiving a write request for requesting to write, to the external memory, first data in a first storage area in the internal memory; writing the first data to a second storage area in the internal memory, wherein the second storage area in the internal memory, is reallocated to the first data, and the second storage area is different from the first storage area; sending a response message after the first data is written to the second storage area, wherein the response message indicates that processing of the write request is completed; and writing the first data in the second storage area to the external memory. 2 . The method according to claim 1 , wherein after the writing the first data to a second storage area in the internal memory, the method further comprises: adding the write request to a first transaction allocated after a first flush command is received and before a second flush command is received, wherein the first flush command is last received before the write request, wherein the second flush command is first received after the write request, and wherein the writing the first data in the second storage area to the external memory comprises: writing data corresponding to all write requests in the first transaction to the external memory, wherein the data corresponding to all the write requests in the first transaction comprises the first data. 3 . The method according to claim 2 , wherein the writing data corresponding to all write requests in the first transaction to the external memory comprises: combining the first data and data corresponding to all the write requests comprised in the first transaction and whose current storage address is adjacent to a current storage address of the first data, and writing combined data to the external memory. 4 . The method according to claim 2 , wherein the method further comprises: writing data corresponding to all write requests in a second transaction to the external memory after the writing data corresponding to all write requests in the first transaction to the external memory, wherein the second transaction is allocated after the second flush command is received and before a third flush command is received, and wherein the third flush command is first received after the second flush command is received. 5 . The method according to claim 1 , wherein the writing the first data in the second storage area to the external memory comprises: writing the first data in the second storage area to the external memory by using an asynchronous writeback thread. 6 . A data processing apparatus, comprising: a processor and a memory coupled to the processor to store instructions, which when executed by the processor, cause the data processing apparatus to: receive a write request for requesting to write, to the external memory, first data in a first storage area in the internal memory; write the first data to a second storage area in the internal memory, wherein the second storage area, in the internal memory, is reallocated to the first data, and the second storage area is different from the first storage area; send a response message after the first data is written to the second storage area, wherein the response message indicates that processing of the write request is completed; and write the first data in the second storage area to the external memory. 7 . The data processing apparatus according to claim 6 , wherein the processor is further configured to: add the write request to a first transaction allocated after a first flush command is received and before a second flush command is received, wherein the first flush command is last received before the write request, and wherein the second flush command is first received after the write request; and write data corresponding to all write requests in the first transaction to the external memory, wherein the data corresponding to all the write requests in the first transaction comprises the first data. 8 . The data processing apparatus according to claim 7 , wherein the processor is further configured to: combine the first data and data corresponding to all the write requests comprised in the first transaction and whose current storage address is adjacent to a current storage address of the first data, and write combined data to the external memory. 9 . The data processing apparatus according to claim 7 , wherein the processor is further configured to: write data corresponding to all write requests in a second transaction to the external memory after the data corresponding to all the write requests in the first transaction is written to the external memory, wherein the second transaction is allocated after the second flush command is received and before a third flush command is received, and the third flush command is first received after the second flush command is received. 10 . The data processing apparatus according to claim 6 , wherein that the processor is further configured to: write the first data in the second storage area to the external memory by using an asynchronous writeback thread. 11 . A non-transitory machine readable storage medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising: receiving a write request for requesting to write, to the external memory, first data in a first storage area in the internal memory; writing the first data to a second storage area in the internal memory, wherein the second storage area, in the internal memory, is reallocated to the first data, and the second storage area is different from the first storage area; sending a response message after the first data is written to the second storage area, wherein the response message indicates that processing of the write request is completed; and writing the first data in the second storage area to the external memory. 12 . The machine-readable medium of claim 11 , wherein after the writing the first data to a second storage area in the internal memory, the method further comprises: adding the write request to a first transaction allocated after a first flush command is received and before a second flush command is received, wherein the first flush command is last received before the write request, wherein the second flush command is first received after the write request, and wherein the writing the first data in the second storage area to the external memory comprises: writing data corresponding to all write requests in the first transaction to the external memory, wherein the data corresponding to all the write requests in the first transaction comprises the first data. 13 . The machine-readable medium of claim 12 , wherein the writing data corresponding to all write requests in the first transaction to the external memory comprises: combining the first data and data that is in the data corresponding to all the write requests comprised in the first transaction and whose current storage address is adjacent to a current storage address of the first data, and writing combined data to the external memory. 14 . The machine-readable medium of claim 12 , wherein the method further comprises: writing data corresponding to all write requests in a second transaction to the external memory after the writing data corresponding to all write requests in the first transaction to the external memory, wherein the second transaction is allocated after the second flush command is
In host system · CPC title
Latency reduction · CPC title
in a hierarchical protection system, e.g. privilege levels, memory rings · CPC title
Data transfer between cache memory and other subsystems, e.g. storage devices or host systems · CPC title
Improving I/O performance · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.