WO2010060238A1 - 一种分配移动终端存储空间的系统和方法 - Google Patents

一种分配移动终端存储空间的系统和方法 Download PDF

Info

Publication number
WO2010060238A1
WO2010060238A1 PCT/CN2008/072915 CN2008072915W WO2010060238A1 WO 2010060238 A1 WO2010060238 A1 WO 2010060238A1 CN 2008072915 W CN2008072915 W CN 2008072915W WO 2010060238 A1 WO2010060238 A1 WO 2010060238A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
storage space
information
allocation
module
Prior art date
Application number
PCT/CN2008/072915
Other languages
English (en)
French (fr)
Inventor
汤磊
汪海波
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP08878356.8A priority Critical patent/EP2346233A4/en
Priority to PCT/CN2008/072915 priority patent/WO2010060238A1/zh
Priority to US13/126,598 priority patent/US20110208934A1/en
Publication of WO2010060238A1 publication Critical patent/WO2010060238A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices

Definitions

  • the present invention relates to the field of allocation and management of storage space of a mobile terminal, and in particular to a system and method for allocating storage space of a mobile terminal.
  • the current mobile terminal users' demand for the storage space of the terminal is mainly the space of the phone book, the short message space, the multimedia message, and the system files (audio, video, picture, text, etc.), but the terminals of different models and different grades store the above.
  • the method of dividing the space is different. Some have a large-capacity phone book as a prominent feature, and some have a massive multimedia space to dominate the brand. When users choose products, they feel satisfied in other aspects. Users with more short messages regret that the short message capacity is too small.
  • the phone book with large capacity is a waste for ordinary users, but its file space is Very small, users want to store some large files is not enough, these shortcomings make some products lose some market competitiveness.
  • the prior art has the following drawbacks, and the storage space allocation management available for the mobile terminal is not user-friendly, and the user cannot perform allocation management according to individual needs.
  • the present invention provides a system and method for allocating storage space of a mobile terminal, and the storage space of the mobile terminal can be allocated according to user needs.
  • the technical solution of the present invention is to provide a system for allocating a storage space of a mobile terminal, and the system includes a user interface module for prompting a user to select a storage mode of the storage space;
  • control module configured to save space division information in each allocation mode
  • a memory allocation module configured to clear data of the entire space to be divided when reallocating the storage space, and obtain spatial division information in the allocation mode saved in the control module according to the allocation mode selected by the user, and according to the space division Information configures the storage space required to store each piece of information.
  • system further includes an allocation determination module, configured to receive a distribution mode selected by the user And when the user selects the preset mode, it is judged whether the current allocation mode is the preset mode selected by the user, and the operation is ended, otherwise the allocation mode selected by the user of the memory allocation module is notified.
  • an allocation determination module configured to receive a distribution mode selected by the user And when the user selects the preset mode, it is judged whether the current allocation mode is the preset mode selected by the user, and the operation is ended, otherwise the allocation mode selected by the user of the memory allocation module is notified.
  • the user interface module is further configured to prompt the user to input space division information when the user selects the custom mode
  • the allocation determining module is further configured to receive spatial division information input by the user, determine whether the spatial division information is legal, and send the spatial division information to the control module for saving when the space partitioned by the user is legal.
  • system further includes a cache module, configured to record a current allocation mode of the system and information required to be backed up;
  • the determining, by the allocation determining module, whether the current allocation mode is the preset mode selected by the user refers to: the allocation determining module reads the allocation mode recorded by the cache module, and if the allocation mode of the record is the same as the preset mode selected by the user, determining the current The allocation mode is the preset mode selected by the user.
  • the determining, determining, by the allocation determining module, whether the spatial division information is legal includes determining whether the following condition is true, and if one of the conditions is established, the method is invalid:
  • system further includes an exception processing module
  • the control module is further configured to notify the exception processing module to perform recovery processing after the storage space allocation fails, and carry the allocation mode selected by the user;
  • the exception processing module is configured to perform a recovery process after receiving the notification of performing the recovery process; the recovery process refers to re-allocating the storage space according to the allocation mode selected by the user, and pressing the cache module after attempting n times is still unsuccessful
  • the allocation mode of the record allocates storage space, or allocates storage space by data in the read-only ROM area.
  • system further includes an initialization module
  • the control module is further configured to save a backup flag bit for indicating whether the information is backed up, and notify the initialization module to initialize the mobile terminal after reallocating the storage space, where the backup flag is carried;
  • the initialization module is configured to initialize the mobile terminal after receiving the notification of initializing the mobile terminal, and copy the backed up information in the cache module to the corresponding storage area of the system according to the indication of the backup flag bit.
  • the present invention also provides a method for allocating a storage space of a mobile terminal, including: the mobile terminal saves the space division information in each allocation mode. After the user selects the allocation mode of the storage space, if the storage space needs to be re-allocated, the entire to-be-divided is first cleared. The spatial data is obtained according to the allocation mode selected by the user, and the spatial division information stored in the allocation mode is obtained, and the storage space required for storing the partial information is configured according to the spatial division information.
  • the mobile terminal first determines whether the current allocation mode is the preset mode selected by the user, and then ends the operation; otherwise, the storage space is re-allocated according to the allocation mode selected by the user.
  • the mobile terminal prompts the user to input the spatial division information, and then determines whether the spatial division information is legal, and saves the spatial division information when legal.
  • the mobile terminal also records the current allocation mode of the system and the information that needs to be backed up; the mobile terminal determines whether the current allocation mode is the preset mode selected by the user, that is, if the recorded allocation mode is the same as the preset mode selected by the user, The current allocation mode is the preset mode selected by the user.
  • determining whether the spatial division information is legal includes determining whether the following condition is true, and if one of the conditions is established, it is illegal:
  • the mobile terminal further performs a recovery process; the recovery process refers to re-allocating the storage space according to the allocation mode selected by the user, and attempts to press the mobile terminal for n times.
  • the current allocation mode of the record allocates storage space, or allocates storage space according to the data in the ROM area.
  • the present invention provides a system and method for allocating storage space of a mobile terminal, and the user can allocate and manage the storage space according to individual needs, thereby improving the user experience.
  • Figure 1 is a schematic structural view of the system of the present invention
  • the present invention provides a system and method for allocating a storage space of a mobile terminal.
  • the mobile terminal saves the space division information in each allocation mode. After the user selects the allocation mode of the storage space, if the storage space needs to be re-allocated, the entire space to be divided is first cleared. The data is obtained according to the allocation mode selected by the user, and the spatial division information in the allocation mode is saved, and the storage space required for storing the partial information is configured according to the spatial division information.
  • the embodiment provides a system for allocating a storage space of a mobile terminal.
  • the system includes a user interface module, a cache module, an allocation determination module, a control module, a memory allocation module, an exception processing module, and an initialization module.
  • the space used such as the space used to store the phone book, the space used to store the short message, the space used to store the system files, etc.; can also be used to prompt the user before the user selects the distribution mode. "This function will format the system storage space, except the phone. All the data except this will be cleared, OK?", the user chooses to exit the system, return to the directory, and end the operation.
  • the user interface module can also be used to prompt the user to perform a phone book backup before reallocating the storage space, and prompt the user to store the space after reallocating the storage space. Whether the assignment was successful.
  • the Cache Module is used to record the current allocation mode and to store information to be backed up, such as phonebooks and/or other important information, when reallocating storage space.
  • the allocation determination module is configured to receive the allocation mode selected by the user. When the user selects the preset mode, determine whether the preset mode is the current mode, if yes, exit the system, return to the directory, and end the operation, otherwise notify the memory allocation module of the user selected allocation. Mode, determining whether the current allocation mode is a preset mode selected by the user means that the allocation determination module reads the allocation mode recorded by the cache module, and if the recorded allocation mode is the same as the preset mode selected by the user, determining that the current allocation mode is the user The preset mode selected.
  • the allocation determination module is further configured to receive spatial division information input by the user when the user selects the custom mode, and determine whether the spatial division information space is legal.
  • the spatial division information is sent to the control module for storage, and whether the determination is legal or not includes determining the following: Whether the condition is true or not, if one of them is established, it is illegal: whether the space required for each information divided by the user exceeds the maximum limit and whether the total space required for each information exceeds the maximum limit, and whether the allocated storage space is smaller than that required for the original information. storage.
  • the control module is configured to save space division information in each allocation mode, including a user-set custom mode and space division information in a system preset mode, where the space division information refers to a space used for storing each part of information, such as storing a phone book
  • the space division information refers to a space used for storing each part of information, such as storing a phone book
  • the size of the phone book refers to the backed up The size of the phone book; the control module can also be used to notify the exception handling module to perform recovery processing after the storage space allocation fails, carry the allocation mode selected by the user, and modify the current allocation mode of the cache module record after the storage space is successfully allocated, and It can be used to re-allocate the storage space and notify the initialization module to initialize the mobile terminal, carrying the backup flag bit.
  • a memory allocation module configured to clear data of the entire space to be divided when reallocating the storage space, and obtain space division information in the allocation mode saved in the control module according to the allocation mode selected by the user, and configure storage according to the space division information
  • the storage space required for each part of the information such as the storage space required for storing the phone book, the storage space required for storing the short message, etc., specifically, the relevant initial value of the memory space to be divided, that is, the register, is configured according to the spatial division information.
  • the relevant initial value of the memory space to be divided that is, the register, is configured according to the spatial division information.
  • the relevant initial value of the memory space to be divided that is, the register, is configured according to the spatial division information.
  • In memory The value of the memory address map.
  • the exception processing module is configured to perform a recovery process after receiving the notification for performing the recovery process, where the recovery process may include, again, attempting to reallocate the storage space according to the allocation mode selected by the user, and attempting to allocate the storage mode recorded by the cache module n times.
  • Allocate storage space that is, return to the distribution mode before re-allocation, n can be set as needed, such as set to 3, or allocate storage space in the ROM (read-only) area (not shown in the ROM area), ie Going back to the system default allocation mode, the ROM area stores the value of the system's default memory configuration.
  • the initialization module is configured to initialize the mobile terminal after receiving the notification of initializing the mobile terminal, and copy the backed up information in the cache module to the corresponding storage area of the system according to the indication of the backup flag bit, such as copying the backed up phone book to the system phone. This storage area.
  • the embodiment further provides a method for allocating storage space of the mobile terminal. As shown in FIG. 2, the method includes the following steps:
  • Step 201 The mobile terminal provides the user with an interface for selecting a storage space allocation mode, prompting the user to select a preset mode or a custom mode, and the preset mode is a system recommended mode, which may include a large-capacity phonebook user mode and a multi-message user mode. , the general user mode, and the like, the custom mode is input by the user to store the storage space required for each part of the information; then step 202 is performed.
  • the function of backing up the phone book is provided. Because the content of the phone book is considered as the most important information of the general user, a cache area reserved by the system is set to save the phone book information, and other information can be set back if the user needs it.
  • the invention is not limited thereto.
  • step 203 If it is the preset mode: Firstly, according to the current mode recorded in the system cache area, it is determined whether the current mode is the preset mode, and the user is prompted to: "This preset mode has been used", exit the system, return to the directory, and end the operation. If not, go to step 203.
  • space division information such as storing the phone book space
  • space division information such as storing the phone book space
  • the space used to store the short message the space used to store the system file, etc.
  • the system judges whether the spatial division information is legal, and whether the judgment is legal or not includes determining whether the following conditions are true, and if one of them is established, it is illegal.
  • the space required for each information divided by the user exceeds the maximum limit and whether the total space required for each information exceeds the maximum limit, and whether the allocated storage space is smaller than the storage space required for the original information. If it is not legal, the user is prompted: "Space partitioning failed, please re-divide". For example, there are 500 records in the phone book.
  • Step 203 The system clears the data of the entire space to be divided, and then allocates relevant initial values of the memory space to be divided according to the stored spatial division information in the allocation mode, such as a memory address mapping value in a register or a memory.
  • step 204 is performed, and if the allocation is successful, step 205 is performed.
  • the user may also be prompted to "restore important information, such as a phone book", and the user selects to start copying the information that needs to be backed up to the cache area reserved by the system, and save the backup for indicating whether the information is backed up.
  • the flag is set, and then step 203 is performed, and the user selects otherwise to perform step 203 directly.
  • Step 204 The mobile terminal performs abnormal processing, which may include attempting to re-allocate the storage space according to the allocation mode selected by the user, and attempting to allocate the storage space according to the allocation mode stored by the cache module after attempting n times, that is, returning to the distribution mode before reallocation.
  • n can be set as needed, such as set to 3, or allocate storage space according to the data in the ROM area, that is, return to the system default allocation mode, ROM stores the default memory configuration value of the system.
  • step 205 The mobile terminal performs abnormal processing, which may include attempting to re-allocate the storage space according to the allocation mode selected by the user, and attempting to allocate the storage space according to the allocation mode stored by the cache module after attempting n times, that is, returning to the distribution mode before reallocation.
  • n can be set as needed, such as set to 3, or allocate storage space according to the data in the ROM area, that is, return to the system default allocation mode, ROM stores the default memory configuration value of the system.
  • Step 205 The system reboots and initializes the mobile terminal. If the information is backed up, The indication of the backup flag bit copies the backup information stored in the system cache area to the corresponding storage area of the system for saving. Then step 206 is performed.
  • Step 206 Prompt whether the allocation of the user storage space is successful according to the re-allocation status. It is a matter of course that the invention may be embodied in various other forms and modifications without departing from the spirit and scope of the invention.
  • the present invention provides a mobile terminal and a method for allocating a storage space, which can allocate a memory space according to a user's needs, so that the mobile terminal space allocation management satisfies the different needs of the individual.

