Memory access processing method and apparatus, computer device, storage medium, and computer program product
Abstract
The present disclosure relates to a memory access processing method and apparatus, a computer device, a storage medium and a computer program. The method includes: acquiring a memory access request transmitted by a hardware module, the memory access request carrying a protection identifier, an access type, and an access area corresponding to the hardware module, the hardware module being pre-assigned with the corresponding protection identifier, and a memory area that the hardware module needs to access being pre-assigned to a memory region corresponding to an access permission; determining the memory region in which the access area is located; determining whether the protection identifier corresponding to the hardware module has the access permission for a corresponding access type to the memory region; and responding to the memory access request when the protection identifier corresponding to the hardware module has the access permission for the corresponding access type to the memory region.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A memory access processing method, comprising: acquiring a memory access request transmitted by a hardware module, the memory access request carrying a protection identifier, an access type, and an access area corresponding to the hardware module, the hardware module being pre-assigned with the corresponding protection identifier, and a memory area that the hardware module needs to access being pre-assigned to a memory region corresponding to an access permission; determining the memory region in which the access area is located; determining whether the protection identifier corresponding to the hardware module has the access permission for a corresponding access type to the memory region; and responding to the memory access request when the protection identifier corresponding to the hardware module has the access permission for the corresponding access type to the memory region; further comprising: acquiring an access permission of each access identifier to each memory region; determi
- Claim 2Depends on #1
The method according to claim 1, further comprising: determining a memory area that a newly added hardware module needs to access when the hardware has the newly added hardware module, and assigning a corresponding protection identifier to the newly added hardware module; and assigning the memory area that the newly added hardware module needs to access to a corresponding memory region based on an access permission of the protection identifier of the newly added hardware module to each memory region.
- Claim 3Depends on #1
The method according to claim 1, wherein the assigning the corresponding protection identifier to each hardware module based on the memory area that each hardware module needs to access comprises: assigning different protection identifiers to different access types of each hardware module based on the memory area that each hardware module needs to access.
- Claim 4Depends on #1
The method according to claim 1, wherein the acquiring the access permission of each access identifier to each memory region comprises: acquiring an access permission of each access identifier to each memory region predefined in a memory filter which is provided by a third party or is hardware-attached.
- Claim 5Depends on #1
The method according to claim 1, wherein the hardware module is in a video encoder or a video decoder, and a hardware module shared by the video encoder and the video decoder has the same protection identifier.
- Claim 6Independent Claim
A memory access processing apparatus, comprising: a processor and a memory for storing program instructions executed by the processor; wherein the processor is configured to: acquire a memory access request transmitted by a hardware module, the memory access request carrying a protection identifier, an access type, and an access area corresponding to the hardware module, the hardware module being pre-assigned with the corresponding protection identifier, and a memory area that the hardware module needs to access being pre-assigned to a memory region corresponding to an access permission; determine the memory region in which the access area is located; determine whether the protection identifier corresponding to the hardware module has the access permission for a corresponding access type to the memory region; and respond to the memory access request when the protection identifier corresponding to the hardware module has the access permission for the corresponding access type to the mem
- Claim 7Depends on #6
The apparatus according to claim 6, wherein the processor is further configured to be capable of executing the stored program instructions to: determine a memory area that a newly added hardware module needs to access when the hardware has the newly added hardware module, assign a corresponding protection identifier to the newly added hardware module, and assign the memory area that the newly added hardware module needs to access to a corresponding memory region based on an access permission of the protection identifier of the newly added hardware module to each memory region.
- Claim 8Depends on #6
The apparatus according to claim 6, wherein the processor is further configured to be capable of executing the stored program instructions to assign different protection identifiers to different access types of each hardware module based on the memory area that each hardware module needs to access.
Technical Overview & Description
CROSS REFERENCES TO RELATED APPLICATION The present application claims priority to Chinese patent application No. 202410090423.0, titled “ Memory Access Processing Method and Apparatus, Computer Device, Storage Medium, and Computer Program Product ” , and filed on Jan. 22, 2024, the content of which is hereby incorporated by reference in its entirety. TECHNICAL FIELD The present disclosure relates to the field of data protection technology, and particularly to a memory access processing method and apparatus, a computer device, a storage medium, and a computer program product. BACKGROUND In recent years, the video industry has flourished, and users have gradually got into the habit of paying for the video content. Increasing and protecting revenue is a focus for many content providers and video platforms. On the other hand, the high-quality original content is also the most important driving force of the video industry, and by protecting intellectual property rights and cracking down on piracy, the prosperity of the video industry can be maintained. Accordingly, how to protect the video content is an urgent problem to be solved. A technology used for protecting a digital copyright is referred to as Digital Rights Management (DRM). The DRM is a system in which an encryption technology is utilized to protect video content, keys (encryption key and decryption key) are securely stored and transmitted by means of a professional technology, and a content producer is allowed to set business rules to limit a content viewer. The DRM can protect the video content from being illegally copied and downloaded, or used and propagated without authorization. A specific implementation process of the DRM includes: the content provider registers with the DRM service provider and acquires MI key Encryption Key and the key identifier KeyId. The content provider uses the acquired Encryption Key to encrypt the content by using an encryption algorithm (usually AES-128), and uploads the key i
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 (3)
| Patent | Title | Year | Citations |
|---|