CN104376075A - Data storage method and device - Google Patents

Data storage method and device Download PDF

Info

Publication number
CN104376075A
CN104376075A CN201410648381.4A CN201410648381A CN104376075A CN 104376075 A CN104376075 A CN 104376075A CN 201410648381 A CN201410648381 A CN 201410648381A CN 104376075 A CN104376075 A CN 104376075A
Authority
CN
China
Prior art keywords
application
data
favorite
saved
assigned address
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
CN201410648381.4A
Other languages
Chinese (zh)
Other versions
CN104376075B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410648381.4A priority Critical patent/CN104376075B/en
Publication of CN104376075A publication Critical patent/CN104376075A/en
Application granted granted Critical
Publication of CN104376075B publication Critical patent/CN104376075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data storage method. The data storage method includes the steps that a collection item is displayed through a preset interface; whether an operation instruction specific to input of the collection item is received or not is judged; when the operation instruction specific to input of the collection item is received, data currently called by applications of a system foreground are saved to the specific position. Usable information found by a user can be collected uniformly, and therefore the problem that collection of usable information in the prior art is scattered is avoided.

Description

Data collecting method and device
Technical field
The disclosure relates to communication field, particularly relates to data collecting method and device.
Background technology
Along with the continuous innovation of smart machine, smart mobile phone of today is no longer not only as means of communication, a converter tools, and it develops the main office tools becoming user gradually.Therefore, how on smart mobile phone, efficient production and consumption information becomes very important problem.
When use smart mobile phone, when the information that user finds that there is, if want this information collection, in current realization, all realize based on being used for, therefore more scattered to the collection of useful information, may same information be scattering in different application.
Such as, the article that the public account of micro-letter pushes, user when reading, only so that the article read is stowed on individual micro-letter.When the article that micro-letter public number pushes is opened by user in the form of a link on mobile phone browser, also only the link of this article to be collected in a browser, therefore same one section of article, may be collected in different applications by user.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of data collecting method and device.
According to the first aspect of disclosure embodiment, provide a kind of data collecting method, described method comprises:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
Optionally, described when receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address and comprise:
When receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system;
The data that described each application is uploaded are saved in assigned address.
Optionally, described method also comprises:
When described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called;
The data extracted are saved in assigned address.
Optionally, the described data called according to the described each application of preset rules extraction comprise:
Identify the type of described each application;
When being applied as browser described in identifying, extract the displaying contents of the current webpage of accessing of described browser;
When being applied as player described in identifying, extract the current content play of described player;
When being applied as reader described in identifying, extract the current content of reading of described reader.
Optionally, described method also comprises:
When not extracting any data according to described preset rules, all the elements screenshotss in current interface are saved in assigned address.
Optionally, described assigned address be cloud server and/or by system specify arbitrary this locality application.
According to the second aspect of disclosure embodiment, provide a kind of data holding device fo, described device comprises:
Display module, presets interface display favorite for passing through;
Judge module, receives for judging whether the operational order inputted for described favorite;
Preserving module, for when receiving the operational order inputted for described favorite, the data that each application on system foreground is being called being saved in assigned address.
Optionally, described preservation module comprises:
Send submodule, for when receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system;
First preserves submodule, is saved in assigned address for the data described each application uploaded.
Optionally, described preservation module also comprises:
Extract submodule, for when described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called;
Second preserves submodule, is saved in assigned address for the data extracted by extraction submodule.
Optionally, described extraction submodule comprises:
Application identification submodule, for identifying the type of described each application;
First content extracts submodule, for when being applied as browser described in identifying, extracts the displaying contents of the current webpage of accessing of described browser;
Second contents extraction submodule, for when being applied as player described in identifying, extracts the current content play of described player;
3rd contents extraction submodule, for when being applied as reader described in identifying, extracts the current content of reading of described reader.
Optionally, described preservation module also comprises:
3rd preserves submodule, for when extracting submodule and not extracting any data according to described preset rules, all the elements screenshotss in current interface is saved in assigned address.
Optionally, described assigned address be cloud server and/or by system specify arbitrary this locality application.
According to the third aspect of disclosure embodiment, a kind of data holding device fo is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In above embodiment of the present disclosure, by showing favorite at default boundary user oriented, when receiving the operational order inputted for described favorite, automatically the data that each application on system foreground is being called are saved in assigned address, the useful information that can realize user finds carries out unified collection.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the schematic flow sheet of a kind of data collecting method according to an exemplary embodiment;
Fig. 2 is the schematic flow sheet of the another kind of data collecting method according to an exemplary embodiment;
Fig. 3 is the operation chart of the quick informing according to an exemplary embodiment;
Fig. 4 is the schematic block diagram of a kind of data holding device fo according to an exemplary embodiment;
Fig. 5 is the schematic block diagram of the another kind of data holding device fo according to an exemplary embodiment;
Fig. 6 is the schematic block diagram of the another kind of data holding device fo according to an exemplary embodiment;
Fig. 7 is the schematic block diagram of the another kind of data holding device fo according to an exemplary embodiment;
Fig. 8 is the schematic block diagram of the another kind of data holding device fo according to an exemplary embodiment;
Fig. 9 is a kind of structural representation for data holding device fo according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
As shown in Figure 1, Fig. 1 is a kind of data collecting method according to an exemplary embodiment, and this data collecting method is used for, in terminal, comprising the following steps:
In a step 101, by default interface display favorite.
In a step 102, judge whether to receive the operational order inputted for described favorite.
In the present embodiment, default interface can be the display interface (such as system desktop) of terminal; Favorite can be a system-level collection button when realizing.
For the MIUI system of millet company; this favorite can be a collection button in the drop-down quick informing on the system desktop top being arranged on terminal; usually such as GPS button, WIFI button can also be comprised in quick informing, offline mode button etc. when realizing.User can select whether to open collection function by operating collection button.Such as, for touch screen terminal, after user has found useful information, can drop-down described quick informing be passed through, select to open collection function with the position of collecting button described in finger touch.When user is by collecting button described in finger touch, the system background that can trigger to terminal sends an operational order, and system background, by judging whether to receive aforesaid operations instruction, judges whether to open collection function.
In step 103, when receiving the operational order for favorite input, the data that each application on system foreground is being called are saved in assigned address;
As previously mentioned, when user is opened after collection function by operation collection button, system background when have received the operational order triggered due to user operation collection button, each application transmission one collection instruction that can run to system foreground immediately; This collection instruction is used for each application that running of triggering system foreground, respectively applies the api interface that provides by the current data upload called to system background by system background to system foreground.
Wherein, the data type uploading to system background is respectively applied on system foreground, depends on the type of each application; Such as, what supposing the system foreground was being run is applied as browser, after browser receives the collection instruction of system background transmission, the api interface that the displaying contents of current webpage of accessing is provided by system background can be uploaded to system background, the data now uploaded can be text or image data; Supposing the system front stage operation be applied as player, when player receive system background send collection instruction after, can by the current audio frequency rear video files passe play to system background, the data now uploaded are audio or video data.
The data received, receiving after foreground respectively applies the data uploaded, are saved in assigned address by system background.This assigned address, when realizing, can be cloud server, arbitrary this locality application of being specified by system or the combination of the two.Such as, in actual applications, can adopt the two combine mode, the data that system foreground application is uploaded be kept at cloud server respectively and specified by system this locality application in.
Wherein, this locality application of being specified by system, can specify respectively according to the data type that will preserve; Such as, if the data that system background will be preserved are text data, text data can be specified and is saved in " note " by system background; If the data that system background will be preserved are image data, image data can be specified and is saved in " cloud photograph album " by system; If the data that system background will be preserved are voice data, voice data can be specified and is saved in " cloud music " by system.
In addition, what deserves to be explained is, system background, when data system foreground application uploaded are preserved, can also be screened data in conjunction with predetermined strategy, is only preserved the information that some are useful.Such as, for the text data that system foreground application is uploaded, system background only extracts the significant datas such as date and time information, location information and name information in described text message and preserves after can analyzing it.
In the present embodiment; except the default application of system; system foreground has some third-party application by user installation usually; for this kind of third-party application; the probably described collection instruction that sent by system background of None-identified; therefore, when system background detects that system foreground application does not respond the collection instruction sent, can initiatively extract according to preset rules the data that each application of running on foreground calling, then the data extracted are saved in described assigned address.
Such as, when realizing, system background first can the type of third-party application run of recognition system foreground, for the common application type in described third-party application, such as browser, player or reader, because general application type adopts standard architecture usually, therefore system background usually can the data called to this kind of application of extracting directly; Such as, for browser, system can extract the displaying contents of the current webpage of accessing of this browser; For player, system can extract the current content play of this player; For reader, system can extract current content of reading of this reader etc.
When system background is not according to when extracting any data with upper type, the application that now system foreground is being run is probably the third-party application of non-universal, for this kind of application, system background is saved in described assigned address after all the elements in current interface can being carried out screenshotss.
In the embodiment above, favorite is provided by default boundary user oriented, when receiving the operational order that user inputs for this favorite, the data that each application on system foreground is being called are saved in assigned address by system background automatically, the useful information that can realize user finds carries out unified collection, thus avoids problem more scattered to the collection of useful information in existing realization.
As shown in Figure 2, Fig. 2 is the another kind of data collecting method according to an exemplary embodiment, and the method is used in terminal, and this terminal can be smart mobile phone, comprises the following steps:
In step 201, by default interface display favorite.
In step 202., judge whether to receive the operational order inputted for described favorite.
In the present embodiment, default interface can be the display interface of terminal, such as system desktop; Favorite can be a system-level collection button when realizing.
Such as, refer to Fig. 3, for the MIUI system of millet company, a collection button 301 can be set in the drop-down quick informing on the system desktop top of terminal, usually such as GPS button, WIFI button can also be comprised in this quick informing, offline mode button etc. when realizing; Such as, for touch screen terminal, after user has found useful information, can drop-down described quick informing be passed through, select to open collection function with the position of this collection button 301 of finger touch.When user is by collecting button 301 described in finger touch, the system background that can trigger to terminal sends an operational order, and system background, by judging whether to receive aforesaid operations instruction, judges whether to open collection function.
In step 203, when receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; This collection instruction is for triggering each application by the current data upload called to system.
In the present embodiment, when user opens collection function by operation collection button, system background when have received the operational order triggered due to this collection button of user operation, each application transmission one collection instruction that can run to system foreground immediately; This collection instruction is used for each application that running of triggering system foreground, respectively applies the api interface that provides by the current data upload called to system background by system background to system foreground.Wherein, the data type uploading to system background is respectively applied on system foreground, depends on the type of each application.
Such as, when system foreground running be applied as browser time, browser is after the collection instruction receiving system background transmission, the api interface that the displaying contents of current webpage of accessing is provided by system background can be uploaded to system background, the data now uploaded can be text or image data; Same reason, when system front stage operation be applied as player time, player receive system background send collection instruction after, can by current playing pass to system background musically, the data now uploaded are voice data.Certainly, when realizing, the application of system front stage operation can also be the application of other type, will not enumerate in the present embodiment.
In step 204, the data that each application is uploaded are saved in assigned address.
In the present embodiment, the data received, receiving after foreground respectively applies the data uploaded, can be saved in assigned address by system background.Wherein, this assigned address, arbitrary this locality application that can be cloud server or be specified by system, or when realizing, the data that system foreground application can be uploaded by system background are kept at cloud server and in this locality application of being specified by system respectively.
Such as, system background can according to the difference of the data type that will preserve, and the dissimilar data uploaded on system foreground are saved in different application respectively; Wherein this different application can be local application, also can be high in the clouds application (such as cloud photograph album or cloud music); Such as, the data that supposing the system backstage will be preserved are text data, and text data can be concentrated and be saved in local application " note " by system background, and user is by checking the text data that " note " just can browse to systematic collection and arrive.The data that supposing the system backstage will be preserved are image data, image data can be concentrated and be saved in local photograph album or " cloud photograph album " by system, and user is by checking the image data that local photograph album or " cloud photograph album " just can browse to systematic collection and arrive.The data that supposing the system backstage will be preserved are image data; If the data that system background will be preserved are voice data, voice data can be concentrated and be saved in local music player or " cloud music " by system, and user is by checking the voice data that local music player or " cloud music " just can browse to systematic collection and arrive.By with upper type, the data of user's collection can be realized to carry out respectively concentrating according to the difference of data type preserve, thus more convenient user browses the useful data collected.
In addition, what deserves to be explained is, system background, when data system foreground application uploaded are preserved, can also be screened data in conjunction with predetermined strategy, is only preserved the information that some are useful.Such as, for the text data that system foreground application is uploaded, system background only extracts the significant datas such as date and time information, location information and name information in described text message and preserves after can analyzing it.
In the present embodiment; except the default application of system; system foreground has some third-party application by user installation usually; for this kind of third-party application; because its acquiescence api interface supported is usually not identical with the api interface on the system-oriented foreground that system background provides, therefore the described collection instruction sent by system background may be gone out by None-identified.Therefore, when system background detects that system foreground application does not respond the collection instruction sent, can initiatively extract according to preset rules the data that each application of running on foreground calling, then the data extracted are saved in described assigned address.
Such as, when realizing, system background first can the type of third-party application run of recognition system foreground, for the common application type in third-party application, such as browser, player or reader, because general application type adopts standard architecture usually, therefore system background usually can the data called to this kind of application of extracting directly.Such as, for browser, system can extract the displaying contents of the current webpage of accessing of this browser; For player, system can extract the current content play of this player; For reader, system can extract current content of reading of this reader etc.After extraction completes, the data extracted can be saved in described assigned address by system background.
When system background is according to upper type, when not extracting any data, the application that now system foreground is being run is probably the third-party application of non-universal, for this kind of application, system background is saved in described assigned address after all the elements in current interface can being carried out screenshotss, and subsequent user can by checking that the screenshot picture of having preserved browses the content of collection.
In the embodiment above, favorite is provided by default boundary user oriented, when receiving the operational order that user inputs for favorite, each application transmission one that system background is being run to system foreground is for triggering each application by the collection instruction of the current data upload called to system, the data received, by responding described collection instruction by the current data upload called to system background, are saved in assigned address by system background by each application on system foreground.Owing to realizing based on system the collection of data, therefore when realizing, the useful information that user can be found by system background carries out unified collection, thus avoids problem more scattered to the collection of useful information in existing realization.
Simultaneously, the third-party application of collection instruction cannot be responded for those systems, system background initiatively can be extracted data that this application calling and be saved in assigned address, and the third-party application of data cannot be extracted for those, screenshotss preservation can also be carried out to interface, therefore the disclosure not only tries out the application in system default, tries out the third-party application by user installation in system equally.
Corresponding with aforementioned data collecting method embodiment, the disclosure additionally provides the embodiment of data holding device fo.
Fig. 4 is the schematic block diagram of a kind of data holding device fo according to an exemplary embodiment.
As shown in Figure 4, a kind of data holding device fo 400 according to an exemplary embodiment, comprising: display module 401, judge module 402, preservation module 403; Wherein:
Described display module 401 is configured to, by default interface display favorite;
Described judge module 402 is configured to, and judges whether to receive the operational order inputted for described favorite;
Described preservation module 403 is configured to, and when receiving the operational order inputted for described favorite, the data that each application on system foreground is being called is saved in assigned address.
In the embodiment above, by default interface display favorite, when receiving the operational order that user inputs for this favorite, the data that each application on system foreground is being called are saved in assigned address by system background automatically, the useful information that can realize user finds carries out unified collection, thus avoids problem more scattered to the collection of useful information in existing realization.
Refer to Fig. 5, Fig. 5 is the another kind of data holding device fo block diagram of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described preservation module 403 can comprise transmission submodule 403A, first and preserve submodule 403B; Wherein:
Described transmission submodule 403A is configured to, and when receiving the operational order that user inputs for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system;
Described first preserves submodule 403B is configured to, and the data that described each application is uploaded are saved in assigned address.
Refer to Fig. 6, Fig. 6 is the another kind of data holding device fo block diagram of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 5, and described preservation module 403 can also comprise extracts submodule 403C, the second preservation submodule 403D; Wherein:
Described extraction submodule 403C is configured to, when described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called;
Described second preserves submodule 403D is configured to, and the data that extraction submodule extracts are saved in assigned address.
The extraction submodule 403C shown in device embodiment shown in above-mentioned Fig. 6, the second structure of preserving submodule 403D also can be included in the device embodiment of earlier figures 4, do not limit this disclosure.
Refer to Fig. 7, Fig. 7 is the another kind of data holding device fo block diagram of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 6, and described extraction submodule 403C can comprise application identification submodule 403C1, first content extracts submodule 403C2, the second contents extraction submodule 403C3, the 3rd contents extraction submodule 403C4; Wherein:
Described application identification submodule 403C1 is configured to, and identifies the type of described each application;
Described first content extracts submodule 403C2 and is configured to, and when being applied as browser described in identifying, extracts the displaying contents of the current webpage of accessing of described browser;
Described second contents extraction submodule 403C3 is configured to, and when being applied as player described in identifying, extracts the current content play of described player;
Described 3rd contents extraction submodule 403C4 is configured to, and when being applied as reader described in identifying, extracts the current content of reading of described reader.
The application identification submodule 403C1 shown in device embodiment shown in above-mentioned Fig. 7, first content extract submodule 403C2, the second contents extraction submodule 403C3, the structure of the 3rd contents extraction submodule 403C4 also can be included in the device embodiment of earlier figures 4-5, do not limit this disclosure.
Refer to Fig. 8, Fig. 8 is the another kind of data holding device fo block diagram of the disclosure according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 6, and described preservation module 403 can also comprise the 3rd and preserve submodule 403E; Wherein
Described 3rd preserves submodule 403E is configured to, and when described extraction submodule 403C does not extract any data according to described preset rules, all the elements screenshotss in current interface is saved in assigned address.
The application identification submodule 403C1 shown in device embodiment shown in above-mentioned Fig. 8, first content extract submodule 403C2, the second contents extraction submodule 403C3, the structure of the 3rd contents extraction submodule 403C4 also can be included in the device embodiment of earlier figures 4-5 or Fig. 7, do not limit this disclosure.
Wherein, in above each embodiment, arbitrary this locality application that described assigned address is cloud server and/or is specified by system.
In said apparatus, the implementation procedure of the function and efficacy of modules specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of data holding device fo, and described data holding device fo comprises: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
Can also comprise the instruction of following operation: when receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system; The data that described each application is uploaded are saved in assigned address.
The instruction of following operation can also be comprised: when described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called; The data extracted are saved in assigned address.
The instruction of following operation can also be comprised: the type identifying described each application; When being applied as browser described in identifying, extract the displaying contents of the current webpage of accessing of described browser; When being applied as player described in identifying, extract the current content play of described player; When being applied as reader described in identifying, extract the current content of reading of described reader.
Accordingly, the disclosure also provides a kind of terminal, described terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to perform described more than one or one routine package containing the instruction for carrying out following operation by more than one or one processor:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
Can also comprise the instruction of following operation: when receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system; The data that described each application is uploaded are saved in assigned address.
The instruction of following operation can also be comprised: when described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called; The data extracted are saved in assigned address.
The instruction of following operation can also be comprised: the type identifying described each application; When being applied as browser described in identifying, extract the displaying contents of the current webpage of accessing of described browser; When being applied as player described in identifying, extract the current content play of described player; When being applied as reader described in identifying, extract the current content of reading of described reader.
Fig. 9 is the structural representation of a kind of data holding device fo according to an exemplary embodiment.
As shown in Figure 9, a kind of data holding device fo 900 according to an exemplary embodiment, this device 900 can be computing machine, mobile phone, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 901, storer 902, power supply module 903, multimedia groupware 904, audio-frequency assembly 905, the interface 906 of I/O (I/O), sensor module 907, and communications component 908.
The integrated operation of the usual control device 900 of processing components 901, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 901 can comprise one or more processor 909 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 901 can comprise one or more module, and what be convenient between processing components 901 and other assembly is mutual.Such as, processing element 901 can comprise multi-media module, mutual with what facilitate between multimedia groupware 904 and processing components 901.
Storer 902 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 902 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 903 is device 900 provide electric power.Power supply module 903 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 904 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 904 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 905 is configured to export and/or input audio signal.Such as, audio-frequency assembly 905 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 902 further or be sent via communications component 908.In certain embodiments, audio-frequency assembly 905 also comprises a loudspeaker, for output audio signal.
I/O interface 902 is for providing interface between processing components 901 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 907 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 907 can detect the opening/closing state of device 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 907 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 907 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 907 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 907 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 908 is configured to the communication being convenient to wired or wireless mode between device 900 and miscellaneous equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 908 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 908 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technology realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 902 of instruction, above-mentioned instruction can perform said method by the processor 909 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Wherein, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of data collecting method, comprising:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a data collecting method, is characterized in that, described method comprises:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
2. the method for claim 1, is characterized in that, described when receiving the operational order inputted for described favorite, the data that each application on system foreground is being called is saved in assigned address and comprises:
When receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system;
The data that described each application is uploaded are saved in assigned address.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
When described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called;
The data extracted are saved in assigned address.
4. method as claimed in claim 3, is characterized in that, the described data called according to the described each application of preset rules extraction comprise:
Identify the type of described each application;
When being applied as browser described in identifying, extract the displaying contents of the current webpage of accessing of described browser;
When being applied as player described in identifying, extract the current content play of described player;
When being applied as reader described in identifying, extract the current content of reading of described reader.
5. method as claimed in claim 3, it is characterized in that, described method also comprises:
When not extracting any data according to described preset rules, all the elements screenshotss in current interface are saved in assigned address.
6. the method for claim 1, is characterized in that, arbitrary this locality application that described assigned address is cloud server and/or is specified by system.
7. a data holding device fo, is characterized in that, described device comprises:
Display module, presets interface display favorite for passing through;
Judge module, receives for judging whether the operational order inputted for described favorite;
Preserving module, for when receiving the operational order inputted for described favorite, the data that each application on system foreground is being called being saved in assigned address.
8. device as claimed in claim 7, it is characterized in that, described preservation module comprises:
Send submodule, for when receiving the operational order inputted for described favorite, each application run to system foreground sends collection instruction; Described collection instruction is for triggering described each application by the current data upload called to system;
First preserves submodule, is saved in assigned address for the data described each application uploaded.
9. device as claimed in claim 8, it is characterized in that, described preservation module also comprises:
Extract submodule, for when described each application does not respond described collection instruction, according to the data that the described each application of preset rules extraction is being called;
Second preserves submodule, is saved in assigned address for the data extracted by extraction submodule.
10. device as claimed in claim 9, it is characterized in that, described extraction submodule comprises:
Application identification submodule, for identifying the type of described each application;
First content extracts submodule, for when being applied as browser described in identifying, extracts the displaying contents of the current webpage of accessing of described browser;
Second contents extraction submodule, for when being applied as player described in identifying, extracts the current content play of described player;
3rd contents extraction submodule, for when being applied as reader described in identifying, extracts the current content of reading of described reader.
11. devices as claimed in claim 9, it is characterized in that, described preservation module also comprises:
3rd preserves submodule, for when extracting submodule and not extracting any data according to described preset rules, all the elements screenshotss in current interface is saved in assigned address.
12. devices as claimed in claim 7, is characterized in that, arbitrary this locality application that described assigned address is cloud server and/or is specified by system.
13. 1 kinds of data holding device fos, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
By default interface display favorite;
Judge whether to receive the operational order inputted for described favorite;
When receiving the operational order inputted for described favorite, the data that each application on system foreground is being called are saved in assigned address.
CN201410648381.4A 2014-11-14 2014-11-14 Collection of data method and apparatus Active CN104376075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410648381.4A CN104376075B (en) 2014-11-14 2014-11-14 Collection of data method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410648381.4A CN104376075B (en) 2014-11-14 2014-11-14 Collection of data method and apparatus

