AU2014267783A1 - Storage processing method, device and terminal - Google Patents

Storage processing method, device and terminal Download PDF

Info

Publication number
AU2014267783A1
AU2014267783A1 AU2014267783A AU2014267783A AU2014267783A1 AU 2014267783 A1 AU2014267783 A1 AU 2014267783A1 AU 2014267783 A AU2014267783 A AU 2014267783A AU 2014267783 A AU2014267783 A AU 2014267783A AU 2014267783 A1 AU2014267783 A1 AU 2014267783A1
Authority
AU
Australia
Prior art keywords
memory card
storage space
file
external memory
internal memory
Prior art date
Legal status (The legal status 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 status listed.)
Abandoned
Application number
AU2014267783A
Inventor
Haojie PAN
Tao Wu
Wei Zou
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of AU2014267783A1 publication Critical patent/AU2014267783A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided are a storage processing method, device and terminal, said method comprising: integrating the storage space of an internal memory card of a terminal with the storage space of an external memory card of the terminal, forming a single, unified storage space; engaging in terminal storage processing in accordance with the post-integration unified storage space; the present invention solves the problem of the related art whereby there is a lack of storage space when a terminal does not use an external memory card, and the problem of user experience being affected when a third party application is unable to function normally when the terminal does use an external memory card but said card is removed; achieved are operational simplification, to a certain degree an increase in the storage capacity of the main memory card of a terminal, and improved user experience.

Description

