WO2016183906A1 - Procédé et appareil d'attribution d'espace de mémorisation - Google Patents

Procédé et appareil d'attribution d'espace de mémorisation Download PDF

Info

Publication number
WO2016183906A1
WO2016183906A1 PCT/CN2015/082899 CN2015082899W WO2016183906A1 WO 2016183906 A1 WO2016183906 A1 WO 2016183906A1 CN 2015082899 W CN2015082899 W CN 2015082899W WO 2016183906 A1 WO2016183906 A1 WO 2016183906A1
Authority
WO
WIPO (PCT)
Prior art keywords
space
storage device
storage space
extended
extended storage
Prior art date
Application number
PCT/CN2015/082899
Other languages
English (en)
Chinese (zh)
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 宇龙计算机通信科技(深圳)有限公司
Publication of WO2016183906A1 publication Critical patent/WO2016183906A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Definitions

  • the present application relates to the field of electronic information, and in particular, to a storage space allocation method and apparatus.
  • most electronic devices include storage space for data generated during the operation of the system for storing electronic devices and data input by the user (such as installation packages, pictures or videos, etc.).
  • a fixed-capacity partition is allocated in advance to store different types of data.
  • the storage space shown in FIG. 1 is divided into partitions such as /system, /cache, and /data, which are used to store system data, cache data, and Business data, etc.
  • the present application provides a method and an apparatus for allocating a storage space, and aims to solve the problem of poor user experience due to insufficient storage space.
  • a storage space allocation method includes:
  • the space requester is any one of the dual systems, and the dual system includes a security domain system and a non-security domain system;
  • the capacity of the pre-allocated storage space is insufficient, determining whether the capacity of the storage space in the extended storage device is sufficient, and if the capacity of the storage space in the extended storage device is sufficient, assigning the space to the space requester Expand the storage space in the storage device.
  • the allocating a storage space package in the extended storage device to the space requester include:
  • the encrypted storage space in the extended storage device is allocated to the secure domain system.
  • the process of generating the encrypted storage space in the extended storage device includes at least one of the following:
  • the storage space allocated to the secure domain system in the extended storage device is encrypted using a password entered by the user.
  • the determining whether the capacity of the storage space in the extended storage device is sufficient includes:
  • the method further includes:
  • the user is prompted to insert the extended storage device.
  • it also includes:
  • the user is prompted to delete the data in the extended storage device until the space capacity in the extended storage device is sufficient.
  • a storage space allocation device includes:
  • a receiving module configured to receive a space occupation request, where the space occupation request is sent by a space requester, where the space requester is any one of the dual systems, and the dual system includes a security domain system and a non-security domain system;
  • a storage space allocation module configured to determine, if the capacity of the pre-allocated storage space is insufficient, whether the capacity of the storage space in the extended storage device is sufficient, if the capacity of the storage space in the extended storage device is sufficient, The space requester allocates storage space in the extended storage device.
  • the storing, by the storage space allocation module, the storage space in the extended storage device to the space requester includes:
  • the storage space allocation module is specifically configured to: when the any one of the systems is the security domain system, allocate the encrypted storage space in the extended storage device to the security domain system.
  • it also includes:
  • an encryption module configured to generate the encrypted storage space in the extended storage device, where the process of generating the encrypted storage space in the extended storage device includes at least one of the following:
  • the storage space allocated to the secure domain system in the extended storage device is encrypted using a password entered by the user.
  • the storage space allocation module is configured to determine whether the capacity of the storage space in the extended storage device is sufficient to include:
  • the storage space allocation module is specifically configured to: determine, when the extended storage device is detected, whether the capacity of the storage space in the extended storage device is sufficient;
  • the storage space allocation module is further configured to:
  • the user is prompted to insert the extended storage device.
  • the storage space allocation module is further configured to:
  • the user is prompted to delete the data in the extended storage device until the space capacity in the extended storage device is sufficient.
  • the method and device of the present application receive a space occupation request sent by a space requester, and determine whether the space capacity in the extended storage device is sufficient if the pre-allocated space capacity is insufficient, if the space capacity in the extended storage device is sufficient , the space requestor is allocated storage space in the extended storage device. It can be seen that, in the method and apparatus described in the present application, if the pre-allocated space capacity is insufficient, if the space capacity in the extended storage device is sufficient, the storage space in the extended storage device can still be allocated to the system for use, thereby being able to reduce Possibility of poor user experience due to insufficient storage space.
  • 1 is a schematic diagram of allocation of a storage space
  • FIG. 2 is a flowchart of a storage space allocation method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of allocation of storage space in a dual system
  • FIG. 5 is a flowchart of still another storage space allocation method according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a storage space allocation apparatus according to an embodiment of the present application.
  • the embodiment of the present application discloses a storage space allocation method and device, which can be used in an electronic device, and the purpose is to automatically seek to expand the storage space when the storage space of the electronic device itself is insufficient, thereby improving the user experience. .
  • a storage space allocation method disclosed in the embodiment of the present application, as shown in FIG. 2, includes the following steps:
  • the space occupation request may be sent by the space requester.
  • the space requester may be a system in the electronic device, an application in the electronic device, or the like.
  • a fixed storage space is usually allocated in advance for different types of data. For example, as shown in FIG. 1, a fixed storage space is allocated for system data, cache data, and the like.
  • a system or an application When a system or an application generates some type of data, Store by default into storage space pre-allocated for such data, for example, sound
  • the music player downloads the audio data, and by default this audio data is stored in the /data partition in Figure 1.
  • S203 Allocating pre-allocated storage space to the space requester
  • S204 determining whether the capacity of the storage space in the extended storage device is sufficient, if yes, executing S205, if not, prompting the user that the storage space has insufficient capacity;
  • the extended storage device may be preset in the electronic device, for example, a secure digital memory card (SD card) is pre-inserted into the electronic device.
  • SD card secure digital memory card
  • S205 Allocate storage space in the extended storage device to the space requester.
  • the method described in this embodiment can actively seek to expand the storage space in the storage device, if there is sufficient storage space in the extended storage device.
  • the storage space in the extended storage device can be allocated to the space requester. Only when the extended storage device space is insufficient, the user is reminded that the storage space is insufficient, and the existing way of focusing only on the pre-allocated storage space. In comparison, it is possible to increase the possibility that the space occupation request is allowed, thereby improving the user experience.
  • Another storage space allocation method disclosed in the embodiment of the present application can be applied to an electronic device having dual systems.
  • the so-called dual system that is, the electronic device has two systems, wherein one system is a PPD system (personal private domain).
  • the other system is the SED system (secure enterprise domain).
  • the SED system has high security requirements, and can also be called a security domain system.
  • the PPD system is a general system and can be called a non-security domain system.
  • the storage space pre-allocated for the dual system is as shown in FIG. 3: the PPD system includes a storage space for storing different types of data, wherein the /data partition reserves a part of the fixed storage space for the SED security domain system, and this part of the space is It is divided into /system, /cache and /data partitions, which are used to store different types of data generated by the SED security domain system.
  • the /system, /cache and /data partitions of the SED security domain system are fixed. Some spaces must comply with the relevant security policy specifications of the SED security domain system.
  • the method disclosed in this embodiment includes the following steps:
  • the space requester is a secure domain system or a non-secure domain system.
  • S402 determining whether the capacity of the storage space pre-allocated by the space requester is sufficient, and if so, S403 is performed, if no, executing S404;
  • S403 Allocating pre-allocated storage space to the space requester
  • S405 determining whether the capacity of the storage space in the SD card is sufficient, if yes, executing S407, if not, executing S408;
  • S406 prompt the user to insert the SD card
  • S407 Allocating storage space in the SD card to the space requester
  • S408 The user is prompted to delete the data in the SD card. After the operation of deleting the data by the user is completed, the process returns to S405.
  • S408 The purpose of S408 is to prompt the user to delete the data in the SD card to empty the storage space when the storage space in the SD card is not enough. After the operation of deleting the data by the user is completed, the process returns to S405 automatically.
  • the response process of the space request is not interrupted, so that the user can trigger the system to issue a space request again after deleting the data in the SD card, thereby further improving the user experience.
  • the system issues a space occupation request. If the remaining space capacity of the pre-assigned /data partition is insufficient to store the audio data, it is determined whether the remaining space in the SD card is sufficient to store the audio data. If the remaining space in the SD card is not enough to store the audio data, the user is prompted to delete the data in the SD card. When the user completes the operation of deleting the data in the SD card according to the prompt, it is determined whether the remaining space in the SD card is sufficient. This audio data is stored and executed repeatedly. It is no longer necessary for the user to start executing the audio data again after completing the data deletion, and the process of applying for the storage space can be continued.
  • the method described in this embodiment can not only improve the success rate of the space occupation application, but also further improve the user experience in the space application process.
  • the implementation cost of the method described in this embodiment is controllable and easy to be practically applied.
  • the embodiment of the present application discloses another storage space allocation method, which is different from the method shown in FIG. 4 in that the method in this embodiment can effectively improve the security of the security domain data in the SD card.
  • the method in this embodiment includes the following steps:
  • S502 Determine whether the space requester is a security domain system or a non-security domain system. If it is a security domain system, execute S503. If it is a non-security domain system, perform the steps of S402 and subsequent steps according to the process shown in FIG. 4;
  • S503 determining whether the capacity of the storage space pre-allocated by the security domain system is sufficient, if yes, executing S504, if not, executing S505;
  • S504 Allocating pre-allocated storage space to the security domain system
  • S505 detecting whether there is an SD card, if yes, executing S506, if not, executing S507;
  • S506 determining whether the capacity of the storage space in the SD card is sufficient, if yes, executing S508, if not, executing S509;
  • S507 prompting the user to insert an SD card
  • S508 Allocating the encrypted storage space in the SD card to the security domain system
  • the specific implementation manner of encrypting the storage space in the SD card may be at least one of the following: encrypting the SD card by using a key preset in the system, encrypting the SD card by using a password input by the user, and using the system.
  • the pre-set key encrypts the storage space allocated to the secure domain system in the SD card, and encrypts the storage space allocated to the secure domain system in the SD card by using the password input by the user. That is to say, the key can be pre-stored in the system or input by the user.
  • the encrypted object can be the entire storage space of the SD card, or only the storage space allocated to the security domain system, and can also be used for the SD card.
  • the entire storage space is encrypted, and the storage space allocated to the secure domain system is also encrypted, and the two encryptions use different keys to improve data security.
  • the encrypted storage space can only be accessed in the electronic device in which the key is stored.
  • the method described in this embodiment not only extends the storage space of the dual system to the SD card, but also encrypts the SD card space allocated to the secure domain system when the SD card space is applied. Therefore, On the basis of improving the user experience, the security of the security domain data is further improved.
  • the embodiment of the present application further discloses a storage space allocation device, as shown in FIG. 6, comprising:
  • the receiving module 601 is configured to receive a space occupation request, where the space occupation request is sent by a space requester;
  • a storage space allocation module 602 configured to determine, if the capacity of the pre-allocated storage space is insufficient, whether the capacity of the storage space in the extended storage device is sufficient, if the capacity of the storage space in the extended storage device is sufficient, The space requester allocates a storage space in the extended storage device.
  • the storage space allocation module determines whether the capacity of the storage space in the extended storage device is sufficient: if the extended storage device is detected, determining whether the capacity of the storage space in the extended storage device is sufficient; In this premise, the storage space allocation module may be further configured to prompt the user to insert the extended storage device if the extended storage device is not detected; and if the space capacity in the extended storage device is insufficient, prompting The user deletes data in the extended storage device until the amount of space in the extended storage device is sufficient.
  • the device described in this embodiment may be applied to an electronic device having the dual system shown in FIG. 3.
  • the specific implementation manner of the receiving module receiving the space occupation request may be : Receiving a space occupation request sent by any one of the dual systems, the dual system including a security domain system and a non-security domain system.
  • the specific implementation manner of the storage space allocation module to allocate the storage space in the extended storage device to the space requesting party may be: In the case of the system, the encrypted storage space in the extended storage device is allocated to the secure domain system.
  • the device described in this embodiment may further include:
  • the encryption module 603 is configured to generate an encrypted storage space in the extended storage device.
  • the process of generating the encrypted storage space in the extended storage device includes at least one of the following:
  • the storage space allocated to the secure domain system in the extended storage device is encrypted using a password entered by the user.
  • the storage storage space can be allocated to the system as much as possible, thereby reducing the possibility of poor user experience due to insufficient local storage space and improving the user experience.
  • the functions described in the methods of the embodiments of the present application may be stored in a computing device readable storage medium. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a
  • the computing device (which may be a personal computer, server, mobile computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

L'invention concerne un procédé et un appareil d'attribution d'espace de mémorisation. Le procédé comprend les étapes consistant : à recevoir une demande d'occupation d'espace envoyé par un correspondant demandeur d'espace (S201); dans un cas où une capacité d'espace pré-attribuée est insuffisante, déterminer si une capacité d'espace d'un dispositif de mémorisation d'extension est suffisante (S202); et si la capacité d'espace du dispositif de mémorisation d'extension est suffisante, à attribuer un espace de mémorisation dans le dispositif de mémorisation d'extension au demandeur d'espace (S205) correspondant. En conséquence, dans le procédé et l'appareil, dans un cas où une capacité d'espace pré-attribuée est insuffisante, si une capacité d'espace d'un dispositif de mémorisation d'extension est suffisante, un espace de mémorisation dans le dispositif de mémorisation d'extension peut encore être attribué à un système afin d'être utilisé, et, par conséquent, la possibilité d'une mauvaise expérience d'utilisation d'un utilisateur due à une insuffisance d'espace de mémorisation peut être réduite.
PCT/CN2015/082899 2015-05-21 2015-06-30 Procédé et appareil d'attribution d'espace de mémorisation WO2016183906A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510262396.1 2015-05-21
CN201510262396.1A CN105653467A (zh) 2015-05-21 2015-05-21 一种存储空间分配方法及装置

Publications (1)

Publication Number Publication Date
WO2016183906A1 true WO2016183906A1 (fr) 2016-11-24

Family

ID=56481907

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082899 WO2016183906A1 (fr) 2015-05-21 2015-06-30 Procédé et appareil d'attribution d'espace de mémorisation

Country Status (2)

Country Link
CN (1) CN105653467A (fr)
WO (1) WO2016183906A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10846580B2 (en) * 2016-10-27 2020-11-24 Rakuten, Inc. IC chip support terminal, IC chip setting method, and program
CN107741828B (zh) * 2017-09-19 2020-04-24 维沃移动通信有限公司 一种存储空间填充方法及移动终端
KR101987668B1 (ko) * 2018-07-19 2019-06-11 나무기술 주식회사 클라우드 플랫폼에서 어플리케이션 컨테이너의 볼륨(스토리지) 프로비저닝 방법
CN112069139B (zh) * 2020-07-28 2023-03-21 重庆攸亮科技股份有限公司 一种高速读写、循环覆盖的文件传输系统和传输方法
CN113867643A (zh) * 2021-09-29 2021-12-31 北京金山云网络技术有限公司 数据存储方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890654A (zh) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 一种移动终端的信息保存方法及移动终端
CN103218305A (zh) * 2013-05-10 2013-07-24 曙光信息产业(北京)有限公司 存储空间的分配方法
US20140122676A1 (en) * 2012-10-31 2014-05-01 Sheng Tai (Ted) Tsao Method and Apparatus For Web Based Storage On Demand
CN104462905A (zh) * 2014-12-18 2015-03-25 宇龙计算机通信科技(深圳)有限公司 操作系统的数据处理方法、数据处理装置和终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565685B2 (en) * 2005-11-12 2009-07-21 Intel Corporation Operating system independent data management
CN101655818A (zh) * 2009-09-10 2010-02-24 深圳华为通信技术有限公司 一种存储方法及设备
US8533420B2 (en) * 2010-11-24 2013-09-10 Microsoft Corporation Thin provisioned space allocation
CN102103470A (zh) * 2011-01-28 2011-06-22 鸿富锦精密工业(深圳)有限公司 能够扩展内存的电子设备及扩展方法
JP5700481B2 (ja) * 2011-06-29 2015-04-15 インテル・コーポレーション 整合性チェック及びリプレーアタックからの保護を行って、メモリを暗号化するための方法及び装置
KR102017828B1 (ko) * 2012-10-19 2019-09-03 삼성전자 주식회사 보안 관리 유닛, 상기 보안 관리 유닛을 포함하는 호스트 컨트롤러 인터페이스, 상기 호스트 컨트롤러 인터페이스의 동작 방법, 및 상기 호스트 컨트롤러 인터페이스를 포함하는 장치들
CN103383660A (zh) * 2013-04-01 2013-11-06 华为终端有限公司 一种Android系统cache分区功能实现方法、装置及终端设备
CN103310169B (zh) * 2013-04-28 2016-09-21 东莞宇龙通信科技有限公司 一种保护sd卡数据的方法和保护系统
CN204178294U (zh) * 2014-11-18 2015-02-25 深圳市信步科技有限公司 一种集安防监控、解码与存储于一体的服务器专用主板
CN104572484B (zh) * 2015-01-23 2017-12-12 宇龙计算机通信科技(深圳)有限公司 存储空间分配方法、存储空间分配装置和终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890654A (zh) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 一种移动终端的信息保存方法及移动终端
US20140122676A1 (en) * 2012-10-31 2014-05-01 Sheng Tai (Ted) Tsao Method and Apparatus For Web Based Storage On Demand
CN103218305A (zh) * 2013-05-10 2013-07-24 曙光信息产业(北京)有限公司 存储空间的分配方法
CN104462905A (zh) * 2014-12-18 2015-03-25 宇龙计算机通信科技(深圳)有限公司 操作系统的数据处理方法、数据处理装置和终端

Also Published As

Publication number Publication date
CN105653467A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
US11089023B2 (en) Computer readable storage media for tiered connection pooling and methods and systems for utilizing same
WO2016183906A1 (fr) Procédé et appareil d'attribution d'espace de mémorisation
CN107124271B (zh) 一种数据加密、解密方法和设备
KR101966767B1 (ko) 클라우드 서비스를 위한 암호화 키 관리 시스템
US9928080B2 (en) Hardware security module access management in a cloud computing environment
US8769269B2 (en) Cloud data management
WO2019037775A1 (fr) Fourniture d'un fichier de configuration de service
US10241681B2 (en) Management of physical extents for space efficient storage volumes
US10235047B2 (en) Memory management method, apparatus, and system
US10001926B2 (en) Management of extents for space efficient storage volumes by reusing previously allocated extents
US8839399B2 (en) Tenant driven security in a storage cloud
KR101837678B1 (ko) 신뢰실행환경 기반의 컴퓨팅 장치
JP2017538194A (ja) 複合パーティション関数
CN107577538B (zh) 容器资源管理方法及系统
WO2016141808A1 (fr) Procédé de gestion de sécurité et appareil pour serveur
WO2016041446A1 (fr) Procédé, appareil et dispositif d'attribution de ressources
TW202036441A (zh) 基於多個區塊鏈網路的資料讀取方法及系統
CN111124956B (zh) 一种容器保护方法、处理器、操作系统及计算机设备
CN107566329A (zh) 一种访问控制方法及装置
US20160364565A1 (en) Authentication and secure communication with application extensions
US11251961B2 (en) Methods and apparatuses for storing or invoking blockchain account private keys
JP2005208999A (ja) 仮想マシン管理プログラム
WO2016115798A1 (fr) Procédé d'attribution d'espace de stockage, dispositif d'attribution d'espace de stockage, et terminal
WO2016183868A1 (fr) Procédé et appareil d'attribution d'espace de stockage, et dispositif électronique
WO2016197850A1 (fr) Procédé et appareil pour accéder à des données de confidentialité dans une mémoire physique d'un dispositif électronique

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: 15892284

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.04.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15892284

Country of ref document: EP

Kind code of ref document: A1