Description

一种分配移动终端存储空间的系统和方法
技术领域
本发明涉及移动终端存储空间的分配和管理领域, 具体涉及一种分配移 动终端存储空间的系统及方法。
背景技术
现在的移动终端用户对终端的存储空间的需求方面主要是电话本空间、 短信息空间、 彩信以及系统文件(音频、 视频、 图片、 文本等) 空间, 但是 不同型号、 不同档次的终端对上述存储空间的划分方法是不同的。 有的以大 容量电话本为突出特点, 有的以海量多媒体空间来主打品牌。 用户在选择产 品时, 在感觉其他方面比较满意的同时, 短信息较多的用户会对短信息容量 太少感到遗憾, 容量很大的电话本对于普通用户来说就是浪费, 但是其文件 空间又很小, 用户想存储一些大文件就不够用了, 这些缺点使得一些产品失 去了一定的市场竟争力。
因此, 现有技术存在以下缺陷, 对于移动终端可用存储空间分配管理方 面缺乏人性化, 不能由用户根据个人需要进行分配管理。
发明内容
本发明提供一种分配移动终端存储空间的系统及方法, 可根据用户需要 分配移动终端的存储空间。 本发明釆用的技术方案是提供一种分配移动终端存储空间的系统, 所述 系统包括用户接口模块, 用于提示用户选择存储空间的分配模式;
控制模块, 用于保存各分配模式下的空间划分信息;
内存分配模块,用于当重新分配存储空间时清空整个待划分空间的数据, 以及根据用户选择的分配模式获取所述控制模块中保存的该分配模式下的空 间划分信息,并根据所述空间划分信息配置存储各部分信息所需的存储空间。
进一步地, 所述系统还包括分配判定模块, 用于接收用户选择的分配模 式, 并用于当用户选择预设模式时, 判断当前分配模式是否为用户选择的预 设模式, 是则结束操作, 否则通知内存分配模块用户选择的分配模式。
进一步地, 所述用户接口模块还用于当用户选择自定义模式时提示用户 输入空间划分信息;
所述分配判定模块还用于接收用户输入的空间划分信息, 并判断所述空 间划分信息是否合法, 以及当用户划分的空间合法时将所述空间划分信息发 送到控制模块保存。
进一步地, 所述系统还包括緩存模块, 用于记录系统当前分配模式及需 要备份的信息;
所述分配判定模块判断当前分配模式是否为用户选择的预设模式是指, 分配判定模块读取緩存模块记录的分配模式, 若所述记录的分配模式与用户 选择的预设模式相同, 判定当前分配模式即为用户选择的预设模式。
进一步地, 所述分配判定模块判断空间划分信息是否合法包括判断以下 条件是否成立, 若其中之一成立则不合法:
用户划分的各部分信息所需空间是否超过最大限制, 各部分信息所需空 间总和是否超过最大限制, 以及为各部分信息划分的存储空间是否小于该信 息所需的存储空间。
进一步地, 所述系统还包括异常处理模块;
所述控制模块还用于当存储空间分配失败后通知异常处理模块进行恢复 处理, 其中携带用户选择的分配模式;
所述异常处理模块用于当收到进行恢复处理的通知后进行恢复处理; 所 述恢复处理是指, 再次尝试按用户选择的分配模式重新分配存储空间, 尝试 n次仍不成功则按緩存模块记录的分配模式分配存储空间, 或者按只读 ROM 区里的数据分配存储空间。
进一步地, 所述系统还包括初始化模块;
所述控制模块还用于保存用于指示是否进行了信息备份的备份标志位, 以及重新分配存储空间后通知初始化模块初始化移动终端, 其中携带备份标 志位; 所述初始化模块用于收到初始化移动终端的通知后对移动终端进行初始 化, 根据所述备份标志位的指示将緩存模块中已备份的信息复制到系统相应 存储区域保存。
本发明还提供一种分配移动终端存储空间的方法, 包括: 移动终端保存 各分配模式下的空间划分信息, 当用户选择存储空间的分配模式后, 若需要 重新分配存储空间, 先清空整个待划分空间的数据, 再根据用户选择的分配 模式获取保存的该分配模式下的空间划分信息, 并根据所述空间划分信息配 置存储各部分信息所需的存储空间。
进一步地, 若用户选择预设模式, 移动终端先判断当前分配模式是否为 用户选择的预设模式, 是则结束操作, 否则按用户选择的分配模式重新分配 存储空间。
进一步地, 若用户选择自定义模式, 移动终端提示用户输入空间划分信 息, 然后判断所述空间划分信息是否合法, 合法时保存所述空间划分信息。
进一步地, 移动终端还记录系统当前分配模式及需要备份的信息; 所述移动终端判断当前分配模式是否为用户选择的预设模式是指, 若记 录的分配模式与用户选择的预设模式相同, 说明当前分配模式即为用户选择 的预设模式。
进一步地,所述判断空间划分信息是否合法包括判断以下条件是否成立, 若其中之一成立则不合法:
用户划分的各部分信息所需空间是否超过最大限制, 各部分信息所需空 间总和是否超过最大限制, 以及为各部分信息划分的存储空间是否小于该信 息所需的存储空间。
进一步地, 若重新分配存储空间失败, 所述移动终端还进行恢复处理; 所述恢复处理是指 ,再次尝试按用户选择的分配模式重新分配存储空间 , 尝试 n次仍不成功按所述移动终端记录的当前分配模式分配存储空间, 或者 按 ROM区里的数据分配存储空间。
进一步地,所述移动还保存用于指示是否进行了信息备份的备份标志位; 当重新分配存储空间后初始化移动终端, 根据备份标志位的指示将已备 份的信息复制到系统相应存储区域保存。
综上所述, 本发明提供了一种分配移动终端存储空间的系统及方法, 可 由用户根据个人需要对存储空间进行分配管理, 提高了用户体验。 附图概述
图 1是本发明系统结构示意图;
图 2是本发明方法的流程图。
本发明的较佳实施方式
本发明提供一种分配移动终端存储空间的系统及方法, 移动终端保存各 分配模式下的空间划分信息, 当用户选择存储空间的分配模式后, 若需要重 新分配存储空间, 先清空整个待划分空间的数据, 再根据用户选择的分配模 式获取保存的该分配模式下的空间划分信息, 并根据该空间划分信息配置存 储各部分信息所需的存储空间。
下面将结合附图及实施例对本发明的技术方案进行更详细的说明。
本实施例提供一种分配移动终端存储空间的系统, 如图 1所示, 包括用 户接口模块、 緩存模块、 分配判定模块、 控制模块、 内存分配模块、 异常处 理模块、 初始化模块;
用户接口模块, 用于提示用户选择存储空间的分配模式, 可供选择的模 式包括预设模式及自定义模式, 预设模式是系统推荐的模式, 可以包括大容 量电话本用户模式、 多短信用户模式、 一般用户模式等等, 自定义模式即由 用户自行划分存储空间的模式; 用户接口模块还用于当用户选择自定义模式 后提示用户输入空间划分信息,该空间划分信息指存储各部分信息所用空间, 如存储电话本所用空间, 存储短信息所用空间, 存储系统文件所用空间等等; 还可以用于用在户选择分配模式前提示用户 "本功能会将系统存储空间格式 化, 除电话本以外的所有资料将清空, 确定吗? " , 用户选择否则退出系统、 返回目录, 结束操作。 用户接口模块还可以用于重新分配存储空间前提示用 户是否需要进行电话本备份, 以及重新分配存储空间后提示用户存储空间的 分配是否成功。
緩存模块用于记录当前所处的分配模式, 以及重新分配存储空间时存储 要备份的信息, 如电话本和 /或其他重要的信息。
分配判定模块, 用于接收用户选择的分配模式, 当用户选择预设模式后 判断该预设模式是否为当前模式, 是则退出系统、 返回目录, 结束操作, 否 则通知内存分配模块用户选择的分配模式, 判断当前分配模式是否为用户选 择的预设模式是指, 分配判定模块读取緩存模块记录的分配模式, 若记录的 分配模式与用户选择的预设模式相同, 判定当前分配模式即为用户选择的预 设模式。
分配判定模块还用于当用户选择自定义模式时接收用户输入的空间划分 信息, 并判断该空间划分信息空间是否合法, 合法时将该空间划分信息发送 到控制模块保存, 判断是否合法包括判断以下条件是否成立, 若其中之一成 立则不合法: 用户划分的各信息所需空间是否超过最大限制以及各信息所需 空间总和是否超过最大限制, 以及划分的存储空间是否小于原有信息所需的 存储空间。
控制模块, 用于保存各分配模式下的空间划分信息, 包括用户设置的自 定义模式及系统预设模式下的空间划分信息, 空间划分信息指存储各部分信 息所用空间, 如存储电话本所需的存储空间、 存储短信息所需的存储空间, 存储系统文件所用空间等等, 以及用于指示是否进行了信息备份的备份标志 位、 电话本的大小等信息, 电话本的大小指已备份的电话本的大小; 控制模 块还可以用于当存储空间分配失败后通知异常处理模块进行恢复处理, 携带 用户选择的分配模式, 以及当重新分配存储空间成功后修改緩存模块记录的 当前分配模式, 还可以用于重新分配存储空间后通知初始化模块初始化移动 终端, 携带备份标志位。
内存分配模块,用于当重新分配存储空间时清空整个待划分空间的数据, 以及根据用户选择的分配模式获取控制模块中保存的该分配模式下的空间划 分信息, 并根据该空间划分信息配置存储各部分信息所需的存储空间, 如配 置存储电话本所需的存储空间、 存储短信息所需的存储空间等, 具体是指, 根据空间划分信息配置待划分内存空间的相关初始值, 即寄存器、 存储器里 的内存地址映射的值。
异常处理模块, 用于收到进行恢复处理的通知后进行恢复处理, 该恢复 处理可以包括, 再次尝试按用户选择的分配模式重新分配存储空间, 尝试 n 次仍不成功按緩存模块记录的分配模式分配存储空间, 即回到重新分配前的 分配模式, n可以根据需要设置, 如设为 3 , 或者按 ROM (只读)区(图中未示 出 ROM区)里的数据分配存储空间, 即回到系统默认的分配模式, ROM区存 放系统默认的内存配置的值。
初始化模块用于收到初始化移动终端的通知后对移动终端进行初始化, 根据备份标志位的指示将緩存模块中已备份的信息复制到系统相应存储区域 保存, 如将备份的电话本复制到系统电话本存储区域。
本实施例还提供一种分配移动终端存储空间的方法, 如图 2所示, 包括 以下步骤:
步骤 201 : 移动终端提供给用户一个选择存储空间分配模式的界面, 提 示用户选择预设模式还是自定义模式, 预设模式是系统推荐的模式, 可以包 括大容量电话本用户模式、 多短信用户模式、 一般用户模式等等, 自定义模 式由用户自行输入存储各部分信息所需存储空间; 然后执行步骤 202。
在执行该步骤之前还可以提示用户: "本功能会将系统存储空间格式化, 除电话本以外的所有资料将清空, 确定吗? " 之类的提示, 用户选择 "否" 则退出系统、 返回目录, 结束操作。 选择 "是" 则执行该步。
这里提供了备份电话本的功能, 出于电话本的内容是一般用户最重要的 信息来考虑的, 因此设置一个系统保留的緩存区域来保存电话本信息, 如果 用户需要也可以设置备份其他的信息, 本发明对此不作限制。
步骤 202: 根据用户的选择进行处理:
如果是预设模式: 先根据系统緩存区域记录的当前模式判断该当前模式 是否为预设模式, 是则提示用户: "已经使用该预设模式" , 退出系统、 返 回目录, 结束操作。 不是则执行步骤 203。
如果是自定义模式: 提示用户输入空间划分信息, 如存储电话本所用空 间, 存储短信息所用空间, 存储系统文件所用空间等等, 当用户输入数据并 确认后系统判断空间划分信息的是否合法, 判断是否合法包括判断以下条件 是否成立, 若其中之一成立则不合法: 用户划分的各信息所需空间是否超过 最大限制以及各信息所需空间总和是否超过最大限制, 以及划分的存储空间 是否小于原有信息所需的存储空间。 若不合法则提示用户: "空间划分失败, 请重新划分" 。 例如电话本里原来有 500个记录, 现在的用户输入电话本容 量为 300, 判断后提示用户 "将有 200个电话本记录会丟失, 确定? " 。 还 可以包括判断输入的数值是否正确 (比如限定输入的数据只能是 10 的整数 倍, 若不是 10的整数倍则不合法)。 合法性判定还可以包括其他情况, 此处 只是举例说明, 并非限定本发明合法性判定只能是这些情况。 若用户空间划 分合法则保存该空间划分信息, 执行步骤 203。
步骤 203 : 系统清空整个待划分空间的数据, 然后根据存储的该分配模 式下的空间划分信息配置待划分内存空间的相关初始值, 例如寄存器、 存储 器里的内存地址映射值。
移动终端的内存空间划分与电脑的磁盘空间划分存在相当大的区别。 两 者在物理层实现机制上是不一样的, 电脑磁盘空间里的数据是按照 "簇" 来 存储的, 而移动终端的存储空间里电话本、 短信息是按条划分的, 重新划分 要涉及到电话本、 短信息的地址索引的重新排列。
若重新分配存储空间失败则执行步骤 204, 分配成功则执行步骤 205。 在执行该步骤之前还可以提示用户 "是否备份重要信息, 如电话本" , 用户选择是则开始将需要备份的信息复制到系统保留的緩存区域, 并保存用 于指示是否进行了信息备份的备份标志位, 然后再执行步骤 203 , 用户选择 否则直接执行步骤 203 。
步骤 204: 移动终端进行异常处理, 可以包括再次尝试按用户选择的分 配模式重新分配存储空间, 尝试 n次仍不成功按緩存模块存储的分配模式分 配存储空间, 即回到重新分配前的分配模式, n可以根据需要设置,如设为 3 , 或者按 ROM区里的数据分配存储空间, 即回到系统默认的分配模式, ROM 存放系统默认的内存配置的值。 然后步骤 205。
步骤 205: 系统重新开机并初始化移动终端, 如果备份了信息, 则根据 备份标志位的指示将系统緩存区域存储的备份信息复制到系统相应存储区域 保存。 然后执行步骤 206。
步骤 206: 根据重新的分配情况提示用户存储空间的分配是否成功。 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。
工业实用性
本发明提供一种分配存储空间的移动终端及方法, 可根据用户需要分配 内存空间, 使移动终端空间分配管理满足自己个人的不同需求。

