CN104699765A - Data saving method and mobile terminal - Google Patents

Data saving method and mobile terminal Download PDF

Info

Publication number
CN104699765A
CN104699765A CN201510080588.0A CN201510080588A CN104699765A CN 104699765 A CN104699765 A CN 104699765A CN 201510080588 A CN201510080588 A CN 201510080588A CN 104699765 A CN104699765 A CN 104699765A
Authority
CN
China
Prior art keywords
data
target data
storage rule
described target
default
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
CN201510080588.0A
Other languages
Chinese (zh)
Other versions
CN104699765B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510080588.0A priority Critical patent/CN104699765B/en
Publication of CN104699765A publication Critical patent/CN104699765A/en
Application granted granted Critical
Publication of CN104699765B publication Critical patent/CN104699765B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a data saving method and a mobile terminal. The data saving method comprises the following steps: acquiring a preset data storage rule; according to the preset data storage rule, searching in source data; when target data matched with the data storage rule is searched and found out in the source data, saving the target data to a corresponding target path. By the data saving method, the intelligence of the mobile terminal can be improved and the time for a user to search the data is saved.

Description

A kind of date storage method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of date storage method and mobile terminal.
Background technology
Along with the capacity of mobile terminal is increasing, user can store a large amount of data on mobile terminals, such as application program, video, song, theme, wallpaper, photo etc.At present, mobile terminal is all realized by the manual operation of user when obtaining and store data, such as, the data that user can like oneself carry out clicking operation, to download this data, and manually select the store path of these data, but existing this mode may make user effort a large amount of time search required data.
Summary of the invention
The embodiment of the present invention provides a kind of date storage method and mobile terminal, and mobile terminal can be made to obtain more intelligently and store data.
Embodiment of the present invention first aspect provides a kind of date storage method, can comprise:
Obtain the data storage rule preset;
Search in source data according to described default data storage rule;
When searching the target data matched with described data storage rule in described source data, described target data is stored to corresponding destination path.
Embodiment of the present invention second aspect provides a kind of mobile terminal, can comprise:
Acquiring unit, for obtaining default data storage rule;
Search unit, for searching in source data according to described default data storage rule;
Storage unit, for when searching the target data matched with described data storage rule in described source data, is stored to corresponding destination path by described target data.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of date storage method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of date storage method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of another date storage method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of mobile terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of mobile terminal that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 is the structural representation of the search unit provided embodiment illustrated in fig. 5;
Fig. 7 is the structural representation of the storage unit provided embodiment illustrated in fig. 5.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of date storage method that the embodiment of the present invention provides and mobile terminal, the scene of mobile terminal storing data automatically can be applied to, such as: the described mobile terminal application program that automatic search download is the highest on software store or downloading web pages scene under being stored in corresponding destination path; When application program has redaction to issue, the application program of described mobile terminal automatic acquisition new edition the scene etc. of downloaded stored under the destination path of correspondence.At present, mobile terminal is all search for according to the selection instruction of user and store the data needed for user, user's a large amount of time can be wasted in the process of search data, when there being the data publication of redaction, described mobile terminal is that reminding user can be upgraded, but still need the manual operation of user just can complete down loading updating, there is very strong dependence.The embodiment of the present invention can automatic search store data, for user save a large amount of time while provide better experience for user, and improve the intelligent of mobile terminal.
The date storage method that the embodiment of the present invention provides, wherein, described data can include but not limited to that application program, individual Sexual Themes, individual character wallpaper, song, video, picture etc. can be stored in the data of mobile terminal.Mobile terminal in the embodiment of the present invention can include but not limited to the electronic equipments such as notebook computer, mobile phone, PAD (panel computer), intelligent wearable device.
The date storage method provided below in conjunction with accompanying drawing 1-accompanying drawing 3 pairs of embodiment of the present invention describes in detail.
Refer to Fig. 1, be the schematic flow sheet of a kind of date storage method that the embodiment of the present invention provides, the method can comprise step S101-step S103.
S101, obtains the data storage rule preset.
In embodiments of the present invention, described default data storage rule is the data characteristics Element generation that inputs according to user, and wherein, described data characteristics element comprises at least one in attention rate, download, version value, grading system.User can arrange described default data storage rule when using mobile terminal first, setting data storage rule when also when each start or can need usage data memory function.
Concrete, the data storage rule that described acquisition for mobile terminal is preset, the data characteristics Element generation that described default data storage rule not only can input according to user can also be the data storage rule of system default.Such as, the data characteristics element that user inputs be attention rate rank first three.Described default data storage rule both may reside in certain application program, also can be integrated in the system of described mobile terminal, such as, described mobile terminal comprises the application program that name is called software store, and described default data storage rule is used for carrying out search to the application program included by described software store and stores.
S102, searches in source data according to described default data storage rule.
Concrete, described mobile terminal is after getting described default data storage rule, can search in source data according to the data characteristics element in described default data storage rule, wherein, described source data is determined according to specific circumstances, when described default data storage rule is for described software store application program, described source data is all application programs in described software store; When the individual Sexual Themes of described default data storage rule for certain social software, described source data is all the Sexual Themes that described social software provides; When described default data storage rule is for certain music player software, described source data is all music that this music player software provides.
When described mobile terminal searches the data matched with the data characteristics element in described default data storage rule in described source data, the described data matched are defined as target data, such as, data characteristics element in described default data storage rule is first three application program of download rank, in the application program of described software store, search first three application program of described download rank, first three application program of described download rank is defined as described target data.
S103, when searching the target data matched with described data storage rule in described source data, is stored to corresponding destination path by described target data.
Concrete, when described mobile terminal searches the target data matched with described data storage rule in described source data, obtain the data type of described target data, and described target data is stored to the destination path corresponding with the data type of described target data.Usually, described acquisition for mobile terminal to target data all carry the attribute information of described target data, described attribute information comprises the information such as the network address of data type, data volume, data, general described data type can be obtained by the suffix name of identification data title, such as, the suffix " mp3 " by name of song, suffix " flv ", " mov " etc. by name of video.When described target data comprises three songs, automatically described three songs are stored to the destination path corresponding with music, when target data is also song next time, automatic equally song is stored to the destination path corresponding with music, user is so just facilitated under the destination path stored, to search described target data according to data type, avoid user forget after a period of time has passed before the store path manually selected, the personalization realizing mobile terminal stores.
Along with the internal memory of described mobile terminal is increasing, the data that can hold also get more and more, can store the prerequisite of mass data at described mobile terminal under, described target data is stored to the destination path corresponding with the data type of described target data by the data type according to described target data.If the limited memory of described mobile terminal, need store according to the data volume of described target data when storing described target data.Described mobile terminal judges whether the data volume of described target data is greater than default data-quantity threshold, and described default data-quantity threshold can be the threshold value that system is given tacit consent to according to the amount of ram of described mobile terminal, also can be the threshold value that user is arranged.When the result judged is as being, obtain the network address that described target data is corresponding, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data; When the result judged is no, described target data is stored to the destination path corresponding with the data type of described target data.The target data of autostore so just can be avoided to take a large amount of internal memories.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data, facilitate user simultaneously and search according to destination path, manage the data stored.
Refer to Fig. 2, be the schematic flow sheet of the another kind of date storage method that the embodiment of the present invention provides, the method can comprise step S201-step S206.
S201, according to inputted data characteristics Element generation data storage rule.
Wherein, described data characteristics element comprises at least one in attention rate, download, version value, grading system.User can arrange described default data storage rule when using mobile terminal first, setting data storage rule when also when each start or can need usage data memory function.The data characteristics Element generation data storage rule that mobile terminal inputs according to user, such as, the data characteristics element that user inputs is that attention rate is the highest and version value is up-to-date.
S202, obtains the data storage rule preset.
Concrete, the data storage rule that described acquisition for mobile terminal is preset, the data characteristics Element generation that described default data storage rule not only can input according to user can also be the data storage rule of system default.Such as, the data characteristics element that user inputs be attention rate rank first three.Described default data storage rule both may reside in certain application program, also can be integrated in the system of described mobile terminal, such as, described mobile terminal comprises the application program that name is called software store, and described default data storage rule is used for carrying out search to the application program included by described software store and stores.
S203, searches in source data according to the data characteristics element in described default data storage rule.
Concrete, described mobile terminal is after getting described default data storage rule, just search in source data according to the data characteristics element in described default data storage rule, wherein, described source data is determined according to specific circumstances, when described default data storage rule is for described software store application program, described source data is all application programs in described software store; When the individual Sexual Themes of described default data storage rule for certain social software, described source data is all the Sexual Themes that described social software provides; When described default data storage rule is for certain music player software, described source data is all music that this music player software provides.
The described data matched, when searching the data matched with the data characteristics element in described default data storage rule in described source data, are defined as target data by S204.
Concrete, when described mobile terminal searches the data matched with the data characteristics element in described default data storage rule in described source data, the described data matched are defined as target data, such as, data characteristics element in described default data storage rule is first three application program of download rank, in the application program of described software store, search first three application program of described download rank, first three application program of described download rank is defined as described target data.
S205, when searching the target data matched with described data storage rule in described source data, obtains the data type of described target data.
Concrete, when described mobile terminal searches the target data matched with described data storage rule in described source data, obtain the data type of described target data and described target data.Usually, described acquisition for mobile terminal to target data all carry the attribute information of described target data, described attribute information comprises the information such as the network address of data type, data volume, data, general described data type can be obtained by the suffix name of identification data title, such as, the suffix " mp3 " by name of song, suffix " flv ", " mov " etc. by name of video.
S206, is stored to the destination path corresponding with the data type of described target data by described target data.
Concrete, described target data is stored to the destination path corresponding with the data type of described target data according to the data type of the described target data got by described mobile terminal.Such as, when described target data comprises three songs, automatically described three songs are stored to the destination path corresponding with music, when target data is also song next time, automatic equally song is stored to the destination path corresponding with music, so just facilitate user under the destination path stored, to search described target data according to data type, avoid user forget after a period of time has passed before the store path manually selected, the personalization realizing mobile terminal stores.
Along with the internal memory of described mobile terminal is increasing, the data that can hold also get more and more, can store the prerequisite of mass data at described mobile terminal under, described target data is stored to the destination path corresponding with the data type of described target data by the data type according to described target data.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, realize mobile terminal according to the data storage rule storing data automatically preset, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data, facilitate user to search according to destination path simultaneously, manage the data stored.
Refer to Fig. 3, be the schematic flow sheet of another date storage method that the embodiment of the present invention provides, the method can comprise step S301-step S308.
S301, according to inputted data characteristics Element generation data storage rule.
S302, obtains the data storage rule preset.
S303, searches in source data according to the data characteristics element in described default data storage rule.
The described data matched, when searching the data matched with the data characteristics element in described default data storage rule in described source data, are defined as target data by S304.
S305, when searching the target data matched with described data storage rule in described source data, obtains the data type of described target data.
The specific implementation of the step S301-step S305 of the embodiment of the present invention can the step S201-step S205 of embodiment shown in Figure 2, does not repeat them here.
S306, obtains the data volume of described target data, and judges whether the data volume of described target data is greater than default data-quantity threshold.
When the limited memory of described mobile terminal, the described target data of direct storage may take a large amount of internal memories, thus affect the operational efficiency of described mobile terminal, therefore, when storing described target data, the data volume of described target data need be obtained and judge whether the data volume of described target data is greater than default data-quantity threshold.Wherein, described default data-quantity threshold can be the threshold value that system is given tacit consent to according to the amount of ram of described mobile terminal, also can be the threshold value that user is arranged, and the threshold value of such as system default is 30M.
S307, when the result judged is as being, obtains the network address that described target data is corresponding, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data.
Concrete, when the result judged is as being, be understandable that the data volume of described target data is greater than described default data-quantity threshold, direct storage may take certain memory headroom, therefore described mobile terminal obtains the network address corresponding to described target data from described source data, target data is compared itself in the network address, the memory headroom taken is less, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data.Such as, described target data is certain application program that download is the highest, the data volume of this application program is 50M, and described default data-quantity threshold is 30M, the described network address is also stored to the destination path corresponding with described target data by the network address of described this application program of acquisition for mobile terminal.
S308, when the result judged is no, is stored to the destination path corresponding with the data type of described target data by described target data.
Concrete, when the result judged is no, be understandable that the data volume of described target data is less than described default data-quantity threshold, described target data directly can be stored to the destination path corresponding with the data type of described target data by described mobile terminal.
By judging whether the data volume of described target data is greater than described default data-quantity threshold, the target data of autostore can be avoided to take a large amount of memory headrooms, especially when the number of described target data is many.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data, facilitate user simultaneously and search according to destination path, manage the data stored.Whether the embodiment of the present invention is also greater than according to the data volume of target data the network address that default data-quantity threshold decides to store target data itself or target data, can save memory headroom.
The mobile terminal provided below in conjunction with accompanying drawing 4-accompanying drawing 7 pairs of embodiment of the present invention describes in detail.It should be noted that, the terminal shown in accompanying drawing 4-accompanying drawing 7, for performing the method for Fig. 1 of the present invention-embodiment illustrated in fig. 3, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1-Fig. 3 of the present invention.
Referring to Fig. 4, is the structural representation of a kind of mobile terminal provided by the invention; This terminal 10 can comprise: acquiring unit 101, search unit 102 and storage unit 103.
Acquiring unit 101, for obtaining default data storage rule.
In specific implementation, described default data storage rule is the data characteristics Element generation that inputs according to user, and wherein, described data characteristics element comprises at least one in attention rate, download, version value, grading system.User can arrange described default data storage rule when using mobile terminal 10 first, setting data storage rule when also when each start or can need usage data memory function.Described acquiring unit 101 obtains the data storage rule preset, and the data characteristics Element generation that described default data storage rule not only can input according to user can also be the data storage rule of system default.Such as, the data characteristics element that user inputs be attention rate rank first three.Described default data storage rule both may reside in certain application program, also can be integrated in the system of described mobile terminal, such as, described mobile terminal 10 comprises the application program that name is called software store, and described default data storage rule is used for carrying out search to the application program included by described software store and stores.
Search unit 102, for searching in source data according to described default data storage rule.
In specific implementation, described acquiring unit 101 is after getting described default data storage rule, described search unit 102 can be searched in source data according to the data characteristics element in described default data storage rule, wherein, described source data is determined according to specific circumstances, when described default data storage rule is for described software store application program, described source data is all application programs in described software store; When the individual Sexual Themes of described default data storage rule for certain social software, described source data is all the Sexual Themes that described social software provides; When described default data storage rule is for certain music player software, described source data is all music that this music player software provides.
When described search unit 102 searches the data matched with the data characteristics element in described default data storage rule in described source data, the described data matched are defined as target data by described mobile terminal 10, such as, data characteristics element in described default data storage rule is first three application program of download rank, in the application program of described software store, search first three application program of described download rank, first three application program of described download rank is defined as described target data.
Storage unit 103, for when searching the target data matched with described data storage rule in described source data, is stored to corresponding destination path by described target data.
In specific implementation, when described search unit 102 searches the target data matched with described data storage rule in described source data, described storage unit 103 obtains the data type of described target data, and described target data is stored to the destination path corresponding with the data type of described target data.Usually, the target data that described mobile terminal 10 gets all carries the attribute information of described target data, described attribute information comprises the information such as the network address of data type, data volume, data, general described data type can be obtained by the suffix name of identification data title, such as, the suffix " mp3 " by name of song, suffix " flv ", " mov " etc. by name of video.When described target data comprises three songs, automatically described three songs are stored to the destination path corresponding with music, when target data is also song next time, automatic equally song is stored to the destination path corresponding with music, user is so just facilitated under the destination path stored, to search described target data according to data type, avoid user forget after a period of time has passed before the store path manually selected, the personalization realizing mobile terminal stores.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data, facilitate user simultaneously and search according to destination path, manage the data stored.
Referring to Fig. 5, is the structural representation of another kind of mobile terminal provided by the invention; This terminal 20 can comprise: generation unit 201, acquiring unit 202, search unit 203 and storage unit 204.
Generation unit 201, for according to inputted data characteristics Element generation data storage rule.
In specific implementation, the data characteristics Element generation data storage rule that described generation unit 201 inputs according to user, wherein, described data characteristics element comprises at least one in attention rate, download, version value, grading system.User can arrange described default data storage rule when using mobile terminal first, setting data storage rule when also when each start or can need usage data memory function.Such as, the data characteristics element that user inputs is that attention rate is the highest and version value is up-to-date.
Acquiring unit 202, for obtaining default data storage rule.
In specific implementation, described acquiring unit 202 obtains the data storage rule preset, and the data characteristics Element generation that described default data storage rule not only can input according to user can also be the data storage rule of system default.Such as, the data characteristics element that user inputs be attention rate rank first three.Described default data storage rule both may reside in certain application program, also can be integrated in the system of described mobile terminal, such as, described mobile terminal 20 comprises the application program that name is called software store, and described default data storage rule is used for carrying out search to the application program included by described software store and stores.
Search unit 203, for searching in source data according to described default data storage rule.
In specific implementation, the described default data storage rule that described search unit 203 gets according to described acquiring unit 202 is searched in source data, wherein, described source data is determined according to specific circumstances, when described default data storage rule is for described software store application program, described source data is all application programs in described software store; When the individual Sexual Themes of described default data storage rule for certain social software, described source data is all the Sexual Themes that described social software provides; When described default data storage rule is for certain music player software, described source data is all music that this music player software provides.
Concrete, refer to Fig. 6, be the structural representation of the search unit that the embodiment of the present invention provides, as shown in Figure 6, shown search unit 203 can comprise data search unit 2301 and data determination unit 2302.
Data search unit 2301, for searching in source data according to the data characteristics element in described default data storage rule.
In specific implementation, described data search unit 2301 is searched in source data according to the data characteristics element in described default data storage rule.
The described data matched, for when searching the data matched with the data characteristics element in described default data storage rule in described source data, are defined as target data by data determination unit 2302.
In specific implementation, when described data search unit 2301 when searching the data matched with the data characteristics element in described default data storage rule in described source data, the described data matched are defined as target data by described data determination unit 2302.Such as, data characteristics element in described default data storage rule is first three application program of download rank, in the application program of described software store, search first three application program of described download rank, first three application program of described download rank is defined as described target data.
Storage unit 204, for when searching the target data matched with described data storage rule in described source data, is stored to corresponding destination path by described target data.
In specific implementation, when described search unit 203 searches the target data matched with described data storage rule in described source data, described target data is stored to corresponding destination path by described storage unit 204.
Concrete, refer to Fig. 7, for the structural representation of the storage unit that the embodiment of the present invention provides, as shown in Figure 7, shown storage unit 203 can comprise data capture unit 2401 and Destination Storage Unit 2402, and wherein said Destination Storage Unit 2402 comprises data volume judging unit 2412, first storage unit 2422 and the second storage unit 2432.
Data capture unit 2401, for when searching the target data matched with described data storage rule in described source data, obtains the data type of described target data.
In specific implementation, when described search unit 203 searches the target data matched with described data storage rule in described source data, described data capture unit 2401 obtains the data type of described target data and described target data.Usually, the target data that described data capture unit 2401 gets all carries the attribute information of described target data, described attribute information comprises the information such as the network address of data type, data volume, data, general described data type can be obtained by the suffix name of identification data title, such as, the suffix " mp3 " by name of song, suffix " flv ", " mov " etc. by name of video.
Destination Storage Unit 2402, for being stored to the destination path corresponding with the data type of described target data by described target data.
In specific implementation, described target data is stored to the destination path corresponding with the data type of described target data by described Destination Storage Unit 2402.When described mobile terminal limited memory, if the number of described target data is many and data volume that is described target data is larger, the described target data of autostore will take a large amount of storage spaces, thus affects the performance of described mobile terminal.Therefore, in the specific implementation of the embodiment of the present invention, described Destination Storage Unit 2402 comprises data volume judging unit 2412, first storage unit 2422 and the second storage unit 2432.
Data volume judging unit 2412, for obtaining the data volume of described target data, and judges whether the data volume of described target data is greater than default data-quantity threshold.
In specific implementation, described data volume judging unit 2412 obtains the data volume of described target data, and judge whether the data volume of described target data is greater than default data-quantity threshold, wherein, described default data-quantity threshold can be the threshold value that system is given tacit consent to according to the amount of ram of described mobile terminal, also can be the threshold value that user is arranged, the threshold value of such as system default be 30M.
First storage unit 2422, for when the result judged is as being, obtains the network address that described target data is corresponding, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data.
In specific implementation, when the result that described data volume judging unit 2412 judges is as being, be understandable that the data volume of described target data is greater than described default data-quantity threshold, direct storage may take certain memory headroom, therefore described mobile terminal 20 obtains the network address corresponding to described target data from described source data, target data is compared itself in the network address, the memory headroom taken is less, the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data by described first storage unit 2422.Such as, described target data is certain application program that download is the highest, the data volume of this application program is 50M, and described default data-quantity threshold is 30M, the described network address is also stored to the destination path corresponding with described target data by the network address of described this application program of acquisition for mobile terminal.
Second storage unit 2432, for when the result judged is no, is stored to the destination path corresponding with the data type of described target data by described target data.
In specific implementation, when the result that described data volume judging unit 2412 judges is no, be understandable that the data volume of described target data is less than described default data-quantity threshold, described target data directly can be stored to the destination path corresponding with the data type of described target data by described second storage unit 2432.
By judging whether the data volume of described target data is greater than described default data-quantity threshold, the target data of autostore can be avoided to take a large amount of memory headrooms, especially when the number of described target data is many.
In embodiments of the present invention, by obtaining default data storage rule and searching in source data according to the storage rule preset, when searching the target data matched with described data storage rule in source data, described target data is stored to corresponding destination path, mobile terminal is enable independently to obtain and store data, improve the intelligent of mobile terminal, and save the time of user search data, facilitate user simultaneously and search according to destination path, manage the data stored.Whether the embodiment of the present invention is also greater than according to the data volume of target data the network address that default data-quantity threshold decides to store target data itself or target data, can save memory headroom.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a date storage method, is characterized in that, comprising:
Obtain the data storage rule preset;
Search in source data according to described default data storage rule;
When searching the target data matched with described data storage rule in described source data, described target data is stored to corresponding destination path.
2. method according to claim 1, is characterized in that, before the data storage rule that described acquisition is preset, also comprises:
According to inputted data characteristics Element generation data storage rule, described data characteristics element comprises at least one in attention rate, download, version value, grading system.
3. method according to claim 2, is characterized in that, describedly searches in source data according to described default data storage rule, comprising:
Search in source data according to the data characteristics element in described default data storage rule;
When searching the data matched with the data characteristics element in described default data storage rule in described source data, the described data matched are defined as target data.
4. method according to claim 3, is characterized in that, described when searching the target data matched with described data storage rule in described source data, described target data is stored to corresponding destination path, comprises:
When searching the target data matched with described data storage rule in described source data, obtain the data type of described target data;
Described target data is stored to the destination path corresponding with the data type of described target data.
5. method according to claim 4, is characterized in that, described by destination path extremely corresponding with the data type of described target data for described target data storage, comprising:
Obtain the data volume of described target data, and judge whether the data volume of described target data is greater than default data-quantity threshold;
When the result judged is as being, obtain the network address that described target data is corresponding, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data;
When the result judged is no, described target data is stored to the destination path corresponding with the data type of described target data.
6. a mobile terminal, is characterized in that, comprising:
Acquiring unit, for obtaining default data storage rule;
Search unit, for searching in source data according to described default data storage rule;
Storage unit, for when searching the target data matched with described data storage rule in described source data, is stored to corresponding destination path by described target data.
7. terminal according to claim 6, is characterized in that, also comprises:
Generation unit, for according to inputted data characteristics Element generation data storage rule, described data characteristics element comprises at least one in attention rate, download, version value, grading system.
8. terminal according to claim 7, is characterized in that, described search unit comprises:
Data search unit, for searching in source data according to the data characteristics element in described default data storage rule;
The described data matched, for when searching the data matched with the data characteristics element in described default data storage rule in described source data, are defined as target data by data determination unit.
9. terminal according to claim 8, is characterized in that, described storage unit comprises:
Data capture unit, for when searching the target data matched with described data storage rule in described source data, obtains the data type of described target data;
Destination Storage Unit, for being stored to the destination path corresponding with the data type of described target data by described target data.
10. terminal according to claim 9, is characterized in that, described Destination Storage Unit, comprising:
Data volume judging unit, for obtaining the data volume of described target data, and judges whether the data volume of described target data is greater than default data-quantity threshold;
First storage unit, for when the result judged is as being, obtains the network address that described target data is corresponding, and the network address corresponding for described target data is stored to the destination path corresponding with the data type of described target data;
Second storage unit, for when the result judged is no, is stored to the destination path corresponding with the data type of described target data by described target data.
CN201510080588.0A 2015-02-12 2015-02-12 A kind of date storage method and mobile terminal Expired - Fee Related CN104699765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080588.0A CN104699765B (en) 2015-02-12 2015-02-12 A kind of date storage method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080588.0A CN104699765B (en) 2015-02-12 2015-02-12 A kind of date storage method and mobile terminal

Publications (2)

Publication Number Publication Date
CN104699765A true CN104699765A (en) 2015-06-10
CN104699765B CN104699765B (en) 2018-09-04

Family

ID=53346886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080588.0A Expired - Fee Related CN104699765B (en) 2015-02-12 2015-02-12 A kind of date storage method and mobile terminal

Country Status (1)

Country Link
CN (1) CN104699765B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132846A (en) * 2017-12-19 2018-06-08 广州阿里巴巴文学信息技术有限公司 The method, apparatus and terminal device of data sharing between a kind of application program
CN109408406A (en) * 2018-10-18 2019-03-01 深圳三地芯电子有限责任公司 The date storage method and storage medium of flash memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799634A (en) * 2012-06-26 2012-11-28 中国农业银行股份有限公司 Data storage method and device
CN103838683A (en) * 2012-11-22 2014-06-04 华为终端有限公司 Method and device for data transmission
CN104268162A (en) * 2014-09-05 2015-01-07 广州三星通信技术研究有限公司 Data storage method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799634A (en) * 2012-06-26 2012-11-28 中国农业银行股份有限公司 Data storage method and device
CN103838683A (en) * 2012-11-22 2014-06-04 华为终端有限公司 Method and device for data transmission
CN104268162A (en) * 2014-09-05 2015-01-07 广州三星通信技术研究有限公司 Data storage method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132846A (en) * 2017-12-19 2018-06-08 广州阿里巴巴文学信息技术有限公司 The method, apparatus and terminal device of data sharing between a kind of application program
CN109408406A (en) * 2018-10-18 2019-03-01 深圳三地芯电子有限责任公司 The date storage method and storage medium of flash memory
CN109408406B (en) * 2018-10-18 2023-02-14 深圳三地一芯电子有限责任公司 Data storage method and storage medium of flash memory

Also Published As

Publication number Publication date
CN104699765B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN106031127B (en) Method and apparatus for management of applications
JP2010250023A (en) Information processing apparatus with text display function, and data acquisition method and data acquisition program
WO2008086250A1 (en) Prioritized data synchronization with host device
CN102902531A (en) Customization and generation method and device of Android application program
CN104331465A (en) Searching method and device for mobile terminal
CN105224318B (en) information processing method and electronic equipment
WO2015154577A1 (en) Application icon setting method and device
CN108415698A (en) The method that control is added in the technical ability of voice dialogue platform
US20170132020A1 (en) Code processing method and code processing device
CN102141926A (en) Application program management method, device and digital television set top box
CN104679900A (en) Application program searching method and device
CN104965826A (en) Search method and search apparatus based on a browser
US8595224B2 (en) Smart path finding for file operations
CN104916295A (en) Method and terminal for play control
CN106250182A (en) File processing method and device and electronic equipment
CN105354318A (en) File searching method and device
CN104869238A (en) Ringtone setting method and mobile terminal
CN104536990A (en) Picture display method and terminal
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
CN105117249A (en) Method and device for adding desktop widget on android terminal
CN104699765A (en) Data saving method and mobile terminal
CN103942327A (en) Information sharing method and device
CN104811795A (en) Online video playing method and online video playing device
CN105808674A (en) Picture display method and device and electronic equipment
JP2007249155A (en) Method of managing media file and media playback apparatus

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.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180904