CN104376075B - Collection of data method and apparatus - Google Patents

Collection of data method and apparatus Download PDF

Info

Publication number
CN104376075B
CN104376075B CN201410648381.4A CN201410648381A CN104376075B CN 104376075 B CN104376075 B CN 104376075B CN 201410648381 A CN201410648381 A CN 201410648381A CN 104376075 B CN104376075 B CN 104376075B
Authority
CN
China
Prior art keywords
application
data
collection
favorite
saved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410648381.4A
Other languages
Chinese (zh)
Other versions
CN104376075A (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.)
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 disclosure proposes a kind of collection of data method, the described method includes:By presetting interface display favorite;Judge whether to receive the operational order for favorite input;When receiving the operational order for favorite input, the data that each application on system foreground is being called are saved in designated position.The disclosure can realize to user find useful information carries out unified collection, so as to avoid it is more scattered to the collection of useful information in existing realization the problem of.

Description

Collection of data method and apparatus
Technical field
This disclosure relates to communication field more particularly to collection of data method and apparatus.
Background technology
With the continuous innovation of smart machine, smart mobile phone of today has not been only used as a means of communication, amusement no longer Instrument, it has been gradually evolved into the main office tools for user.Therefore, how the efficient production and consumption on smart mobile phone Information becomes the problem of critically important.
When smart mobile phone is used, when user has found useful information, if it is desired to which this information collection is risen Come, in current realization, be all based on applying what is realized, thus it is more scattered to the collection of useful information, it may be same Information is scattering into different applications.
For example, the article read may only be stowed to a by the article of the public account push of wechat, user when reading In people's wechat.When the article that user pushes wechat public platform on mobile phone browser in the form of a link when opening, also only The link of this article to be collected in a browser, therefore a similary article, it may be collected in different applications by user.
The content of the invention
To overcome the problems, such as present in correlation technique, the disclosure provides a kind of collection of data method and apparatus.
According to the embodiment of the present disclosure in a first aspect, provide a kind of collection of data method, the described method includes:
By presetting interface display favorite;
Judge whether to receive the operational order for favorite input;
When receiving the operational order for favorite input, each application on system foreground is being called Data are saved in designated position.
Optionally, it is described when receiving the operational order for favorite input, by respectively should for system foreground Being saved in designated position with the data called includes:
When receiving the operational order for favorite input, sent out to each application that system foreground is currently running Collection is sent to instruct;The data currently called are uploaded to system by the collection instruction for triggering each application;
The data that each application uploads are saved in designated position.
Optionally, the method further includes:
When each application does not respond the collection instruction, called according to preset rules extraction each application Data;
The data extracted are saved in designated position.
Optionally, the data called according to preset rules extraction each application include:
Identify the type respectively applied;
When it is browser to identify the application, in the display of extracting the webpage that the browser is currently accessing Hold;
When it is player to identify the application, the content that the player is currently played is extracted;
When it is reader to identify the application, the content that the reader is currently being read is extracted.
Optionally, the method further includes:
When not extracting any data according to the preset rules, all the elements screenshotss in current interface are saved in Designated position.
Optionally, the designated position is specified for cloud server and/or by system any locally applied.
According to the second aspect of the embodiment of the present disclosure, a kind of collection of data device is provided, described device includes:
Display module, for by presetting interface display favorite;
Judgment module, for judging whether to receive the operational order for favorite input;
Preserving module, for receive for the favorite input operational order when, by each of system foreground Designated position is saved in using the data called.
Optionally, the preserving module includes:
Sending submodule, for receive for the favorite input operational order when, to system foreground just Collection instruction is sent in each application of operation;The collection instructs to trigger the data that each application will called currently Upload to system;
First preserves submodule, and the data for each application to be uploaded are saved in designated position.
Optionally, the preserving module further includes:
Extracting sub-module, for it is described it is each application do not respond it is described collection instruction when, according to being extracted preset rules The data that each application is being called;
Second preserves submodule, and the data for extracting sub-module to be extracted are saved in designated position.
Optionally, the extracting sub-module includes:
Using identification submodule, for identifying the type respectively applied;
First content extracting sub-module, for when it is browser to identify the application, it is current to extract the browser The display content of the webpage accessed;
Second contents extraction submodule, for when it is player to identify the application, it is current to extract the player The content played;
3rd contents extraction submodule, for when it is reader to identify the application, it is current to extract the reader The content read.
Optionally, the preserving module further includes:
3rd preserves submodule, for when extracting sub-module does not extract any data according to the preset rules, inciting somebody to action All the elements screenshotss in current interface are saved in designated position.
Optionally, the designated position is specified for cloud server and/or by system any locally applied.
According to the third aspect of the embodiment of the present disclosure, a kind of collection of data device is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
By presetting interface display favorite;
Judge whether to receive the operational order for favorite input;
When receiving the operational order for favorite input, each application on system foreground is being called Data are saved in designated position.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the above example of the disclosure, by showing favorite in default boundary user oriented, institute is directed to when receiving When stating the operational order of favorite input, the data that each application on system foreground is being called are saved in specific bit automatically It puts, can realize that the useful information found to user carries out unified collection.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow diagram according to a kind of collection of data method shown in an exemplary embodiment;
Fig. 2 is the flow diagram according to another collection of data method shown in an exemplary embodiment;
Fig. 3 is the operation chart according to the quick notification bar shown in an exemplary embodiment;
Fig. 4 is the schematic block diagram according to a kind of collection of data device shown in an exemplary embodiment;
Fig. 5 is the schematic block diagram according to another collection of data device shown in an exemplary embodiment;
Fig. 6 is the schematic block diagram according to another collection of data device shown in an exemplary embodiment;
Fig. 7 is the schematic block diagram according to another collection of data device shown in an exemplary embodiment;
Fig. 8 is the schematic block diagram according to another collection of data device shown in an exemplary embodiment;
Fig. 9 is according to a kind of structure diagram for collection of data device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure. " one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, it is not departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
As shown in Figure 1, Fig. 1 is according to a kind of collection of data method shown in an exemplary embodiment, the collection of data side Method is used in terminal, is comprised the following steps:
In a step 101, by presetting interface display favorite.
In a step 102, judge whether to receive the operational order for favorite input.
In the present embodiment, default interface can be the display interface (such as system desktop) of terminal;Favorite, in reality Can be a system-level collection button now.
By taking the MIUI systems of millet company as an example, which can be provided under the system desktop top of terminal Draw a collection button in quick notification bar, realize when quick notification bar in usually can also include such as GPS buttons, WIFI buttons, offline mode button etc..User can be by being operable to choose whether to open collection function to collection button. For example, for touch screen terminal, after user is found that useful information, finger can be used by pulling down the quick notification bar The position of the collection button is touched to select to open collection function.When user touches the collection button by finger, meeting It triggering to the system background of terminal and sends an operational order, system background receives aforesaid operations instruction by judging whether, To determine whether open collection function.
In step 103, when receiving the operational order for favorite input, by each application on system foreground just Designated position is saved in the data of calling;
As previously mentioned, when user by operate collection button open collection function after, system background have received due to During the operational order that family operation collection button is triggered, a receipts can be sent to each application that system foreground is currently running immediately Hide instruction;The collection is instructed for triggering each application that system foreground is currently running, and respectively should by system background to system foreground The data currently called are uploaded into system background with the api interface of offer.
Wherein, system foreground is respectively using the data type for uploading to system background, the type depending on each application;For example, It, can be with after browser receives the collection instruction of system background transmission assuming that the application that is currently running of system foreground is browser The api interface that the display content for the webpage being currently accessing is provided by system background is uploaded into system background, at this time on The data of biography can be text or image data;Assuming that the application of system front stage operation is player, it is when player receives After the collection instruction that system backstage is sent, the audio backsight frequency file being currently played can be uploaded to system background, at this time The data of upload are audio or video data.
The data received are saved in designated position by system background after the foreground data that respectively application uploads are received.This refers to Positioning is put when realizing, can be cloud server, the combination that is any locally applied or being the two specified by system.Example Such as, in practical applications, the mode that the two combines may be employed, the data that system foreground application is uploaded preserve beyond the clouds respectively Server and by system specify it is locally applied in.
Wherein, specified locally applied, can be respectively specified that according to data to be saved type by system;For example, such as Fruit system background data to be saved is text data, and system background, which can specify text data, to be saved in " note ";Such as Fruit system background data to be saved is image data, and system, which can specify image data, to be saved in " cloud photograph album ";If System background data to be saved is voice data, and system, which can specify voice data, to be saved in " cloud music ".
In addition, what deserves to be explained is, system background, can be with when the data for uploading system foreground application are preserved Data are screened with reference to predetermined strategy, only preserve some useful information.For example, uploaded for system foreground application Text data, system background can analyze it date information, the location information only extracted afterwards in the text message And the significant datas such as name information are preserved.
In the present embodiment, in addition to the default application of system, system foreground usually has some by user installation Third-party application, for this kind of third-party application, it is likely that the collection that None- identified is sent by system background instructs, therefore When system background detects that system foreground application does not respond the collection instruction sent, before can actively being extracted according to preset rules Then the data extracted are saved in the designated position by the data that each application that platform is currently running is being called.
For example, when realizing, the type for the third-party application that system background can be currently running first with identifying system foreground, For the common application type in the third-party application, such as browser, player or reader, due to general application Type generally use standard architecture, therefore system background usually can directly extract this kind of data applied and called;Than Such as, for browser, system can extract the display content for the webpage that the browser is currently accessing;For player For, system can extract the content that the player is currently played;For reader, system can extract the reading Content that device is currently being read etc..
When system background does not extract any data in the above manner, the application that system foreground is currently running at this time is very May be non-universal third-party application, for this kind of application, system background can carry out all the elements in current interface The designated position is saved in after screenshotss.
In the embodiment above, favorite is provided a user by default interface, the collection is directed to when receiving user During the operational order of option input, the data that each application on system foreground is being called are saved in specific bit by system background automatically Put, can realize to user find useful information carry out unified collection, so as to avoid in existing realization to useful information Collection it is more scattered the problem of.
As shown in Fig. 2, Fig. 2 is according to another collection of data method shown in an exemplary embodiment, this method is used for In terminal, which can be smart mobile phone, comprise the following steps:
In step 201, by presetting interface display favorite.
In step 202, judge whether to receive the operational order for favorite input.
In the present embodiment, default interface can be the display interface of terminal, such as system desktop;Favorite, in reality Can be a system-level collection button now.
For example, Fig. 3 is referred to, it, can be under the system desktop top of terminal by taking the MIUI systems of millet company as an example One collection button 301 of setting in quick notification bar is drawn, can also usually include such as GPS in the quick notification bar when realizing Button, WIFI buttons, offline mode button etc.;It, can be with after user is found that useful information for example, for touch screen terminal By pulling down the quick notification bar, the position of the collection button 301 is touched with finger to select to open collection function.Work as user When touching the collection button 301 by finger, it can trigger to the system background of terminal and send an operational order, system background By judging whether that receiving aforesaid operations instructs, to determine whether opening collection function.
In step 203, when receiving the operational order for favorite input, transported to system foreground Capable each application sends collection instruction;The collection is instructed for triggering each application and uploading to the data currently called System.
In the present embodiment, when user by operate collection button open collection function, system background have received due to During the operational order that the user's operation collection button is triggered, one can be sent to each application that system foreground is currently running immediately A collection instruction;The collection is instructed for triggering each application that system foreground is currently running, by system background to system foreground It is each that the data currently called are uploaded into system background using the api interface provided.Wherein, respectively application uploads on system foreground To the data type of system background, the type depending on each application.
For example, when the application that system foreground is currently running is browser, browser is receiving the receipts of system background transmission After hiding instruction, the api interface that the display content for the webpage being currently accessing is provided by system background can be uploaded to and be System backstage, the data uploaded at this time can be text or image data;Same reason, when the application of system front stage operation is During player, player can upload to the music being currently played after the collection instruction of system background transmission is received System background, the data uploaded at this time are voice data.Certainly when realizing, the application of system front stage operation can also be other The application of type, will not enumerate in the present embodiment.
In step 204, the data that each application uploads are saved in designated position.
In the present embodiment, system background can protect the data received after the foreground data that respectively application uploads are received It is stored to designated position.Wherein, the designated position, can be cloud server or by specify any locally applied of system or When realizing, the data that system foreground application uploads can be stored in cloud server respectively and be referred to by system person by system background It is fixed it is locally applied in.
For example, system background can be according to the difference of data to be saved type, the different type that system foreground is uploaded Data be saved in respectively in different applications;Wherein the different application can be locally applied or high in the clouds is applied (such as cloud photograph album or cloud music);Such as, it is assumed that system background data to be saved is text data, and system background can incite somebody to action Text data concentration is saved in local application " note ", and user is arrived by checking that " note " can browse to systematic collection Text data.Assuming that system background data to be saved is image data, image data can be concentrated and be saved in this by system The photograph album on ground either in " cloud photograph album " user by checking that local photograph album or " cloud photograph album " can browse to systematic collection The image data arrived.Assuming that system background data to be saved is image data;If system background data to be saved is sound Voice data can be concentrated and is saved in local music player or " cloud music " by frequency evidence, system, and user is by looking into See that local music player or " cloud music " can browse to the voice data that systematic collection arrives.In the above manner, It can realize and the data of user's collection are subjected to concentration preservation respectively according to the difference of data type, so as to which more convenient user is to The useful data of collection is browsed.
In addition, what deserves to be explained is, system background, can be with when the data for uploading system foreground application are preserved Data are screened with reference to predetermined strategy, only preserve some useful information.For example, uploaded for system foreground application Text data, system background can analyze it date information, the location information only extracted afterwards in the text message And the significant datas such as name information are preserved.
In the present embodiment, in addition to the default application of system, system foreground usually has some by user installation Third-party application for this kind of third-party application, is usually provided by its acquiescence api interface supported with system background The api interface on system-oriented foreground differs, it is thus possible to which None- identified goes out the collection sent by system background and instructs.Cause This, when system background detects that system foreground application does not respond the collection instruction sent, can actively carry according to preset rules The data that each application that foreground is currently running is being called are taken, the data extracted then are saved in the designated position.
For example, when realizing, the type for the third-party application that system background can be currently running first with identifying system foreground, For the common application type in third-party application, such as browser, player or reader, due to general application type Generally use standard architecture, therefore system background usually can directly extract this kind of data applied and called.It is for example, right For browser, system can extract the display content for the webpage that the browser is currently accessing;For player, System can extract the content that the player is currently played;For reader, system can extract the reader and work as Preceding content read etc..After the completion of extraction, the data extracted can be saved in the specific bit by system background It puts.
When system background in the above manner, when not extracting any data, system foreground is currently running at this time application Be possible for non-universal third-party application, for this kind of application, system background can by all the elements in current interface into The designated position is saved in after row screenshotss, subsequent user can be browsed by checking the screenshot picture preserved in collection Hold.
In the embodiment above, favorite is provided a user by default interface, is selected when receiving user for collection During the operational order of input, system background to system foreground be currently running it is each using send one will for triggering each application The current data called upload to the collection instruction of system, and each application on system foreground will by responding the collection instruction The current data called upload to system background, and the data received are saved in designated position by system background.Due to Collection to data realized based on system, therefore when realizing, the useful letter that can be found user by system background Breath carry out unified collection, so as to avoid it is more scattered to the collection of useful information in existing realization the problem of.
Meanwhile cannot respond to the third-party application of collection instruction for those systems, system background can actively extract this Using the data called and designated position is saved in, and the third-party application of data can not be extracted for those, also Screenshotss preservation can be carried out to interface, therefore the disclosure not only tries out the application in system default, equally try out in system by The third-party application of user installation.
Corresponding with aforementioned data collecting method embodiment, the disclosure additionally provides the embodiment of collection of data device.
Fig. 4 is the schematic block diagram according to a kind of collection of data device shown in an exemplary embodiment.
As shown in figure 4, a kind of collection of data device 400 according to an exemplary embodiment, including:Display module 401st, judgment module 402, preserving module 403;Wherein:
The display module 401 is configured as, by presetting interface display favorite;
The judgment module 402 is configured as, and judges whether to receive the operational order for favorite input;
The preserving module 403 is configured as, and when receiving the operational order for favorite input, will be The data that each application on system foreground is being called are saved in designated position.
In the embodiment above, it is defeated for the favorite when receiving user by default interface display favorite During the operational order entered, the data that each application on system foreground is being called are saved in designated position by system background automatically, can To realize that the useful information found to user carries out unified collection, so as to avoid the collection to useful information in existing realization The problem of more scattered.
Fig. 5 is referred to, Fig. 5 is another collection of data device block diagram of the disclosure according to an exemplary embodiment, For the embodiment on the basis of foregoing embodiment illustrated in fig. 4, the preserving module 403 can include sending submodule 403A, the One preserves submodule 403B;Wherein:
The sending submodule 403A is configured as, and is receiving operational order of the user for favorite input When, send collection instruction to each application that system foreground is currently running;The collection instruction ought for triggering each application The preceding data called upload to system;
The first preservation submodule 403B is configured as, and the data that each application uploads are saved in designated position.
Fig. 6 is referred to, Fig. 6 is another collection of data device block diagram of the disclosure according to an exemplary embodiment, The embodiment on the basis of foregoing embodiment illustrated in fig. 5, the preserving module 403 can also include extracting sub-module 403C, Second preserves submodule 403D;Wherein:
The extracting sub-module 403C is configured as, when each application does not respond the collection instruction, according to default The data that respectively application is being called described in Rule Extraction;
The second preservation submodule 403D is configured as, and the data that extracting sub-module is extracted are saved in specific bit It puts.
Extracting sub-module 403C, the knot of the second preservation submodule 403D shown in device embodiment shown in above-mentioned Fig. 6 Structure can also be included in the device embodiment of earlier figures 4, this disclosure is not limited.
Fig. 7 is referred to, Fig. 7 is another collection of data device block diagram of the disclosure according to an exemplary embodiment, For the embodiment on the basis of foregoing embodiment illustrated in fig. 6, the extracting sub-module 403C can include application identification submodule 403C1, first content extracting sub-module 403C2, the second contents extraction submodule 403C3, the 3rd contents extraction submodule 403C4;Wherein:
The application identification submodule 403C1 is configured as, and identifies the type respectively applied;
The first content extracting sub-module 403C2 is configured as, and when it is browser to identify the application, extracts institute State the display content for the webpage that browser is currently accessing;
The second contents extraction submodule 403C3 is configured as, and when it is player to identify the application, extracts institute State the content that player is currently played;
The 3rd contents extraction submodule 403C4 is configured as, and when it is reader to identify the application, extracts institute State the content that reader is currently being read.
The application shown in above-mentioned device embodiment shown in Fig. 7 identifies submodule 403C1, first content extracting sub-module 403C2, the second contents extraction submodule 403C3, the structure of the 3rd contents extraction submodule 403C4 can also be included in earlier figures In the device embodiment of 4-5, this disclosure is not limited.
Fig. 8 is referred to, Fig. 8 is another collection of data device block diagram of the disclosure according to an exemplary embodiment, On the basis of foregoing embodiment illustrated in fig. 6, the preserving module 403 can also include the 3rd and preserve submodule the embodiment 403E;Wherein
It is described 3rd preservation submodule 403E is configured as, the extracting sub-module 403C according to the preset rules not When extracting any data, all the elements screenshotss in current interface are saved in designated position.
The application shown in above-mentioned device embodiment shown in Fig. 8 identifies submodule 403C1, first content extracting sub-module 403C2, the second contents extraction submodule 403C3, the structure of the 3rd contents extraction submodule 403C4 can also be included in earlier figures In the device embodiment of 4-5 or Fig. 7, this disclosure is not limited.
Wherein, in various embodiments above, the designated position is cloud server and/or any local specified by system Using.
The function of modules and the realization process of effect specifically refer to and step are corresponded in the above method in above device Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The module of explanation may or may not be physically separate, and the component shown as module can be or can also It is not physical module, you can be located at a place or can also be distributed on multiple network modules.It can be according to reality It needs that some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Correspondingly, the disclosure also provides a kind of collection of data device, the collection of data device includes:Processor;For Store the memory of processor-executable instruction;Wherein, the processor is configured as:
By presetting interface display favorite;
Judge whether to receive the operational order for favorite input;
When receiving the operational order for favorite input, each application on system foreground is being called Data are saved in designated position.
It can also include the instruction of following operation:When receiving the operational order for favorite input, to Each application that system foreground is currently running sends collection instruction;The collection instruction will currently for triggering each application The data of calling upload to system;The data that each application uploads are saved in designated position.
It can also include the instruction of following operation:When each application does not respond the collection instruction, according to default rule Then extract the data that each application is being called;The data extracted are saved in designated position.
It can also include the instruction of following operation:Identify the type respectively applied;When identify the application for browsing During device, the display content for the webpage that the browser is currently accessing is extracted;When it is player to identify the application, carry The content that the player is taken to be currently played;When it is reader to identify the application, it is current to extract the reader The content read.
Correspondingly, the disclosure also provides a kind of terminal, the terminal include memory and one or more than one Program, one of them either more than one program storage in memory and be configured to by one or more than one Reason device performs the one or more programs and includes the instruction operated below:
By presetting interface display favorite;
Judge whether to receive the operational order for favorite input;
When receiving the operational order for favorite input, each application on system foreground is being called Data are saved in designated position.
It can also include the instruction of following operation:When receiving the operational order for favorite input, to Each application that system foreground is currently running sends collection instruction;The collection instruction will currently for triggering each application The data of calling upload to system;The data that each application uploads are saved in designated position.
It can also include the instruction of following operation:When each application does not respond the collection instruction, according to default rule Then extract the data that each application is being called;The data extracted are saved in designated position.
It can also include the instruction of following operation:Identify the type respectively applied;When identify the application for browsing During device, the display content for the webpage that the browser is currently accessing is extracted;When it is player to identify the application, carry The content that the player is taken to be currently played;When it is reader to identify the application, it is current to extract the reader The content read.
Fig. 9 is the structure diagram according to a kind of collection of data device shown in an exemplary embodiment.
As shown in figure 9, a kind of collection of data device 900 according to an exemplary embodiment, the device 900 can be Computer, mobile phone, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assemblies:Processing component 901, memory 902, power supply Component 903, multimedia component 904, audio component 905, the interface 906 of input/output (I/O), sensor module 907 and Communication component 908.
The integrated operation of 901 usual control device 900 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing component 901 can refer to including one or more processors 909 to perform Order, to perform all or part of the steps of the methods described above.In addition, processing component 901 can include one or more modules, just Interaction between processing component 901 and other components.For example, processing component 901 can include multi-media module, it is more to facilitate Interaction between media component 904 and processing component 901.
Memory 902 is configured as storing various types of data to support the operation in device 900.These data are shown Example is included for the instruction of any application program or method that are operated on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 902 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 903 provides electric power for the various assemblies of device 900.Power supply module 903 can include power management system System, one or more power supplys and other generates, manages and distributes electric power associated component with for device 900.
Multimedia component 904 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 904 includes a front camera and/or rear camera.When device 900 is in operation mode, such as screening-mode or During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 905 is configured as output and/or input audio signal.For example, audio component 905 includes a Mike Wind (MIC), when device 900 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 902 or via communication set Part 908 is sent.In some embodiments, audio component 905 further includes a loud speaker, for exports audio signal.
I/O interfaces 902 provide interface between processing component 901 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 907 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 907 can detect opening/closed state of device 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 907 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 907 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 907 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 908 is configured to facilitate the communication of wired or wireless way between device 900 and miscellaneous equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 908 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 908 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 902 of instruction, above-metioned instruction can be performed to complete the above method by the processor 909 of device 900.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Wherein, when the instruction in the storage medium is performed by the processor of mobile terminal so that mobile terminal can A kind of collection of data method is performed, including:
By presetting interface display favorite;
Judge whether to receive the operational order for favorite input;
When receiving the operational order for favorite input, each application on system foreground is being called Data are saved in designated position.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. collection of data method, which is characterized in that the method is applied in the operating system of electronic equipment, the method Including:
    By presetting interface display favorite;The default interface is system-level interface, and the favorite is system-level Favorite;
    Judge whether to receive the operational order for favorite input;
    When receiving the operational order for favorite input, send and receive to each application that system foreground is currently running Hide instruction;Wherein, system background is provided with api interface to each application, and the collection instructs to trigger each application The data currently called are uploaded to by system background by the api interface;
    The data extracted are saved in designated position.
  2. 2. the method as described in claim 1, which is characterized in that the method further includes:
    When each application does not respond the collection instruction, each the number that is calling is applied according to preset rules extraction is described According to;
    The data extracted are saved in designated position.
  3. 3. method as claimed in claim 2, which is characterized in that described to be called according to preset rules extraction each application Data include:
    Identify the type respectively applied;
    When it is browser to identify the application, the display content for the webpage that the browser is currently accessing is extracted;
    When it is player to identify the application, the content that the player is currently played is extracted;
    When it is reader to identify the application, the content that the reader is currently being read is extracted.
  4. 4. method as claimed in claim 2, which is characterized in that the method further includes:
    When not extracting any data according to the preset rules, all the elements screenshotss in current interface are saved in specified Position.
  5. 5. the method as described in claim 1, which is characterized in that the designated position is referred to for cloud server and/or by system Fixed is any locally applied.
  6. 6. a kind of collection of data device, which is characterized in that described device is applied in the operating system of electronic equipment, described device Including:
    Display module, for by presetting interface display favorite;The default interface be system-level interface, the collection Option is system-level favorite;
    Judgment module, for judging whether to receive the operational order for favorite input;
    Preserving module, for receive for the favorite input operational order when, by each application on system foreground The data called are saved in designated position;
    Wherein, the preserving module includes:
    Sending submodule, for when receiving the operational order for favorite input, being transported to system foreground Capable each application sends collection instruction;Wherein, system background is provided with api interface to each application, and the collection instruction is used The data currently called are uploaded to by system background by the api interface in triggering each application;
    First preserves submodule, and the data for each application to be uploaded are saved in designated position.
  7. 7. device as claimed in claim 6, which is characterized in that the preserving module further includes:
    Extracting sub-module, for when each application does not respond the collection instruction, respectively should according to preset rules extraction is described With the data called;
    Second preserves submodule, and the data for extracting sub-module to be extracted are saved in designated position.
  8. 8. device as claimed in claim 7, which is characterized in that the extracting sub-module includes:
    Using identification submodule, for identifying the type respectively applied;
    First content extracting sub-module, for when it is browser to identify the application, extracting the browser currently The display content of the webpage of access;
    Second contents extraction submodule, for when it is player to identify the application, extracting the player currently The content of broadcasting;
    3rd contents extraction submodule, for when it is reader to identify the application, extracting the reader currently The content of reading.
  9. 9. device as claimed in claim 8, which is characterized in that the preserving module further includes:
    3rd preserves submodule, current for when extracting sub-module does not extract any data according to the preset rules, inciting somebody to action All the elements screenshotss in interface are saved in designated position.
  10. 10. device as claimed in claim 6, which is characterized in that the designated position is referred to for cloud server and/or by system Fixed is any locally applied.
  11. 11. a kind of collection of data device, described device is applied in the operating system of electronic equipment, which is characterized in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    By presetting interface display favorite;The default interface is system-level interface, and the favorite is system-level Favorite;
    Judge whether to receive the operational order for favorite input;
    When receiving the operational order for favorite input, by each using the data called of system foreground It is saved in designated position;Wherein, system background is provided with api interface to each application, and the collection instruction is for triggering It states each application and the data currently called is uploaded to by system background by the api interface.
  12. 12. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of claim 1 to 5 the method is realized during execution.
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 CN104376075A (en) 2015-02-25
CN104376075B true 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)