Claims

权 利 要 求 书
1、 一种分配移动终端存储空间的系统, 其特征在于: 所述系统包括用户 接口模块, 用于提示用户选择存储空间的分配模式;
控制模块, 用于保存各分配模式下的空间划分信息;
内存分配模块,用于当重新分配存储空间时清空整个待划分空间的数据, 以及根据用户选择的分配模式获取所述控制模块中保存的该分配模式下的空 间划分信息,并根据所述空间划分信息配置存储各部分信息所需的存储空间。
2、 如权利要求 1所述的系统, 其特征在于:
所述系统还包括分配判定模块, 用于接收用户选择的分配模式, 并用于 当用户选择预设模式时, 判断当前分配模式是否为用户选择的预设模式, 是 则结束操作, 否则通知内存分配模块用户选择的分配模式。
3、 如权利要求 2所述的系统, 其特征在于:
所述用户接口模块还用于当用户选择自定义模式时提示用户输入空间划 分信息;
所述分配判定模块还用于接收用户输入的空间划分信息, 并判断所述空 间划分信息是否合法, 以及当用户划分的空间合法时将所述空间划分信息发 送到控制模块保存。
4、 如权利要求 2所述的移动终端, 其特征在于:
所述系统还包括緩存模块, 用于记录系统当前分配模式及需要备份的信 息;
所述分配判定模块判断当前分配模式是否为用户选择的预设模式是指 , 分配判定模块读取緩存模块记录的分配模式, 若所述记录的分配模式与用户 选择的预设模式相同, 判定当前分配模式即为用户选择的预设模式。
5、 如权利要求 3所述的系统, 其特征在于:
所述分配判定模块判断空间划分信息是否合法包括判断以下条件是否成 立, 若其中之一成立则不合法:
用户划分的各部分信息所需空间是否超过最大限制, 各部分信息所需空 间总和是否超过最大限制, 以及为各部分信息划分的存储空间是否小于该信 息所需的存储空间。
6、 如权利要求 4所述的系统, 其特征在于:
所述系统还包括异常处理模块;
所述控制模块还用于当存储空间分配失败后通知异常处理模块进行恢复 处理, 其中携带用户选择的分配模式;
所述异常处理模块用于当收到进行恢复处理的通知后进行恢复处理; 所 述恢复处理是指, 再次尝试按用户选择的分配模式重新分配存储空间, 尝试 n次仍不成功则按緩存模块记录的分配模式分配存储空间, 或者按只读 ROM 区里的数据分配存储空间。
7、 如权利要求 4所述的系统, 其特征在于:
所述系统还包括初始化模块;
所述控制模块还用于保存用于指示是否进行了信息备份的备份标志位, 以及重新分配存储空间后通知初始化模块初始化移动终端, 其中携带备份标 志位;
所述初始化模块用于收到初始化移动终端的通知后对移动终端进行初始 化, 根据所述备份标志位的指示将緩存模块中已备份的信息复制到系统相应 存储区域保存。
8、 一种分配移动终端存储空间的方法, 包括: 移动终端保存各分配模式 下的空间划分信息, 当用户选择存储空间的分配模式后, 若需要重新分配存 储空间, 先清空整个待划分空间的数据, 再根据用户选择的分配模式获取保 存的该分配模式下的空间划分信息, 并根据所述空间划分信息配置存储各部 分信息所需的存储空间。
9、 如权利要求 8所述的方法, 其特征在于, 还包括: 若用户选择预设模式, 移动终端先判断当前分配模式是否为用户选择的 预设模式, 是则结束操作, 否则按用户选择的分配模式重新分配存储空间。
10、 如权利要求 9所述的方法, 其特征在于, 还包括:
若用户选择自定义模式, 移动终端提示用户输入空间划分信息, 然后判 断所述空间划分信息是否合法, 合法时保存所述空间划分信息。
11、 如权利要求 9所述的方法, 其特征在于:
移动终端还记录系统当前分配模式及需要备份的信息;
所述移动终端判断当前分配模式是否为用户选择的预设模式是指, 若记 录的分配模式与用户选择的预设模式相同, 说明当前分配模式即为用户选择 的预设模式。
12、 如权利要求 10所述的方法, 其特征在于:
所述判断空间划分信息是否合法包括判断以下条件是否成立, 若其中之 一成立则不合法:
用户划分的各部分信息所需空间是否超过最大限制, 各部分信息所需空 间总和是否超过最大限制, 以及为各部分信息划分的存储空间是否小于该信 息所需的存储空间。
13、 如权利要求 11所述的方法, 其特征在于:
若重新分配存储空间失败, 所述移动终端还进行恢复处理;
所述恢复处理是指 ,再次尝试按用户选择的分配模式重新分配存储空间 , 尝试 n次仍不成功按所述移动终端记录的当前分配模式分配存储空间, 或者 按 ROM区里的数据分配存储空间。
14、 如权利要求 11所述的方法, 其特征在于:
所述移动还保存用于指示是否进行了信息备份的备份标志位;
当重新分配存储空间后初始化移动终端, 根据备份标志位的指示将已备 份的信息复制到系统相应存储区域保存。
PCT/CN2008/072915 2008-11-03 2008-11-03 一种分配移动终端存储空间的系统和方法 WO2010060238A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP08878356.8A EP2346233A4 (en) 2008-11-03 2008-11-03 METHOD AND SYSTEM FOR GIVING A MEMORY PLACE OF A MOBILE DEVICE
PCT/CN2008/072915 WO2010060238A1 (zh) 2008-11-03 2008-11-03 一种分配移动终端存储空间的系统和方法
US13/126,598 US20110208934A1 (en) 2008-11-03 2008-11-03 System and method for allocating memory space of a mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2008/072915 WO2010060238A1 (zh) 2008-11-03 2008-11-03 一种分配移动终端存储空间的系统和方法

