Method and apparatus to use DRAM as a cache for slow byte-addressible memory for efficient cloud applications
US-12174739-B2 · Dec 24, 2024 · US
US2018357006A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2018357006-A1 |
| Application number | US-201816001888-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jun 6, 2018 |
| Priority date | Jun 7, 2017 |
| Publication date | Dec 13, 2018 |
| 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 buffer allocation method, a data processing method, an electronic device, a client and a storage media are disclosed in the present disclosure. The data processing method include receiving a writing request of an application program, the writing request including data to be buffered and a buffer object identifier, and the buffer object identifier corresponding to a buffer object; if the data to be buffered is media data, performing designated processing on the media data to cause the media data to possess a designated effect when being displayed; and writing the media data that has gone through the designated processing into a storage region pointed by the buffer object so that media data that is used is the media data that has gone through the designated processing when the buffer object is called. The present disclosure can reduce the time and the cost required in the development of application programs.
Opening claim text (preview).
1 . A method comprising: receiving a writing request of an application program, the writing request including data to be buffered and a buffer object identifier, and the buffer object identifier corresponding to a buffer object; if the data to be buffered is media data, performing designated processing on the media data to cause the media data to possess a designated effect when being displayed; and writing the media data that has gone through the designated processing into a storage region pointed by the buffer object so that media data that is used is the media data that has gone through the designated processing when the buffer object is called. 2 . The method of claim 1 , wherein the media data is video data, audio data, or image data. 3 . The method of claim 2 , wherein performing the designated processing on the media data comprises: performing processing that increases display effects of the video data to enable the video data to possess designated visual effects when being played; processing that increases audio effects of the audio data to enable the audio data to possess designated acoustic effects when being played; or processing that increases display effects of the image data to enable the image data to possess designated visual effects when being displayed. 4 . The method of claim 1 , wherein the buffer object comprises a buffer object type identifier, the buffer object type identifier being used for representing a type of the buffer object. 5 . The method of claim 4 , further comprising writing the data to be buffered into a storage region pointed by the buffer object corresponding to the buffer object identifier. 6 . The method of claim 5 , wherein performing the designated processing on the media data comprises recognizing that the data to be buffered is the media data when the type of the buffer object represented by the buffer object type identifier is a cached buffer object, wherein data stored in the storage region pointed by the cached buffer object first enters into a cache of a central processing unit, and the central processing unit reading the data from the cache before the central processing unit performs the designated processing thereon. 7 . The method of claim 1 , wherein the writing request further comprises a data type identifier, the data type identifier being used for representing a data format of the data to be buffered. 8 . The method of claim 7 , further comprising recognizing the data type of the data to be buffered is the media data. 9 . The method of claim 1 , further comprising: receiving a buffer object allocation request of the application program prior to receiving the writing request, wherein the buffer object allocation request includes a data type identifier, and the data type identifier is used for representing a data type of the data of the application program to be buffered; and allocating the buffer object according to the data type identifier. 10 . The method of claim 9 , wherein allocating the buffer object according to the data type identifier comprises: allocating a cached buffer object to the application program when the data type represented by the data type identifier is the media data, wherein data stored in a cached buffer, before going through the designated processing by a central processing unit, first enters into a cache of the central processing unit and the central processing unit reads the data from the cache. 11 . One or more computer readable media storing executable instructions that, when executed by a client, cause the client to perform acts comprising: receiving a writing request of an application program, the writing request including data to be buffered and a buffer object identifier, and the buffer object identifier corresponding to a buffer object; if the data to be buffered is media data, performing designated processing on the media data to cause the media data to possess a designated effect when being displayed; and writing the media data that has gone through the designated processing into a storage region pointed by the buffer object so that media data that is used is the media data that has gone through the designated processing when the buffer object is called. 12 . The one or more computer readable media of claim 11 , wherein the media data is video data, audio data, or image data. 13 . The one or more computer readable media of claim 12 , wherein performing the designated processing on the media data comprises: performing processing that increases display effects of the video data to enable the video data to possess designated visual effects when being played; processing that increases audio effects of the audio data to enable the audio data to possess designated acoustic effects when being played; or processing that increases display effects of the image data to enable the image data to possess designated visual effects when being displayed. 14 . The one or more computer readable media of claim 11 , wherein the buffer object comprises a buffer object type identifier, the buffer object type identifier being used for representing a type of the buffer object. 15 . The one or more computer readable media of claim 14 , the acts further comprising writing the data to be buffered into a storage region pointed by the buffer object corresponding to the buffer object identifier. 16 . The one or more computer readable media of claim 15 , wherein performing the designated processing on the media data comprises recognizing that the data to be buffered is the media data when the type of the buffer object represented by the buffer object type identifier is a cached buffer object, wherein data stored in the storage region pointed by the cached buffer object first enters into a cache of a central processing unit, and the central processing unit reading the data from the cache before the central processing unit performs the designated processing thereon. 17 . The one or more computer readable media of claim 11 , wherein the writing request further comprises a data type identifier, the data type identifier being used for representing a data format of the data to be buffered, and wherein the acts further comprise recognizing the data type of the data to be buffered is the media data. 18 . The one or more computer readable media of claim 11 , the acts further comprising: receiving a buffer object allocation request of the application program prior to receiving the writing request, wherein the buffer object allocation request includes a data type identifier, and the data type identifier is used for representing a data type of the data of the application program to be buffered; and allocating the buffer object according to the data type identifier. 19 . The one or more computer readable media of claim 18 , wherein allocating the buffer object according to the data type identifier comprises: allocating a cached buffer object to the application program when the data type represented by the data type identifier is the media data, wherein data stored in a cached buffer, before going through the designated processing by a central processing unit, first enters into a cache of the central processing unit and the central processing unit reads the data from the cache. 20 . A client comprising: a receiving module used for receiving a request for allocating a buffer object from an application program, wherein the request for allocating the buffer object includes a data type identifier, and the data type identifier is used for repre
Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence) · CPC title
Single storage device · CPC title
by pre-caching the initial portion of songs or other recorded or downloaded data for starting playback instantly · CPC title
Cache memories for random data access, e.g. buffers wherein the data output is controlled by a priority parameter other than retention time · CPC title
Buffers; Shared memory; Pipes · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.