Publications (2)

Publication Number Publication Date
CN104376075A true CN104376075A (en) 2015-02-25
CN104376075B CN104376075B (en) 2018-05-29

Family

ID=52554982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410648381.4A Active CN104376075B (en) 2014-11-14 2014-11-14 Collection of data method and apparatus

Country Status (1)

Country Link
CN (1) CN104376075B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202223A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Content collection method, device and for collecting the device of content in application program
CN106919304A (en) * 2017-02-20 2017-07-04 珠海市魅族科技有限公司 Collection of data device and method
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium
CN107329985A (en) * 2017-05-31 2017-11-07 北京安云世纪科技有限公司 A kind of collecting method of the page, device and mobile terminal
US10979551B2 (en) 2016-09-09 2021-04-13 Huawei Technologies Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
US11076042B2 (en) 2017-02-27 2021-07-27 Huawei Technologies Co., Ltd. Favorite-object display method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130318461A1 (en) * 2012-05-25 2013-11-28 Scott M. Trafton Pool data storage system & method
CN103677519A (en) * 2013-12-05 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for collecting multimedia resource, terminal and server
CN104123316A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Resource collection method, device and facility

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130318461A1 (en) * 2012-05-25 2013-11-28 Scott M. Trafton Pool data storage system & method
CN104123316A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Resource collection method, device and facility
CN103677519A (en) * 2013-12-05 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for collecting multimedia resource, terminal and server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202223A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Content collection method, device and for collecting the device of content in application program
US10979551B2 (en) 2016-09-09 2021-04-13 Huawei Technologies Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
US11909906B2 (en) 2016-09-09 2024-02-20 Honor Device Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
CN106919304A (en) * 2017-02-20 2017-07-04 珠海市魅族科技有限公司 Collection of data device and method
US11076042B2 (en) 2017-02-27 2021-07-27 Huawei Technologies Co., Ltd. Favorite-object display method and terminal
US11606458B2 (en) 2017-02-27 2023-03-14 Huawei Technologies Co., Ltd. Favorite-object display method and terminal
US12047528B2 (en) 2017-02-27 2024-07-23 Huawei Technologies Co., Ltd. Favorite-object display method and terminal
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium
CN107229705B (en) * 2017-05-25 2024-05-31 北京小米移动软件有限公司 Information resource searching method, device and computer readable storage medium
CN107329985A (en) * 2017-05-31 2017-11-07 北京安云世纪科技有限公司 A kind of collecting method of the page, device and mobile terminal