Publications (1)

Publication Number Publication Date
WO2010060238A1 true WO2010060238A1 (zh) 2010-06-03

Family

ID=42225187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072915 WO2010060238A1 (zh) 2008-11-03 2008-11-03 一种分配移动终端存储空间的系统和方法

Country Status (3)

Country Link
US (1) US20110208934A1 (zh)
EP (1) EP2346233A4 (zh)
WO (1) WO2010060238A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10152480B2 (en) * 2015-01-31 2018-12-11 Splunk Inc. Archiving indexed data
CN107635226B (zh) * 2016-07-18 2022-07-15 中兴通讯股份有限公司 一种信息处理方法和装置
US11899949B2 (en) * 2020-07-17 2024-02-13 Dish Network Technologies India Private Limited Methods and systems for dynamic configuration and effective usage for allocating memory in media presentations or like devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418032A (zh) * 2002-11-13 2003-05-14 大唐微电子技术有限公司 用户识别模块存储空间的动态分配方法
KR20040044775A (ko) * 2002-11-22 2004-05-31 에스케이텔레텍주식회사 이동통신단말기내 메모리상의 사용자 데이터 영역을동적으로 할당하는 방법
KR20060085511A (ko) * 2005-01-24 2006-07-27 엘지전자 주식회사 휴대용 단말기의 메모리 관리방법

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5128995A (en) * 1990-07-23 1992-07-07 International Business Machines Corp. Apparatus and method for loading a system reference diskette image from a system partition in a personal computer system
US5513156A (en) * 1993-07-23 1996-04-30 Fujitsu Limited Library apparatus
EP1069748A1 (en) * 1999-07-13 2001-01-17 Siemens Aktiengesellschaft A method for managing memory allocation in phone systems
JP2002111845A (ja) * 2000-09-27 2002-04-12 Nec Corp 共用携帯電話機、及び、携帯電話機の共用方法
US6973541B1 (en) * 2002-09-26 2005-12-06 Unisys Corporation System and method for initializing memory within a data processing system
US9104315B2 (en) * 2005-02-04 2015-08-11 Sandisk Technologies Inc. Systems and methods for a mass data storage system having a file-based interface to a host and a non-file-based interface to secondary storage
JP2007141066A (ja) * 2005-11-21 2007-06-07 Toshiba Corp 情報処理装置およびメモリアドレス空間割り当て方法
US8099524B2 (en) * 2008-10-01 2012-01-17 International Business Machines Corporation Automated method to configure a data storage system
US8107927B2 (en) * 2009-06-18 2012-01-31 T-Mobile Usa, Inc. Dedicated memory partitions for users of a shared mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418032A (zh) * 2002-11-13 2003-05-14 大唐微电子技术有限公司 用户识别模块存储空间的动态分配方法
KR20040044775A (ko) * 2002-11-22 2004-05-31 에스케이텔레텍주식회사 이동통신단말기내 메모리상의 사용자 데이터 영역을동적으로 할당하는 방법
KR20060085511A (ko) * 2005-01-24 2006-07-27 엘지전자 주식회사 휴대용 단말기의 메모리 관리방법