Storage Processing Method, Device and Terminal Technical Field 5 The present disclosure relates to communication field, and in particular to a storage processing method, device and terminal. Background Many terminal manufacturers develop on Android system due to open source 10 nature of Android, such that for the storage of a terminal (for example, a mobile phone), the mobile phone virtualizes a part of storage space as an internal memory card by using a built-in Flash, and adds mount points in the peripheral to support a T card inserted by users as an external memory card. However, the original design of the Android system, the users is not allowed 15 to insert the external memory card for extension, namely there is a mode without external storage mode, since the capacity of its Flash reaches 16G or more which generally can meet user needs, but its drawback is higher purchase cost, and when the storage space is full, the capacity of the mobile phone is not able to be extended any more. That is to say, when capacity of the internal memory card is too high, 20 this will directly increase the purchase cost of users; and when its capacity is not too high and the internal memory card is a main memory card, namely the internal memory card is preferred, many applications will be stored in the internal memory card, thereby resulting insufficient space. In a mobile phone supporting the external memory card, users are allowed to 25 insert the external memory card. In order to reduce cost of the mobile phone, the Flash with lower capacity is used, users themselves can consider whether to add the external memory card. When adding the external memory card, there exists a problem that whether the internal memory card or the external memory card is preferred. Fig. 1 is a schematic diagram of a storage structure for that the internal 30 memory card is preferred in the related art, and as shown in Fig. 1, when the internal 1 PN50368 memory card is preferred, because the Flash itself has not a bigger capacity, this easily causes insufficient space for the internal memory card, and many applications are not able to be installed in the mobile phone; Fig.2 is a schematic diagram of a storage structure for that the external memory card is preferred in the related art, 5 and as shown in Fig.2, when the external memory card is preferred, the capacity of the mobile phone will be extended extremely, but after the external memory card is removed, many installed applications are not able to work normally. However, in the solution of that the external memory card is preferred, after the external memory card is removed and when a third party application is being 10 installed or accessing data, the Andriod standard API(s) will be called so as to obtain the existing state of the main memory card, and when the main memory card does not exist, this will cause the function abnormal or unusable, thereby displaying a pop-up tip to inform users. Therefore when the external memory card is the main memory card, namely the external memory card is preferred, serious problems 15 might occur due to the nonexistence of the external memory card caused by that the external memory card is uninstallable. Therefore, there exists a problem of lack of storage space in the related art when a terminal does not use the external memory card, and a third party application is not able to be used normally when the external memory card 20 originally used by the terminal is removed, thus affecting the user experience. Summary The present disclosure provides a storage processing method, device and terminal, in order to at least solve the problem in the related art that there is a lack 25 of storage space in the related art when a terminal does not use the external memory card, and a third party application is not able to be used normally when the external memory card originally used by the terminal is removed, thus affecting the user experience. According to an aspect of the embodiment of the present disclosure, a storage 30 processing method is provided, and the method comprises: integrating a storage 2 PN50368 space of an internal memory card of a terminal with a storage space of an external memory card into one unified storage space; performing terminal storage processing according to the integrated unified storage space. In an exemplary embodiment, integrating the storage space of the internal 5 memory card of the terminal with the storage space of the external memory card into the unified storage space comprises: establishing a same file storage path for the internal memory card and the external memory card; integrating the storage space of the internal memory card with the storage space of the external memory card into the unified storage space according to the same file storage path. 10 In an exemplary embodiment, performing the terminal storage processing according to the integrated unified storage space comprises: judging whether a size of a file to be stored exceeds a size of the storage space of the internal memory card; when a judgment result is that the size of the file to be stored exceeds the size of the storage space of the internal memory card, storing the file to be stored into the 15 external memory card, and/or, when the judgment result is that the size of the file to be stored does not exceed the size of the storage space of the internal memory card, storing the file to be stored into the internal memory card. In an exemplary embodiment, performing the terminal storage processing according to the integrated unified storage space comprises: determining a memory 20 card that is able to integrally store a file to be stored; storing the file to be stored into the determined memory card. In an exemplary embodiment, performing the terminal storage processing according to the integrated unified storage space comprises: judging whether a ratio of a remaining storage space of the internal memory card to a remaining storage 25 space of the external memory card is less than a predefined value; when a judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is less than the predefined value, storing a file to be stored into the internal memory card; and/or, when the judgment result is that the ratio of the remaining storage space of the internal 30 memory card to the remaining storage space of the external memory card is not less 3 PN50368 than the predefined value, storing the file to be stored into the external memory card. In an exemplary embodiment, performing the terminal storage processing according to the integrated unified storage space comprises: determining 5 proportions of the storage space of the internal memory card and the storage space of the external memory card to the unified storage space respectively; storing a file to be stored according to the determined proportions. According to another aspect of the embodiment of the present disclosure, a storage processing device is provided, and the device comprises: an integrating 10 component, configured to integrate a storage space of an internal memory card of a terminal with a storage space of an external memory card into one unified storage space; a processing component, configured to perform terminal storage processing according to the integrated unified storage space. In an exemplary embodiment, the integrating component comprises: an 15 establishing element, configured to establish a same file storage path for the internal memory card and the external memory card; an integrating element, configured to integrate the storage space of the internal memory card with the storage space of the external memory card into the unified storage space according to the same file storage path. 20 In an exemplary embodiment, the processing component comprises: a first judging element, configured to judge whether a size of a file to be stored exceeds a size of the storage space of the internal memory card; a first storing element, configured to, when a judgment result is that the size of the file to be stored exceeds the size of the storage space of the internal memory card, store the file to be stored 25 into the external memory card, and/or a second storing element, configured to, when the judgment result is that the size of the file to be stored does not exceed the size of the storage space of the internal memory card, store the file to be stored into the internal memory card. In an exemplary embodiment, the processing component comprises: a first 30 determining element, configured to determine a memory card that is able to 4 PN50368 integrally store a file to be stored; a third storing element, configured to store the file to be stored into the determined memory card. In an exemplary embodiment, the processing component comprises: a second judging element, configured to judge whether a ratio of a remaining storage space 5 of the internal memory card to a remaining storage space of the external memory card is less than a predefined value; a fourth storing element, configured to, when a judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is less than the predefined value, store a file to be stored into the internal memory card; 10 and/or a fifth storing element, configured to, when the judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is not less than the predefined value, store the file to be stored into the external memory card. In an exemplary embodiment, the processing component comprises: a second 15 determining element, configured to determine proportions of the storage space of the internal memory card and the storage space of the external memory card to the unified storage space respectively; a sixth storing element, configured to store a file to be stored according to the determined proportions. According to the other aspect of the embodiment of the present disclosure, a 20 terminal is provided, and the terminal comprises any one of the above mentioned devices. Through the present disclosure, the storage space of the internal memory card of the terminal and the storage space of the external memory card of the terminal are integrated into one unified storage space; the terminal storage processing is 25 performed according to the integrated unified storage space. The problem in the related art that there is a lack of storage space in the related art when a terminal does not use the external memory card, and a third party application is not able to be used normally when the external memory card originally used by the terminal is removed, thus affecting the user experience is solved, thereby achieving an effect of increase 30 in the storage capacity of the main memory card of the terminal, and improving the 5 PN50368 user experience. Brief Description of the Drawings The drawings described herein, which is used to provide a further 5 understanding of the present disclosure, constitutes a part of this application, and the schematic embodiments of the present disclosure and their description are used to explain the present disclosure and does not constitute a inappropriate limitation of the present disclosure. In the accompanying drawings: Fig.1 is a schematic diagram of a storage structure for that the internal 10 memory card is preferred in the related art; Fig.2 is a schematic diagram of a storage structure for that the external memory card is preferred in the related art; Fig.3 is a flowchart of a storage processing method according to an embodiment of the present disclosure; 15 Fig.4 is a structure diagram of a storage processing device according to an embodiment of the present disclosure; Fig.5 is a structure diagram of the integrating component 42 of the storage processing device according to an embodiment of the present disclosure; Fig.6 is a structure diagram 1 of the processing component 44 of the storage 20 processing device according to an embodiment of the present disclosure; Fig.7 is a structure diagram 2 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure; Fig.8 is a structure diagram 3 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure; 25 Fig.9 is a structure diagram 4 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure; Fig.10 is an example structure diagram of the storage processing device according to an embodiment of the present disclosure; Fig. 11 is a storage structure diagram according to an embodiment of the 30 present disclosure; 6 PN50368 Fig.12 is a processing flowchart after inserting an external memory card in an adaptive extension method for mobile phone storage according to an example embodiment of the present disclosure; Fig.13 is a processing flowchart after installing an application of an adaptive 5 extension method for mobile phone storage according to an example embodiment of the present disclosure; Fig.14 is a processing flowchart after removing an external memory card of an adaptive extension method for mobile phone storage according to an example embodiment of the present disclosure. 10 Detailed Description of the Embodiment The present disclosure will be described below with reference to the accompanying drawings and in conjunction with the embodiments. It should be noted that the embodiments and the characteristics of the embodiments can be 15 combined with each other if no conflict is caused. In the embodiment, a storage processing method is provided, and Fig.3 is a flowchart of the storage processing method according to the embodiment of the present disclosure, and as shown in Fig.3 the flowchart comprises the following steps: 20 step S302, a storage space of an internal memory card of a terminal with a storage space of an external memory card are integrated into one unified storage space; step S304, the terminal storage processing is performed according to the integrated unified storage space. 25 Compared to a fact in the related art that the internal memory card and the external memory card can only be used separately, through the above steps, the storage space of the internal memory card of the terminal with the storage space of the external memory card are integrated into one unified storage space, not only solves a problem in the related art that there is a lack of storage space in the related 30 art when a terminal does not use the external memory card, and a third party 7 PN50368 application is not able to be used normally when the external memory card originally used by the terminal is removed, thus affecting the user experience, but also this operation is simple, to a certain degree increases the storage capacity of the main memory card of the terminal, and improves the use experience of the user. 5 The storage space of the internal memory card of a terminal with the storage space of the external memory card are integrated into the unified storage space can be implemented by using the following method: a same file storage path for the internal memory card and the external memory card is established; the storage space of the internal memory card with the storage space of the external memory card are 10 integrated into the unified storage space according to the same file storage path. In this way, the files under the folders with a same file name in the internal memory card and the external memory card may be integrated into one unified folder, and this provides great convenience for users to find files; when finding a file, the users only needs to check in the file under the integrated unified folder that it belongs to, 15 not needing checking it respectively in the internal memory card and the external memory card. There are many processing methods for performing the terminal storage processing according to the integrated unified storage space, for example in one method, when the size of a file to be stored exceeds the size of the storage space of 20 the internal memory card, the file to be stored is needed to be stored in the external memory card, and when the size of the file to be stored does not exceed the size of the storage space of the internal memory card, the file to be stored is stored just in the internal memory card. Thus the file to be stored is stored preferentially in the internal memory card, which ensures that the stored file can also be used normally 25 when there is no external memory card. When there is not enough storage space in the internal memory card, the file is stored automatically to the external memory card, and the case that the file is not able to be stored due to a lack of internal storage space will not occur. Because this process is completed automatically within the terminal without the manual operation of the user, not only some 30 unnecessary troubles are reduced for users, but also the problem of storing files is 8 PN50368 solved conveniently and quickly. As another example, performing the terminal storage processing according to the integrated unified storage space can also be: a memory card that is able to integrally store a file to be stored is determined; the file to be stored is stored into 5 the determined memory card. This not only ensures the integrity of the file to be stored, but also after knowing the size of the file to be stored, the terminal will assign storage location for the file to be stored based on the size of the file to be stored, and the file to be stored can be stored in one of the internal memory card and the external memory card which has enough storage space, and when the storage 10 space of the both memory cards are enough, the storage location can be assigned at random, which may ensure the uniform distribution between the storage spaces of the internal memory card and the external memory card, so as to avoid the case that one memory card has more storage content but the other one has less storage content, thereby increasing the running speed and improving the user experience. 15 For another example, performing the terminal storage processing according to the integrated unified storage space can further be: whether a ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is less than a predefined value is judged; when a judgment result is that the ratio of the remaining storage space of the internal memory card to 20 the remaining storage space of the external memory card is less than the predefined value, a file to be stored is stored into the internal memory card; when the judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is not less than the predefined value, the file to be stored is stored into the external memory card. The 25 predefined value can be defined in advance, and can also be generated by the system according to a ratio of the size of the storage space of the internal memory card and the size of the storage space of the external memory card, and because the storage spaces of the internal memory card and the external memory card for each terminal are different, the predefined value is not uniquely determined. In this 30 method, the size of the remaining storage spaces in the internal memory card and 9 PN50368 the external memory card can also be adjusted appropriately to avoid an extreme storage distribution between the two cards, thereby balancing the remaining storage spaces of the two cards. In another aspect, performing the terminal storage processing according to the 5 integrated unified storage space can also be: the proportions of the storage space of the internal memory card and the external memory card to the unified storage space are determined; the file to be stored is stored according to the determined proportions. In this way, the file to be stored can be divided into two parts for storage, with one part of the file to be stored being placed in the internal memory 10 card and the remaining part being placed in the external memory card. Some files needing a larger storage space can be stored in two memory card, which relieves the pressure on the internal memory card and external memory card, and also plays a positive role in well running of the terminal, thereby improving the user experience. In this embodiment, a storage processing device is further provided, and the 15 device is used for realizing the above embodiments and example implementations, which are already stated and will not be described in detail. As used below, the term "component" can realize the combinations of software and/or hardware with predefined functions. Although the device described in the embodiments below is realized preferably in software, however the hardware or the combinations of 20 software and/or hardware can also be possible and conceived. Fig.4 is a structure diagram of a storage processing device according to an embodiment of the present disclosure, and as shown in Fig.4, the device comprises an integrating component 42 and a processing component 44. The device will be described below. 25 The integrating component 42 is configured to integrate a storage space of the internal memory card of a terminal with a storage space of the external memory card into one unified storage space; the processing component 44 is connected to the above integrating component 42 and configured to perform terminal storage processing according to the integrated unified storage space. 30 Fig.5 is a structure diagram of the integrating component 42 of the storage 10 PN50368 processing device according to an embodiment of the present disclosure, and as shown in Fig.5, the integrating component 42 comprises an establishing element 52 and an integrating element 54. The integrating component 42 will be described below in detail. 5 The establishing element 52 is configured to establish a same file storage path for the internal memory card and the external memory card; the integrating element 54 is connected the above establishing element 52 and configured to integrate the storage space of the internal memory card with a storage space of the external memory card into the unified storage space according to the same file storage path. 10 Fig.6 is a structure diagram 1 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure, and as shown in Fig.6, the processing component 44 comprises a first judging element 62, a first storing element 64 and a second storing element 66. The processing component 44 will be described below. 15 The first judging element 62 is configured to judge whether a size of a file to be stored exceeds a size of the storage space of the internal memory card; the first storing element 64 is connected to the above first judging element 62 and configured to, when a judgment result is that the size of the file to be stored exceeds the size of the storage space of the internal memory card, store the file to be stored 20 into the external memory card; the second storing element 66 is connected to the above first judging element 62 and configured to, when the judgment result is that the size of the file to be stored does not exceed the size of the storage space of the internal memory card, store the file to be stored into the internal memory card. Fig.7 is a structure diagram 2 of the processing component 44 of the storage 25 processing device according to an embodiment of the present disclosure, and as shown in Fig.7, the processing component 44 comprises a first determining element 72 and a third storing element 74. The processing component 44 will be described below. The first determining element 72 is configured to determine a memory card 30 that is able to integrally store a file to be stored; the third storing element 74 is 11 PN50368 connected to the above first determining element 72 and configured to store the file to be stored into the determined memory card. Fig.8 is a structure diagram 3 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure, and as 5 shown in Fig.8, the processing component 44 comprises a second judging element 82, a fourth storing element 84 and a fifth storing element 86. The processing component 44 will be described below. The second judging element 82 is configured to judge whether a ratio of a remaining storage space of the internal memory card to a remaining storage space of 10 the external memory card is less than a predefined value; the fourth storing element 84 is connected to the second judging element 82 and configured to, when a judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is less than the predefined value, store a file to be stored into the internal memory card; the 15 fifth storing element 86 is connected to the second judging element 82 and configured to, when the judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is not less than the predefined value, store the file to be stored into the external memory card. 20 Fig.9 is a structure diagram 4 of the processing component 44 of the storage processing device according to an embodiment of the present disclosure, and as shown in Fig.9, the processing component 44 comprises a second determining element 92 and a sixth storing element 94. The processing component 44 will be described below. 25 The second determining element 92 is configured to determine proportions of the storage of the internal memory card and the storage of the external memory card to the unified storage space respectively; the sixth storing element 94 is connected to the above second determining element 92 and configured to store a file to be stored according to the determined proportions. 30 Fig.10 is an example structure diagram of a terminal according to an 12 PN50368 embodiment of the present disclosure, and as shown in Fig.10, the terminal 100 comprises any one of the above storage processing devices 102. Aiming at the problem in the related art that there is a lack of storage space in the related art when a terminal does not use the external memory card, and a third 5 party application is not able to be used normally when the external memory card originally used by the terminal is removed, thus affecting the user experience, the embodiment of the present disclosure discloses a method for adaptively extending the storage capacity of a mobile phone. The method comprises: an external memory card can be inserted so as to extend the storage capacity of the mobile 10 phone, and the mobile phone can also be used normally without the external memory card. The present disclosure gives sufficient consideration on accessing the files in the storage by the mobile phone, when the mobile phone is connected to a computer by a USB mode, files are managed to be displayed, and the external memory card is inserted and removed. Regardless of whether there exists the 15 external memory card or not, it gives to users an effect that there exists a memory card, and solves a focused problem in the market that a third party application is not able to be used when the external memory card is used as a main memory card and the external memory card undergoes the hot-plugging actions, thereby greatly improving the efficiency and experience of using the memory card for users. 20 Aiming at the drawbacks in the related art on setting that the internal memory card is preferred or the external memory card is preferred in a terminal (mobile phone) storage, a total solution for the mobile phone storage is provided in this embodiment. The embodiment of the present disclosure refers to the mobile phone storage under Android platform, and the content in the external memory card is 25 seamlessly integrated into the whole mobile phone storage. Because these two storage spaces are completely consistent logically, the internal and external memory cards can be combined into one memory card logically, such that only one storage space is always present to the user when the user browses by the mobile phone or the computer. When the user inserts an external T card, the storage space can be 30 increased automatically, while the user removes the external T card, the storage 13 PN50368 space can be reduced automatically. Fig.11 is a storage structure diagram according to an embodiment of the present disclosure, and as shown in Fig.11, the main memory card is in the existing state all the time, and the internal memory card and the external memory card are integrated. The installing of applications are 5 protected from whether the external memory card is inserted or not, thereby finally realizing whether to extend the mobile phone storage or not is controlled by the users, and improving the user experience. In the method for extending adaptively the storage of the mobile phone provided in this embodiment, only one storage space is displayed on the interface, 10 regardless of the computer side or mobile phone side, thereby avoiding a fact that the internal memory card and the external memory card are displayed when the user browses from the computer side or the mobile phone side, which resulting that the user does not know in which of the internal memory card and the external memory card he can find a file; when checking the capacity of the mobile phone, only the 15 sum of capacity of the internal and the external memory cards is displayed; and when checking files on a file manager, only one peripheral exists. Files under the same paths in the internal memory card and the external memory card will be externally displayed together under one path, and files under different paths will be displayed independently. 20 Moreover, in the method for extending adaptively the storage of the mobile phone, as for the setting of storage content, when a third party application is installed, the folder generated will be placed in the internal memory card, thereby ensuring normal usage of the application without the external memory card; when the size of content of files in the folder of the third party application exceeds a 25 certain size, the folder is recursively copied to the external memory card, with the catalogue and name of the folder being unchanged, and then all files under the folder in the internal memory card are deleted. When other content is written, the other content is placed in the external memory card, such that the storage space in the internal memory card can be saved to the greatest extent, so as to install more 30 applications. However, when free space of a certain memory card is insufficient, 14 PN50368 the storage content will be placed in the other memory card, so as to ensure that a remaining space may be used when there is a remaining space for the integrated storage. It should be noted that, in addition to setting the storage content by using the above solution, other method can also be used to store a file, for example by 5 calculating a ratio of a remaining storage space of the internal memory card to a remaining storage space of the external memory card, and when this ratio is greater than a certain value, the file is stored in the internal memory card, while it is less than the certain value, the file is stored in the external memory card; or a few percent of the file to be stored is placed in the internal memory card, and the 10 remaining of the file is placed in the external memory card, and so on. In the method for extending adaptively for the storage of the mobile phone, during reading and writing the content, when there is a same path catalogue for the internal memory card and the external memory card, the internal memory card and the external memory card are accessed simultaneously, so as to prevent omission 15 during reading and accessing files. At the same time, administrative operations for files are performed according to the above setting of storage content. The method for extending adaptively the storage of the mobile phone, makes a third party application always return true when the application uses API (Application Programming Interface) of Android to access to the main memory 20 card, and which efficiently solves a bottleneck problem that a part of third party applications is not able to be used after the hot-plugging of the external memory card when the external memory card is used as a main memory card in current mid-and-low mobile phones, and therefore has great significance. Through the above embodiments and the example implementations, from the user's point of 25 view, regardless of whether the external memory card is inserted or not, each catalogue path in the file management is unique, but files under a folder is the sum of files under same catalogue of the internal memory card and the external memory card (when the external memory card has been mounted on the mobile phone), thereby making it convenience for the users to find and manage files; the remaining 30 space observed on the mobile phone is the sum of the remain spaces of the internal 15 PN50368 memory card and the external memory card (when the external memory card has been mounted on the mobile phone), this will immensely improve experience of user groups in checking the capacity of memory card and managing files. The example embodiments of the present disclosure will be described below 5 in conjunction with the accompanying drawings. Fig.12 is a processing flowchart of the method for extending adaptively the storage of the mobile phone with inserting an external memory card according to an example embodiment of the present disclosure, and as shown in Fig.12, the flow comprises the following steps: 10 step S1202, after an external memory card is hot-plugged, a mounted message is reported after the external memory card is completed; step S1204, a media process is triggered to be rescanned, and the file information in the external memory card is added into a database corresponding to the media; 15 step S1206, folders generated in the internal memory card by all application packages in the mobile phone are detected, and these folders in the internal memory card are recursively copied to the external memory card, but files in these folders are not be copied; step S1208, all information about file management, storage capacity is 20 refreshed, so as to ensure that the storage capacity browsed from computer side or mobile phone side is the sum of the total capacity of the internal and external memory cards, the free capacity is the sum of the total capacity of the free storage of the internal and the external memory cards, and the files under file catalogue are the sum of files under same paths of the internal and external memory cards. 25 Fig.13 is a processing flowchart after installing an application for the method for extending adaptively the storage of the mobile phone according to an example embodiment of the present disclosure, and as shown in Fig.13, the flow comprises the following steps: step S1302, an third party application is installed/used; 30 step S1304, whether there is a main memory card is detected by the installed 16 PN50368 application. In this embodiment, regardless of whether the external memory card is mounted or not, the main memory card is being in the existing state, with a path of /storage/sdcard; step S1306, after detecting the existence of a main memory card, the 5 application may generate a part of folders and files on the main memory card; step S1308, after detecting that the application adds the folders and files on the main memory card, the folders and files are stored according to the setting solution of storage content in the above embodiments and example implementations. whether an accessed files are stored directly on the internal memory card or not is 10 judged, and when the judgment result is that the accessed files are stored directly on the internal memory card, the files are accessed directly, then going to step S1310, otherwise going to step S1312; step S1310, the files are accessed; step S1312, the folders in the internal memory card are recursively copied to 15 the external memory card, and reading files are performed on the external memory card. It is necessary to store in the internal memory card a catalogue which is same with the catalogue in the external memory card, so as to ensure that the application crash (because the application is not able to access content during use) will not occur. 20 Fig.14 is a processing flowchart after hot-plugging an external memory card for the method for extending adaptively the storage of the mobile phone according to an example embodiment of the present disclosure, and as shown in Fig.14, the flow comprises the following steps: step S1402, after hot-plugging an external memory card, an unmounted 25 message is reported after the external memory card is unmounted; step S1404, the file information in the external memory card is deleted from a media database, namely a media process is triggered to delete the file information in the external memory card from the database corresponding to the media, thereby ensuring consistency during use; 30 step S1406, all user-visible interface display of capacity size, file 17 PN50368 management and so on are refreshed, namely all information about file management, storage capacity, so as to ensure that the storage capacity browsed from computer side or mobile phone side is the total capacity of the internal memory card, the free capacity is the total free capacity of the internal memory card, 5 and that files under file catalogue are the files under a same path of the internal memory card; step S1408, after the application reads that the state of the main memory card is in a mount state, files in the corresponding catalogue are read; step S1410, whether the files are in the internal memory card or not is judged, 10 and when the files to be read are in originally on the external memory card, the files are not able to be read, then step S1412 is executed, otherwise step S1414 is executed; step S1412, It is reminded that the files do not exist; step S1414, When the files to be read are present originally on the internal 15 memory card, the files will be used normally, and storage locations of files are arranged according to the setting solution of storage content in the above embodiments and example implementations. Apparently, those skilled in the art shall understand that the above modules and steps of the present disclosure can be realized by using general purpose 20 calculating device, can be integrated in one calculating device or distributed on a network which consists of a plurality of calculating devices, and alternatively they can be realized by using the executable program code of the calculating device, so that consequently they can be stored in the storing device and executed by the calculating device, in some cases, can perform the shown or described step in 25 sequence other than herein, or they are made into integrated circuit module respectively, or a plurality of modules or steps thereof are made into one integrated circuit module. In this way, the present disclosure is not restricted to any particular hardware and software combination. The above description is only preferred embodiments of the present 30 disclosure and is not intended to limit the present disclosure, and the present 18 PN50368 disclosure can have a variety of changes and modifications for ordinary person skilled in the field. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure shall all fall within the protection scope of the present disclosure. 5 Industrial Applicability As above, the present disclosure solves the problem in the related art that there is a lack of storage space in the related art when a terminal does not use the external memory card, and a third party application is not able to be used normally 10 when the external memory card originally used by the terminal is removed, thus affecting the user experience, thereby increasing the storage capacity of the main memory card of a terminal to a certain degree, simplifying operations, and improving user experience. 19 PN50368