Also Published As

Publication number Publication date
CN104376075B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN104376075A (en) Data storage method and device
CN104932712A (en) Text input method and device
CN104301204A (en) Unread communication message aggregation method and device
CN105138259A (en) Operation execution method and operation execution device
CN105337847A (en) Instant messaging information processing method, device and equipment
CN104679599A (en) Application program duplicating method and device
CN104378441A (en) Schedule creating method and device
CN104301532A (en) Communication message identification method and device
CN104834435A (en) Method and device for playing audio comments
CN105159524A (en) Interface display method and apparatus
CN104112119A (en) Face identification-based communication method and apparatus
CN105472583A (en) Message processing method and apparatus
CN105354017A (en) Information processing method and apparatus
CN105488715A (en) Object information query method and device
CN106528735A (en) Method and device for controlling browser to play media resources
CN104391878A (en) Book search method and book search device
CN105389113A (en) Gesture-based application control method and apparatus and terminal
CN104809158A (en) Network content filter method and device
CN104461348A (en) Method and device for selecting information
CN105511777A (en) Session display method and device of touch display screen
CN105117100A (en) Target object display method and apparatus
CN106354504A (en) Message display method and device thereof
CN104536787A (en) Resource preloading method and device
CN105302572A (en) Method and device for importing file into software
CN105205153A (en) File storage method and device

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