Also Published As

Publication number Publication date
US20110208934A1 (en) 2011-08-25
EP2346233A4 (en) 2013-04-24
EP2346233A1 (en) 2011-07-20

Similar Documents

Publication Publication Date Title
JP4700459B2 (ja) データ処理システム及びデータ管理方法並びにストレージシステム
JP5162701B2 (ja) 統合重複排除システム、データ格納装置、及びサーバ装置
KR101422792B1 (ko) 파일 시스템들을 통합하기 위한 디바이스 및 방법
JP2006039888A (ja) ホスティング環境を安全に構築する方法及びシステム
WO2010060238A1 (zh) 一种分配移动终端存储空间的系统和方法
WO2016115920A1 (zh) 存储管理方法、装置及流媒体系统
CN102541969B (zh) 基于fat文件系统的文件保护方法、系统及存储器
CN111061432A (zh) 一种业务迁移方法、装置、设备及可读存储介质
CN101996109A (zh) 计算机系统及其控制方法和存储计算机程序的记录介质
US20150277933A1 (en) Method of operating multiple operating systems and the electronic device thereof
CN112559127B (zh) 虚拟机创建方法、装置、主机及存储介质
CN113311992B (zh) 固态硬盘预留空间的动态调整方法及装置
CN109213453A (zh) 一种磁盘管理方法及相关装置
CN107148612A (zh) 一种扩展用户分区的方法和装置
WO2015135281A1 (zh) 基于自动精简配置的资源分配方法及装置
CN110764694B (zh) 一种存储空间控制的方法和系统
CN109960569B (zh) 一种虚拟化处理方法及装置
JP5555489B2 (ja) フォーマット装置、フォーマット方法およびプログラム
CN109508150B (zh) 一种存储空间分配的方法和装置
CN108170372B (zh) 基于云硬盘的数据处理方法和装置
WO2012096951A2 (en) System and method for managing discardable objects
CN104881245A (zh) 存储系统的配置方法及配置装置
CN111125011B (zh) 一种文件处理方法、系统及相关设备
CN114489508A (zh) 数据管理方法、装置、设备及介质
US11316945B2 (en) Vehicle multimedia system and memory management method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08878356

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13126598

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008878356

Country of ref document: EP