Claims (13)

1. A storage processing method, comprising: integrating a storage space of an internal memory card of a terminal with a storage space of an external memory card into one unified storage space; 5 performing terminal storage processing according to the integrated unified storage space.
2. The method as claimed in claim 1, wherein integrating the storage space of the internal memory card of the terminal with the storage space of the external 10 memory card into the unified storage space comprises: establishing a same file storage path for the internal memory card and the external memory card; integrating the storage space of the internal memory card with the storage space of the external memory card into the unified storage space according 15 to the same file storage path.
3. The method as claimed in claim 1, wherein performing the terminal storage processing according to the integrated unified storage space comprises: judging whether a size of a file to be stored exceeds a size of the 20 storage space of the internal memory card; when a judgment result is that the size of the file to be stored exceeds the size of the storage space of the internal memory card, storing the file to be stored into the external memory card, and/or, when the judgment result is that the size of the file to be stored does not exceed the size of the storage space of the 25 internal memory card, storing the file to be stored into the internal memory card.
4. The method as claimed in claim 1, wherein performing the terminal storage processing according to the integrated unified storage space comprises: determining a memory card that is able to integrally store a file to be 30 stored; 20 PN50368 storing the file to be stored into the determined memory card.
5. The method as claimed in claim 1, wherein performing the terminal storage processing according to the integrated unified storage space comprises: 5 judging whether a ratio of a remaining storage space of the internal memory card to a remaining storage space of the external memory card is less than a predefined value; when a judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory 10 card is less than the predefined value, storing a file to be stored into the internal memory card; and/or, when the judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is not less than the predefined value, storing the file to be stored into the external memory card. 15
6. The method as claimed in claim 1, wherein performing the terminal storage processing according to the integrated unified storage space comprises: determining proportions of the storage space of the internal memory card and the storage space of the external memory card to the unified storage space 20 respectively; storing a file to be stored according to the determined proportions.
7. A storage processing device, comprising: an integrating component, configured to integrate a storage space of an 25 internal memory card of a terminal with a storage space of an external memory card into one unified storage space; a processing component, configured to perform terminal storage processing according to the integrated unified storage space. 30
8. The device as claimed in claim 7, wherein the integrating component 21 PN50368 comprises: an establishing element, configured to establish a same file storage path for the internal memory card and the external memory card; an integrating element, configured to integrate the storage space of the 5 internal memory card with the storage space of the external memory card into the unified storage space according to the same file storage path.
9. The device as claimed in claim 7, wherein the processing component comprises: 10 a first judging element, configured to judge whether a size of a file to be stored exceeds a size of the storage space of the internal memory card; a first storing element, configured to, when a judgment result is that the size of the file to be stored exceeds the size of the storage space of the internal memory card, store the file to be stored into the external memory card, and/or a 15 second storing element, configured to, when the judgment result is that the size of the file to be stored does not exceed the size of the storage space of the internal memory card, store the file to be stored into the internal memory card.
10. The device as claimed in claim 7, wherein the processing component 20 comprises: a first determining element, configured to determine a memory card that is able to integrally store a file to be stored; a third storing element, configured to store the file to be stored into the determined memory card. 25
11. The device as claimed in claim 7, wherein the processing component comprises: a second judging element, configured to judge whether a ratio of a remaining storage space of the internal memory card to a remaining storage space of 30 the external memory card is less than a predefined value; 22 PN50368 a fourth storing element, configured to, when a judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is less than the predefined value, store a file to be stored into the internal memory card; and/or a fifth storing 5 element, configured to, when the judgment result is that the ratio of the remaining storage space of the internal memory card to the remaining storage space of the external memory card is not less than the predefined value, store the file to be stored into the external memory card. 10
12. The device as claimed in claim 7, wherein the processing component comprises: a second determining element, configured to determine proportions of the storage space of the internal memory card and the storage space of the external memory card to the unified storage space respectively; 15 a sixth storing element, configured to store a file to be stored according to the determined proportions.
13. A terminal, comprising the device as claimed in any of claims 7 to 12. 23 PN50368
AU2014267783A 2013-08-29 2014-06-09 Storage processing method, device and terminal Abandoned AU2014267783A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201310386416.7 2013-08-29
CN201310386416.7A CN104423893A (en) 2013-08-29 2013-08-29 Storage processing method, storage processing device and terminal
PCT/CN2014/079529 WO2014183717A1 (en) 2013-08-29 2014-06-09 Storage processing method, device and terminal

