CN105160009B - Resource downloading method and device - Google Patents
Resource downloading method and device Download PDFInfo
- Publication number
- CN105160009B CN105160009B CN201510608003.8A CN201510608003A CN105160009B CN 105160009 B CN105160009 B CN 105160009B CN 201510608003 A CN201510608003 A CN 201510608003A CN 105160009 B CN105160009 B CN 105160009B
- Authority
- CN
- China
- Prior art keywords
- target resource
- list
- resource
- target
- submodule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure is directed to a kind of resource downloading method and devices.The described method includes: receiving target resource identifier;Obtain the corresponding historical viewings record of the target resource identifier;It is recorded according to the historical viewings and generates target resource list, include the uniform resource position mark URL of one or more target resources in the target resource list;Target resource is downloaded according to the target resource list.Disclosure terminal can generate target resource list according to the corresponding historical viewings record of target resource identifier, and user can download target resource according to target resource list and improve the efficiency of resource downloading without voluntarily screening, bring convenience to user.
Description
Technical field
This disclosure relates to field of communication technology more particularly to a kind of resource downloading method and device.
Background technique
In the related technology, user is in down loading network resource, it is often necessary to devote a tremendous amount of time resource needed for searching
URL (Uniform Resource Locator, uniform resource locator), then according to resource needed for URL downloading.At this
In the process, user also needs to screen the URL found, such as: by attempting downloading one by one to filter out speed of download
Faster URL.User toggles during lookup and downloading, and it is low to will lead to download efficiency, influences user experience.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of resource downloading method and device.
According to the first aspect of the embodiments of the present disclosure, a kind of resource downloading method is provided, comprising:
Receive target resource identifier;
Obtain the corresponding historical viewings record of the target resource identifier;
It is recorded according to the historical viewings and generates target resource list, include one in the target resource list or more
The uniform resource position mark URL of a target resource;
Target resource is downloaded according to the target resource list.
It is optionally, described to obtain the corresponding historical viewings record of the target resource identifier, comprising:
Obtain the corresponding historical viewings record of the target resource identifier cached in preset time period.
Optionally, further includes:
Export period selective listing;
Save the period selected based on the period selective listing.
Optionally, described recorded according to the historical viewings generates target resource list, comprising:
The corresponding one or more target resources of the target resource identifier are parsed from historical viewings record
Title, URL and type;
The target resource list is generated according to the title of one or more of target resources, URL and type.
Optionally, described that the target resource column are generated according to the title of the multiple target resource, URL and type
Table, comprising:
Classified according to the Destination Resource Type to the multiple target resources parsed;
The target resource list is generated according to the title of the target resource, URL and classification results.
Optionally, described recorded according to the historical viewings generates target resource list, further includes:
Transmission includes that the list ordering of the target resource list is requested to server-side, wherein the list ordering is asked
It asks for requesting server-side to carry out priority ranking to multiple target resources in the target resource list;
Target resource list after receiving the sequence that the server-side is returned for list ordering request;
It is described that target resource is downloaded according to the target resource list, comprising:
Target resource is downloaded according to the target resource list after sequence.
It is optionally, described that target resource is downloaded according to the target resource list, comprising:
Export the target resource list;
Receive the selection instruction of the target resource list input based on output;
The URL for the target resource specified by the selection instruction downloads the target resource.
According to the second aspect of an embodiment of the present disclosure, a kind of resource downloading device is provided, comprising:
Receiving module is identified, is configured as receiving target resource identifier;
Record obtains module, is configured as obtaining the target resource identifier correspondence that the mark receiving module receives
Historical viewings record;
List Generating Module is configured as obtaining the historical viewings record generation that module is got according to the record
Target resource list includes the uniform resource position mark URL of one or more target resources in the target resource list;
Resource downloading module is configured as downloading mesh according to the target resource list that the List Generating Module generates
Mark resource.
Optionally, the record acquisition module includes:
Acquisition submodule, the mark receiving module for being configured as caching in acquisition preset time period receive described
The corresponding historical viewings record of target resource identifier.
Optionally, the record obtains module further include:
Submodule is selected, output period selective listing is configured as;
Submodule is saved, is configured as saving the period selective listing selection based on the selection submodule output
Period.
Optionally, the List Generating Module includes:
Analyzing sub-module is configured as parsing from the historical viewings record that the record acquisition module is got described
Title, URL and the class of the corresponding one or more target resources of the target resource identifier that mark receiving module receives
Type;
First generates submodule, is configured as the one or more target resources parsed according to the analyzing sub-module
Title, URL and type generate the target resource list.
Optionally, the first generation submodule includes:
Classify submodule, is configured as the Destination Resource Type parsed according to the analyzing sub-module to parsing
Multiple target resources classify;
Second generates submodule, is configured as according to the title of the target resource, URL and the classification submodule
Classification results generate the target resource list.
Optionally, described first submodule is generated further include:
List sending submodule, being configured as sending includes the described first target resource list for generating submodule generation
List ordering request to server-side, wherein list ordering request is for requesting server-side to the target resource list
In multiple target resources carry out priority ranking;
List reception submodule is configured as receiving the server-side for the described of list sending submodule transmission
Target resource list after the sequence that list ordering request returns;
The resource downloading module, the target money after being configured as the sequence received according to the list reception submodule
Target resource is downloaded in source list.
Optionally, the resource downloading module includes:
List output sub-module is configured as exporting the target resource list;
Command reception submodule is configured as receiving the target resource column based on list output sub-module output
The selection instruction of table input;
Resource downloading submodule is configured as the specified mesh of the selection instruction received by described instruction receiving submodule
The URL for marking resource downloads the target resource.
According to the third aspect of an embodiment of the present disclosure, a kind of resource downloading device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive target resource identifier;
Obtain the corresponding historical viewings record of the target resource identifier;
It is recorded according to the historical viewings and generates target resource list, include one in the target resource list or more
The uniform resource position mark URL of a target resource;
Target resource is downloaded according to the target resource list.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Disclosure terminal can generate target resource list, user according to the corresponding historical viewings record of target resource identifier
Target resource can be downloaded according to target resource list to improve the efficiency of resource downloading without voluntarily screening, bring to user
Convenience.
Disclosure terminal can record according to the historical viewings in the corresponding preset time period of target resource identifier and generate mesh
The Resources list is marked, to improve the accuracy of target resource list generation.
Disclosure user can be used to generate the period of the historical viewings record of target resource list with self-setting, improve
The flexibility that historical viewings record obtains, and then improve the accuracy that target resource list generates.
Disclosure terminal can classify to the target resource parsed according to the type of target resource, then according to mesh
Title, URL and the classification results for marking resource generate target resource list, so that the target resource of the same category concentrates arrangement,
User is facilitated to search.
The target resource list of generation can be sent to server-side by disclosure terminal, by server-side to target resource list
In target resource be ranked up, user brings convenience to user, and improve resource without voluntarily screening target resource
The efficiency of downloading.
Disclosure terminal can export the target resource list of generation, and be inputted according to user for the target resource list
The URL of the specified target resource of selection instruction download the target resource, whole process is voluntarily screened without user, is improved
The efficiency of resource downloading.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of resource downloading method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another resource downloading method shown according to an exemplary embodiment.
Fig. 3 is a kind of period selective listing schematic diagram shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of resource downloading device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Fig. 9 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Figure 10 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Figure 11 is an a kind of structural schematic diagram for resource downloading device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of resource downloading method shown according to an exemplary embodiment.
Referring to FIG. 1, resource downloading method shown in FIG. 1 can be used in terminal, terminal may include smart phone, put down
The smart machines such as plate computer, PDA (Personal Digital Assistant, palm PC).The resource downloading method can be with
The following steps are included:
In step s101, target resource identifier is received.
In the present embodiment, terminal can receive the target resource identifier that user inputs when downloading resource, the mesh
Mark resource identification can represent the information of target resource for title, the keyword etc. of target resource.
In step s 102, the corresponding historical viewings record of the target resource identifier is obtained.
Based on abovementioned steps S101, for terminal after receiving target resource identifier, available target resource identifier is corresponding
Historical viewings record.
In the present embodiment, terminal can obtain the corresponding historical viewings record of target resource identifier from local cache.
Such as: from obtained in local cache the target resource that caches in preset time period for historical viewings record.
In step s 103, it is recorded according to the historical viewings and generates target resource list, in the target resource list
It include the URL of one or more target resources.
It can be gone through from this after getting the corresponding historical viewings record of target resource identifier based on abovementioned steps S102
Title, URL and the type of the corresponding one or more target resources of target resource identifier are parsed in history browsing record, then
Target resource list, the target resource list of generation are generated according to the title of one or more target resources, URL and type
In include each target resource URL.
In step S104, target resource is downloaded according to the target resource list.
Based on abovementioned steps S103, after generating target resource list, target resource list can be exported, user can be
The target resource to be downloaded is selected in the target resource list, terminal can be downloaded by the URL for the target resource that user selects
The target resource.
Disclosure terminal can be according to the corresponding historical viewings record life of target resource identifier it can be seen from above description
At target resource list, user can download target resource according to target resource list and improve under resource without voluntarily screening
The efficiency of load brings convenience to user.
Fig. 2 is the flow chart of another resource downloading method shown according to an exemplary embodiment.
Referring to FIG. 2, resource downloading method shown in Fig. 2 can be used in terminal, terminal may include smart phone, put down
The smart machines such as plate computer, PDA (Personal Digital Assistant, palm PC).The resource downloading method can be with
The following steps are included:
In step s 201, target resource identifier is received.
In the present embodiment, when user will download target resource, can browser or correlation APP (Application,
Application software) in input target resource identifier, terminal receive user input target resource identifier.The target resource identifier can be with
The information of target resource can be represented for title, the keyword etc. of target resource.
As an example it is assumed that the target resource to be downloaded of user is a film, then corresponding target resource identifier can be with
For the title of film or the information such as protagonist, director of film.Assuming that the target resource to be downloaded of user is an opinion
Text, then corresponding target resource identifier can be the title of paper, or the information such as author, keyword of paper.
In step S202, the corresponding historical viewings note of the target resource identifier cached in preset time period is obtained
Record.
Based on abovementioned steps S201, terminal can obtain default after receiving target resource identifier from local cache
The corresponding historical viewings record of the target resource identifier cached in period.
In the present embodiment, when terminal would generally save the historical viewings record of user in the buffer and browse accordingly
Between.Terminal after receiving target resource identifier, can within a preset period of time historical viewings record in, filter out target money
Source identifies corresponding historical viewings record, to improve the accuracy of target resource list generation.
Wherein, preset time period can be configured by user.In practical implementations, terminal can export period selection
To user, user can select period needed for generating target resource list, terminal in the period selective listing for list
The period of user's selection is saved, and the period that user is selected is as above-mentioned preset time period.
It please refers to period selective listing schematic diagram shown in Fig. 3, in period selective listing shown in Fig. 3, provides
Have in 1 hour, in 6 hours, in 12 hours and in 1 day four periods selected for user, certainly, user can also by from
The button self defined time section of definition, the disclosure are not particularly limited this.In practical implementations, if user does not set in advance
It sets the period, then terminal can be using the period of default as above-mentioned preset time period.
In the present embodiment, user can be used to generate the time of the historical viewings record of target resource list with self-setting
Section improves the flexibility that historical viewings record obtains, and then improves the accuracy that target resource list generates.
In step S203, to parse the target resource identifier one or more corresponding from historical viewings record
Title, URL and the type of a target resource.
In the present embodiment, terminal can parse each historical viewings record packet from the historical viewings record got
The information such as the target resource name, target resource URL and the Destination Resource Type that contain.
Target resource name | Target resource URL | Destination Resource Type | |
1 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL1 | TV play |
2 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL2 | Film |
3 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL3 | TV play |
4 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL4 | Novel |
5 | How love | URL5 | Music |
Table 1
The example of the offer of table 1 is be provided, it is assumed that the target resource identifier that terminal receives is " how sheng, a reed pipe wind instrument vertical bamboo flute silent ", terminal from
5 target resources, the name of this 5 target resources are parsed in the corresponding historical viewings record of the target resource identifier got
The information of title, URL and type is as shown in table 1.It is worth noting that, the example of table 1 is only principle, do not represent real
The data on border, table 1 are a kind of pictute for result and principle, and during actual development, developer is simultaneously different
Surely such list item is organized.
In step S204, the target is generated according to the title of one or more of target resources, URL and type
The Resources list.
In the present embodiment, it when terminal parses a target resource from the historical viewings record got, generates
It only include the target resource list of this target resource.When terminal parses multiple targets from the historical viewings record got
When resource, it can be classified according to the Destination Resource Type to the multiple target resources parsed, then according to the mesh
Title, URL and the classification results for marking resource generate the target resource list.In this process, terminal can first basis
The type of each target resource parsed classifies to target resource, is carried out according to sequence of the classification results to target resource
Adjustment, such as: the target resource of the same category is arranged together, is then generated further according to the title of target resource and URL
Target resource list.
It is TV by Destination Resource Type in this step still by taking 5 target resources parsed shown in table 1 as an example
Acute first aim resource and third target resource is arranged together, and target resource list shown in table 2 can be generated.
Target resource name | Target resource URL | Destination Resource Type | |
1 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL1 | TV play |
2 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL3 | TV play |
3 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL2 | Film |
4 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL4 | Novel |
5 | How love | URL5 | Music |
Table 1
In the present embodiment, terminal can classify to the target resource parsed according to the type of target resource, so
Target resource list is generated according to the title of target resource, URL and classification results afterwards, so that the target resource collection of the same category
Middle arrangement, facilitates user to search.
Optionally, in another embodiment of the disclosure, terminal can be after generating target resource list, and sending includes the mesh
The list ordering of mark the Resources list is requested to server-side.Server-side can provide target after receiving list ordering request
The multiple target resources for including in the list of source carry out priority ranking, and the target resource of high priority is arranged in target resource column
The front end of table.Terminal receives the target resource list after the sequence that server-side is returned for list ordering request.
Still by taking 5 target resources parsed shown in table 1 as an example, it is assumed that how sheng, a reed pipe wind instrument vertical bamboo flute is silent for the TV play that URL is URL3
Priority be higher than TV play that URL the is URL1 how silent priority of sheng, a reed pipe wind instrument vertical bamboo flute, then server can be generated preferential shown in table 3
Target resource list after grade sequence.
Target resource name | Target resource URL | Destination Resource Type | |
1 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL3 | TV play |
2 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL1 | TV play |
3 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL2 | Film |
4 | How sheng, a reed pipe wind instrument vertical bamboo flute is silent | URL4 | Novel |
5 | How love | URL5 | Music |
Table 1
In this process, server-side can be according to the URL of each target resource in the target resource list that terminal generates
The speed of download of each URL is tested, and determines the priority of corresponding target resource according to the speed of download of each URL.Wherein, under
The priority for carrying the corresponding target resource of URL of fast speed is higher.In practical implementations, server-side can be ordered by curl etc.
It enables to detect the speed of download of URL.Certainly, server-side can also determine the preferential of each target resource using other modes
Grade, such as: its priority etc., the disclosure pair are determined according to the number that target resource in each target resource list summarized occurs
This is not particularly limited.
In the present embodiment, the target resource list of generation can be sent to server-side by terminal, by server-side to target
Target resource in the Resources list is ranked up, and user brings convenience to user, and mention without voluntarily screening target resource
The high efficiency of resource downloading.
In step S205, the target resource list is exported.
Based on abovementioned steps S204, terminal can export the target resource list after generating target resource list.Its
In, the mesh after target resource list of generation is sent to server-side by terminal to be ranked up, after server-side sequence can be exported
Mark the Resources list.
In step S206, the selection instruction of the target resource list input based on output is received.
In the present embodiment, user can select the target resource to be downloaded in the target resource list, and user can be with
Selection instruction is inputted by modes such as click, voice inputs, the disclosure is not particularly limited this.
In step S207, the URL for the target resource specified by the selection instruction downloads the target resource.
In the present embodiment, terminal can first obtain the URL of the specified target resource of selection instruction, then according to the URL
Download target resource.
Disclosure terminal can be according to the corresponding historical viewings record life of target resource identifier it can be seen from above description
At target resource list, user can download target resource according to target resource list and improve under resource without voluntarily screening
The efficiency of load brings convenience to user.
Corresponding with aforementioned resource downloading method embodiment, the disclosure additionally provides the embodiment of resource downloading device.
Fig. 4 is a kind of block diagram of resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 4, the resource downloading device 400 can be used in terminal, include: mark receiving module 401, note
Record obtains module 402, List Generating Module 403 and resource downloading module 404.
Wherein, receiving module 401 is identified, is configured as receiving target resource identifier.
Record obtains module 402, is configured as obtaining the target resource mark that the mark receiving module 401 receives
Know corresponding historical viewings record.
List Generating Module 403 is configured as obtaining the historical viewings note that module 402 is got according to the record
Record generates target resource list, includes the uniform resource locator of one or more target resources in the target resource list
URL。
Resource downloading module 404 is configured as the target resource list generated according to the List Generating Module 403
Download target resource.
In above-described embodiment, terminal can generate target resource column according to the corresponding historical viewings record of target resource identifier
Table, user can download target resource according to target resource list and improve the efficiency of resource downloading without voluntarily screening, give
User brings convenience.
Fig. 5 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 5, the embodiment, on the basis of aforementioned embodiment shown in Fig. 4, record obtains module 402 and can wrap
It includes: acquisition submodule 4021.
Acquisition submodule 4021 is configured as obtaining the mark receiving module 401 reception cached in preset time period
The corresponding historical viewings record of the target resource identifier arrived.
In above-described embodiment, terminal can be recorded according to the historical viewings in the corresponding preset time period of target resource identifier
Target resource list is generated, to improve the accuracy of target resource list generation.
Fig. 6 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 6, the embodiment is on the basis of aforementioned embodiment shown in fig. 5, record obtains module 402 can be with
It include: selection submodule 4022 and preservation submodule 4023.
Wherein, submodule 4022 is selected, output period selective listing is configured as.
Submodule 4023 is saved, is configured as saving the period selection exported based on the selection submodule 4022
The period of list selection.
In above-described embodiment, user can be used to generate the time of the historical viewings record of target resource list with self-setting
Section improves the flexibility that historical viewings record obtains, and then improves the accuracy that target resource list generates.
Fig. 7 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 7, the embodiment, on the basis of aforementioned embodiment shown in Fig. 4, List Generating Module 403 can wrap
It includes: analyzing sub-module 4031 and the first generation submodule 4032.
Wherein, analyzing sub-module 4031 are configured as obtaining the historical viewings record that module 402 is got from the record
In parse the corresponding one or more target resources of the target resource identifier that receives of mark receiving module 401
Title, URL and type;
First generates submodule 4032, is configured as the one or more mesh parsed according to the analyzing sub-module 4031
Title, URL and the type for marking resource generate the target resource list.
It should be noted that analyzing sub-module 4031 shown in above-mentioned embodiment shown in Fig. 7 and the first generation
Module 4032 also may be embodied in above-mentioned Fig. 5 or embodiment shown in fig. 6, and the disclosure is not particularly limited this.
Fig. 8 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 8, the embodiment, on the basis of aforementioned embodiment shown in Fig. 7, first generates submodule 4032 can
To include: that classification submodule 4032A and second generates submodule 4032B.
Wherein, classify submodule 4032A, is configured as the target parsed according to 4031 analyzing sub-module money
Source Type classifies to the multiple target resources parsed;
Second generates submodule 4032B, is configured as according to the title of the target resource, URL and classification
The classification results of module 4032A generate the target resource list.
In above-described embodiment, terminal can classify to the target resource parsed according to the type of target resource, so
Target resource list is generated according to the title of target resource, URL and classification results afterwards, so that the target resource collection of the same category
Middle arrangement, facilitates user to search.
Fig. 9 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 9, the embodiment, on the basis of aforementioned embodiment shown in Fig. 7, first generates submodule 4032 also
It may include: list sending submodule 4032C and list reception submodule 4032D.
Wherein, list sending submodule 4032C, being configured as sending includes that the first generation submodule 4032 generates
The list ordering of target resource list request to server-side, wherein the list ordering request is for requesting server-side to institute
The multiple target resources stated in target resource list carry out priority ranking.
List reception submodule 4032D is configured as receiving the server-side for the list sending submodule 4032C
Target resource list after the sequence that the list ordering request sent returns.
Resource downloading module 404, the mesh after being configured as the sequence received according to the list reception submodule 4032D
It marks the Resources list and downloads target resource.
In above-described embodiment, the target resource list of generation can be sent to server-side by terminal, by server-side to target
Target resource in the Resources list is ranked up, and user brings convenience to user, and mention without voluntarily screening target resource
The high efficiency of resource downloading.
Figure 10 is the block diagram of another resource downloading device shown according to an exemplary embodiment.
Referring to FIG. 10, the embodiment is on the basis of aforementioned embodiment shown in Fig. 4, resource downloading module 404 can be with
It include: list output sub-module 4041, command reception submodule 4042 and resource downloading submodule 4043.
Wherein, list output sub-module 4041 is configured as exporting the target resource list.
Command reception submodule 4042 is configured as receiving the mesh based on the list output sub-module 4041 output
Mark the selection instruction of the Resources list input.
Resource downloading submodule 4043 is configured as the selection instruction received by described instruction receiving submodule 4042
The URL of specified target resource downloads the target resource.
In above-described embodiment, terminal can export the target resource list of generation, and be directed to the target resource according to user
The URL of the specified target resource of the selection instruction of list input downloads the target resource, and whole process is voluntarily sieved without user
Choosing, improves the efficiency of resource downloading.
It should be noted that list output sub-module 4041, command reception shown in above-mentioned embodiment shown in Fig. 10
Submodule 4042 and resource downloading submodule 4043 also may be embodied in above-mentioned Fig. 5 into embodiment shown in Fig. 9, this public affairs
It opens and this is not particularly limited.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of resource downloading device, described device includes: processor;It is handled for storage
The memory of device executable instruction;Wherein, the processor is configured to: receive target resource identifier;Obtain the target money
Source identifies corresponding historical viewings record;It is recorded according to the historical viewings and generates target resource list, the target resource column
It include the uniform resource position mark URL of one or more target resources in table;Target is downloaded according to the target resource list
Resource.
Correspondingly, the disclosure also provides a kind of non-transitorycomputer readable storage medium, when in the storage medium
It when instruction is executed by the processor of terminal, enables the terminal to execute a kind of resource downloading method, which comprises receive mesh
Mark resource identification;Obtain the corresponding historical viewings record of the target resource identifier;It is recorded according to the historical viewings and generates mesh
The Resources list is marked, includes the uniform resource position mark URL of one or more target resources in the target resource list;According to
Target resource is downloaded in the target resource list.
Figure 11 is a kind of block diagram for resource downloading device 1100 shown according to an exemplary embodiment.For example, dress
Setting 1100 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, doctor
Treat equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1102, memory 1104,
Power supply module 1106, multimedia component 1108, audio component 1110, the interface 1112 of input/output (I/O), sensor module
1114 and communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing element 1102 may include one or more processors 1120 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds
Block, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multi-media module,
To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in equipment 1100.These data
Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data,
Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 1106 provides electric power for the various assemblies of device 1100.Electric power assembly 1106 may include power management
System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between described device 1100 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 1108 includes a front camera and/or rear camera.When equipment 1100 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat
Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1104 or via communication
Component 1116 is sent.In some embodiments, audio component 1110 further includes a loudspeaker, is used for output audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented
Estimate.For example, sensor module 1114 can detecte the state that opens/closes of equipment 1100, the relative positioning of component, such as institute
The display and keypad that component is device 1100 are stated, sensor module 1114 can be with detection device 1100 or device 1,100 1
The position change of a component, the existence or non-existence that user contacts with device 1100,1100 orientation of device or acceleration/deceleration and dress
Set 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1114 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1116 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of device 1100 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure 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 principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood 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 the accompanying claims.
Claims (15)
1. a kind of resource downloading method characterized by comprising
Receive target resource identifier;The target resource identifier is for identifying Internet resources;
Obtain the corresponding historical viewings record of the target resource identifier;
It is recorded according to the historical viewings and generates target resource list, include one or more mesh in the target resource list
Mark the uniform resource position mark URL of resource;
Target resource is downloaded according to the target resource list.
2. resource downloading method according to claim 1, which is characterized in that the acquisition target resource identifier is corresponding
Historical viewings record, comprising:
Obtain the corresponding historical viewings record of the target resource identifier cached in preset time period.
3. resource downloading method according to claim 2, which is characterized in that further include:
Export period selective listing;
Save the period selected based on the period selective listing.
4. resource downloading method according to claim 1, which is characterized in that described recorded according to the historical viewings generates
Target resource list, comprising:
Parsed from historical viewings record the corresponding one or more target resources of the target resource identifier title,
URL and type;
The target resource list is generated according to the title of one or more of target resources, URL and type.
5. resource downloading method according to claim 4, which is characterized in that the name according to the multiple target resource
Claim, URL and type generate the target resource list, comprising:
Classified according to the Destination Resource Type to the multiple target resources parsed;
The target resource list is generated according to the title of the target resource, URL and classification results.
6. resource downloading method according to claim 4, which is characterized in that described recorded according to the historical viewings generates
Target resource list, further includes:
Transmission includes that the list ordering of the target resource list is requested to server-side, wherein the list ordering request is used
Priority ranking is carried out to multiple target resources in the target resource list in request server-side;
Target resource list after receiving the sequence that the server-side is returned for list ordering request;
It is described that target resource is downloaded according to the target resource list, comprising:
Target resource is downloaded according to the target resource list after sequence.
7. resource downloading method according to claim 1, described to download target resource, packet according to the target resource list
It includes:
Export the target resource list;
Receive the selection instruction of the target resource list input based on output;
The URL for the target resource specified by the selection instruction downloads the target resource.
8. a kind of resource downloading device characterized by comprising
Receiving module is identified, is configured as receiving target resource identifier;The target resource identifier is for identifying Internet resources;
Record obtains module, is configured as obtaining that the target resource identifier that the mark receiving module receives is corresponding goes through
History browsing record;
List Generating Module is configured as obtaining the historical viewings record generation target that module is got according to the record
The Resources list includes the uniform resource position mark URL of one or more target resources in the target resource list;
Resource downloading module is configured as the target resource list downloading target money generated according to the List Generating Module
Source.
9. resource downloading device according to claim 8, which is characterized in that the record obtains module and includes:
Acquisition submodule is configured as obtaining the target that the mark receiving module cached in preset time period receives
The corresponding historical viewings record of resource identification.
10. resource downloading device according to claim 9, which is characterized in that the record obtains module further include:
Submodule is selected, output period selective listing is configured as;
Save submodule, be configured as saving the period selective listing selection based on the selection submodule output when
Between section.
11. resource downloading device according to claim 8, which is characterized in that the List Generating Module includes:
Analyzing sub-module is configured as parsing the mark from the historical viewings record that the record acquisition module is got
Title, URL and the type of the corresponding one or more target resources of the target resource identifier that receiving module receives;
First generates submodule, is configured as the name of the one or more target resources parsed according to the analyzing sub-module
Claim, URL and type generate the target resource list.
12. resource downloading device according to claim 11, which is characterized in that described first, which generates submodule, includes:
Classification submodule, the Destination Resource Type for being configured as being parsed according to the analyzing sub-module are more to what is parsed
A target resource is classified;
Second generates submodule, is configured as the classification according to the title of the target resource, URL and the classification submodule
As a result the target resource list is generated.
13. resource downloading device according to claim 11, which is characterized in that described first generates submodule further include:
List sending submodule, being configured as sending includes the described first column for generating the target resource list that submodule generates
List sorting is requested to server-side, wherein the list ordering request is for requesting server-side in the target resource list
Multiple target resources carry out priority ranking;
List reception submodule is configured as receiving the list that the server-side is directed to list sending submodule transmission
Target resource list after the sequence that sequencing requests return;
The resource downloading module, the target resource column after being configured as the sequence received according to the list reception submodule
Table downloads target resource.
14. resource downloading device according to claim 8, the resource downloading module include:
List output sub-module is configured as exporting the target resource list;
It is defeated to be configured as receiving the target resource list based on list output sub-module output for command reception submodule
The selection instruction entered;
Resource downloading submodule is configured as the specified target money of the selection instruction received by described instruction receiving submodule
The URL in source downloads the target resource.
15. a kind of resource downloading device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive target resource identifier;The target resource identifier is for identifying Internet resources;
Obtain the corresponding historical viewings record of the target resource identifier;
It is recorded according to the historical viewings and generates target resource list, include one or more mesh in the target resource list
Mark the uniform resource position mark URL of resource;
Target resource is downloaded according to the target resource list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510608003.8A CN105160009B (en) | 2015-09-22 | 2015-09-22 | Resource downloading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510608003.8A CN105160009B (en) | 2015-09-22 | 2015-09-22 | Resource downloading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105160009A CN105160009A (en) | 2015-12-16 |
CN105160009B true CN105160009B (en) | 2019-03-15 |
Family
ID=54800865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510608003.8A Active CN105160009B (en) | 2015-09-22 | 2015-09-22 | Resource downloading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105160009B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107153663B (en) * | 2016-03-04 | 2019-10-29 | 中国移动通信集团北京有限公司 | A kind of domain name resources caching method and device |
CN106776917B (en) * | 2016-11-30 | 2021-03-02 | 北京小米移动软件有限公司 | Method and device for acquiring resource file |
CN107257365B (en) * | 2017-05-31 | 2018-08-07 | 腾讯科技(深圳)有限公司 | A kind of data download processing method and device |
CN107734049B (en) * | 2017-10-31 | 2020-10-27 | 维沃移动通信有限公司 | Network resource downloading method and device and mobile terminal |
CN108228793A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | Acquisition methods, device and the terminal applies of data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6310630B1 (en) * | 1997-12-12 | 2001-10-30 | International Business Machines Corporation | Data processing system and method for internet browser history generation |
CN101963981A (en) * | 2010-09-20 | 2011-02-02 | 深圳市戴文科技有限公司 | Resource list transmitting method and corresponding resource interaction system and server |
CN102024035A (en) * | 2010-12-02 | 2011-04-20 | 东莞宇龙通信科技有限公司 | Resource retrieval method and device |
CN102855238A (en) * | 2011-06-28 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Method and system for downloading resource data |
CN104166696A (en) * | 2014-08-01 | 2014-11-26 | 小米科技有限责任公司 | Method and device for pushing application programs |
-
2015
- 2015-09-22 CN CN201510608003.8A patent/CN105160009B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6310630B1 (en) * | 1997-12-12 | 2001-10-30 | International Business Machines Corporation | Data processing system and method for internet browser history generation |
CN101963981A (en) * | 2010-09-20 | 2011-02-02 | 深圳市戴文科技有限公司 | Resource list transmitting method and corresponding resource interaction system and server |
CN102024035A (en) * | 2010-12-02 | 2011-04-20 | 东莞宇龙通信科技有限公司 | Resource retrieval method and device |
CN102855238A (en) * | 2011-06-28 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Method and system for downloading resource data |
CN104166696A (en) * | 2014-08-01 | 2014-11-26 | 小米科技有限责任公司 | Method and device for pushing application programs |
Also Published As
Publication number | Publication date |
---|---|
CN105160009A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105160009B (en) | Resource downloading method and device | |
RU2634696C2 (en) | Method and device for identification of audio information | |
US20140298248A1 (en) | Method and device for executing application | |
CN105095427A (en) | Search recommendation method and device | |
CN109657236B (en) | Guidance information acquisition method, apparatus, electronic apparatus, and storage medium | |
CN105183513A (en) | Application recommendation method and apparatus | |
CN106896991B (en) | Method and device for updating information | |
CN107241511B (en) | Music playing method, device, storage medium and terminal | |
CN110989847B (en) | Information recommendation method, device, terminal equipment and storage medium | |
CN104021155A (en) | Webpage display method and device | |
CN108184143B (en) | Method and device for acquiring resources | |
CN108334623B (en) | Song display method, device and system | |
CN105373580A (en) | Method and device for displaying subjects | |
CN110309324B (en) | Searching method and related device | |
CN104111979A (en) | Search recommendation method and device | |
CN108363817A (en) | Document handling method, device, mobile terminal and computer readable storage medium | |
CN105959502A (en) | Network picture compression method and device | |
TWI755890B (en) | Data processing method, electronic device and computer-readable storage medium | |
CN107220059A (en) | The display methods and device of application interface | |
KR101777035B1 (en) | Method and device for filtering address, program and recording medium | |
CN104408051A (en) | Song recommendation method and device | |
WO2021147949A1 (en) | Video recommendation method and apparatus | |
CN104111829A (en) | Data storage method and device | |
KR101710543B1 (en) | Mobile terminal and control method for mobile terminal | |
CN111586329A (en) | Information display method and device and electronic equipment |
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 |