Families Citing this family (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
WO2017193515A1 (en) 2016-09-09 2017-11-16 华为技术有限公司 Method and apparatus for pushing notifications, 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
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium
CN107329985B (en) * 2017-05-31 2021-01-12 北京安云世纪科技有限公司 Page collection method and device and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9405441B2 (en) * 2012-05-25 2016-08-02 Scott M. Trafton Pool data storage system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104376075A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104376075B (en) Collection of data method and apparatus
CN105488112B (en) Information-pushing method and device
CN104731688B (en) Point out the method and device of reading progress
WO2021077897A1 (en) File sending method and apparatus, and electronic device
CN106598393A (en) Split-screen display method and device
CN104679599A (en) Application program duplicating method and device
CN106528735A (en) Method and device for controlling browser to play media resources
CN106227419A (en) Screenshotss method and device
CN104536787B (en) Resource preloads method and device
CN106484138A (en) A kind of input method and device
CN105512220A (en) Image page output method and device
CN104461348A (en) Method and device for selecting information
CN104391878A (en) Book search method and book search device
CN106503131A (en) Obtain the method and device of interest information
CN106354504A (en) Message display method and device thereof
CN104216969B (en) Read flag method and device
CN105187671A (en) Recording method and device
CN107423378A (en) Image display method and device
CN106503167A (en) The display methods of subject content, device and terminal
CN106445148A (en) Method and device for triggering terminal application
CN107239236A (en) Method for writing data and device
CN104240274A (en) Face image processing method and device
CN108268507B (en) Browser-based processing method and device and electronic equipment
CN105975428A (en) Method and device for displaying character and terminal
CN106020699B (en) A kind of input method switching method, device and terminal

Legal Events

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