CN104933091B - A kind of method and terminal of file management - Google Patents
A kind of method and terminal of file management Download PDFInfo
- Publication number
- CN104933091B CN104933091B CN201510254021.0A CN201510254021A CN104933091B CN 104933091 B CN104933091 B CN 104933091B CN 201510254021 A CN201510254021 A CN 201510254021A CN 104933091 B CN104933091 B CN 104933091B
- Authority
- CN
- China
- Prior art keywords
- terminal
- current location
- location information
- information
- file
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
- G06F16/639—Presentation of query results using playlists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
Abstract
The embodiment of the invention discloses a kind of method of file management and terminals.Method therein includes:When getting current location information of terminal, judge whether the current location information of terminal is consistent with preset position information;If the result judged is no, the file link information to match with the current location information of terminal is searched for according to the current location information of terminal;According to the file link information to match with the current location information of terminal, playlist is established;Export the playlist.The embodiment of the present invention also accordingly discloses a kind of terminal.Using the present invention, the file link information that can be matched with quick obtaining and current location information of terminal improves flexibility and the high efficiency of file management.
Description
Technical field
The present invention relates to field of information management more particularly to the methods and terminal of a kind of file management.
Background technology
With the development of mobile communication technology, amusement is carried out by terminal and is had become indispensable one in people's life
Part, such as carry out music using terminal as music player.
Currently, most of terminal music playlist generally can be divided into whole list of songs, download list of songs and most
Favorite list of songs, terminal system can scan for local music file, its file link information is put into whole
It in list of songs, or is downloaded by network, the music of download is put into and is downloaded in list of songs, and favorite song arranges
Table then needs terminal user to be added by way of inputting or selecting in the list, when user needs to add other row
When table, user is generally required by manually selecting newly-built list.It, may when user is from a place to another place
It wants to obtain different music lists due to the change in place, such as when user goes on business to some tourist city,
User wants to terminal push and the relevant music in the city, and current terminal is typically only capable to pass through manual search by user
Form go to establish music list, this greatly reduces the flexibility of file management and high efficiency, keeps user experience bad.
Invention content
The embodiment of the present invention provides a kind of method and terminal of file management, can be believed with quick obtaining and terminal current location
The matched file link information of manner of breathing improves flexibility and the high efficiency of file management.
An embodiment of the present invention provides a kind of methods of file management, including:
When getting current location information of terminal, judge whether are the current location information of terminal and preset position information
Unanimously;
If the result judged is no, according to current location information of terminal search and the current location information of terminal phase
Matched file link information;
According to the file link information to match with the current location information of terminal, playlist is established;
Export the playlist.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, including:
Judging unit, for when getting current location information of terminal, judge the current location information of terminal with it is pre-
If whether location information is consistent;
Search unit, if the result for judging is no, according to current location information of terminal search and the terminal
The file link information that current location information matches;
Unit is established in list, for according to the file link information to match with the current location information of terminal, establishing
Playlist;
Output unit, for exporting the playlist.
It, can be by judging the terminal present bit when getting current location information of terminal using the embodiment of the present invention
Confidence breath it is whether consistent with preset position information, if the result judged is no, according to the current location information of terminal search for and
The file link information that the current location information of terminal matches, is scanned for by current location information, can quickly be obtained
Take the file link information to match with current location information of terminal, and according to matching with the current location information of terminal
File link information establishes playlist, exports the playlist, eliminates the step that user voluntarily searches for and arranges the document
Suddenly, flexibility and the high efficiency of file management are improved.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of the method for file management provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another file management provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of search unit provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
In following all examples, terminal may include smart mobile phone, tablet computer, laptop, palm PC with
And mobile internet device (Mobile Internet Device, MID) etc..Mobile communication terminal in the present embodiment refers mainly to
The intelligent mobile mobile communication terminal device of such as smart mobile phone or tablet computer.
Fig. 1 is please referred to, is a kind of flow diagram of the method for file management provided in an embodiment of the present invention, this method packet
Include following steps S101-S104.
S101 judges that the current location information of terminal is believed with predeterminated position when getting current location information of terminal
Whether breath is consistent.
In the specific implementation, the current location information of terminal that the present embodiment can be got by basis, current with the terminal
Location information pushes information to user.Current intelligent terminal generally all has global positioning system (Global
Positioning System, GPS) positioning function, can by opening the GPS functions, to obtain current location information of terminal,
Can also be to work as the case where GPS can not get current location information of terminal or user's known terminal current location information occur
Under, it is obtained by user's input terminal current location information, the present embodiment is not limited to above two and obtains terminal present bit
Confidence breath mode, can also be by other approach that can obtain location information, such as by data network auxiliary positioning,
The modes such as sharing geographical location information get current location information of terminal etc..Preset position information in the present embodiment is mainly
Refer to permanent place or ownership place, can be in advance configured by user or obtains by other means.When getting end
When holding current location information, in fact it could happen that two kinds of situations:The first be the resident place that current location information of terminal is terminal or
Ownership place, i.e. terminal geographic position be it is local, at this time due to may be had been stored in terminal about with locally associated broadcasting
List, without creating the playlist about current location information of terminal again;Second of current location information of terminal is very
Guard station point or ownership place, i.e. terminal geographic position are other places, and terminal is likely to occur two kinds of situations at this time, have been deposited in a kind of terminal
There is the playlist to match with the current location information of terminal, the present embodiment is primarily directed to the second situation, i.e., currently
When location information is inconsistent with preset position information, there is no the played column expressions to match with current location information in terminal
Condition.
S102, if the result judged is no, according to current location information of terminal search and the terminal current location
The file link information of information match.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrate that terminal is currently at other places, function of search can be automatically turned on by current location information of terminal to search
The file link information that rope matches with current location information of terminal, wherein search can carry out in specified local folders
Search can also be by carrying out network connection, scanning on the remote server.In the present embodiment, local can be used
The form being combined with network, such as can preferentially be scanned for using to specified local folders, when search less than with end
When the file link information that end current location information matches, then pass through resource searching in network orientation remote data base and end
The file link information that end current location information matches, to get the final text to match with current location information of terminal
Part link information.
S103 establishes playlist according to the file link information to match with the current location information of terminal.
In the specific implementation, according to the file link information to match with current location information of terminal, playlist is established,
In the file link information that matches with current location information of terminal, can be the file chain named with current location information of terminal
Information is connect, can also be that file content is identical as current location information of terminal or relevant file link information, wherein file chain
It connects information and is primarily referred to as file store path, for searching corresponding file.Believe according to terminal current location in the present embodiment
The matched file link information of manner of breathing establishes playlist, can be the text that filename and current location information of terminal match
Part link information is associated, and file name is included in established playlist, can be selected by selecting file name
Corresponding file link information is selected, to obtain file and play out.
S104 exports the playlist.
In the specific implementation, the playlist having built up is exported, the mode of output can be by terminal
The playlist is popped up or only shown in total list after opening player to selection after allowing automatic spring, inquiry in setting option.
It, can be by when getting current location information of terminal using the embodiment of the present invention, it can be by judging the terminal
Whether current location information is consistent with preset position information, if the result judged is no, according to the current location information of terminal
The file link information that search matches with the current location information of terminal, is scanned for by current location information, can be with
The file link information that quick obtaining and current location information of terminal match, and according to the current location information of terminal phase
Matched file link information, establishes playlist, exports the playlist, eliminates user and voluntarily searches for and arrange the document
The step of, improve flexibility and the high efficiency of file management.
Fig. 2 is please referred to, for the flow diagram of the method for another file management provided in an embodiment of the present invention, this method
Include the following steps S201-S207.
S201 obtains current location information of terminal by the GPS of terminal.
In the specific implementation, the current location information of terminal that the present embodiment can be got by basis, current with the terminal
Location information pushes information to user.Current intelligent terminal generally all has GPS positioning function, can be somebody's turn to do by opening
GPS functions, to obtain current location information of terminal.In the present embodiment, GPS can be opened as terminal user and whether need to lead to
The mode for crossing positioning obtains the mark of pushed information, indicates that terminal user agrees to PUSH message as user opens GPS, can also
It is that the dialog box for whether carrying out message push pushed when terminal turns back on startup, PUSH message is chosen whether by user,
If user's selection is that terminal can automatically turn on GPS positioning function.
The present embodiment be not limited to it is above-mentioned current location information of terminal is obtained by the way of GPS, can also be when occur
In the case that GPS can not get current location information of terminal or user's known terminal current location information, inputted by user
Current location information of terminal obtains, and the present embodiment is not limited to the mode that above two obtains current location information of terminal,
Can such as pass through data network auxiliary positioning, shared geographical location letter by other approach that can obtain location information
The modes such as breath get current location information of terminal etc..
S202 obtains the information of home location of terminal according to the user identity identification SIM card of the terminal, by the ownership place
Information is set as preset position information.
In the specific implementation, being obtained according to the user identity identification (Subscriber Identity Module, SIM) of terminal card
The information of home location for taking terminal sets information of home location to preset position information, and terminal can obtain terminal current location letter
Preset position information is configured before breath, can also be after obtaining current location information of terminal to preset position information
It is configured.In the present embodiment, terminal obtains the information of home location of terminal by detecting SIM card by automatic detection mode, and
Using the information of home location as the preset position information of terminal, the preset position information in the present embodiment refers to permanent place,
It can be selected or input in preset selection information bar or input field to be configured by user.
S203 judges that the current location information of terminal is believed with predeterminated position when getting current location information of terminal
Whether breath is consistent.
In the specific implementation, when terminal user is in permanent place or ownership place, it is related due to that may be had existed in terminal
In the playlist of permanent place or ownership place or since user is to generating and permanent place or ownership place associated playlist
Unnecessary property makes terminal be not necessarily to newly-built playlist, therefore needs to make in permanent place or ownership place before newly-built playlist
For preset position information, and judge whether current location information of terminal is consistent with preset position information.It is current when getting terminal
When location information, in fact it could happen that two kinds of situations:The first is the resident place or ownership place that current location information of terminal is terminal,
I.e. terminal geographic position is local, at this time due to may be had been stored in terminal about with locally associated playlist, and
No longer need to the newly-built playlist about current location information of terminal;Second current location information of terminal be non-resident place or
Ownership place, i.e. terminal geographic position are other places, and terminal is likely to occur two kinds of situations at this time, had existed in a kind of terminal with should
The playlist that current location information of terminal matches, the present embodiment is primarily directed to the second situation, i.e. current location information
When inconsistent with preset position information, there is no the playlist situations to match with current location information in terminal.According to sentencing
Whether disconnected result, and detection terminal whether when detecting terminal opening network linkage function then hold by opening network linkage function
Row step S204 thens follow the steps S205 when detecting the non-opening network linkage function of terminal.
S204, it is current according to the terminal when detecting terminal opening network linkage function if the result judged is no
Location information searches for the file to match with the current location information of terminal in the network data base of the terminal and links letter
Breath.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrate that terminal is currently at other places, it, can basis at this time if when detecting terminal opening network linkage function
Current location information of terminal is searched in the network data base of terminal and links letter with the file that current location information of terminal matches
Breath.
S205, when detecting the non-opening network linkage function of terminal, works as if the result judged is no according to the terminal
Front position information is searched for the file to match with the current location information of terminal in the local folders of the terminal and is linked
Information.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrate that terminal is currently at other places, it, can basis at this time when detecting the non-opening network linkage function of terminal
Current location information of terminal is searched in the local folders of terminal and links letter with the file that current location information of terminal matches
Breath.The present embodiment is not limited to set search range above by network connecting function is judged whether, can also be using this
The form that ground and network are combined, such as can preferentially be scanned for using to specified local folders, when search less than with
When the file link information that current location information of terminal matches, then by resource searching in network orientation remote data base with
The file link information that current location information of terminal matches final is matched with current location information of terminal with getting
File link information.Include carrying terminal with the file link information that current location information of terminal matches in the present embodiment
The audio file or video file link information of current location information.Such as file link information can be and terminal current location
The related song category information of information name, such as when the current location information of terminal got is Beijing, with terminal current location
The file link information of information match be and the relevant song class file link information in Beijing.
S206 establishes playlist according to the file link information to match with the current location information of terminal.
In the specific implementation, according to the file link information to match with current location information of terminal, playlist is established,
In the file link information that matches with current location information of terminal, can be the file chain named with current location information of terminal
Information is connect, can also be that file content is identical as current location information of terminal or relevant file link information, wherein file chain
It connects information and is primarily referred to as file store path, for searching corresponding file.Believe according to terminal current location in the present embodiment
The matched file link information of manner of breathing establishes playlist, can be the text that filename and current location information of terminal match
Part link information is associated, and file name is included in established playlist, can be selected by selecting file name
Corresponding file link information is selected, to obtain file and play out.Such as when the current location information of terminal got is north
When capital, will get with the relevant song class file link information in Beijing be stored in in the associated file of playlist, and
The corresponding filename of this document link information is placed in playlist, is Beijing by the name nominating of the playlist.
S207 exports the playlist.
In the specific implementation, the playlist having built up is exported, the mode of output can be by terminal
The playlist is popped up or only shown in total list after opening player to selection after allowing automatic spring, inquiry in setting option.
Such as printed words information such as " whether entering Beijing playlist " is shown on a display screen, to provide user's selection.
Using the embodiment of the present invention, current location information of terminal can be obtained by the GPS of terminal, and according to the terminal
User identity identification SIM card obtains the information of home location of terminal, the information of home location is set to preset position information, with basis
The current location information of terminal of acquisition carries out file search and judges terminal present bit when getting current location information of terminal
Whether confidence breath is consistent with preset position information, if the result judged is no, when detecting terminal opening network linkage function,
The file chain to match with current location information of terminal is searched in the network data base of terminal according to current location information of terminal
Connect information, or when detecting the non-opening network linkage function of terminal, according to current location information of terminal terminal local text
The file link information that search matches with current location information of terminal in part folder, to realize according to current location information of terminal
File link information search is carried out, according to the file link information to match with the current location information of terminal, establishes and plays
List, and the playlist is exported, it has been provided to user and plays out selection, the present embodiment can be automatically according to terminal current location
Information carries out the search of associated documents link information, and establishes and export the playlist to user, and intelligent categorizing songs are given
User brings more intimate experience, while also improving flexibility and the high efficiency of file management.
Below in conjunction with Fig. 3-Fig. 5, describe in detail to terminal provided in an embodiment of the present invention.It should be noted that
Fig. 3-terminals shown in fig. 5, the method for executing Fig. 1 of the present invention and embodiment illustrated in fig. 2 are only shown for convenience of description
With relevant part of the embodiment of the present invention, particular technique details does not disclose, please refers to Fig. 1 of the present invention and reality shown in Fig. 2
Apply example.
Fig. 3 is please referred to, is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention, which includes such as placing an order
Member:Unit 13 and output unit 14 are established in judging unit 11, search unit 12, list.
Judging unit 11, for when getting current location information of terminal, judge the current location information of terminal with
Whether preset position information is consistent.
In the specific implementation, the current location information of terminal that the present embodiment can be got by basis, current with the terminal
Location information pushes information to user.Current intelligent terminal generally all has GPS positioning function, can be somebody's turn to do by opening
GPS functions, to obtain current location information of terminal, can also be when occur GPS can not get current location information of terminal or
In the case of user's known terminal current location information, obtained by user's input terminal current location information, the present embodiment
It is not limited to the mode that above two obtains current location information of terminal, can also be that can obtain location information by other
Approach, such as get current location information of terminal etc. by modes such as data network auxiliary positioning, sharing geographical location informations.
Preset position information in the present embodiment is primarily referred to as permanent place or ownership place, can be configured or led in advance by user
Other modes are crossed to be obtained.When getting current location information of terminal, in fact it could happen that two kinds of situations:The first works as terminal
Front position information is resident place or the ownership place of terminal, i.e. terminal geographic position is local, at this time due to may be in terminal
It is stored in about with locally associated playlist, without creating playlist about current location information of terminal again;
Second of current location information of terminal is non-resident place or ownership place, i.e. terminal geographic position is other places, and terminal may at this time
There are two kinds of situations, the playlist to match with the current location information of terminal, this implementation are had existed in a kind of terminal
Example that is, when getting current location information of terminal, judges present bit primarily directed to the second situation according to judging unit 11
When confidence ceases inconsistent with preset position information, there is no the playlist situations to match with current location information in terminal.
Search unit 12, if the result for judging is no, according to current location information of terminal search and the end
The file link information that end current location information matches.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrates that terminal is currently at other places, can automatically be opened by current location information of terminal according to search unit 12
Function of search is opened to search for the file link information to match with current location information of terminal, wherein search can be in specified sheet
It is scanned in ground file, can also be by carrying out network connection, scanning on the remote server.In the present embodiment
In, local and the form that network is combined can be used, such as can preferentially be scanned for using to specified local folders, when
When search is less than the file link information to match with current location information of terminal, then by network orientation remote data base
The file link information that resource searching and current location information of terminal match final is believed with getting with terminal current location
The matched file link information of manner of breathing.
Unit 13 is established in list, for according to the file link information to match with the current location information of terminal, building
Vertical playlist.
In the specific implementation, list establishes unit 13 according to the file link information to match with current location information of terminal,
Playlist is established, wherein the file link information to match with current location information of terminal, can be with terminal current location
The file link information of information name can also be that file content is identical as current location information of terminal or relevant file links
Information, wherein file link information is primarily referred to as file store path, for searching corresponding file.Basis in the present embodiment
Playlist is established with the file link information that current location information of terminal matches, can be by filename and terminal present bit
The matched file link information of confidence manner of breathing is associated, and file name is included in established playlist, can be passed through
File name is selected to select corresponding file link information, to obtain file and play out.
Output unit 14, for exporting the playlist.
In the specific implementation, output unit 14 exports the playlist having built up, the mode of output can be logical
It crosses to pop up or show in total list only after opening player after selection permission automatic spring, inquiry in the setting option of terminal and be somebody's turn to do
Playlist.
It, can be by when getting current location information of terminal using the embodiment of the present invention, it can be by judging the terminal
Whether current location information is consistent with preset position information, if the result judged is no, according to the current location information of terminal
The file link information that search matches with the current location information of terminal, is scanned for by current location information, can be with
The file link information that quick obtaining and current location information of terminal match, and according to the current location information of terminal phase
Matched file link information, establishes playlist, exports the playlist, eliminates user and voluntarily searches for and arrange the document
The step of, improve flexibility and the high efficiency of file management.
Fig. 4 is referred to, for an embodiment of the present invention provides the structural schematic diagrams of another terminal.As shown in figure 4, the device
May include:Unit 13, output unit 14, first acquisition unit 15 and ownership are established in judging unit 11, search unit 12, list
Ground setting unit 16;Wherein, the concrete structure of unit 13 and output unit 14 is established in judging unit 11, search unit 12, list
The description that may refer to embodiment illustrated in fig. 3, herein without repeating.
First acquisition unit 15, for obtaining current location information of terminal by the GPS of terminal.
In the specific implementation, the current location information of terminal that the present embodiment can be got by basis, current with the terminal
Location information pushes information to user.Current intelligent terminal generally all has GPS positioning function, can be obtained by first
Unit 15 opens the GPS functions, to obtain current location information of terminal.In the present embodiment, GPS can be opened and be used as terminal
Whether family needs to obtain the mark of pushed information by way of positioning, indicates that terminal user agrees to push away as user opens GPS
Message is sent, can also be that the dialog box for whether carrying out message push pushed when terminal turns back on startup, is being selected by user
Whether PUSH message, as user selection be that terminal can automatically turn on GPS positioning function.
The present embodiment be not limited to it is above-mentioned current location information of terminal is obtained by the way of GPS, can also be when occur
In the case that GPS can not get current location information of terminal or user's known terminal current location information, inputted by user
Current location information of terminal obtains, and the present embodiment is not limited to the mode that above two obtains current location information of terminal,
Can such as pass through data network auxiliary positioning, shared geographical location letter by other approach that can obtain location information
The modes such as breath get current location information of terminal etc..
Ownership place setting unit 16, the ownership place for obtaining terminal according to the user identity identification SIM card of the terminal
Information sets the information of home location to preset position information.
In the specific implementation, ownership place setting unit 16 obtains the information of home location of terminal according to the SIM card of terminal, will belong to
Ground information is set as preset position information, and terminal can set preset position information before obtaining current location information of terminal
It sets, can also be to be configured to preset position information after obtaining current location information of terminal.In the present embodiment, terminal is logical
Automatic detection mode is crossed, the information of home location of terminal is obtained by detecting SIM card, and using the information of home location as the pre- of terminal
If location information, the preset position information in the present embodiment refers to permanent place, can also be believed in preset selection by user
It is selected or input in breath column or input field to be configured.
Judging unit 11, for when getting current location information of terminal, judge the current location information of terminal with
Whether preset position information is consistent.
In the specific implementation, when terminal user is in permanent place or ownership place, it is related due to that may be had existed in terminal
In the playlist of permanent place or ownership place or since user is to generating and permanent place or ownership place associated playlist
Unnecessary property makes terminal be not necessarily to newly-built playlist, therefore needs to make in permanent place or ownership place before newly-built playlist
For preset position information, and judge whether current location information of terminal is consistent with preset position information by judging unit 11.When
When getting current location information of terminal, in fact it could happen that two kinds of situations:The first is that current location information of terminal is the normal of terminal
Guard station point or ownership place, i.e. terminal geographic position be it is local, at this time due to may be had been stored in terminal about with local phase
The playlist of pass, without creating the playlist about current location information of terminal again;Second of terminal current location letter
Breath is non-resident place or ownership place, i.e. terminal geographic position is other places, and terminal is likely to occur two kinds of situations, a kind of terminal at this time
In have existed the playlist to match with the current location information of terminal, the present embodiment is primarily directed to second of feelings
When condition, i.e. current location information are inconsistent with preset position information, there is no broadcast with what current location information matched in terminal
Emplace expression condition.
Search unit 12, if the result for judging is no, according to current location information of terminal search and the end
The file link information that end current location information matches.
Specifically, please with reference to Fig. 5, for an embodiment of the present invention provides the structural schematic diagrams of search unit.Such as Fig. 5 institutes
Show, described search unit 12 may include:Web search subelement 121 and local search subelement 122.
Web search subelement 121, if being no for the result that judges, when detecting terminal opening network linkage function
When, it is searched for and the current location information of terminal in the network data base of the terminal according to the current location information of terminal
The file link information to match.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrates that terminal is currently at other places, at this time if when detecting terminal opening network linkage function, can pass through
Web search subelement 121 is searched for according to current location information of terminal in the network data base of terminal to be believed with terminal current location
The matched file link information of manner of breathing.
Local search subelement 122, if being no for the result that judges, when detecting the non-opening network linkage function of terminal
When, it is searched for and the current location information of terminal in the local folders of the terminal according to the current location information of terminal
The file link information to match.
In the specific implementation, judging whether the current location information of terminal is consistent with preset position information, if the knot judged
When fruit is no, that is, illustrate that terminal is currently at other places, at this time when detecting the non-opening network linkage function of terminal, can pass through
Local search subelement 122 is searched for according to current location information of terminal in the local folders of terminal to be believed with terminal current location
The matched file link information of manner of breathing.The present embodiment is not limited to set search above by network connecting function is judged whether
Range can also be the form being combined using local and network, for example, can preferentially use to specified local folders into
Row search, when search is less than the file link information to match with current location information of terminal, then it is long-range by network orientation
The file link information that resource searching in database matches with current location information of terminal, to get final and terminal
The file link information that current location information matches.In the present embodiment, the file chain that matches with current location information of terminal
It includes carrying the audio file or video file link information of current location information of terminal to connect information.Such as file link information
Can be song category information related with current location information of terminal name, such as when the current location information of terminal got is north
When capital, it is and the relevant song class file link information in Beijing with the file link information that current location information of terminal matches.
Unit 13 is established in list, for according to the file link information to match with the current location information of terminal, building
Vertical playlist.
In the specific implementation, according to the file link information to match with current location information of terminal, unit 13 is established in list
Playlist is established, wherein the file link information to match with current location information of terminal, can be with terminal current location
The file link information of information name can also be that file content is identical as current location information of terminal or relevant file links
Information, wherein file link information is primarily referred to as file store path, for searching corresponding file.Basis in the present embodiment
Playlist is established with the file link information that current location information of terminal matches, can be by filename and terminal present bit
The matched file link information of confidence manner of breathing is associated, and file name is included in established playlist, can be passed through
File name is selected to select corresponding file link information, to obtain file and play out.Such as when the terminal got
When current location information is Beijing, it will get and be stored in the relevant song class file link information in Beijing and playlist
In associated file, and the corresponding filename of this document link information is placed in playlist, by the title of the playlist
It is named as Beijing.
Output unit 14, for exporting the playlist.
In the specific implementation, output unit 14 exports the playlist having built up, the mode of output can be logical
It crosses to pop up or show in total list only after opening player after selection permission automatic spring, inquiry in the setting option of terminal and be somebody's turn to do
Playlist.Such as printed words information such as " whether entering Beijing playlist " is shown on a display screen, to provide user's selection.
Using the embodiment of the present invention, current location information of terminal can be obtained by the GPS of terminal, and according to the terminal
User identity identification SIM card obtains the information of home location of terminal, the information of home location is set to preset position information, with basis
The current location information of terminal of acquisition carries out file search and judges terminal present bit when getting current location information of terminal
Whether confidence breath is consistent with preset position information, if the result judged is no, when detecting terminal opening network linkage function,
The file chain to match with current location information of terminal is searched in the network data base of terminal according to current location information of terminal
Connect information, or when detecting the non-opening network linkage function of terminal, according to current location information of terminal terminal local text
The file link information that search matches with current location information of terminal in part folder, to realize according to current location information of terminal
File link information search is carried out, according to the file link information to match with the current location information of terminal, establishes and plays
List, and the playlist is exported, it has been provided to user and plays out selection, the present embodiment can be automatically according to terminal current location
Information carries out the search of associated documents link information, and establishes and export the playlist to user, and intelligent categorizing songs are given
User brings more intimate experience, while also improving flexibility and the high efficiency of file management.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (8)
1. a kind of method of file management, which is characterized in that including:
Current location information of terminal is obtained by the GPS of terminal;Or
Receive current location information of terminal input by user;Or
Current location information of terminal is obtained by data network auxiliary positioning;
When getting current location information of terminal, judge the current location information of terminal and preset position information whether one
It causes, wherein the preset position information is the permanent residence or ownership place of the terminal, is configured in advance by the user;
If the result judged is no, that is, illustrate that the terminal is currently at other places, is searched for according to the current location information of terminal
The file link information to match with the current location information of terminal, wherein described search is in specified local folders
It carries out or is carried out on the remote server by network connection;
According to the file link information to match with the current location information of terminal, playlist is established, wherein described and institute
The file link information that current location information of terminal matches is stated, the file to be named with the current location information of terminal links
Information either file content is identical as the current location information of terminal or the relevant file link information, the file
Link information is the file store path, for searching the corresponding file;
The playlist is exported, the mode of the output is by selecting to allow appliance for releasing single in the setting option of the terminal
Go out, inquire after automatic spring or the playlist is only shown after opening player in total list.
2. according to the method described in claim 1, it is characterized in that, described when getting current location information of terminal, judgement
Before the location information and the whether consistent step of preset position information, further include:
Set the location information input by user received to preset position information;Or
The information of home location that terminal is obtained according to the user identity identification SIM card of the terminal, the information of home location is arranged
For preset position information.
3. according to the method described in claim 1-2 any one, which is characterized in that described to be believed according to the terminal current location
The file link information that breath search matches with the current location information of terminal, including:
When detecting terminal opening network linkage function, according to the current location information of terminal the terminal network number
According to the file link information that search matches with the current location information of terminal in library;
When detecting the non-opening network linkage function of terminal, according to the current location information of terminal in the local of the terminal
The file link information that search matches with the current location information of terminal in file.
4. according to the method described in claim 3, it is characterized in that, the text to match with the current location information of terminal
Part link information includes the audio file or video file link information for carrying current location information of terminal.
5. a kind of terminal, which is characterized in that including:
First acquisition unit, for obtaining current location information of terminal by the GPS of terminal;Or
Second acquisition unit, for receiving current location information of terminal input by user;Or
Third acquiring unit, for obtaining current location information of terminal by data network auxiliary positioning;
Judging unit, for when getting current location information of terminal, judging the current location information of terminal and default position
Whether confidence breath is consistent, wherein the preset position information is the permanent residence or ownership place of the terminal, advance by the user
It is configured;
Search unit illustrates that the terminal is currently at other places if the result for judging is no, current according to the terminal
Location information searches for the file link information to match with the current location information of terminal, wherein described search is specified
It carries out in local folders or is carried out on the remote server by network connection;
Unit is established in list, for according to the file link information to match with the current location information of terminal, establishing and playing
List, wherein the file link information to match with the current location information of terminal, for the terminal current location
The file link information of information name either file content is identical as the current location information of terminal or the relevant text
Part link information, the file link information are the file store path, for searching the corresponding file;
Output unit, for exporting the playlist, the mode of the output is by being selected in the setting option of the terminal
It selects automatic spring after allowing automatic spring, inquiry or only shows the playlist after opening player in total list.
6. terminal according to claim 5, which is characterized in that the terminal further includes:
Setting unit is inputted, for setting the location information input by user received to preset position information;Or
Ownership place setting unit, the information of home location for obtaining terminal according to the user identity identification SIM card of the terminal will
The information of home location is set as preset position information.
7. according to the terminal described in claim 5-6 any one, which is characterized in that described search unit includes:
Web search subelement, for when detecting terminal opening network linkage function, being believed according to the terminal current location
Cease the file link information that search matches with the current location information of terminal in the network data base of the terminal;
Local search subelement, for when detecting the non-opening network linkage function of terminal, according to the terminal current location
Information searches for the file link information to match with the current location information of terminal in the local folders of the terminal.
8. terminal according to claim 7, which is characterized in that the text to match with the current location information of terminal
Part link information includes the audio file or video file link information for carrying current location information of terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510254021.0A CN104933091B (en) | 2015-05-18 | 2015-05-18 | A kind of method and terminal of file management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510254021.0A CN104933091B (en) | 2015-05-18 | 2015-05-18 | A kind of method and terminal of file management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104933091A CN104933091A (en) | 2015-09-23 |
CN104933091B true CN104933091B (en) | 2018-09-04 |
Family
ID=54120259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510254021.0A Active CN104933091B (en) | 2015-05-18 | 2015-05-18 | A kind of method and terminal of file management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104933091B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559777B (en) * | 2015-09-25 | 2020-10-30 | 中国移动通信集团公司 | Communication processing method, network equipment and user equipment |
CN106101996A (en) * | 2016-05-24 | 2016-11-09 | 珠海市魅族科技有限公司 | A kind of data capture method and terminal |
CN109101158A (en) * | 2018-08-30 | 2018-12-28 | 广州酷狗计算机科技有限公司 | Import the method, apparatus and storage medium of list of songs |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819571A (en) * | 2012-07-19 | 2012-12-12 | 腾讯科技(深圳)有限公司 | Content acquisition method and device |
CN103516698A (en) * | 2012-06-29 | 2014-01-15 | 英华达(上海)科技有限公司 | Multimedia providing system and method based on geographical location |
-
2015
- 2015-05-18 CN CN201510254021.0A patent/CN104933091B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516698A (en) * | 2012-06-29 | 2014-01-15 | 英华达(上海)科技有限公司 | Multimedia providing system and method based on geographical location |
CN102819571A (en) * | 2012-07-19 | 2012-12-12 | 腾讯科技(深圳)有限公司 | Content acquisition method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104933091A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050221802A1 (en) | Message distribution system, server, mobile terminal, data storage unit, message distribution method, and message distribution computer program product | |
US7783590B2 (en) | Task selection apparatus and task selection assistance method | |
US7840344B2 (en) | Accessing content via a geographic map | |
CN100594359C (en) | Navigation system for interested site and operation method therefor | |
CN106095595B (en) | Information sharing method and terminal between a kind of application program | |
KR20040011397A (en) | Syetem for providing the words of a songs of digital audio files | |
CN102047249A (en) | Method and apparatus for aggregating and presenting data associated with geographic locations | |
WO2014082492A1 (en) | Mobile terminal, server, system and method for realizing searching | |
CN104933091B (en) | A kind of method and terminal of file management | |
CN102799639A (en) | File reading method and system based on mobile terminal | |
CN104685854A (en) | Method and system for providing social contact service based on music information | |
CN105824895A (en) | KTV song selection method and system | |
CN102291375B (en) | System and method for providing music file and music information | |
CN105262785A (en) | Song pre-ordering method, equipment and system | |
CN105072090A (en) | Method, system and computer-readable medium for synchronizing spot information | |
CN107193922B (en) | A kind of method and device of information processing | |
WO2007004139A2 (en) | Method of associating an audio file with an electronic image file, system for associating an audio file with an electronic image file, and camera for making an electronic image file | |
US20110264695A1 (en) | Systems and methods to process enquires by receving and processing user defined scopes first | |
CN104699765B (en) | A kind of date storage method and mobile terminal | |
CN104077287B (en) | A kind of information processing method and electronic equipment | |
JP2004342044A (en) | Customizing system for portable terminal, management server, portable terminal and program for portable terminal | |
CN205883592U (en) | On -vehicle guide system | |
Lopez-de-Ipina et al. | User-Aware semantic location models for service provision | |
US20230315685A1 (en) | System and method for digital information management | |
JP4596727B2 (en) | User Participation Type Information Deployment System and Mobile Information Terminal Displaying Multimedia Embedded Information Deployed by User Participation |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |