A method and device for protecting program storage space by precise partitioning
A storage space and program storage technology, which is applied to multi-program devices, specific access rights, transaction processing, etc., can solve problems such as system resource waste and user programs not running normally, and achieve the effect of avoiding waste
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] see figure 1 , a method for protecting program storage space through precise partitioning provided by the present invention, the specific steps are as follows:
[0035] Step 101: Determine the first length according to the length of the program, obtain the first address according to the first address and the first length of the program storage space, and obtain the first storage space according to the first length and the first address.
[0036] Specifically, the preset interval is determined according to the program length, and the upper boundary value of the preset interval is used as the first length. Align the first address of the program storage space to the left to an integer multiple of the first length to obtain the first first address, calculate the sum of the first first address and the first length to obtain the first end address, and combine the first first address and the first end address The storage space between is used as the first storage space.
[0...
Embodiment 2
[0101] see figure 2 , the present invention provides a device for protecting program storage space through precise partitioning, including:
[0102] The first storage space generation module 11 is used to determine the first length according to the length of the program, and align the first address of the program storage space to an integer multiple of the first length to the left to obtain the first first address, according to the first first address and the first length get the first storage space;
[0103] Specifically, the first storage space generating module is specifically configured to determine the preset interval where the program length is located, use the upper boundary value of the preset interval as the first length, and align the first address of the program storage space to the left Integer multiples of the first length to obtain the first head address, and the first storage space is obtained according to the first head address and the first length.
[0104]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com