IP Library Granted Patent US 9,092,372
Granted Patent B2
US 9,092,372 · App. 14/080,863 · Granted Jul 28, 2015

Memory access authority control method and memory management system thereof

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,092,372
App. No.
14/080,863
Granted
Jul 28, 2015
Kind
B2
Abstract

A memory access authority control method and a memory management system utilizing the method. By partitioning and designating permissible memory access intervals to different service programs in one system, it is ensured that each service program cannot access other service programs' confidential data. Thus, the security of confidential data is guaranteed.

Claims (25)

1. A memory access authority control method, applicable to a memory comprising a command address space and a service address space, the command address space storing a plurality of caller programs corresponding to a plurality of non-overlapped program counter value intervals, respectively, the service address space storing a plurality of non-overlapped permissible access intervals corresponding to the plurality of caller programs, respectively, the memory access authority control method comprising:

accessing a first caller program among the plurality of caller programs in the command address space according to a current program counter value stored in a program counter;

querying a look-up table for a first permissible access interval in the service address space according to the current program counter value, wherein the look-up table stores a plurality of mapping relationships between the plurality of program counter intervals and the plurality of permissible access intervals in the service address space;

determining whether an access target address of the first caller program falls in the first permissible access interval to generate a result; and

determining whether to permit an access of the first caller program to the service address space according to the result.

2. The method of claim 1 , wherein the step of determining whether to permit the access of the first caller program to the service address space according to the result further comprises:

permitting the first caller program accessing the first permissible access interval if the result shows that the access target address falls in the first permissible access interval.

3. The method of claim 1 , wherein the step of determining whether to permit the access of the first caller program to the service address space according to the result further comprises:

denying the first caller program accessing the first permissible access interval if the result shows that the access target address falls outside of the first permissible access interval.

4. The method of claim 1 , wherein an update to the command address space is forbidden and the command address space is arranged as a read-only memory space.

5. The method of claim 1 , wherein the plurality of caller programs are written into the command address space by one-time programming or mask read-only memory techniques.

6. The method of claim 1 , wherein the plurality of permissible access intervals stores a plurality of confidential service data and/or a plurality of register groups, each of the plurality of caller programs is certificated and supported by trusted execution environment (TEE), respectively, confidential service data and/or a register group corresponding to each of the plurality of caller programs are/is also certificated and supported by TEE, and each of the plurality of register groups comprises at least one register value, which is a parameter for operating at least one corresponding apparatus.

7. A memory management system, comprising:

a memory, comprising a command address space and a service address space, wherein the command address space stores a plurality of caller programs corresponding to a plurality of non-overlapped program counter value intervals, respectively, and the service address space stores a plurality of non-overlapped permissible access intervals corresponding to the plurality of caller programs, respectively;

a look-up table, storing a plurality of mapping relationships between the plurality of program counter intervals and the plurality of permissible access intervals in the service address space;

a memory controller, comprising a program counter, configured to:

access a first caller program among the plurality of caller programs in the command address space according to a current program counter value stored in the program counter;

query a look-up table for a first permissible access interval in the service address space according to the current program counter value;

determine whether an access target address of the first caller program falls in the first permissible access interval to generate a result; and

determine whether to permit an access of the first caller program to the service address space according to the result.

8. The memory management system of claim 7 , wherein the memory controller is configured to permit the first caller program accessing the first permissible access interval if the access target address is determined to fall into the first permissible access interval.

9. The memory management system of claim 7 , wherein the memory controller is configured to deny the first caller program accessing the first permissible access interval if the access target address is determined to fall outside of the first permissible access interval.

10. The memory management system of claim 7 , wherein an update to the command address space is forbidden and the command address space is arranged as a read-only memory space.

11. The memory management system of claim 7 , wherein the plurality of caller programs are written into the command address space by one-time programming or mask read-only memory techniques.

12. The memory management system of claim 7 , wherein the plurality of permissible access intervals stores a plurality of confidential service data and/or a plurality of register groups, each of the plurality of caller programs is certificated and supported by trusted execution environment (TEE), respectively, confidential service data and/or a register group corresponding to each of the plurality of caller programs are/is also certificated and supported by TEE, and each of the plurality of register groups comprises at least one register value, which is a parameter for operating at least one corresponding apparatus.

Assignments (2)
MERGER Recorded Jun 8, 2020
From: MSTAR SEMICONDUCTOR, INC.
To: MEDIATEK INC.
Reel/Frame 052871/0833 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2014
From: HUANG, CHIEN-HSING; WANG, KO-FANG
To: MSTAR SEMICONDUCTOR, INC.
Reel/Frame 032059/0618 →