Method for adjusting storage space of partition of embedded multimedia card and terminal
AssigneeHuawei Device Co., Ltd.
InventorLei Chen
Life of this patent
Estimating the term…
Abstract
A method is provided for adjusting a storage space of a partition of an embedded multimedia card and a terminal. The method includes: determining a current external SD card mode of a terminal, where the external SD card mode includes an external SD card installed mode or an external SD card uninstalled mode; receiving instruction information, where the instruction information is used for instructing the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, or used for instructing the terminal to switch from the external SD card installed mode to the external SD card uninstalled mode; and adjusting a size of a storage space of a partition of an embedded multimedia card according to the instruction information.
Claims10
A method for adjusting a storage space of a partition of an embedded multimedia card, comprising:
- determining a current external SD card mode of a terminal, wherein the external SD card mode comprises one of an external SD card installed mode or an external SD card uninstalled mode;
- wherein the terminal does not have an external SD card installed when the terminal is in the external SD card uninstalled mode, the terminal has the external SD card installed when the terminal is in the external SD card installed mode, and the embedded multimedia card is distinct from the external SD card and comprises an internal SD card partition and a system partition;
- receiving instruction information, wherein the instruction information is used for instructing the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, or used for instructing the terminal to switch from the external SD card installed mode to the external SD card uninstalled mode;
- when the instruction information is used to instruct the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, reducing a storage space of the internal SD card partition and increasing a storage space of the system partition according to the instruction information;
- and
- when the instruction information is used to instruct the terminal to switch from the external SD card installed mode to the external SD card uninstalled mode, increasing the storage space of the internal SD card partition and reducing the storage space of the system partition according to the instruction information.
A terminal comprising an embedded multimedia card, comprising:
- a receiver, configured to receive instruction information, wherein the instruction information is used for instructing the terminal to switch from an external SD card uninstalled mode to an external SD card installed mode, or used for instructing the terminal to switch from an external SD card installed mode to an external SD card uninstalled mode;
- wherein the terminal does not have an external SD card installed when the terminal is in the external SD card uninstalled mode, the terminal has the external SD card installed when the terminal is in the external SD card installed mode, and the embedded multimedia card is distinct from the external SD card and comprises an internal SD card partition and a system partition;
- and
- a processor, configured to determine a current external SD card mode of the terminal, reduce a storage space of the internal SD card partition and increase a storage space of the system partition according to the instruction information when the instruction information is used to instruct the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, and increase the storage space of the internal SD card partition and reduce the storage space of the system partition according to the instruction information;
- wherein the external SD card mode comprises one of the external SD card installed mode and the external SD card uninstalled mode.
Dependencies are inferred from the claim text.