CN105988791A - Method and device for processing network material - Google Patents

Method and device for processing network material Download PDF

Info

Publication number
CN105988791A
CN105988791A CN201510070876.8A CN201510070876A CN105988791A CN 105988791 A CN105988791 A CN 105988791A CN 201510070876 A CN201510070876 A CN 201510070876A CN 105988791 A CN105988791 A CN 105988791A
Authority
CN
China
Prior art keywords
network address
pages
module
target network
page
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.)
Pending
Application number
CN201510070876.8A
Other languages
Chinese (zh)
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.)
Guangzhou UCWeb Computer Technology Co Ltd
Guangzhou Dongjing Computer Technology Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201510070876.8A priority Critical patent/CN105988791A/en
Publication of CN105988791A publication Critical patent/CN105988791A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for processing a network material. The method comprises the following steps of: acquiring preconfigured page content, wherein the page content includes a plurality of material websites; searching a target website from the plurality of material websites according to a preset mode; and downloading materials in the searched target website. Through the method and the device for processing the network material, the downloading mode of the network material is simplified and the flexibility of personalized interface design is improved.

Description

Network materials treating method and apparatus
Technical field
The present invention relates to network materials to obtain and Display Technique field, in particular to net Network material processing method and device.
Background technology
Improving constantly of electronic equipment hardware, is that the operation of software provides more sufficient performance, So that software can provide on the basis of meeting function more exquisite, more grasp freely Make interface.For example, current a lot of softwares provide self-defined background, self-defined theme, from The functions such as definition homepage, the self-defined demand extra in order to meet user.Therefore, more certainly By and powerful defined interface can more cater to the expectation of user.
In related defined interface design, user can select one or one group of picture conduct Defined interface, this picture can be that user equipment is locally stored, it is also possible to is network The picture that one given service provides.As a example by web browser, user can be from local In picture library, one or one group picture of selection is as the background picture of this web browser, user Also one or one group of picture can be chosen from the server of this web browser as this network The background picture of browser.But, the picture in these defined interfaces is usually fixed not Become, there is certain limitation, if user need other pictures on network or other The material of type, then need individually to download, for the user at frequent changes interface, this Plant downloading mode troublesome, limit the personalized interface design requirement of user.
Inventor finds under study for action, and existing picture downloading mode is loaded down with trivial details, limits user's Personalized interface design requirement.
Content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of network materials process side Method and device, (include picture, bitmap, polar plot, animation to simplify network materials or regard Frequently the mode downloaded etc.), promotes the flexibility of personalized interface design.
First aspect, embodiments provides a kind of network materials processing method, comprising: Obtaining the content of pages being pre-configured with, wherein, this content of pages includes multiple material network address; Search target network address according to predetermined manner from above-mentioned multiple material network address;Download finds Material in target network address.
In conjunction with first aspect, the first embodiments providing first aspect is possible Embodiment, wherein, searching target network address according to predetermined manner from multiple material network address can To include: according to the material page matched rule being pre-configured with from above-mentioned multiple material network address Search target network address;Or, using above-mentioned multiple material network address all as target network address;Wherein, This material page matched rule includes material classification set in advance.
In conjunction with the first possible embodiment of first aspect, embodiments provide The possible embodiment of the second of first aspect, wherein, downloads the target network address finding In material include: in the page of target network address download meet default material matched rule Material.
In conjunction with first aspect, the third embodiments providing first aspect is possible Embodiment, said method also includes: big according to default material file size and/or size The material downloaded is filtered by little requirement.
In conjunction with the above-mentioned embodiment of first aspect, embodiments provide first aspect The 4th kind of possible embodiment, method also includes: display material.
In conjunction with the 4th kind of possible embodiment of first aspect, embodiments provide 5th kind of possible embodiment of first aspect, display material includes: according to being pre-configured with Apply Styles, be shown in the material of acquisition on interface control one by one.
In conjunction with the 5th kind of possible embodiment of first aspect, embodiments provide 6th kind of possible embodiment of first aspect, said method also comprises determining that user joins The Apply Styles put, wherein, this Apply Styles includes filling, adapts to, stretching, placed in the middle and At least one in tiling.
In conjunction with the 4th kind of possible embodiment of first aspect, embodiments provide 7th kind of possible embodiment of first aspect, said method also includes: according to default The material of acquisition is shown in interface control by time threshold one by one, and wherein, time threshold is The duration that each material shows.
Second aspect, the embodiment of the present invention additionally provides a kind of network materials processing means, bag Include: content of pages acquisition module, for obtaining the content of pages being pre-configured with, wherein, should Content of pages is the webpage including multiple material network address;Network address search module, for according to Predetermined manner is looked into from multiple material network address of the content of pages that content of pages acquisition module obtains Look for target network address;Material download module, searches, for downloading network address, the target that module searches arrives Material in network address.
In conjunction with second aspect, the first embodiments providing second aspect is possible Embodiment, wherein, network address is searched module and is included: the first determining unit, for according in advance The material page matched rule first configuring searches target network address from multiple material network address, wherein, Material page matched rule includes material classification set in advance;Or, the second determining unit, For using multiple material network address all as target network address.
In conjunction with second aspect, the second embodiments providing second aspect is possible Embodiment, wherein, material download module includes: material download unit, for from target The material meeting default material matched rule is downloaded in the page of network address.
In conjunction with second aspect, the third embodiments providing second aspect is possible Embodiment, said apparatus also includes: material filtering module, for according to the material preset File size and/or size require to filter the material downloaded.
In conjunction with the above-mentioned embodiment of second aspect, embodiments provide second aspect The 4th kind of possible embodiment, said apparatus also includes: display module, is used for showing Material.
In conjunction with the 4th kind of possible embodiment of second aspect, embodiments provide 5th kind of possible embodiment of second aspect, above-mentioned display module includes: the first interface Control display unit, for according to the Apply Styles being pre-configured with, the material that will obtain one by one It is shown on interface control.
In conjunction with the 5th kind of possible embodiment of second aspect, embodiments provide 5th kind of possible embodiment of second aspect, above-mentioned display module also includes: application sample Formula determining unit, is used for determining user configured Apply Styles, wherein, this Apply Styles bag Include filling, adaptation, stretching, at least one between two parties and in tiling.
In conjunction with the 4th kind of possible embodiment of second aspect, embodiments provide 5th kind of possible embodiment of second aspect, above-mentioned display module also includes: the second boundary The material of acquisition, for according to default time threshold, is shown by face control display unit one by one Being shown in interface control, wherein, time threshold is the duration that each material shows.
The method and apparatus that the embodiment of the present invention provides, includes multiple material by obtaining The content of pages of network address, when finding target network address from multiple material network address, automatically under Carry the material in these target network address, download one by one without user, no matter from network address Choose process, or the downloading process of material, all carried out effective simplification, eliminated use The loaded down with trivial details operating process in family, improves the efficiency of material obtaining and the Experience Degree of user.
Further, these materials are used for personalized interface design, meet user personality Change the demand of design, improve the performance of equipment.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, hereafter Especially exemplified by preferred embodiment, and coordinate appended accompanying drawing, be described in detail below.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment In the accompanying drawing of required use be briefly described, it will be appreciated that the following drawings illustrate only Certain embodiments of the present invention, is therefore not construed as the restriction to scope, for ability From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, can also basis These accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the stream of a kind of network materials processing method that the embodiment of the present invention provided Cheng Tu;
Fig. 2 shows the second network materials processing method that the embodiment of the present invention provided Flow chart;
Fig. 3 shows the third network materials processing method that the embodiment of the present invention provided Flow chart;
Fig. 4 shows a certain moment Baidu's search engine that the embodiment of the present invention provided The content schematic diagram that " wallpaper " column is shown;
The wall of browser when Fig. 5 shows a kind of 10th minute that the embodiment of the present invention provided Paper effect schematic diagram;
The wall of browser when Fig. 6 shows a kind of 20th minute that the embodiment of the present invention provided Paper effect schematic diagram;
Fig. 7 shows the knot of a kind of network materials processing means that the embodiment of the present invention provided Structure block diagram;
Fig. 8 shows the another kind of network materials processing means that the embodiment of the present invention provided Structured flowchart;
Fig. 9 shows the third network materials processing means that the embodiment of the present invention provided Structured flowchart;
Figure 10 shows the 4th kind of network materials processing means that the embodiment of the present invention is provided Structured flowchart;
Figure 11 shows the 5th kind of network materials processing means that the embodiment of the present invention is provided Structured flowchart;
Figure 12 shows the 6th kind of network materials processing means that the embodiment of the present invention is provided Structured flowchart;
Figure 13 shows the 7th kind of network materials processing means that the embodiment of the present invention is provided Structured flowchart.
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described, it is clear that described embodiment is only the present invention one Section Example, rather than whole embodiments.Generally described and illustrated in accompanying drawing herein The assembly of the embodiment of the present invention can arrange with various different configurations and design.Therefore, Hereinafter the detailed description of the embodiments of the invention providing in the accompanying drawings is not intended to limit and wants Seek the scope of the present invention of protection, but be merely representative of the selected embodiment of the present invention.Based on Embodiments of the invention, those skilled in the art are not on the premise of making creative work The every other embodiment being obtained, broadly falls into the scope of protection of the invention.
With the continuous progress of electronic equipment hardware, the continuous of memory capacity promotes, more User start to wish to be not content with use known or by the preset picture of special services, And apply known picture or fixing picture cannot preferably embody personalized interface control Design, based on this, embodiments provides a kind of network materials treating method and apparatus, Wherein, the material in the embodiment of the present invention is not limited to common picture or image, all right Including bitmap, polar plot, animation or video etc..It is described below by embodiment.
The flow chart of network materials processing method shown in Figure 1, the method can be applied In the software of the terminal device such as mobile phone, palm PC, it is also possible to be applied to terminal device In virtual bench, for example, it is applied in network materials processing means, this network materials process Device can be arranged on terminal device (for example, mobile phone), the execution master of i.e. following method Body can be terminal device, it is also possible to be a network materials processing means on terminal device. This network materials processing method comprises the following steps:
Step S102, obtains the content of pages being pre-configured with, and wherein, this content of pages comprises There is multiple material network address (being referred to as website links).
When implementing, the above-mentioned page can be configured by user, it is also possible to is default configuration, It can be similar to specify search for the network address page that the search engine that content is a certain material is opened, For example: as a example by picture materials, when search causes as Baidu, this page can be considered ashttp://image.***.com/channel/wallpaper, in this page, contain a lot of figures Piece network address.Therefore this page may also be referred to as " index pages ", in the present embodiment, and this page Face is in order to directly give each network address of relevant material information.
The present embodiment can use periodically or start by set date mode, i.e. periodicity or timing obtain Taking the mode of the content of pages being pre-configured with, this mode too much participates in material without user and obtains Taking (download) process, system can periodically start material obtaining at set time intervals Process, and this time interval can be by user setup, it would however also be possible to employ the time interval of acquiescence, For example, 12 hours;Or use the mode of timing acquisition, for example, hold for 5 that set every day Row obtains the mode of the content of pages being pre-configured with.
Step S104, searches target network address according to predetermined manner from above-mentioned multiple material network address; Wherein, the predetermined manner in the embodiment of the present invention can be with sets itself, for example, it is possible in advance Setting a rule, the material that this rule middle finger improving eyesight mark network address need to meet requires;Certainly, This predetermined manner also can be given tacit consent to all of material network address all as target network address.
Step S106, downloads the material in the target network address finding.
Above-mentioned download refers to download these materials and is saved in the memory block specified, and this refers to Fixed memory block can user be specified, it is also possible to is system default.
The method of the present embodiment is included the content of pages of multiple material network address by obtaining, when When finding with target network address from multiple material network address, automatically download in these target network address Material, download one by one without user, no matter from the process of choosing of network address, or element The downloading process of material, has all carried out effective simplification, eliminates the loaded down with trivial details operating process of user, Improve the efficiency of material obtaining and the Experience Degree of user.
May there is different download wishes in view of different users, in order to make the material of download More meet the wish of user, one can be pre-configured with and download rule, such as by configuring literary composition Part configures, and as a example by picture materials, its type is divided into: landscape, personage, cartoon etc., uses Family can pre-set one type or multiclass as hobby according to self hobby or wish Classification, so when carrying out the lookup of target network address, only chooses corresponding with user preferences classification Material network address is as target network address.
In above-mentioned steps S104, user can be indicated by arranging material page matched rule Hobby, this material page matched rule can be configured by user in advance;Certainly, if used Family is not previously set this material page matched rule, then can be using all categories all as use The classification of family hobby.Based on this, in step S104 according to predetermined manner from above-mentioned multiple elements The step searching target network address in material network address may include that according to the material page being pre-configured with Matched rule searches target network address from above-mentioned multiple material network address;Or, by above-mentioned multiple elements Material network address is all as target network address;Wherein, this material page matched rule includes presetting Material classification (during this material category setting, can be set according to the hobby of user). When implementing, the material page first judging whether that user is pre-configured with can be used Matched rule, wherein, this material page matched rule includes material classification set in advance; If it does, search target network from multiple material network address according to this material page matched rule Location;If it does not, using above-mentioned multiple material network address all as target network address.Pass through the party Formula, simplifies the mode choosing target network address, makes target network address more meet the download meaning of user It is willing to.
In view of in each webpage, in addition to the material of text, it is also possible to have other files, Other materials of such as video ads or logo etc., and these files be not suitable for obtaining as user These document screenings, based on this, can be fallen by the object taking when downloading material.Based on This, the material downloaded in above-mentioned target network address includes: in the page of each target network address Carry the material meeting default material matched rule.Wherein, this material matched rule can be with The file that suffix is .jpg for example, is advised by the suffix association of file as meeting material coupling Object then.Or this material matched rule also can be according to each literary composition in the source code of webpage Part location rule is set.By the file object in material matched rule filtering web page, Suitable file can be downloaded targetedly, simplify subsequent operation.
In view of different terminal devices, there is different material demands, it is therefore desirable to preserve Material also different, based on this, said method can also include: according to default material literary composition Part size and/or size require to filter the material downloaded, by this filtration Delete the material not meeting this requirement, so only preserve the material meeting this requirement.Wherein, This material file size and/or size require can according to the use requirements set of user, The big little finger of toe of above-mentioned material file takies the size of memory block, i.e. material is how many bit, material Size refers to the length and width size of material.When concrete preservation material, material can be preserved In the memory block that user specifies, it is also possible to material is stored in the memory block of acquiescence.
The material that said method obtains can apply to multiple occasion, for example, shows above-mentioned element Material.As a example by method shown in Fig. 1, the second network materials process side shown in Figure 2 The flow chart of method, the method comprises the following steps:
Step S202, obtains the content of pages being pre-configured with, and wherein, this content of pages comprises There is multiple material network address.
Step S204, searches target network address according to predetermined manner from above-mentioned multiple material network address.
Step S206, downloads the material in the target network address finding.
Step S208, shows above-mentioned material.
By showing that these materials are used for, meet the demand of user individual design, promote The performance of equipment.
The embodiment of the present invention as a example by these materials to be applied to interface control showing, display Above-mentioned material also includes: according to the Apply Styles being pre-configured with, one by one by the material of acquisition (i.e. The material that above-mentioned download is preserved) it is shown on interface control.
In view of different users, having different design needs, described method can also include: Determining user configured Apply Styles, wherein, this Apply Styles includes: fill, adapt to, Stretching, tiling and placed in the middle etc. at least one.
The method of the embodiment of the present invention can also control the duration that each material shows, based on this, Show that the step of above-mentioned material can also include: according to default time threshold, will obtain one by one The above-mentioned material taking is shown in interface control, and wherein, this time threshold is that each material shows Duration, it can be user's value set in advance, if user does not set, it is also possible to The value of employing system default, such as 10 minutes.This material display mode, can meet use The diversified demand in family, improves the personalization of interface control design.
In view of the material renewal speed on network than very fast, in order to simplify user behaviour further Making, said method also includes: after all materials obtaining show and finish, repeat State the step of the material downloaded in the target network address finding, show to obtain new material Show.This repetition obtains material the mode showing, it is not necessary to user too much participates in material Obtain and personalized interface control design, improve the personalization level of design and the body of user Degree of testing.
Above-mentioned network materials processing method in the embodiment of the present invention (as shown in Figure 1 or is such as schemed Shown in 2) can be realized by one of terminal device virtual bench, e.g., at network materials Reason device;Or the method shown in Fig. 1 and the method shown in Fig. 2 also can be by terminal devices In two virtual bench independently realize, for example, the method shown in Fig. 1 uses network Material obtaining device, the method shown in Fig. 2 uses interface control display device, and interface is controlled Part display device can include each assembly in network materials acquisition device, in order to complete element The acquisition process of material.
Using above-mentioned network materials processing method, the outward appearance (such as background) of interface control can Dynamically changed by user, as the core of the present embodiment, be used for changing outside interface control See material (such as picture) do not use a specific material, a specific ergin material, On specific line, the modes such as material offer service obtain, but by being referred to as to user-defined The webpage of " index pages " (i.e. above-mentioned content of pages) carries out content crawl, then according to " the material page matched rule " of family definition parses all qualified " material pages Network address (i.e. above-mentioned target network address) ", more all " material page network address " web page contents are entered Row obtains one by one, parses all " materials according to user-defined " material matched rule " All " material network address " download is saved as material (such as picture) file by network address " afterwards, Finally according to user to the screening of material definition (such as length and width, size, ratio etc.) and Process definition (stretching, tiling, artwork, rotation time) and material is shown in interface control On.Preferably, the flow chart of the third network materials processing method as shown in Figure 3, should Material in method can apply to during interface control shows, the method can be by terminal device Application program on (for example, mobile phone) performs, it is also possible to by virtual on terminal device Network materials processing means perform, specifically include following steps:
Step S302, provides the user interface definition interface.
When being embodied as, it is possible to use independent dialog box and input control are carried out for user Visual setting, it is possible to use simple configuration file.User configured result saves as Several " field and values " combine.Wherein field comprises following: index pages, material page Face matched rule, material matched rule, height minima, height maxima, width are minimum Value, width maximum, file size minimum of a value, file size maximum, Apply Styles, Rotation time;Each field meanings is as follows:
(1) index pages is equivalent to include in above-mentioned content of pages the page of multiple material network address Face, this index pages is to include the webpage of multiple material network address, i.e. has multiple in this webpage Link, each link is provided with material;
(2) material page matched rule, refers to choose the rule of material network address in above-mentioned index pages Then, can simply be not understood as the rule that network address is chosen, for example, select the net of which aspect material Location, is personage's aspect, or in terms of animation, or in terms of landscape etc..
(3) material matched rule, refer to select in a certain network address (or referred to as webpage) which Material, for example, is the file selecting in all webpages, still only selects the literary composition of .jpg suffix Part.
(4) height minima, height maxima, width minimum, width maximum, its Being equivalent to the requirement of above-mentioned material size, referring both to the size range of material, height also may be used With referred to as length.
(5) file size minimum of a value, file size maximum, be equivalent to above-mentioned material file The requirement of size, refers to the amount of storage that the material chosen takies, embodiment of the present invention middle finger material For how many bits, the i.e. user-defined bit range value of its minimum of a value and maximum.
(6) Apply Styles, refers to that material (such as picture) uses filling, adaptation, stretching, puts down A kind of mode in paving, the mode such as placed in the middle, in the present embodiment, if filling, then material Display will be amplified by equal proportion, until the height of material is equal and plain with the height of interface control Material width is not less than the width of interface control, or, the width of material and the width of interface control Spend the height not less than interface control for the equal and material height;
If adapt to, then material will be amplified display by equal proportion, until the height of material and The height of interface control is equal and material width is not more than the width of interface control, or, element The width of material is equal with the width of interface control and material height is not more than the height of interface control;
If stretching, then material will be displayed magnified for width and highly all with interface control Unanimously;
If tiling, then material will start laterally display formation side by side from interface control upper left A line is until width accumulation is more than interface control width.Then full line material is opened from top to bottom Begin longitudinally to be displayed side by side formation one row until high accumulation is more than interface control width;
If placed in the middle, then material is displayed on the centre at interface.
(7) rotation time, refer to each material (such as picture) shown on interface control when Long, this duration is usually expressed as the time threshold preset, after reaching this time threshold, and display Next material.
Following flow process will directly quote above-mentioned field name, by opening above-mentioned interface definition Interface, can allow the parameter of the above-mentioned field of User Defined, in subsequent applications, uses this A little parameters are processed.
Step S304, it is judged that whether index pages is empty, if it is, terminate current process; (i.e. index pages is not empty, and user has been provided with index pages in step s 302 if not Network address), step S306.
Step S306, (this technology is to use http agreement to carry out content obtaining to index pages Http standard get method, for ripe industry technology, is equivalent to open index pages corresponding Network address).If index pages is sky, or makes a mistake, then when obtaining index pages content Terminate current process.Certainly, if there being the index pages of acquiescence, it is also possible to according to acquiescence Index pages carries out follow-up operation.
Step S308, it is judged that whether material page matched rule is empty, if it is, perform step Rapid S314, if not (i.e. material page matched rule is not empty), step S310.
Step S310, based on material page matched rule, uses the pattern pair of regular expression The content of pages that step S306 obtains mates, and all network address matching are referred to as material page Veil location, continues executing with step S312.Certainly, if not matching any network address, then tie Restraint this flow process.
Step S312, the material page network address that matches is used http get method carry out by One its content of acquisition.Without the content getting arbitrary page, then process ends.
Step S314, obtains in step S306 or step S312 according to material matched rule To web page contents in make a look up, find the material network address with this rule match.
The all material network address matching are obtained its content by step S316 one by one, protect Save as material file.It is acquired without any content and file produces, then terminate this Flow process.
Step S318, uses material file information to read technology, obtains each material file The all material file being preserved are filtered by highly, the information such as width, size.Literary composition Part size, highly, width should be defined in user between minimum of a value and maximum.It is not inconsistent Close the material file requiring will be deleted.If last remaining material file is sky, then tie Restraint this flow process.
Step S320, to screened remaining material file, based on user-defined application sample Formula is applied one by one.
In application process, timer can be started according to rotation time, reaching default During time threshold, the next material file of application.
Step S322, it may be judged whether all material file are employed to finish, if it is, perform Step S306;If it does not, step S320.
Noticing, the material page matched rule that above step is mentioned, here only with canonical table Reach formula as an example, it is possible to use simple asterisk wildcard form.
As a example by android (Android) version mobile phone browser, this mobile phone browser provides can The scheme of Custom Interface, in this scheme, user can select predefined single picture, Or select the picture specified as wallpaper from online service.But certain user then wishes soft Part can automatically update the unconfined material of use according to their interest.For example, Baidu's search The engine constantly collection index picture materials of magnanimity on the internet, specially by these pictures Browsed for users by " Photo channel ", wherein, relatively carry on the back exquisite meeting The picture of scape is sorted out by " wallpaper column ", and, the content shown is dynamic Update." wallpaper " column of a certain moment Baidu's search engine as shown in Figure 4 is shown Content schematic diagram, such column theme also includes that beauty, photography, animation etc. can Meet user's needs of different interest, and the such classification of home Web site of Baidu one offer is provided Browse service.This is for the user valuing personalized interface, if it is possible to automatically search for The wallpaper using the picture under this website column to be set to aforementioned mobile phone browser has beyond doubt Bigger attraction, it is noted that the second width animation picture and the 3rd width universe celestial body figure sector-meeting under State case to use.
The needs of this type of user can be met by the technology that above-described embodiment provides.The following is The content of the interface definition interface configuration of certain user:
Index pages: http://image.***.com/channel/wallpaper
Material page matched rule: (empty)
Material matched rule: http ://h .hiphotos .*** .com /image/[^ .]+.jpg
Height minima: 1000
Height maxima: 9999
Width minimum: 1000
Width maximum: 9999
File size minimum of a value: 0
File size maximum: 2MB
Apply Styles: placed in the middle
Rotation time: 10 minutes
Then should browser in aforementioned manners will be automatically from the Photo channel wallpaper of www.***.com The available wallpaper picture of column page search (height and width all 1000-9999 scope it In), arrange in a browser as wallpaper between two parties, then within every 10 minutes, carry out rotation.As The wallpaper effect signal of browser when Fig. 5 and Fig. 6 is the 10th minute and the 20th minute respectively Figure, uses said method, and this mobile phone can obtain from Baidu's Photo channel wallpaper column page automatically Second and third width picture taking, and automatic alternate applies on the wallpaper of the browser of this mobile phone.
Corresponding to above-mentioned network materials processing method, the embodiment of the present invention additionally provides a kind of net Network material processing apparatus, the structured flowchart of network materials processing means shown in Figure 7, This device includes with lower module:
Content of pages acquisition module 72, for obtaining the content of pages being pre-configured with, wherein, This content of pages includes multiple material network address;
Network address searches module 74, is used for according to predetermined manner from content of pages acquisition module 72 Multiple material network address of the content of pages obtaining are searched target network address;
Material download module 76, searches, for downloading network address, the target network that module 74 finds Material in location.
The device of the present embodiment is included the content of pages of multiple material network address by obtaining, when When finding target network address from multiple material network address, automatically download in these target network address Material, downloads one by one without user, no matter from the process of choosing of network address, or material Downloading process, all carried out effective simplification, eliminated the loaded down with trivial details operating process of user, Improve the efficiency of material obtaining and the Experience Degree of user.
When implementing, the above-mentioned page can be configured by user, it is also possible to is default configuration, It can be similar to specify search for the network address page that the search engine that content is a certain material is opened. Therefore this page may also be referred to as " index pages ", and in the present embodiment, this page is in order to directly Connect each network address providing relevant material information.
May there is different download wishes in view of different users, in order to make the material of download More meet the wish of user, one can be pre-configured with and download rule, such as by configuring literary composition Part configures, and as a example by picture materials, its type is divided into: landscape, personage, cartoon etc., uses Family can pre-set one type or multiclass as hobby according to self hobby or wish Classification, so when carrying out the lookup of target network address, only chooses corresponding with user preferences classification Material network address is as target network address.Based on this, above-mentioned network address is searched module 74 and is included to place an order Unit:
First determining unit, for according to the material page matched rule being pre-configured with from above-mentioned Multiple material network address are searched target network address;Wherein, this material page matched rule includes pre- The material classification first setting;Or,
Second determining unit, is used for above-mentioned multiple material network address all as material page network address.
By the way, simplify the mode of lookup target network address, make to carry out material download Network address more meet the hobby wish of user.
When implementing, network address searches module and the structure of material download module also can be replaced For: matched rule judging unit, for judging whether the material page that user is pre-configured with Face matched rule, wherein, this material page matched rule includes material classification set in advance; First determining unit, in the presence of when the result that matched rule judging unit judges being, presses Search target network address according to described material page matched rule from the plurality of material network address;The Two determining units, are used for when the result that matched rule judging unit judges is not as existing, will Multiple material network address are as target network address;Material download unit, single for downloading the first determination Material in the target network address that first or described second determining unit determines.
In view of in each webpage, in addition to the material of text, it is also possible to have other files, Other materials of such as video ads or logo etc., and these files be not suitable for obtaining as user These document screenings, based on this, can be fallen by the object taking when downloading material.Specifically When realizing, above-mentioned material download module 76 may include that material download unit, for from mesh Download, in the page of mark network address, the material meeting default material matched rule.By material Join the file object in rule-based filtering webpage, suitable file can be downloaded targetedly, Simplify subsequent operation.
The structured flowchart of another kind of network materials processing means shown in Figure 8, this device Being improved on the basis of Fig. 7, in addition to including module shown in Fig. 7, this device is also Including: material filtering module 82, material file size and/or the size preset for basis are big The material downloaded is filtered by little requirement, by this filtration, can delete undesirable Material, only preserve satisfactory material.Wherein, this requirement can making according to user By requirements set, for example, according to material file size, (the present embodiment refers to take memory block Size, i.e. material are how many bit's), (length referring specifically to material is roomy for material size Little) set.
The material that said method obtains can apply to multiple occasion, for example, be used for showing.Base In this, the structured flowchart of network materials processing means shown in Figure 9, this device is at figure Improved, except including Fig. 7 institute on the basis of network materials processing means shown in 7 Outside the modules showing, also include: said apparatus also includes: display module 92, be used for Display material.The mode of this application material, can demonstrate the material of personalization, abundant Display content.
The embodiment of the present invention as a example by being applied to interface control and showing by these materials, upper On the basis of stating device, above-mentioned display module 92 can also include: the first interface control shows The material of acquisition, for according to the Apply Styles being pre-configured with, is shown in boundary by module one by one On the control of face.The structured flowchart of network materials processing means shown in Figure 10, this device Improved on the basis of the network materials processing means shown in Fig. 7, except including figure Outside modules shown in 7, also include: the first interface control display module 12, with element Material download module 74 is connected, for according to the Apply Styles being pre-configured with, one by one by acquisition Material is shown on interface control.Wherein, the material herein obtaining refers to material download module 74 The material downloaded.It is used for these materials on interface control display, meet user individual The demand of design, improves the performance of equipment.
The structured flowchart of the 5th kind of network materials processing means shown in Figure 11, this device Being the improvement carrying out on the basis of the network materials processing means shown in Fig. 8, this device removes Include, outside the modules shown in Fig. 8, also including: interface control display module 14, It is connected with material filtering module 82, for according to the Apply Styles being pre-configured with, will obtain one by one The material taking is shown on interface control.Wherein, the material herein obtaining refers to through material mistake Material after filter module 82 filtration.
In view of different users, there are different design needs, above-mentioned according to being pre-configured with Apply Styles, above-mentioned display module 92 can also include: Apply Styles determining unit, is used for Determining user configured Apply Styles, wherein, Apply Styles includes: fills, adapt to, draw Stretch, tile and placed in the middle.
In order to embody more personalized display mode, in the embodiment of the present invention, can also be to element The display duration of material is controlled, and based on this, above-mentioned display module 92 can also include: the Second interface control display unit, for according to default time threshold, the element that will obtain one by one Material is shown in interface control, and wherein, this time threshold is the duration that each material shows, its Can be the value that user sets, it is also possible to be the value (such as: 20 minutes) of system default.
The structured flowchart of the 6th kind of network materials processing means shown in Figure 12, this device Improved on the basis of shown in Figure 10, except including the modules shown in Figure 10 Outside, also include: circulation performs module 16, with interface control display module 12 and material Download module 76 is connected, for all materials that will preserve when interface control display module 12 After display finishes, trigger material download module 76 and reacquire new material, aobvious in order to circulate Show.
The device that the embodiment of the present invention is provided, its realize principle and generation technique effect and Preceding method embodiment is identical, for briefly describing, and the not mentioned part of device embodiment part, Refer to corresponding contents in preceding method embodiment.
Above example, by choosing target network address in content of pages, downloads these mesh automatically Material in mark network address, downloads one by one without user, simplifies user and obtain material Mode, based on this, user freely can easily obtain internet resource, obtaining of material resource Take wider, this material resource is applied to flexibly, in defined interface design, strengthen The uniqueness of design, has a preferable practicality.
Seeing Figure 13, the embodiment of the present invention also provides a kind of network materials processing means 100, Including: processor 40, memory 41, bus 42 and communication interface 43, described processor 40th, communication interface 43 and memory 41 are connected by bus 42;Processor 40 is used for holding The executable module of storage in line storage 41, such as computer program.
Wherein, memory 41 may comprise high-speed random access memory (RAM, Random Access Memory), it is also possible to also include non-labile memory (non-volatile memory), for example, at least one magnetic disc store.By at least one Communication interface 43 (can be wired or wireless) realize this system network element with at least one its Communication connection between his network element, it is possible to use internet, wide area network, LAN, metropolitan area Net etc..
Bus 42 can be isa bus, pci bus or eisa bus etc..Described bus Address bus, data/address bus, control bus etc. can be divided into.For ease of representing, Figure 13 In only represent with a four-headed arrow, it is not intended that an only bus or a type of Bus.
Wherein, memory 41 is used for storing program, and described processor 40 is receiving execution After instruction, performing described program, what aforementioned embodiment of the present invention any embodiment disclosed flows through Method performed by the device of Cheng Dingyi can apply in processor 40, or by processor 40 realize.
Processor 40 is probably a kind of IC chip, has the disposal ability of signal.? During realization, each step of said method can pass through the integrated of the hardware in processor 40 The instruction of logic circuit or software form completes.Above-mentioned processor 40 can be general place Reason device, including central processing unit (Central Processing Unit is called for short CPU), network Processor (Network Processor is called for short NP) etc.;Can also is that Digital Signal Processing Device (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) Or other PLDs, discrete gate or transistor logic, discrete hardware Assembly.Can realize or perform the disclosed each method in the embodiment of the present invention, step and Logic diagram.General processor can be microprocessor or this processor also can be any Conventional processor etc..Step in conjunction with the method disclosed in the embodiment of the present invention can be direct It is presented as that hardware decoding processor performs to complete, or with the hardware in decoding processor and soft Part block combiner performs to complete.Software module may be located at random access memory, flash memory, read-only Memory, programmable read only memory or electrically erasable programmable memory, register etc. In the ripe storage medium in this area.This storage medium is positioned at memory 41, processor 40 Read the information in memory 41, the step completing said method in conjunction with its hardware.
Flow chart in accompanying drawing and block diagram show the multiple embodiments according to the present invention system, The architectural framework in the cards of method and computer program product, function and operation.At this On point, each square frame in flow chart or block diagram can represent a module, program segment or generation A part for code, a part for described module, program segment or code comprises one or more use Executable instruction in the logic function realizing regulation.It should also be noted that at some as replacing In the realization changed, the function that marked in square frame also can be marked in accompanying drawing to be different from Order occurs.For example, two continuous print square frames can essentially perform substantially in parallel, it Sometimes also can perform in the opposite order, this is depending on involved function.Also to note In meaning, each square frame in block diagram and/or flow chart and block diagram and/or flow chart The combination of square frame, can be with the special hardware based system of the function or action performing regulation System realizes, or can realize with the combination of specialized hardware and computer instruction.
The embodiment of the present invention additionally provide carry out network materials acquisition methods, interface control shows The computer program of method, including store the computer-readable storage medium of program code Matter, the instruction that described program code includes can be used for performing described in previous methods embodiment Method, implements and can be found in embodiment of the method, does not repeats them here.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, The specific works process of the system of foregoing description, device and unit, is referred to preceding method Corresponding process in embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, Apparatus and method, can realize by another way.Device embodiment described above It is only schematically, for example, the division of described unit, it is only a kind of logic function and draw Point, actual can have other dividing mode, again for example, multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not Perform.Another point, shown or discussed coupling each other or direct-coupling or communication Connection can be by some communication interfaces, the INDIRECT COUPLING of device or unit or communication connection, Can be electrical, machinery or other form.
The described unit that illustrates as separating component can be or may not be and physically divide Open, can be as the parts that unit shows or may not be physical location, Being positioned at a place, or also can be distributed on multiple NE.Can be according to reality The needing of border selects some or all of unit therein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated at one Reason unit in, it is also possible to be that unit is individually physically present, it is also possible to two or two with Upper unit is integrated in a unit.
If described function realizes and as independent product pin using the form of SFU software functional unit When selling or use, can be stored in a computer read/write memory medium.Based on so Understanding, the portion that prior art is contributed by technical scheme substantially in other words Divide or the part of this technical scheme can embody with the form of software product, this calculating Machine software product is stored in a storage medium, including some instructions are with so that a meter Calculate machine equipment (can be personal computer, server, or the network equipment etc.) and perform basis Invent all or part of step of method described in each embodiment.And aforesaid storage medium bag Include: USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. the various media that can store program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention Being not limited thereto, any those familiar with the art is in the skill that the invention discloses In the range of art, change can be readily occurred in or replace, all should cover in protection scope of the present invention Within.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.

Claims (16)

1. a network materials processing method, it is characterised in that include:
Obtaining the content of pages being pre-configured with, wherein, described content of pages includes multiple element Material network address;
Search target network address according to predetermined manner from the plurality of material network address;
Download the material in the described target network address finding.
2. method according to claim 1, it is characterised in that according to predetermined manner Search target network address to include: according to the material page being pre-configured with from the plurality of material network address Face matched rule searches target network address from the plurality of material network address;Or, by the plurality of Material network address is all as target network address;Wherein, described material page matched rule includes in advance The material classification setting.
3. method according to claim 2, it is characterised in that download finds Material in described target network address includes:
The material meeting default material matched rule is downloaded in the page of described target network address.
4. method according to claim 1, it is characterised in that described method is also wrapped Include:
Require to the described element downloaded according to default material file size and/or size Material filters.
5. method according to any one of claim 1 to 4, it is characterised in that Described method also includes:
Show described material.
6. method according to claim 5, it is characterised in that show described material Including:
According to the Apply Styles being pre-configured with, one by one the material of acquisition is shown in interface control On.
7. method according to claim 6, it is characterised in that also include:
Determining user configured Apply Styles, wherein, described Apply Styles includes filling, fits Should, stretching, at least one in placed in the middle and tiling.
8. method according to claim 5, it is characterised in that also include:
According to default time threshold, one by one the described material obtaining is shown in interface control, Wherein, described time threshold is the duration that each material shows.
9. a network materials processing means, it is characterised in that include:
Content of pages acquisition module, for obtaining the content of pages being pre-configured with, wherein, institute Stating content of pages is the webpage including multiple material network address;
Network address searches module, for obtaining from described content of pages acquisition module according to predetermined manner Multiple material network address of the content of pages taking are searched target network address;
Material download module, searches, for downloading described network address, the described target that module searches arrives Material in network address.
10. device according to claim 9, it is characterised in that described network address is searched Module includes:
First determining unit, for according to the material page matched rule being pre-configured with from described Searching target network address in multiple material network address, wherein, described material page matched rule includes Material classification set in advance;Or,
Second determining unit, is used for the plurality of material network address all as target network address.
11. devices according to claim 9, it is characterised in that described material is downloaded Module includes:
Material download unit, meets default for download in the page of described target network address The material of material matched rule.
12. devices according to claim 9, it is characterised in that described device also wraps Include:
Material filtering module, for wanting according to the material file size preset and/or size Ask and the described material downloaded is filtered.
13. devices according to according to any one of claim 9 to 12, it is characterised in that Described device also includes:
Display module, is used for showing described material.
14. devices according to claim 13, it is characterised in that described display mould Block includes: the first interface control display unit, is used for according to the Apply Styles being pre-configured with, It is shown in the material of acquisition on interface control one by one.
15. devices according to claim 14, it is characterised in that described display mould Block also includes:
Apply Styles determining unit, is used for determining user configured Apply Styles, wherein, institute State Apply Styles and include filling, adaptation, stretching, at least one between two parties and in tiling.
16. devices according to claim 13, it is characterised in that described display mould Block also includes:
Second contact surface control display unit, for according to default time threshold, will obtain one by one The described material taking is shown in interface control, and wherein, described time threshold is that each material shows The duration showing.
CN201510070876.8A 2015-02-10 2015-02-10 Method and device for processing network material Pending CN105988791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510070876.8A CN105988791A (en) 2015-02-10 2015-02-10 Method and device for processing network material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510070876.8A CN105988791A (en) 2015-02-10 2015-02-10 Method and device for processing network material

Publications (1)

Publication Number Publication Date
CN105988791A true CN105988791A (en) 2016-10-05

Family

ID=57041614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510070876.8A Pending CN105988791A (en) 2015-02-10 2015-02-10 Method and device for processing network material

Country Status (1)

Country Link
CN (1) CN105988791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844454A (en) * 2016-12-19 2017-06-13 北京东方车云信息技术有限公司 A kind of page display method, device and electronic equipment
CN107257501A (en) * 2017-06-16 2017-10-17 环球智达科技(北京)有限公司 A kind of data adding method in self-defined template

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090069915A1 (en) * 2003-10-01 2009-03-12 Music Gremlin, Inc. Audio visual player apparatus and system and method of content distribution using the same
CN102609412A (en) * 2011-01-07 2012-07-25 华东师范大学 RSS (Really Simple Syndication)-based multi-thread graphic information synchronization crawling control method and system
CN102902758A (en) * 2012-09-24 2013-01-30 百度在线网络技术(北京)有限公司 Wallpaper setting method and device for obtaining network pictures by using search engine
CN103067599A (en) * 2013-01-09 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal wallpaper renewal method and system
CN103618776A (en) * 2013-11-20 2014-03-05 乐视网信息技术(北京)股份有限公司 Method and device for downloading advertisement materials based on CDN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090069915A1 (en) * 2003-10-01 2009-03-12 Music Gremlin, Inc. Audio visual player apparatus and system and method of content distribution using the same
CN102609412A (en) * 2011-01-07 2012-07-25 华东师范大学 RSS (Really Simple Syndication)-based multi-thread graphic information synchronization crawling control method and system
CN102902758A (en) * 2012-09-24 2013-01-30 百度在线网络技术(北京)有限公司 Wallpaper setting method and device for obtaining network pictures by using search engine
CN103067599A (en) * 2013-01-09 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal wallpaper renewal method and system
CN103618776A (en) * 2013-11-20 2014-03-05 乐视网信息技术(北京)股份有限公司 Method and device for downloading advertisement materials based on CDN

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844454A (en) * 2016-12-19 2017-06-13 北京东方车云信息技术有限公司 A kind of page display method, device and electronic equipment
CN107257501A (en) * 2017-06-16 2017-10-17 环球智达科技(北京)有限公司 A kind of data adding method in self-defined template

Similar Documents

Publication Publication Date Title
US8990672B1 (en) Flexible design architecture for designing media-based projects in a network-based platform
EP2461260A1 (en) Visual treatment for a user interface in a content integration framework
CN103942290B (en) Method and apparatus for providing the image in webpage in the terminal
CN104917666A (en) Method of making personalized dynamic expression and device
CN107831982B (en) The display methods and electronic equipment of comment information
CN106126733A (en) A kind of method and system changing CSS style
JP2016509302A (en) Method and device for creating a special page
US9342498B2 (en) System and method for generating a design template based on graphical input
CN104035929A (en) Webpage screenshot method and device
CN103365887A (en) Photo album cover forming method and device
CN106406839A (en) Processing method and device of screen adaption file
CN109361947A (en) Internet resources batch loading method, smart television, storage medium and device
CN105988791A (en) Method and device for processing network material
CN104104995A (en) Image display method and device
CN105915359A (en) Method for controlling equipment networking condition and device and system thereof
CN103020246B (en) Webpage data presentation method and device for browser
CN105205845B (en) Web animation rendering intent and device
CN104484396A (en) Webpage information screening method and webpage information screening device
CN106062693A (en) Desktop sharing method and mobile terminal
CN104317502A (en) Picture editing method and device
CN105183763A (en) Background realization method and apparatus for search result page
CN105893426A (en) Webpage browsing method for mobile terminal and mobile terminal
CN104883478B (en) Video processing method and device
CN105187880B (en) A kind of mobile phone shakes method, system and the television set of startup TV applications list
CN103886037A (en) Data screening method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161005

RJ01 Rejection of invention patent application after publication