Publications (1)

Publication Number Publication Date
AU2014267783A1 true AU2014267783A1 (en) 2016-04-21

Family

ID=51897776

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2014267783A Abandoned AU2014267783A1 (en) 2013-08-29 2014-06-09 Storage processing method, device and terminal

Country Status (5)

Country Link
JP (1) JP2016533588A (en)
KR (1) KR20160048173A (en)
CN (1) CN104423893A (en)
AU (1) AU2014267783A1 (en)
WO (1) WO2014183717A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045725B (en) * 2015-08-04 2018-10-26 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal multi-memory card Realization of Storing and system
CN107148612B (en) * 2015-12-08 2020-06-02 华为技术有限公司 Method and device for expanding user partition
KR102051182B1 (en) 2016-06-08 2019-12-03 주식회사 엘지화학 Organic transistor and gas sensor
CN111352772A (en) * 2020-02-24 2020-06-30 Oppo(重庆)智能科技有限公司 External memory card processing method and related product
CN114630164B (en) * 2022-03-14 2024-01-16 卡莱特云科技股份有限公司 Program playing method, device and system based on space expansion playing box
CN115665726B (en) * 2022-10-31 2024-04-12 中国联合网络通信集团有限公司 Capability verification data acquisition method, platform, eUICC, equipment and medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003061029A (en) * 2001-08-10 2003-02-28 Canon Inc Image processor, image processing method, recording medium, program and image processing system
JP2005228170A (en) * 2004-02-16 2005-08-25 Hitachi Ltd Storage device system
US8176230B2 (en) * 2006-04-07 2012-05-08 Kingston Technology Corporation Wireless flash memory card expansion system
JP4665008B2 (en) * 2008-03-31 2011-04-06 株式会社東芝 Semiconductor memory device
TWI387879B (en) * 2008-09-05 2013-03-01 Acer Inc Storage managing method and computer system using the same
US8356137B2 (en) * 2010-02-26 2013-01-15 Apple Inc. Data storage scheme for non-volatile memories based on data priority
US8301824B2 (en) * 2010-07-22 2012-10-30 Sandisk Il Ltd. Using an add-on storage device for extending the storage capacity of a storage device
CN102722444A (en) * 2012-05-23 2012-10-10 北京百纳威尔科技有限公司 Method and device for extending internal storage space and terminal
CN102722342A (en) * 2012-05-23 2012-10-10 北京百纳威尔科技有限公司 Method and device for expanding internal storage space and terminal
CN102799397A (en) * 2012-07-31 2012-11-28 广东欧珀移动通信有限公司 Electronic device and method for dynamically accessing data

