CN103793256A - Method for management of memory cards, and electronic device - Google Patents

Method for management of memory cards, and electronic device Download PDF

Info

Publication number
CN103793256A
CN103793256A CN201410074434.6A CN201410074434A CN103793256A CN 103793256 A CN103793256 A CN 103793256A CN 201410074434 A CN201410074434 A CN 201410074434A CN 103793256 A CN103793256 A CN 103793256A
Authority
CN
China
Prior art keywords
storage card
card
built
storage
electronic equipment
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.)
Granted
Application number
CN201410074434.6A
Other languages
Chinese (zh)
Other versions
CN103793256B (en
Inventor
钟伟
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410074434.6A priority Critical patent/CN103793256B/en
Publication of CN103793256A publication Critical patent/CN103793256A/en
Application granted granted Critical
Publication of CN103793256B publication Critical patent/CN103793256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for management of memory cards, and an electronic device. The method for management of the memory cards is applied to the electronic device which comprises the internal memory card and the external memory card, and the internal memory card and the external memory card are managed in a sharing partition mode. The method for management of the memory cards comprises the steps that a first mounting path and a second mounting path are created; a user available memory card path used for indicating an application program interface in the electronic device is set to be the first mounting path; when the internal memory card is set to serve as a main memory card of the electronic device, and an application program can be installed in the main memory card, the internal memory card is mounted to the first mounting path, and the external memory card is mounted to the second mounting path; when the external memory card is set to serve as the main memory card of the electronic device, and the application program can be installed in the main memory card, the mounting path of the internal memory card and the mounting path of the external memory card are changed.

Description

The method of managed storage card and electronic equipment
Technical field
The present invention relates to a kind of method and corresponding electronic equipment of managed storage card.More particularly, the present invention relates to method and the corresponding electronic equipment of managed storage card in a kind of equipment adopting shared partition pattern.
Background technology
Along with the development of technology, for example the portable electric appts of smart mobile phone, multimedia player, e-book, tablet computer and so on is widely used.In order to meet user's needs growing to storage space, increasing electronic equipment is except equipment is arranged on the built-in storage card of device interior, also allow user to come extension storage space with the external storage card that can be inserted in electronic equipment, so that files such as storage picture, video, audio frequency.When the built-in storage card of electronic equipment is hour only using external storage card as the requirement that can not meet user for the memory device of storing the files such as picture, video, audio frequency, user also wishes that external storage is set to the main memory card storage of electronic equipment, to more application program is installed on external storage card.
But using in the built-in storage card of shared partition schema management of for example user's space file system (FUSE) and the electronic equipment of external storage card, because built-in storage card is not actual independent partitions, therefore can not change main memory card storage by exchange mount point.This causes user application program can not be installed on external storage card.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method and electronic equipment of managed storage card, to address the above problem.
According to an aspect of the present invention, provide a kind of method of managed storage card, be applied to electronic equipment, wherein said electronic equipment comprises built-in storage card and external storage card, and adopts built-in storage card and external storage card described in shared partition schema management.Described method comprises: create the first carry path and the second carry path; In indication electronic equipment, user's available memory cards path of application programming interfaces is set to the first carry path; When built-in storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, built-in storage card is mounted to the first carry path, the first carry path binding is mounted to virtual built-in carry path, be associated with built-in storage card so that obtain user's available memory cards path, and external storage card is mounted to the second carry path, so that electronic equipment can be managed external storage card as auxiliary storage card; When external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, built-in storage card is mounted to the second carry path, the second carry path binding is mounted to virtual built-in carry path, so that electronic equipment can be managed built-in storage card as auxiliary storage card, and external storage card is mounted to the first carry path, is associated with external storage card so that obtain user's available memory cards path.
According to another aspect of the present invention, also provide a kind of electronic equipment, having comprised: built-in storage card and external storage card, wherein adopted the built-in storage card of shared partition schema management and external storage card; Processing unit, configuration creates the first carry path and the second carry path, and in indication electronic equipment, user's available memory cards path of application programming interfaces is set to the first carry path; Wherein when built-in storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, processing unit also configures built-in storage card is mounted to the first carry path, the first carry path binding is mounted to virtual built-in carry path, be associated with built-in storage card so that obtain user's available memory cards path, and external storage card is mounted to the second carry path, so that electronic equipment can be managed external storage card as auxiliary storage card; And be set to electronic equipment application program can be installed to main memory card storage wherein time when external storage card, described processing unit also configures built-in storage card is mounted to the second carry path, the second carry path binding is mounted to virtual built-in carry path, so that electronic equipment can be managed built-in storage card as auxiliary storage card, and external storage card is mounted to the first carry path, is associated with external storage card so that obtain user's available memory cards path.
Method and the electronic equipment of the managed storage card by the embodiment of the present invention, even using in the built-in storage card of shared partition schema management of for example user's space file system (FUSE) and the electronic equipment of external storage card, also allow user that main memory card storage is switched to external storage card from built-in storage card, thereby carry out setup and manage application program for user provides larger space.In addition, the method for the managed storage card of the embodiment of the present invention and electronic equipment, in allowing user that main memory card storage is switched to external storage card from built-in storage card, do not affect the access interface of third party's application, thereby have guaranteed the reliability service of each application.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, will the accompanying drawing of required use in the description of embodiment be briefly described below.Accompanying drawing in the following describes is only exemplary embodiment of the present invention.
Fig. 1 is the process flow diagram of having described according to the method for the managed storage card of the embodiment of the present invention.
Fig. 2 shows the process flow diagram of the method for the detection of stored card of an example according to the present invention.
Fig. 3 shows the process flow diagram of the method for the detection of stored card of another example according to the present invention.
Fig. 4 shows the exemplary block diagram of electronic equipment according to an embodiment of the invention.
Fig. 5 shows the exemplary block diagram of electronic equipment according to another embodiment of the present invention.
Fig. 6 shows according to the exemplary block diagram of the electronic equipment of further embodiment of this invention.
Embodiment
Hereinafter, describe the preferred embodiments of the present invention in detail with reference to accompanying drawing.Note, in this instructions and accompanying drawing, there is substantially the same step and represent with the identical Reference numeral of element, and will be omitted the repetition of explanation of these steps and element.
The method of the managed storage card of one embodiment of the present of invention is described with reference to Fig. 1 below.Fig. 1 illustrates the process flow diagram of the method 100 of managed storage card according to an embodiment of the invention.The method 100 of managed storage card can be used for electronic equipment.Particularly, the applied electronic equipment of method 100 of managed storage card can comprise that built-in storage card and external storage card and for example shared partition pattern of the FUSE pattern in Android operating system of employing manage built-in storage card and external storage card.In shared partition pattern, electronic equipment can be integrated into a storage area by built-in storage card and external storage card, and application can be installed in this storage area or to this storage area and conducts interviews.In addition, can create virtual storage region above-mentioned for the storage area that application is installed, so that user stores the such as data such as text, picture file.
The concrete form of electronic equipment includes but not limited to smart mobile phone, multimedia player, e-book, tablet computer, game machine etc.
As shown in Figure 1, in step S101, create the first carry path and the second carry path.Built-in storage card can be mounted in the first carry path or the second carry path, and external storage card can carry the first carry path or the second carry path in another.Can the first carry path and the second carry path need to be set according to concrete design.For example, the first carry path can be "/storage/sdcard0 ", and the second carry path can be "/storage/sdcard1 ".Again for example, the first carry path can be "/mnt/media_sdcard0 ", and the second carry path can be "/mnt/media_sdcard1 ".
In step S102, in indication electronic equipment, user's available memory cards path of application programming interfaces is set to the first carry path.No matter thereby main memory card storage is built-in storage card or external storage card, application programming interfaces are all unified in electronic equipment, do not affect the access of third party's application.For example, in Android operating system, can be set to the first carry path as the return path of the function getExternalStorageDirectory () in active user's available memory cards path.To be described further this after a while.
In an embodiment of the present invention, main memory card storage refers to that electronic equipment can be installed to application program main memory card storage wherein.In addition,, according to another example of the present invention, except can application program being installed to wherein, main memory card storage can also be employed identifies and accesses.Take camera applications as example, main memory card storage is that photo captured user and video are stored in acquiescently storage card wherein by camera applications.
According to an example of the present invention, user can select according to actual needs main memory card storage to be set to built-in storage card or main memory card storage is set to external storage card.In addition, according to another example of the present invention, the method shown in Fig. 1 also can comprise that storage card detects, and according to the testing result main memory card storage of automatically switching.
Fig. 2 shows the process flow diagram of the method 200 of the detection of stored card of an example according to the present invention.As shown in Figure 2, in the situation that built-in storage card is set to main memory card storage, in step S201, whether detected electrons equipment is connected with external storage card.In the time detecting that electronic equipment is connected with external storage card, in step S202, determine whether the capacity of external storage card exceedes capacity one predetermined value of built-in storage card, for example 1GB.In the time that the capacity of external storage card exceedes this predetermined value of capacity of built-in storage card, in step S203, show main memory card storage switch prompting information, to point out user main memory card storage can be switched to and has the more external storage card of large storage capacity from built-in storage card.
Return to Fig. 1, in the time that built-in storage card is set to main memory card storage, in step S103, built-in storage card is mounted to the first carry path, and in step S104, the first carry path binding is mounted to virtual built-in carry path, is associated with built-in storage card so that obtain user's available memory cards path.In shared partition pattern, built-in storage card need to conduct interviews by virtual built-in carry path.For example, can create virtual storage region as mentioned above at the storage area for application is installed, built-in storage card can visit virtual storage region by virtual built-in carry path.Again for example, in Android operating system, virtual built-in carry path can be/storage/emulated/0.
In addition, because user's available memory cards path of application programming interfaces in indication electronic equipment in step S102 is set to the first carry path, therefore in the situation that built-in storage card is set to main memory card storage, the path that returns to active user's available memory cards of application is the first carry path,, corresponding to the path of main memory card storage.Thereby application can be installed on the built-in storage card as main memory card storage according to the first carry path, or built-in storage card is conducted interviews.
On the other hand, in step S105, external storage card is mounted to the second carry path, so that electronic equipment is managed external storage card by shared partition pattern as auxiliary storage card.In an embodiment of the present invention, because user's available memory cards path of application programming interfaces in indication electronic equipment is not the corresponding carry of auxiliary storage card path, therefore third party's application can not be installed on auxiliary storage card.
In the time that external storage card is set to main memory card storage, as shown in Figure 1, in step S106, built-in storage card is mounted to the second carry path.And in step S107, the second carry path binding is mounted to virtual built-in carry path, so that electronic equipment can be managed built-in storage card as auxiliary storage card.In other words, by step S106, corresponding built-in storage card carry path is switched to the second carry path from the first carry path, thereby according to application programming interfaces in electronic equipment, third party's application is no longer installed on built-in storage card.In addition,, by step S107, the built-in storage card that has changed carry path still can conduct interviews by virtual built-in carry path.
On the other hand, in step S108, external storage card is mounted to the first carry path, is associated with external storage card so that obtain user's available memory cards path.In other words, by step S108, corresponding external storage card carry path is switched to the first carry path from the second carry path, thereby according to application programming interfaces in electronic equipment, third party's application will be installed on external storage card.
When external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, exist in the situation that user removes external storage card from electronic equipment.In the case, if still according to previous setting, because the external storage card as main memory card storage does not exist, therefore can cause application not have storage card to use.
According to another example of the present invention, when external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, preferably, the method shown in Fig. 1 also can comprise that storage card detects, and according to the testing result main memory card storage of automatically switching.Fig. 3 shows the process flow diagram of the method 300 of the detection of stored card of another example according to the present invention.As shown in Figure 3, in step S301, detect external storage card and whether be removed or replace.For example, in the time that electronic equipment is started shooting, can detect external storage card and whether be removed or replace.In the time detecting that external storage card is removed or replaces, in step S302, automatically built-in storage card is set to main memory card storage, and display reminding information in step S303, having carried out main memory card storage with prompting user switches, thereby, when external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, in the situation that user removes external storage card from electronic equipment, application switches to built-in storage card is conducted interviews, thereby has avoided application not have storage card to use.
By the method for the above managed storage card of describing in conjunction with Fig. 1 to Fig. 3, even in the electronic equipment of the use built-in storage card of shared partition schema management and external storage card, also allow user that main memory card storage is switched to external storage card from built-in storage card, thereby for providing larger space, user carrys out setup and manage application program, and do not affect the access interface of third party's application, guaranteed the reliability service of each application.
It should be noted that the method shown in Fig. 1 to 3 each step needn't according to shown in order carry out.Can put upside down or carry out concurrently some step.For example, built-in storage card is mounted to the first carry path (step S103), the first carry path binding is mounted to virtual built-in carry path (step S104) and external storage card is mounted to the second carry path (step S105) and can carry out simultaneously, in addition, S105 be can first perform step, then S103 and step S104 performed step.Similarly, built-in storage card is mounted to the second carry path (step S106), the second carry path binding is mounted to virtual built-in carry path (step S107) and external storage card is mounted to the first carry path (step S108) and can carry out simultaneously, in addition, S108 be can first perform step, then S106 and step S107 performed step.
In addition, according to another example of the present invention, be switched to external storage card from built-in storage card or from external storage card is switched to built-in storage card, the method shown in Fig. 1 also can be included in the main memory card storage after switching and automatically be carried in the application of installing on the storage card before switching in main memory card storage.Particularly, carrying out after main memory card storage, can be according to the system data of the application in the custom system storage area of shared partition pattern, in main memory card storage after switching, be automatically carried in the application of installing on the storage card before switching, make user can view the application of installing on electronic equipment.
But, because the user data of application is on the storage card being stored in before switching, even if use in the main memory card storage of the system data of applying after switching and be automatically carried in the application of installing on the storage card before switching, user can not conduct interviews to application with the user data of previously stored application.For this reason, according to another example of the present invention, when method shown in Fig. 1 also can be included in electronic equipment and is connected with computing machine and receives main memory card storage handoff request, by USB connection mode, the application data in main memory card storage is copied and stored in computing machine.That is to say, before carrying out main memory card storage switching, by USB connection mode, the user data of the application in main memory card storage is copied and stored in computing machine.After this external switching main memory card storage, show data Replica prompting, to point out user will to store application copy in computing machine in the main memory card storage after switching by USB connection mode.Thereby carrying out after main memory card storage switching, user still can conduct interviews to the application being arranged in the main memory card storage before switching.In addition also can similarly operate in the case of replacing the external storage card as main memory card storage.Thereby carrying out after main memory card storage replacement, user still can conduct interviews to the application being arranged on the external storage card before replacement.
According to another example of the present invention, preferably, when main memory card storage is switched to external storage card or is switched to built-in storage card from external storage card from built-in storage card, also can clear up the multimedia database of electronic equipment, to prevent that restarting rear multimedia database upgraded slow.
Fig. 4 shows the exemplary block diagram of electronic equipment 400 according to an embodiment of the invention.As shown in Figure 4, the electronic equipment 400 of the present embodiment comprises built-in storage card 410, external storage card 420 and processing unit 430.The unit of electronic equipment 400 can be carried out respectively each step/function of the method 100 of the managed storage card in above-mentioned Fig. 1.Therefore, below only the critical piece of electronic equipment 400 is described, and has omitted the above detail content of having described in conjunction with Fig. 1.
In electronic equipment 400, adopt the built-in storage card 410 of shared partition schema management and the external storage card 420 of for example FUSE pattern in Android operating system.Processing unit 430 creates the first carry path and the second carry path.Built-in storage card 410 can be mounted in the first carry path or the second carry path, and external storage card 420 can carry the first carry path or the second carry path in another.Can the first carry path and the second carry path need to be set according to concrete design.
In addition, processing unit 430 also indicates user's available memory cards path of application programming interfaces in electronic equipment to be set to the first carry path.No matter thereby main memory card storage is built-in storage card 410 or external storage card 420, application programming interfaces are all unified in electronic equipment, do not affect the access of third party's application.To be described further this after a while.
As mentioned above, in an embodiment of the present invention, main memory card storage refers to that electronic equipment can be installed to application program main memory card storage wherein.In addition,, according to another example of the present invention, except can application program being installed to wherein, main memory card storage can also be employed identifies and accesses.Take camera applications as example, main memory card storage is that photo captured user and video are stored in acquiescently storage card wherein by camera applications.
According to an example of the present invention, user can select according to actual needs main memory card storage to be set to built-in storage card 410 or main memory card storage is set to external storage card 420.In addition, according to another example of the present invention, electronic equipment 400 also can comprise detecting unit so that storage card detects, and prompting user switch main memory card storage or processing unit 430 can be according to the testing result main memory card storage of automatically switching.
Fig. 5 shows the exemplary block diagram of electronic equipment 500 according to another embodiment of the present invention.As shown in Figure 5, electronic equipment 500 comprises built-in storage card 510, external storage card 520, processing unit 530, detecting unit 540 and display unit 550, wherein built-in storage card 510, external storage card 520 and processing unit 530 are similar with built-in storage card 410, external storage card 420, processing unit 430 shown in Fig. 4, for simplicity, do not repeat them here.
In the situation that built-in storage card 510 is set to main memory card storage, whether detecting unit 540 detected electrons equipment are connected with external storage card.In the time detecting that electronic equipment is connected with external storage card, detecting unit 540 also determines whether the capacity of external storage card 520 exceedes capacity one predetermined value of built-in storage card 510, for example 1GB.In the time that the capacity of external storage card 520 exceedes this predetermined value of capacity of built-in storage card 510, display unit 550 shows main memory card storage switch prompting information, to point out user main memory card storage can be switched to and has the more external storage card 520 of large storage capacity from built-in storage card 510.
Return to Fig. 4, in the time that built-in storage card is set to main memory card storage, built-in storage card 410 is mounted to the first carry path by processing unit 430, and the first carry path binding is mounted to virtual built-in carry path, is associated with built-in storage card 410 so that obtain user's available memory cards path.In shared partition pattern, built-in storage card 410 need to conduct interviews by virtual built-in carry path.
Because user's available memory cards path of application programming interfaces in processing unit 430 indication electronic equipments 400 is set to the first carry path, therefore in the situation that built-in storage card 410 is set to main memory card storage, the path that returns to active user's available memory cards of application is the first carry path,, corresponding to the path of main memory card storage.Thereby application can be installed on the built-in storage card 410 as main memory card storage according to the first carry path, or built-in storage card 410 is conducted interviews.
On the other hand, processing unit 430 is also mounted to the second carry path by external storage card 420, so that electronic equipment 400 is managed external storage card 420 by shared partition pattern as auxiliary storage card.In an embodiment of the present invention, because user's available memory cards path of application programming interfaces in indication electronic equipment is not the corresponding carry of auxiliary storage card path, therefore third party's application can not be installed on auxiliary storage card.
In the time that described external storage card 420 is set to main memory card storage, built-in storage card is mounted to the second carry path by processing unit 430.And the second carry path binding is mounted to virtual built-in carry path by processing unit 430, so that electronic equipment 400 can be managed built-in storage card 410 as auxiliary storage card.In other words, processing unit 430 is by corresponding built-in storage card carry path is switched to the second carry path from the first carry path, thereby according to application programming interfaces in electronic equipment, third party's application is no longer installed on built-in storage card 410.In addition the built-in storage card 410 that, has changed carry path still can conduct interviews by virtual built-in carry path.
On the other hand, external storage card 420 is mounted to the first carry path by processing unit 430, is associated with external storage card 420 so that obtain user's available memory cards path.In other words, processing unit 430 is by the corresponding carry of external storage card 420 path is switched to the first carry path from the second carry path, thereby according to application programming interfaces in electronic equipment, third party's application will be installed on external storage card 420.
When external storage card 420 is set to electronic equipment application program can be installed to main memory card storage wherein time, exist in the situation that user removes external storage card 420 from electronic equipment.In the case, if still according to previous setting, because the external storage card 420 as main memory card storage has not existed, therefore can cause application not have storage card to use.
According to another example of the present invention, when external storage card 420 is set to electronic equipment 400 application program can be installed to main memory card storage wherein time, preferably, electronic equipment 400 also can comprise detecting unit so that detect external storage card 420 and whether be removed or replace, and processing unit 430 can be according to the testing result main memory card storage of automatically switching.
Fig. 6 shows according to the exemplary block diagram of the electronic equipment 600 of further embodiment of this invention.As shown in Figure 6, electronic equipment 600 comprises built-in storage card 610, external storage card 620, processing unit 630, detecting unit 640 and display unit 650, wherein built-in storage card 610 and external storage card 620 and processing unit 630 are similar with built-in storage card 410, external storage card 420, processing unit 430 shown in Fig. 4, for simplicity, be not described in detail in this.
In the example depicted in fig. 6, whether detecting unit 640 detects external storage card 620 and is removed or replaces.For example, in the time that electronic equipment 600 is started shooting, whether detecting unit 640 can detect external storage card 620 and be removed or replace.In the time that detecting unit 640 detects that external storage card 620 is removed or replaces, processing unit 630 automatically built-in storage card is set to main memory card storage, and display unit 650 display reminding information, having carried out main memory card storage with prompting user switches, thereby, when external storage card 620 is set to electronic equipment application program can be installed to main memory card storage wherein time, in the situation that user removes external storage card 620 from electronic equipment 600, application switches to built-in storage card 610 is conducted interviews, thereby has avoided application not have storage card to use.
By the electronic equipment of describing in conjunction with Fig. 4 to Fig. 6 above, even in the electronic equipment of the use built-in storage card of shared partition schema management and external storage card, also allow user that main memory card storage is switched to external storage card from built-in storage card, thereby for providing larger space, user carrys out setup and manage application program, and do not affect the access interface of third party's application, guaranteed the reliability service of each application.
In addition, according to another example of the present invention, be switched to external storage card from built-in storage card or from external storage card is switched to built-in storage card, in the main memory card storage of the processing unit shown in Fig. 4-6 after switching, be automatically carried in the application of installing on the storage card before switching in main memory card storage.Particularly, carrying out after main memory card storage, processing unit can be according to the system data of the application in the custom system storage area of shared partition pattern, in main memory card storage after switching, be automatically carried in the application of installing on the storage card before switching, make user can view the application of installing on electronic equipment.
But, because the user data of application is on the storage card being stored in before switching, even if use in the main memory card storage of the system data of applying after switching and be automatically carried in the application of installing on the storage card before switching, user can not conduct interviews to application with the user data of previously stored application.For this reason, according to another example of the present invention, when being connected with computing machine at electronic equipment and receiving main memory card storage handoff request, the processing unit shown in Fig. 4-6 also can be copied the application data in main memory card storage store in computing machine by USB connection mode.That is to say, before carrying out main memory card storage switching, processing unit is copied the user data of the application in main memory card storage store in computing machine by USB connection mode.In addition electronic equipment also can comprise display unit.Switching after main memory card storage, display unit can show data Replica prompting, to point out user will to store application copy in computing machine in the main memory card storage after switching by USB connection mode.Thereby carrying out after main memory card storage switching, user still can conduct interviews to the application being arranged in the main memory card storage before switching.In addition also can similarly operate in the case of replacing the external storage card as main memory card storage.Thereby carrying out after main memory card storage replacement, user still can conduct interviews to the application being arranged on the external storage card before replacement.
According to another example of the present invention, preferably, when the main memory card storage shown in Fig. 4-6 is switched to external storage card or is switched to built-in storage card from external storage card from built-in storage card, also can clear up the multimedia database of electronic equipment, to prevent that restarting rear multimedia database upgraded slow.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factors carries out various modifications, combination, part combination and replace the present invention, as long as they are in the scope of appended claims and equivalent thereof.

Claims (12)

1. a method for managed storage card, is applied to electronic equipment, and wherein said electronic equipment comprises built-in storage card and external storage card, and adopts built-in storage card and described external storage card described in shared partition schema management, and described method comprises:
Create the first carry path and the second carry path;
Indicate user's available memory cards path of application programming interfaces in described electronic equipment to be set to described the first carry path;
When described built-in storage card is set to electronic equipment application program can be installed to main memory card storage wherein time,
Described built-in storage card is mounted to the first carry path,
Described the first carry path binding is mounted to virtual built-in carry path, so that described user's available memory cards path is associated with described built-in storage card, and
Described electronic equipment described external storage card is mounted to described the second carry path, can be managed described external storage card as auxiliary storage card;
When described external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time,
Described built-in storage card is mounted to the second carry path,
Described the second carry path binding is mounted to described virtual built-in carry path, so that described electronic equipment can be managed described built-in storage card as auxiliary storage card, and
Described external storage card is mounted to described the first carry path, so that described user's available memory cards path is associated with described external storage card.
2. the method for claim 1, also comprises:
Whether detect described electronic equipment is connected with described external storage card;
In the time detecting that described electronic equipment is connected with described external storage card, determine whether the capacity of described external storage card exceedes capacity one predetermined value of described built-in storage card; And
When the capacity of described external storage card exceedes this predetermined value of capacity of described built-in storage card, and described built-in storage card is while being set to described main memory card storage, shows main memory card storage switch prompting information.
3. method as claimed in claim 1 or 2, when described external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, described method also comprises:
Whether detect external storage card is removed or replaces;
In the time detecting that external storage card is removed or replaces, described built-in storage card is set to described main memory card storage, and display reminding information.
4. method as claimed in claim 1 or 2, also comprises:
Be switched to described external storage card from described built-in storage card or from described external storage card is switched to described built-in storage card, in the main memory card storage after switching, be automatically carried in the application of installing on the storage card before switching in main memory card storage.
5. method as claimed in claim 4, also comprises:
When being connected with computing machine at described electronic equipment and receiving main memory card storage handoff request, by USB connection mode, the application data in main memory card storage is copied and stored in described computing machine, and
Switching after main memory card storage, showing data Replica prompting, to point out user will to store application copy in described computing machine in the main memory card storage after switching by USB connection mode.
6. method as claimed in claim 1 or 2, also comprises:
When main memory card storage is switched to described external storage card or is switched to described built-in storage card from described external storage card from described built-in storage card, clear up the multimedia database of described electronic equipment, to prevent that restarting rear described multimedia database upgraded slow.
7. an electronic equipment, comprising:
Built-in storage card and external storage card, wherein adopt built-in storage card and described external storage card described in shared partition schema management;
Processing unit, configuration creates the first carry path and the second carry path, and in the described electronic equipment of indication, user's available memory cards path of application programming interfaces is set to described the first carry path; Wherein
When described built-in storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, described processing unit also configures described built-in storage card is mounted to the first carry path, described the first carry path binding is mounted to virtual built-in carry path, so that described user's available memory cards path is associated with described built-in storage card, and described external storage card is mounted to described the second carry path, so that described electronic equipment can be managed described external storage card as auxiliary storage card; And
When described external storage card is set to electronic equipment application program can be installed to main memory card storage wherein time, described processing unit also configures described built-in storage card is mounted to the second carry path, described the second carry path binding is mounted to described virtual built-in carry path, so that described electronic equipment can be managed described built-in storage card as auxiliary storage card, and described external storage card is mounted to described the first carry path, so that described user's available memory cards path is associated with described external storage card.
8. electronic equipment as claimed in claim 7, also comprises:
Detecting unit, whether configuration detects described electronic equipment and is connected with described external storage card, and in the time detecting that described electronic equipment is connected with described external storage card, determine whether the capacity of described external storage card exceedes capacity one predetermined value of described built-in storage card; And
Display unit, the capacity that described external storage card work as in configuration exceedes this predetermined value of capacity of described built-in storage card, and described built-in storage card is while being set to described main memory card storage, demonstration main memory card storage switch prompting information.
9. electronic equipment as claimed in claim 7, also comprises:
Detecting unit, whether configuration is worked as described external storage card and is set to electronic equipment application program can be installed to main memory card storage wherein time, detect external storage card and be removed or replace; And
Display unit, configuration carrys out display reminding information, wherein
In the time that described detecting unit detects that external storage card is removed or replaces, described processing unit also configures described built-in storage card and is set to described main memory card storage.
10. electronic equipment as claimed in claim 7, wherein
Described processing unit also configures in main memory card storage and is switched to described external storage card from described built-in storage card or from described external storage card is switched to described built-in storage card, in the main memory card storage after switching, is automatically carried in the application of installing on the storage card before switching.
11. electronic equipments as claimed in claim 10, wherein
Described processing unit also configures when being connected with computing machine at described electronic equipment and receiving main memory card storage handoff request and by USB connection mode, the application data in main memory card storage is copied and stored in described computing machine,
Described electronic equipment also comprises:
Display unit also configures and is switching after main memory card storage, shows data Replica prompting, to point out user will to store application copy in described computing machine in the main memory card storage after switching by USB connection mode.
12. electronic equipments as claimed in claim 7 or 8, wherein
Described processing unit also configures works as main memory card storage when being switched to described external storage card from described built-in storage card or being switched to described built-in storage card from described external storage card, clear up the multimedia database of described electronic equipment, to prevent that restarting rear described multimedia database upgraded slow.
CN201410074434.6A 2014-03-03 2014-03-03 Manage the method and electronic equipment of storage card Active CN103793256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410074434.6A CN103793256B (en) 2014-03-03 2014-03-03 Manage the method and electronic equipment of storage card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410074434.6A CN103793256B (en) 2014-03-03 2014-03-03 Manage the method and electronic equipment of storage card

Publications (2)

Publication Number Publication Date
CN103793256A true CN103793256A (en) 2014-05-14
CN103793256B CN103793256B (en) 2017-11-24

Family

ID=50668971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410074434.6A Active CN103793256B (en) 2014-03-03 2014-03-03 Manage the method and electronic equipment of storage card

Country Status (1)

Country Link
CN (1) CN103793256B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090822A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for switching external storage devices under Android system
CN104346452A (en) * 2014-10-28 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software moving
CN104461655A (en) * 2014-12-29 2015-03-25 北京网秦天下科技有限公司 Method for automatically selecting application installation position and mobile terminal
CN105550311A (en) * 2015-12-14 2016-05-04 珠海全志科技股份有限公司 Method for dynamically changing application storage path
CN106372096A (en) * 2015-10-27 2017-02-01 深圳市美贝壳科技有限公司 System and method for remotely operating file in mobile storage device on mobile end
CN107122211A (en) * 2017-04-25 2017-09-01 努比亚技术有限公司 Application software installation method, terminal and computer-readable recording medium
CN107526835A (en) * 2017-09-06 2017-12-29 广东欧珀移动通信有限公司 Data connection processing method, data connection processing unit and intelligent terminal
CN108170376A (en) * 2017-12-21 2018-06-15 上海新案数字科技有限公司 The method and system that storage card is read and write
CN109117083A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Mobile terminal, built-in memory capacity detection method and computer readable storage medium
CN110764486A (en) * 2019-09-30 2020-02-07 华人运通(江苏)技术有限公司 Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium
CN111352772A (en) * 2020-02-24 2020-06-30 Oppo(重庆)智能科技有限公司 External memory card processing method and related product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100547789B1 (en) * 2003-10-30 2006-01-31 삼성전자주식회사 Portable terminal and method for exchanging data with external device using internal storage media
US20120054382A1 (en) * 2010-08-31 2012-03-01 I/O Interconnect, Ltd. Method of hand-held smart device for accessing data
CN102609741A (en) * 2012-01-31 2012-07-25 上海艾尚通讯科技有限公司 Mobile device and method for exchange data between internal and external storage cards
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
CN102831173A (en) * 2012-07-27 2012-12-19 Tcl集团股份有限公司 Memory expanding method, device and terminal based on Android system
CN102902488A (en) * 2012-08-06 2013-01-30 广东欧珀移动通信有限公司 Memory card of handheld equipment and dynamic mounting method of memory card
CN103425436A (en) * 2012-05-21 2013-12-04 联想(北京)有限公司 Terminal equipment and virtual storage unit management method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100547789B1 (en) * 2003-10-30 2006-01-31 삼성전자주식회사 Portable terminal and method for exchanging data with external device using internal storage media
US20120054382A1 (en) * 2010-08-31 2012-03-01 I/O Interconnect, Ltd. Method of hand-held smart device for accessing data
CN102609741A (en) * 2012-01-31 2012-07-25 上海艾尚通讯科技有限公司 Mobile device and method for exchange data between internal and external storage cards
CN103425436A (en) * 2012-05-21 2013-12-04 联想(北京)有限公司 Terminal equipment and virtual storage unit management method
CN102722342A (en) * 2012-05-23 2012-10-10 北京百纳威尔科技有限公司 Method and device for expanding internal storage space and terminal
CN102831173A (en) * 2012-07-27 2012-12-19 Tcl集团股份有限公司 Memory expanding method, device and terminal based on Android system
CN102799397A (en) * 2012-07-31 2012-11-28 广东欧珀移动通信有限公司 Electronic device and method for dynamically accessing data
CN102902488A (en) * 2012-08-06 2013-01-30 广东欧珀移动通信有限公司 Memory card of handheld equipment and dynamic mounting method of memory card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHONGPANPAN: "关于android的4.2的0文件夹的详解", 《HTTP://WWW.MIUI.COM/THREAD-863099-1-1.HTML》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090822B (en) * 2014-07-11 2018-10-26 Tcl通讯(宁波)有限公司 The switching method and system of android system lower outer portion storage device
CN104090822A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for switching external storage devices under Android system
CN104346452A (en) * 2014-10-28 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software moving
CN104461655A (en) * 2014-12-29 2015-03-25 北京网秦天下科技有限公司 Method for automatically selecting application installation position and mobile terminal
CN106372096A (en) * 2015-10-27 2017-02-01 深圳市美贝壳科技有限公司 System and method for remotely operating file in mobile storage device on mobile end
CN105550311A (en) * 2015-12-14 2016-05-04 珠海全志科技股份有限公司 Method for dynamically changing application storage path
CN105550311B (en) * 2015-12-14 2019-03-12 珠海全志科技股份有限公司 A kind of method that dynamic changes application program store path
CN107122211A (en) * 2017-04-25 2017-09-01 努比亚技术有限公司 Application software installation method, terminal and computer-readable recording medium
CN109117083A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Mobile terminal, built-in memory capacity detection method and computer readable storage medium
CN107526835A (en) * 2017-09-06 2017-12-29 广东欧珀移动通信有限公司 Data connection processing method, data connection processing unit and intelligent terminal
CN107526835B (en) * 2017-09-06 2019-05-24 Oppo广东移动通信有限公司 Data connection processing method, data connection processing unit and intelligent terminal
CN108170376A (en) * 2017-12-21 2018-06-15 上海新案数字科技有限公司 The method and system that storage card is read and write
CN108170376B (en) * 2017-12-21 2021-05-28 上海七十迈数字科技有限公司 Method and system for reading and writing memory card
CN110764486A (en) * 2019-09-30 2020-02-07 华人运通(江苏)技术有限公司 Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium
CN111352772A (en) * 2020-02-24 2020-06-30 Oppo(重庆)智能科技有限公司 External memory card processing method and related product

Also Published As

Publication number Publication date
CN103793256B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN103793256A (en) Method for management of memory cards, and electronic device
CN105144074B (en) It is stored using the block of hybrid memory device
EP3109762B1 (en) Electronic device having external memory and method for operating the same
US20150333971A1 (en) Method and device for managing processes of application program
CN106155915B (en) Data storage processing method and device
CN104541280A (en) Alternative boot path support for utilizing non-volatile memory devices
KR102100458B1 (en) Method for managing memory and an electronic device thereof
US10380356B2 (en) Operating system partition protecting system, protecting device, and terminal
CN104813679A (en) Method, apparatus and system of screenshot grabbing and sharing
WO2015138949A1 (en) Systems and methods for supporting demand paging for subsystems in a portable computing environment with restricted memory resources
CN101169729A (en) Embedded type system and method for renewing application program
CN105589663A (en) Mobile terminal and data processing method thereof
CN104281478A (en) Method and device for updating application programs
CN105765533A (en) Method and apparatus for firmware virtualization
CN104808953B (en) Control the method, device and mobile terminal of data storage
JP2016533588A (en) Storage processing method, apparatus and terminal
JP4966422B1 (en) Information processing apparatus and data protection method
CN103019833A (en) Terminal equipment and method for enabling same to support quick switching of operating systems
CN105205100A (en) Data synchronization method based on MTP between terminals and terminals
CN103455750B (en) The high peace verification method of a kind of embedded device and device
CN104517067A (en) Method, device and system for data access
CN103229150A (en) Data control method and system
CN104679566A (en) Method and terminal equipment for updating SMBIOS (System Management Basic Input/Output System)
US20180341426A1 (en) Method and device for clearing data and electronic device
CN104765631A (en) Restoration method and device for application program of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant