Summary of the invention
The invention provides a kind of method and device carrying out dilatation for mobile terminal, it is possible to deposit not having to be inserted directly into
The mobile terminal of card storage function carries out dilatation.
The invention provides a kind of method carrying out dilatation for mobile terminal, be applied to mobile terminal, described mobile terminal
It is connected with equipment in the capacity expansion, described equipment in the capacity expansion embedded memory card, described method includes:
Read the file of storage in the configuration parameter information of storage card in described equipment in the capacity expansion and described storage card;
Configuration parameter information according to described storage card generates the file system of described storage card, wraps in described file system
Including the file of storage in described storage card, described file system is deposited for utilizing the memory space of described storage card to realize file
Storage;
When detect that user triggers when being stored in the operation of file to described file system, by the format conversion of described file
After stream file format, it is stored in described file system.
Preferably, described method also includes:
Generating homepage IP address for described file system, described homepage IP address is for accessing the master of described file system
Page.
Preferably, described method also includes:
The IP address that respectively each file generated in described file system is corresponding, described IP address is for unique mark
Each file;
When receiving the file query requests carrying any IP address, described file system positions described IP address
Corresponding file.
Preferably, described when receiving the file query requests carrying any IP address, fixed in described file system
The file that described IP address, position is corresponding, including:
Receive the file query requests carrying any IP address from arbitrary third party software;
According to described IP address, described file system positions the file that described IP address is corresponding;
Described file is shown in described third party software.
Preferably, described method also includes:
Generating IP address list, described IP address list includes the title of each file and IP address in described file system
Corresponding relation;
Share described IP address list, in order to user can access described literary composition according to the IP address in described IP address list
File in part system.
Present invention also offers a kind of device carrying out dilatation for mobile terminal, be applied to mobile terminal, described mobile whole
End is connected with equipment in the capacity expansion, described equipment in the capacity expansion embedded memory card, and described device includes:
Read module, stores in the configuration parameter information reading storage card in described equipment in the capacity expansion and described storage card
File;
First generation module, generates the file system of described storage card for the configuration parameter information according to described storage card
System, described file system includes the file of storage in described storage card, and described file system is for utilizing described storage card
Memory space realizes file storage;
Conversion module, for when detect that user triggers when being stored in the operation of file to described file system, by described
After the format conversion of file is stream file format, it is stored in described file system.
Preferably, described device also includes:
Second generation module, for generating homepage IP address for described file system, described homepage IP address is used for accessing
The homepage of described file system.
Preferably, described device also includes:
3rd generation module, the IP address that each file generated in the most described file system is corresponding, described
IP address identifies each file for unique;
Locating module, for when receiving the file query requests carrying any IP address, in described file system
Position the file that described IP address is corresponding.
Preferably, described locating module, including:
Receive submodule, for receiving the file query requests carrying any IP address from arbitrary third party software;
Locator module, for according to described IP address, positions the literary composition that described IP address is corresponding in described file system
Part;
Display sub-module, for showing described file in described third party software.
Preferably, described device also includes:
4th generation module, is used for generating IP address list, and described IP address list includes in described file system each
The title of file and the corresponding relation of IP address;
Sharing module, is used for sharing described IP address list, in order to user can be according to the IP in described IP address list
Address accesses the file in described file system.
In the method carrying out dilatation for mobile terminal that the present invention provides, first, mobile terminal reads described equipment in the capacity expansion
The file of storage in the configuration parameter information of middle storage card and described storage card.Secondly, described mobile terminal is according to described storage
The configuration parameter information of card generates the file system of described storage card, and described file system includes storage in described storage card
File, described file system realizes file storage for utilizing the memory space of described storage card.When detecting what user triggered
When described file system is stored in the operation of file, the format conversion of described file is stream file format by described mobile terminal
After, it is stored in described file system.The present invention utilizes the memory space of storage card to carry out the storage of file, is equivalent to expand
The stored file space of mobile terminal, it is achieved that for the purpose of described mobile terminal dilatation.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Describe, it is clear that described embodiment is only some embodiments of the present application rather than whole embodiments wholely.Based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of the application protection.
Hereinafter carry out the introduction of embodiment particular content.
Embodiments provide a kind of method carrying out dilatation for mobile terminal, with reference to Fig. 1, for the embodiment of the present invention
There is provided a kind of method flow diagram carrying out dilatation for mobile terminal, wherein, described for mobile terminal carry out dilatation method should
For mobile terminal, described mobile terminal is connected with equipment in the capacity expansion, described equipment in the capacity expansion embedded memory card, and described method is specifically wrapped
Include:
S101: described mobile terminal reads in configuration parameter information and the described storage card of storage card in described equipment in the capacity expansion
The file of storage.
Equipment in the capacity expansion in the embodiment of the present invention is built-in with storage card, concrete, and the size of described storage card can basis
Depending on the dilatation demand of user.After described equipment in the capacity expansion is connected with arbitrary mobile terminal, described equipment in the capacity expansion and described movement
Terminal carries out agreement connection, when, after agreement successful connection, described equipment in the capacity expansion and described mobile terminal can proper communications.
In practical operation, described mobile terminal is written and read scanning to described equipment in the capacity expansion, obtains in described equipment in the capacity expansion
The configuration parameter information of storage card, wherein, described configuration parameter information includes the storage capacity information of described storage card, and (including can
By amount of capacity, total capacity size etc.), the brand of described storage card, model etc..Storage card in obtaining described equipment in the capacity expansion
After configuration parameter information, described configuration parameter information can be shown to user by described mobile terminal, in order to user understands described
Mobile terminal by the size of dilatation, and can be used for the brand of storage card of dilatation, model etc..
During it addition, the described mobile terminal in the embodiment of the present invention is written and read scanning to described equipment in the capacity expansion, it is also possible to
Obtain the file that in described equipment in the capacity expansion, storage card is stored, such as audio file, video file, picture etc..
S102: generate the file system of described storage card, described file system according to the configuration parameter information of described storage card
System includes the file of storage in described storage card, and described file system realizes literary composition for utilizing the memory space of described storage card
Part stores.
In the embodiment of the present invention, described mobile terminal is after the configuration parameter information obtaining described storage card, according to described
The configuration parameter information of storage card generates the file system of described storage card.Concrete, described file system is used for utilizing described
The memory space of storage card realizes file storage, real-time the reflecting in described storage card of storage condition of described file system
Storage condition.The memory capacity of described file system is identical with the memory capacity of described storage card, utilizes the file system generated
Realize the dilatation of described mobile terminal.
In practical operation, after generating described file system, in the described storage card that will obtain, the file of storage is first placed into
In described file system, to embody the storage condition of described storage card.
S103: when detect that user triggers when being stored in the operation of file to described file system, described mobile terminal will
After the format conversion of described file is stream file format, it is stored in described file system.
In a kind of implementation, user can import button by clicking on the file preset, and triggers to described file system
It is stored in the operation of file.In another kind of implementation, user can also trigger to institute by dragging file extremely described file system
State file system and be stored in the operation of file.The operation format that concrete triggering is stored in file to file system is not limited to above two
Kind.
Owing in described file system, the file of storage exists with stream file format, so, when described mobile terminal
Detecting that user triggers when described file system is stored in the operation of file, described mobile terminal is first by the form of described file
It is converted into stream file format.Then, the file after described mobile terminal will convert form is stored in described file system, it is achieved
Utilize the memory space in addition to the memory space of described mobile terminal self, it is achieved the storage of file, indirectly reached for institute
State the purpose of mobile terminal dilatation.
It addition, it is emphasized that the file system that the embodiment of the present invention generates can receive the file of various form, only
Needed before being stored in described file system, be stream file format by the format conversion of file.
In a word, in the method carrying out dilatation for mobile terminal that the embodiment of the present invention provides, first, mobile terminal reads institute
State the file of storage in the configuration parameter information of storage card in equipment in the capacity expansion and described storage card.Secondly, described mobile terminal root
Configuration parameter information according to described storage card generates the file system of described storage card, and described file system includes described storage
The file of storage in card, described file system realizes file storage for utilizing the memory space of described storage card.When detecting
User trigger when described file system is stored in the operation of file, described mobile terminal by the format conversion of described file for stream
After file format, it is stored in described file system.The present invention utilizes the memory space of storage card to carry out the storage of file, quite
In the stored file space expanding mobile terminal, it is achieved that for the purpose of described mobile terminal dilatation.
It addition, on the basis of above-described embodiment, the embodiment of the present invention additionally provides one and carries out dilatation for mobile terminal
Method, with reference to Fig. 2, the another kind provided for the embodiment of the present invention is the method flow diagram that mobile terminal carries out dilatation, wherein,
Described method is applied to mobile terminal, and described mobile terminal is connected with equipment in the capacity expansion, described equipment in the capacity expansion embedded memory card.Described
Method specifically includes:
S202: mobile terminal is that described file system generates homepage IP address, and described homepage IP address is used for accessing described
The homepage of file system.
The file system that the embodiment of the present invention generates has homepage, and described homepage is the entrance accessing described file system.
For the ease of user's access to described file system, described mobile terminal is that described file system generates homepage IP address, uses
In the homepage accessing described file system.
In practical operation, described homepage IP address can be shared to third party software, the use of described third party software
Family, according to described homepage IP address, can realize the access to described file system in described third party software.Further,
User the file (such as the picture produced in qq software, video etc.) produced in described third party software can be stored in as described in file
In system, make full use of the memory space of dilatation.
The IP address that each file generated that S204: described mobile terminal is respectively in described file system is corresponding, described
IP address identifies each file for unique.
S206: generate IP address list, described IP address list include in described file system the title of each file with
The corresponding relation of IP address.
S208: share described IP address list, in order to user can access according to the IP address in described IP address list
File in described file system.
S210: when receiving the file query requests carrying any IP address, in described file system, location is described
The file that IP address is corresponding.
Each file in described file system is checked by user for convenience, and described mobile terminal is respectively described file
The IP address that each file generated in system is corresponding, identifies each file for unique.It addition, described mobile terminal can be by
In described file system, the title of each file is recorded in an IP address list with corresponding IP address, and by this IP address
List is shared with other users, in order to during user is according in this IP address list, the IP address of record accesses described file system
File.
IP address list in the embodiment of the present invention can also be shared to third party software, described third party software
User can be according to the IP address of record in described IP address list, it is achieved to described file system in described third party software
In the access of arbitrary file.
A kind of concrete implementation mode is, first, described mobile terminal receives appoints from carrying of arbitrary third party software
The file query requests of one IP address.Secondly, according to described IP address, described file system positions described IP address corresponding
File.Finally, described file is shown in described third party software.
The method carrying out dilatation for mobile terminal that the embodiment of the present invention provides, is possible not only to generate for described file system
Homepage IP address, and can also be each file generated IP address in described file system, by homepage IP address, each literary composition
The IP address of part is shared to third party software, it is possible to provide the entrance accessing described file system for third party software, thus
Memory space for mobile terminal dilatation is fully utilized.
From the angle of unit protection, the embodiment of the present invention additionally provides a kind of device carrying out dilatation for mobile terminal, ginseng
Examine Fig. 3, a kind of apparatus structure schematic diagram carrying out dilatation for mobile terminal provided for the embodiment of the present invention.Described device is applied
In mobile terminal, described mobile terminal is connected with equipment in the capacity expansion, described equipment in the capacity expansion embedded memory card, and described device includes:
Read module 310, in configuration parameter information and the described storage card reading storage card in described equipment in the capacity expansion
The file of storage;
First generation module 320, generates the file of described storage card for the configuration parameter information according to described storage card
System, described file system includes the file of storage in described storage card, and described file system is used for utilizing described storage card
Memory space realize file storage;
Conversion module 330, for when detect that user triggers when being stored in the operation of file to described file system, by institute
State after the format conversion of file is stream file format, be stored in described file system.
For the ease of user's access to described file system, described mobile terminal is that described file system generates homepage IP
Address, for accessing the homepage of described file system.
Concrete, described device can also include:
Second generation module, for generating homepage IP address for described file system, described homepage IP address is used for accessing
The homepage of described file system.
Each file in described file system is checked by user for convenience, and described mobile terminal is respectively described file
The IP address that each file generated in system is corresponding.
Concrete, described device can also include:
3rd generation module, the IP address that each file generated in the most described file system is corresponding, described
IP address identifies each file for unique;
Locating module, for when receiving the file query requests carrying any IP address, in described file system
Position the file that described IP address is corresponding.
Described locating module, including:
Receive submodule, for receiving the file query requests carrying any IP address from arbitrary third party software;
Locator module, for according to described IP address, positions the literary composition that described IP address is corresponding in described file system
Part;
Display sub-module, for showing described file in described third party software.
So that the memory space for mobile terminal dilatation can be fully utilized, the IP address of generation can be divided
Enjoy.
Concrete, described device can also include:
4th generation module, is used for generating IP address list, and described IP address list includes in described file system each
The title of file and the corresponding relation of IP address;
Sharing module, is used for sharing described IP address list, in order to user can be according to the IP in described IP address list
Address accesses the file in described file system.
In a word, what the embodiment of the present invention provided carry out the device of dilatation for mobile terminal is capable of following functions: read
The file of storage in the configuration parameter information of storage card and described storage card in described equipment in the capacity expansion.According to joining of described storage card
Putting parameter information and generate the file system of described storage card, described file system includes the file of storage in described storage card,
Described file system realizes file storage for utilizing the memory space of described storage card.When detect that user triggers to described
When file system is stored in the operation of file, after the format conversion of described file is stream file format, it is stored in described file system
In system.The present invention utilizes the memory space of storage card to carry out the storage of file, is equivalent to expand the stored literary composition of mobile terminal
Part space, it is achieved that for the purpose of described mobile terminal dilatation.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact
The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component
The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also
It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, i.e. it is appreciated that and implements.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
Thered is provided the embodiment of the present invention above a kind of carry out the method and device of dilatation for mobile terminal and has carried out in detail
Thin introducing, principle and the embodiment of the present invention are set forth by specific case used herein, saying of above example
Bright method and the core concept thereof being only intended to help to understand the present invention;Simultaneously for one of ordinary skill in the art, foundation
The thought of the present invention, the most all will change, and in sum, this specification content is not
It is interpreted as limitation of the present invention.