Also Published As

Publication number Publication date
CN104423893A (en) 2015-03-18
JP2016533588A (en) 2016-10-27
WO2014183717A1 (en) 2014-11-20
KR20160048173A (en) 2016-05-03

Similar Documents

Publication Publication Date Title
AU2014267783A1 (en) Storage processing method, device and terminal
CN102541475B (en) Data storage method and data storage device
US10140113B2 (en) Data processing method and device of preset application after upgrading
CN106528791A (en) Method and device for pushing notification messages
CN107835986B (en) Data operation method of electronic equipment and electronic equipment
CN108200196B (en) Data storage and query method and system based on distributed architecture
CN101763433B (en) Data storage system and method
CN102004701B (en) Method and device for distributing secondary memory
CN102541969B (en) File protection method and system based on file allocation table (FAT) file system, and memory
CN108664482B (en) FLASH memory and storage file management method
CA3029370A1 (en) Method and apparatus for collecting information, and method and apparatus for releasing memory
CN107479834A (en) A kind of file memory method and device based on COS
CN105487824A (en) Information processing method, storage device and electronic device
CN105550311B (en) A kind of method that dynamic changes application program store path
CN103544254B (en) A kind of data managing method and device
US20160342544A1 (en) Dynamic path linking method, device and mobile terminal
US9104518B2 (en) Wireless communication terminal and method for securely running industry software
US20070126746A1 (en) Managing information in mobile communication terminal
CN112988072B (en) Data processing method and device, storage medium and electronic equipment
CN108509301A (en) The update method and more new system of system slot information in a kind of SMBIOS
CN109542531A (en) A kind of file layout method of adjustment and device
CN103455342A (en) Theme calling method and device
WO2024174899A1 (en) Mounting method for clustered file system, host and storage medium
CN105843690A (en) Method for transmitting debugging information and mobile terminal
CN115794753A (en) Dual-file system implementation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
MK5 Application lapsed section 142(2)(e) - patent request and compl. specification not accepted