[go: up one dir, main page]

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
websites
preset
page
module
downloading
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 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 material processing method and device
Technical Field
The invention relates to the technical field of network material acquisition and display, in particular to a network material processing method and device.
Background
The continuous improvement of the hardware of the electronic equipment provides more sufficient performance for the running of the software, so that the software can provide a more exquisite and free operation interface on the basis of meeting the functions. For example, many current software provide functions such as custom background, custom theme, custom home page, etc. to meet the user's additional customization needs. Thus, a more free and powerful custom interface can be more tailored to the user's desires.
In the design of the related custom interface, a user can select one or a group of pictures as the custom interface, and the pictures can be stored locally by the user equipment or pictures provided by a set service of the network. Taking a web browser as an example, a user may select one or a group of pictures from a local picture library as a background picture of the web browser, or a user may select one or a group of pictures from a server of the web browser as a background picture of the web browser. However, the pictures in these custom interfaces are usually fixed and invariable, which has a certain limitation, if the user needs other pictures or other types of materials on the network, the pictures need to be downloaded separately, and for the user who frequently changes the interface, the downloading manner is cumbersome, which limits the design requirements of the personalized interface of the user.
The inventor finds that the existing picture downloading mode is complicated in research, and the design requirements of the personalized interface of the user are limited.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for processing a network material, so as to simplify a downloading manner of the network material (including a picture, a bitmap, a vector diagram, an animation, or a video), and improve flexibility of a personalized interface design.
In a first aspect, an embodiment of the present invention provides a method for processing a network material, including: acquiring pre-configured page content, wherein the page content comprises a plurality of material websites; searching a target website from the plurality of material websites according to a preset mode; and downloading the materials in the searched target website.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where searching for a target website from multiple material websites according to a preset manner may include: searching a target website from the plurality of material websites according to a preset material page matching rule; or, all the material websites are used as target websites; the material page matching rule comprises preset material categories.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where downloading the material in the searched target website includes: and downloading the materials which accord with the preset material matching rules from the page of the target website.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the method further includes: and filtering the downloaded material according to the preset material file size and/or size requirement.
With reference to the foregoing implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, and the method further includes: and displaying the material.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the display material includes: and displaying the acquired materials on the interface control one by one according to the preset application style.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, and the method further includes: a user-configured application style is determined, wherein the application style includes at least one of fill, fit, stretch, center, and tile.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, and the method further includes: and displaying the acquired materials on the interface control one by one according to a preset time threshold, wherein the time threshold is the display duration of each material.
In a second aspect, an embodiment of the present invention further provides a network material processing apparatus, including: the system comprises a page content acquisition module, a page content acquisition module and a page content processing module, wherein the page content acquisition module is used for acquiring preconfigured page content, and the page content is a webpage containing a plurality of material websites; the website searching module is used for searching a target website from a plurality of material websites of the page content acquired by the page content acquiring module according to a preset mode; and the material downloading module is used for downloading the material in the target website searched by the website searching module.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the website searching module includes: the system comprises a first determining unit, a second determining unit and a display unit, wherein the first determining unit is used for searching a target website from a plurality of material websites according to a preset material page matching rule, and the material page matching rule comprises a preset material category; or, the second determining unit is used for taking all the material websites as the target websites.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the material downloading module includes: and the material downloading unit is used for downloading the materials which accord with the preset material matching rules from the page of the target website.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the apparatus further includes: and the material filtering module is used for filtering the downloaded material according to the preset material file size and/or size requirement.
With reference to the foregoing implementation manner of the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the apparatus further includes: and the display module is used for displaying the material.
With reference to the fourth possible implementation manner of the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the display module includes: and the first interface control display unit is used for displaying the acquired materials on the interface controls one by one according to the preset application style.
With reference to the fifth possible implementation manner of the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the display module further includes: an application style determination unit for determining a user configured application style, wherein the application style comprises at least one of padding, adaptation, stretching, centering and tiling.
With reference to the fourth possible implementation manner of the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the display module further includes: and the second interface control display unit is used for displaying the acquired materials on the interface controls one by one according to a preset time threshold, wherein the time threshold is the time length of each material.
According to the method and the device provided by the embodiment of the invention, the page content containing the plurality of material websites is obtained, when the target website is found from the plurality of material websites, the materials in the target websites are automatically downloaded without being downloaded one by a user, the website selection process and the material downloading process are effectively simplified, the complicated operation process of the user is omitted, and the material obtaining efficiency and the user experience degree are improved.
Furthermore, the materials are used for personalized interface design, so that the requirements of the personalized design of a user are met, and the performance of the equipment is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a method for processing network materials according to an embodiment of the present invention;
FIG. 2 is a flow chart of a second method for processing network materials according to an embodiment of the present invention;
FIG. 3 is a flow chart of a third method for processing network materials according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a content of a "wallpaper" column presentation of a one-time hundredth search engine provided by an embodiment of the invention;
FIG. 5 is a schematic diagram illustrating a wallpaper effect of a browser at 10 minutes according to an embodiment of the invention;
FIG. 6 is a schematic diagram illustrating a wallpaper effect of a browser at 20 minutes according to an embodiment of the invention;
fig. 7 is a block diagram showing a structure of a network material processing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram showing another network material processing apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram showing the structure of a third network material processing apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram showing a fourth network material processing apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram showing a fifth network material processing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram showing a sixth network material processing apparatus according to an embodiment of the present invention;
fig. 13 is a block diagram showing a seventh network material processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
With the continuous improvement of electronic equipment hardware and the continuous increase of storage capacity, more users begin to hope that the use of known pictures or pictures preset by specific services is not satisfied, and the application of the known pictures or fixed pictures cannot better embody the design of personalized interface controls. The following is described by way of example.
Referring to the flowchart of the network material processing method shown in fig. 1, the method may be applied to software of a terminal device such as a mobile phone, a palmtop computer, and the like, and may also be applied to a virtual device of the terminal device, for example, in a network material processing device, which may be disposed on the terminal device (e.g., a mobile phone), that is, an execution subject of the following method may be the terminal device, and may also be a network material processing device on the terminal device. The network material processing method comprises the following steps:
step S102, obtaining a pre-configured page content, where the page content includes a plurality of material websites (which may also be referred to as website links).
In a specific implementation, the above-mentioned page may be configured by a user, or may be configured by default, and it may be similar to a website page opened by a search engine that specifies search content as a certain material, for example: taking picture material as an example, when the search is caused to be hundreds of degrees, the page can be regarded ashttp://image.baidu.com/channel/wallpaperThe page contains a plurality of picture websites. This page may also be referred to as an "index page" and, in this embodiment, is used to directly give the respective network addresses of the related material information.
In this embodiment, a periodic or timed starting manner, that is, a manner of periodically or periodically acquiring the pre-configured page content, may be adopted, and this manner does not require the user to participate in the material acquisition (downloading) process too much, and the system may periodically start the material acquisition process according to a set time interval, where the time interval may be set by the user, or may adopt a default time interval, for example, 12 hours; or a timing acquisition mode is adopted, for example, a mode of acquiring the page content configured in advance is set to be executed at 5 points every day.
Step S104, searching a target website from the plurality of material websites according to a preset mode; the preset mode in the embodiment of the invention can be set by self, for example, a rule can be preset, and the rule indicates the material requirements which the target website needs to meet; of course, the preset mode may also default to all material websites as target websites.
And step S106, downloading the searched materials in the target website.
The downloading refers to downloading and storing the materials in a designated storage area, and the designated storage area can be designated by a user or can be default by a system.
According to the method, the page content comprising the plurality of material websites is obtained, when the target websites are searched from the plurality of material websites, the materials in the target websites are automatically downloaded without being downloaded one by a user, the website selection process and the material downloading process are effectively simplified, the complicated operation process of the user is omitted, and the material obtaining efficiency and the user experience are improved.
Considering that different users may have different downloading intentions, in order to make the downloaded material more suitable for the user's intentions, a downloading rule may be configured in advance, for example, by a configuration file, taking picture material as an example, the types of the downloading rule are: the user can preset one or more types of the scenery, the people, the cartoon and the like as favorite categories according to the favorite or will of the user, so that only material websites corresponding to the favorite categories of the user are selected as target websites when the target websites are searched.
In step S104, the preference of the user may be indicated by setting a material page matching rule, and the material page matching rule may be configured by the user in advance; of course, if the user does not preset the material page matching rule, all categories may be taken as the categories preferred by the user. Based on this, the step of searching the target website from the plurality of material websites in the preset manner in step S104 may include: searching a target website from the plurality of material websites according to a preset material page matching rule; or, all the material websites are used as target websites; the material page matching rule includes a preset material category (which can be set according to the preference of the user when the material category is set). In specific implementation, whether a material page matching rule configured by a user in advance exists or not can be judged, wherein the material page matching rule comprises a preset material category; if yes, searching a target website from a plurality of material websites according to the material page matching rule; and if the source material websites do not exist, all the material websites are used as target websites. By the method, the method for selecting the target website is simplified, and the target website is more in line with the downloading desire of the user.
Considering that there may be other files in each web page besides the material of the text, such as video advertisements or other materials like logo, which are not suitable for the user to obtain, these files can be filtered out when downloading the material. Based on this, downloading the materials in the target website includes: and downloading the materials which accord with the preset material matching rules from the pages of the target websites. The material matching rule may be associated with a suffix of the file, for example, a file with a.jpg suffix is used as an object conforming to the material matching rule. Or the material matching rule can be set according to the position rule of each file in the source code of the webpage. The file objects in the webpage are filtered through the material matching rules, so that the appropriate files can be downloaded in a targeted manner, and the subsequent operation is simplified.
Considering that different terminal devices have different material requirements and therefore different materials to be saved, the method may further include: and filtering the downloaded material according to the preset material file size and/or size requirement, and deleting the material which does not accord with the requirement through the filtering, so that only the material which accords with the requirement is saved. The size and/or the size requirement of the material file can be set according to the use requirement of a user, the size of the material file refers to the size of a storage area occupied by the material file, namely the number of bits of the material, and the size of the material size refers to the length and the width of the material. When the material is stored specifically, the material may be stored in a storage area designated by the user, or the material may be stored in a default storage area.
The material obtained by the method can be applied to various occasions, for example, the material is displayed. Taking the method shown in fig. 1 as an example, refer to a flowchart of a second network material processing method shown in fig. 2, where the method includes the following steps:
step S202, a preset page content is obtained, wherein the page content comprises a plurality of material websites.
And step S204, searching a target website from the plurality of material websites according to a preset mode.
And step S206, downloading the searched materials in the target website.
Step S208, the above-mentioned material is displayed.
The materials are displayed, so that the requirement of user personalized design is met, and the performance of the equipment is improved.
The embodiment of the present invention takes the application of these materials to the interface control display as an example, and the displaying of the above materials further includes: and displaying the obtained materials (namely the materials downloaded and stored) on the interface control one by one according to the preset application style.
Considering that different users have different design needs, the method may further include: determining an application style configured by a user, wherein the application style comprises: at least one of filled, adapted, stretched, tiled, and centered.
The method of the embodiment of the present invention may further control a time length for displaying each material, and based on this, the step of displaying the materials may further include: and displaying the acquired materials on the interface control one by one according to a preset time threshold, wherein the time threshold is the display duration of each material, and can be a value preset by a user, and if the user does not set the time threshold, a system default value can be adopted, for example, 10 minutes. The material display mode can meet the diversified requirements of users, and the individuation of the interface control design is improved.
Considering that the material updating speed on the network is relatively fast, in order to further simplify the user operation, the method further comprises the following steps: and after all the obtained materials are displayed, repeatedly executing the step of downloading the materials in the searched target website to obtain new materials for display. The method for repeatedly acquiring and displaying the materials does not need the user to excessively participate in the acquisition of the materials and the design of the personalized interface control, and the personalized degree of the design and the experience of the user are improved.
The network material processing method (as shown in fig. 1 or fig. 2) in the embodiment of the present invention may be implemented by a virtual device in a terminal device, for example, a network material processing device; or the method shown in fig. 1 and the method shown in fig. 2 may also be implemented by two virtual devices in the terminal device, which are respectively independent, for example, the method shown in fig. 1 employs a network material obtaining device, the method shown in fig. 2 employs an interface control display device, and the interface control display device may include each component in the network material obtaining device to complete the material obtaining process.
Using the above network material processing method, the appearance (e.g. background) of the interface control can be dynamically changed by the user, as the core part of this embodiment, the material (e.g. picture) for changing the appearance of the interface control is obtained without using a specific material, a specific group of materials, a specific on-line material providing service, etc., but by performing content capture on the web page called "index page" (i.e. the above page content) defined by the user, then resolving all the material page websites (i.e. the above target websites) meeting the conditions according to the user-defined "material page matching rule", then obtaining all the web page contents of the "material page websites" one by one, resolving all the material websites according to the user-defined "material matching rule", and then downloading and saving all the "material websites" as the material (e.g. picture) file, and finally, displaying the materials on the interface control according to the screening definition (such as length, width, size, proportion and the like) and the processing definition (stretching, tiling, artwork, rotation time and the like) of the materials by the user. Preferably, as shown in the flowchart of the third network material processing method shown in fig. 3, the material in the method may be applied to the interface control display, and the method may be executed by an application program on the terminal device (e.g., a mobile phone), or may be executed by a virtual network material processing apparatus on the terminal device, and specifically includes the following steps:
step S302, an interface definition interface is provided for a user.
In specific implementation, an independent dialog box and an input control can be used for visual setting of a user, and a simple configuration file can also be used. The results of the user configuration are saved as a number of "field and value" combinations. Wherein the fields include the following: the method comprises the steps of indexing a page, a material page matching rule, a material matching rule, a minimum height value, a maximum height value, a minimum width value, a maximum width value, a minimum file size value, a maximum file size value, an application style and rotation time; the meaning of each field is as follows:
(1) the index page is equivalent to a page containing a plurality of material websites in the page content, and the index page is a webpage containing a plurality of material websites, namely, the webpage is provided with a plurality of links, and each link is provided with a material;
(2) the material page matching rule refers to a rule for selecting the website of the material in the index page, and can be simply understood as a website selection rule, for example, the website of which material is selected is a character, cartoon or landscape.
(3) The material matching rule refers to which materials in a certain website (or called web page) are selected, for example, whether files in all web pages are selected or files with only jpg suffixes are selected.
(4) The minimum height, maximum height, minimum width and maximum width, which correspond to the above requirements for the size of the material, are the dimensional ranges of the material, and the height may also be referred to as the length.
(5) The minimum value and the maximum value of the file size are equivalent to the requirement of the size of the material file, and refer to the storage capacity occupied by the selected material.
(6) The application style means that the material (such as a picture) is filled, adapted, stretched, tiled, centered or the like, in this embodiment, if the material is filled, the material is enlarged and displayed in equal proportion until the height of the material is equal to the height of the interface control and the width of the material is not less than the width of the interface control, or the width of the material is equal to the width of the interface control and the height of the material is not less than the height of the interface control;
if the data is adaptive, the material is amplified and displayed in equal proportion until the height of the material is equal to that of the interface control and the width of the material is not greater than that of the interface control, or the width of the material is equal to that of the interface control and the height of the material is not greater than that of the interface control;
if the material is stretched, the material is magnified and displayed to be consistent with the interface control in width and height;
if tiled, the material will be displayed side-by-side starting from the top left of the interface control to form a line until the width cumulatively is greater than the interface control width. Then, the whole row of materials is displayed side by side in the longitudinal direction from top to bottom to form a column until the height accumulation is larger than the width of the interface control;
if centered, the material is displayed at the very center of the interface.
(7) And the rotation time refers to the time length of each material (such as a picture) displayed on the interface control, the time length is usually represented as a preset time threshold, and after the time threshold is reached, the next material is displayed.
The field names are directly referred to in the following process, the parameters of the fields can be customized by a user by opening the interface definition interface, and the parameters are adopted for processing in subsequent application.
Step S304, judging whether the index page is empty, if so, ending the current process; if not (i.e., the index page is not empty, the user has set the web address of the index page in step S302), step S306 is performed.
Step S306, using http protocol to obtain content of the index page (the technology is http standard get method, which is mature industry technology, and is equivalent to opening a website corresponding to the index page). And if the index page is empty or an error occurs when the content of the index page is acquired, ending the current process. Of course, if there is a default index page, the subsequent operations may be performed according to the default index page.
Step S308, determining whether the material page matching rule is empty, if yes, executing step S314, and if not (i.e. the material page matching rule is not empty), executing step S310.
Step S310, based on the material page matching rule, adopting the mode of the regular expression to match the page content acquired in step S306, all matched websites are called material page websites, and step S312 is continuously executed. Of course, if any web address is not matched, the process is ended.
And step S312, acquiring the content of the matched material page websites one by using an http get method. If the content of any page is not acquired, the process is ended.
Step S314, according to the material matching rule, searching in the web page content acquired in step S306 or step S312, and finding the material website matched with the rule.
And step S316, acquiring the content of all the matched material websites one by one, and storing the content as a material file. If no content is acquired and no file is generated, the flow ends.
Step S318, using the material file information reading technology, obtains the information of height, width, size, etc. of each material file, and filters all the stored material files. The file size, height, width should be between the minimum and maximum values defined by the user. The unsatisfactory material files are deleted. And if the last remaining material file is empty, ending the process.
Step S320, the screened remaining material files are applied one by one based on the application style defined by the user.
In the application process, a timer can be started according to the rotation time, and when the preset time threshold is reached, the next material file is applied.
Step S322, judging whether all the material files are completely applied, if so, executing step S306; if not, step S320 is performed.
Note that the material page matching rules mentioned in the above steps are only regular expressions as examples, and a simple wildcard format may also be used.
Taking an android version of the mobile browser as an example, the mobile browser provides a solution for a customizable interface in which a user can select a predefined single picture or select a specified picture from an online service as wallpaper. Some users desire that the software automatically update their use of unlimited material according to their interests. For example, a hundred-degree search engine continuously collects and indexes massive picture materials on the internet, and specially provides the pictures for a large number of users to browse through a picture channel, wherein pictures which are more exquisite and accord with a background are classified through a wallpaper column, and displayed contents are dynamically updated. As shown in fig. 4, a content diagram of a "wallpaper" column of a hundred-degree search engine at a certain time is shown, such column topics also include beauty, photography, animation, and the like, which can meet the needs of users with different interests, and are not limited to that a hundred-degree website provides such a categorized browsing service. This is clearly more attractive for a user looking at the personalized interface if he can automatically search for and use the picture setting under the website column as the wallpaper of the aforementioned mobile phone browser, noting that the second animation picture and the third cosmic star picture will be used in the following cases.
The techniques provided by the above embodiments may meet the needs of such users. The following is the content of a certain user's interface definition interface configuration:
index page: http:// image. basic. com/channel/wallpaper
The material page matching rule is as follows: (empty)
Material matching rules: http \ v \ h \ voices \ baidu \ com \ image \ i [ \\\ pragma ] +. jpg
Height minimum: 1000
Height maximum: 9999
Width minimum: 1000
Maximum width: 9999
Minimum file size: 0
Maximum file size: 2MB (China mobile multimedia broadcasting)
Application style: centering the
Rotation time: 10 minutes
The browser applying the method automatically searches for available wallpaper pictures (both height and width are within the range of 1000-. As shown in fig. 5 and fig. 6, which are schematic diagrams of wallpaper effects of the browser at the 10 th minute and the 20 th minute respectively, with the above method, the mobile phone may automatically obtain the second and third pictures from the Baidu picture channel wallpaper column page, and automatically rotate and apply to the wallpaper of the browser of the mobile phone.
Corresponding to the above network material processing method, an embodiment of the present invention further provides a network material processing apparatus, referring to a block diagram of the network material processing apparatus shown in fig. 7, where the apparatus includes the following modules:
a page content obtaining module 72, configured to obtain a preconfigured page content, where the page content includes a plurality of material websites;
a website searching module 74, configured to search a target website from the plurality of material websites of the page content acquired by the page content acquiring module 72 according to a preset manner;
and a material downloading module 76 for downloading the material in the target website searched by the website searching module 74.
The device of the embodiment automatically downloads the materials in the target websites without downloading the materials one by acquiring the page content containing the plurality of material websites when the target websites are searched from the plurality of material websites, effectively simplifies the selection process of the websites and the downloading process of the materials, saves the complicated operation process of the user, and improves the efficiency of acquiring the materials and the experience of the user.
In a specific implementation, the above-mentioned page may be configured by a user, or may be configured by default, and it may be similar to a web page opened by a search engine that specifies search content as a certain material. This page may also be referred to as an "index page" and, in this embodiment, is used to directly give the respective network addresses of the related material information.
Considering that different users may have different downloading intentions, in order to make the downloaded material more suitable for the user's intentions, a downloading rule may be configured in advance, for example, by a configuration file, taking picture material as an example, the types of the downloading rule are: the user can preset one or more types of the scenery, the people, the cartoon and the like as favorite categories according to the favorite or will of the user, so that only material websites corresponding to the favorite categories of the user are selected as target websites when the target websites are searched. Based on this, the website searching module 74 includes the following units:
the first determining unit is used for searching a target website from the plurality of material websites according to a preset material page matching rule; the material page matching rule comprises a preset material category; or,
and the second determining unit is used for taking the material websites as the material page websites.
By the method, the method for searching the target website is simplified, and the website for downloading the material is more in line with the favorite will of the user.
During concrete implementation, the structures of the website searching module and the material downloading module can be replaced by: the matching rule judging unit is used for judging whether a material page matching rule preset by a user exists or not, wherein the material page matching rule comprises a preset material category; the first determining unit is used for searching a target website from the plurality of material websites according to the material page matching rule when the result judged by the matching rule judging unit is that the target website exists; the second determining unit is used for taking the plurality of material websites as target websites when the result judged by the matching rule judging unit is that the plurality of material websites do not exist; and the material downloading unit is used for downloading the material in the target website determined by the first determining unit or the second determining unit.
Considering that there may be other files in each web page besides the material of the text, such as video advertisements or other materials like logo, which are not suitable for the user to obtain, these files can be filtered out when downloading the material. In a specific implementation, the material downloading module 76 may include: and the material downloading unit is used for downloading the materials which accord with the preset material matching rules from the page of the target website. The file objects in the webpage are filtered through the material matching rules, so that the appropriate files can be downloaded in a targeted manner, and the subsequent operation is simplified.
Referring to a block diagram of another network material processing device shown in fig. 8, the device is improved on the basis of fig. 7, and in addition to the modules shown in fig. 7, the device further includes: and the material filtering module 82 is used for filtering the downloaded material according to the preset material file size and/or size requirement, deleting the material which does not meet the requirement through the filtering, and only storing the material which meets the requirement. The requirement can be set according to the user's requirement, for example, according to the size of the material file (the size of the occupied storage area, i.e. how many bits the material is), the size of the material (specifically, the length and width of the material).
The material obtained by the method can be applied to various occasions, such as display. Based on this, referring to the structural block diagram of the network material processing device shown in fig. 9, the device is improved on the basis of the network material processing device shown in fig. 7, and comprises the following modules in addition to the modules shown in fig. 7: the above-mentioned device still includes: and the display module 92 is used for displaying the materials. The method for applying the materials can display personalized materials and enrich display contents.
In the embodiment of the present invention, taking the application of these materials to the display of the interface control as an example, on the basis of the foregoing apparatus, the display module 92 may further include: and the first interface control display module is used for displaying the acquired materials on the interface controls one by one according to the preset application style. Referring to a block diagram of the structure of the network material processing apparatus shown in fig. 10, the apparatus is improved on the basis of the network material processing apparatus shown in fig. 7, and includes, in addition to the respective modules shown in fig. 7: and the first interface control display module 12 is connected to the material downloading module 74, and is configured to display the acquired materials on the interface controls one by one according to the preset application style. The material acquired here refers to the material downloaded by the material downloading module 74. The materials are used for displaying on the interface control, so that the requirement of user personalized design is met, and the performance of the equipment is improved.
Referring to a block diagram of a fifth network material processing device shown in fig. 11, the device is an improvement of the network material processing device shown in fig. 8, and the device includes, in addition to the modules shown in fig. 8: and the interface control display module 14 is connected to the material filtering module 82, and is configured to display the acquired materials on the interface controls one by one according to the preset application style. The material obtained here refers to the material filtered by the material filtering module 82.
Considering that different users have different design requirements, the display module 92 may further include, according to the pre-configured application style: an application style determination unit, configured to determine an application style configured by a user, wherein the application style includes: fill, conform, stretch, tile, and center.
In order to embody a more personalized display manner, in the embodiment of the present invention, the display duration of the material may be further controlled, and based on this, the display module 92 may further include: and the second interface control display unit is used for displaying the acquired materials on the interface controls one by one according to a preset time threshold, wherein the time threshold is the display duration of each material, and can be a value set by a user or a default value (such as 20 minutes).
Referring to a block diagram of a sixth network material processing device shown in fig. 12, the device is improved on the basis of fig. 10, and includes, in addition to the modules shown in fig. 10: and the circular execution module 16 is connected to the interface control display module 12 and the material download module 76, and is configured to trigger the material download module 76 to reacquire new materials for circular display after the interface control display module 12 finishes displaying all the stored materials.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
According to the embodiment, the target websites are selected from the page content, the materials in the target websites are automatically downloaded without being downloaded one by the user, the mode that the user acquires the materials is simplified, the user can freely and easily acquire the online resources based on the method, the acquisition range of the material resources is wider, the material resources are flexibly applied to the user-defined interface design, the uniqueness of the design is enhanced, and the method has better practicability.
Referring to fig. 13, an embodiment of the present invention further provides a network material processing apparatus 100, including: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 13, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The embodiment of the present invention further provides a computer program product for performing a network material acquisition method and an interface control display method, which includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A method for processing network materials is characterized by comprising the following steps:
acquiring pre-configured page content, wherein the page content comprises a plurality of material websites;
searching a target website from the plurality of material websites according to a preset mode;
and downloading the searched material in the target website.
2. The method of claim 1, wherein searching for the target website from the plurality of material websites according to a preset manner comprises: searching a target website from the plurality of material websites according to a preset material page matching rule; or, all the material websites are used as target websites; the material page matching rule comprises preset material categories.
3. The method of claim 2, wherein downloading the located material in the target website comprises:
and downloading the materials which accord with the preset material matching rules from the page of the target website.
4. The method of claim 1, further comprising:
and filtering the downloaded material according to the preset material file size and/or size requirement.
5. The method according to any one of claims 1 to 4, further comprising:
and displaying the material.
6. The method of claim 5, wherein displaying the material comprises:
and displaying the acquired materials on the interface control one by one according to the preset application style.
7. The method of claim 6, further comprising:
determining a user-configured application style, wherein the application style comprises at least one of fill, fit, stretch, center, and tile.
8. The method of claim 5, further comprising:
and displaying the acquired materials on the interface control one by one according to a preset time threshold, wherein the time threshold is the display time length of each material.
9. A network material processing apparatus, comprising:
the system comprises a page content acquisition module, a page content acquisition module and a page content processing module, wherein the page content acquisition module is used for acquiring preconfigured page content, and the page content is a webpage containing a plurality of material websites;
the website searching module is used for searching a target website from a plurality of material websites of the page content acquired by the page content acquiring module according to a preset mode;
and the material downloading module is used for downloading the material in the target website searched by the website searching module.
10. The apparatus of claim 9, wherein the website searching module comprises:
the first determining unit is used for searching a target website from the plurality of material websites according to a preset material page matching rule, wherein the material page matching rule comprises a preset material category; or,
and the second determining unit is used for taking the material websites as target websites.
11. The apparatus of claim 9, wherein the material download module comprises:
and the material downloading unit is used for downloading the materials which accord with the preset material matching rules from the page of the target website.
12. The apparatus of claim 9, further comprising:
and the material filtering module is used for filtering the downloaded material according to the preset material file size and/or size requirement.
13. The apparatus of any one of claims 9 to 12, further comprising:
and the display module is used for displaying the material.
14. The apparatus of claim 13, wherein the display module comprises: and the first interface control display unit is used for displaying the acquired materials on the interface controls one by one according to the preset application style.
15. The apparatus of claim 14, wherein the display module further comprises:
an application style determination unit for determining an application style configured by a user, wherein the application style comprises at least one of padding, adaptation, stretching, centering and tiling.
16. The apparatus of claim 13, wherein the display module further comprises:
and the second interface control display unit is used for displaying the acquired materials on the interface controls one by one according to a preset time threshold, wherein the time threshold is the display time length of each material.
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 广东欧珀移动通信有限公司 A mobile terminal wallpaper update 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 广东欧珀移动通信有限公司 A mobile terminal wallpaper update 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
CN107562467B (en) Page rendering method, device and equipment
KR101496875B1 (en) Apparatus and methods for retrieving/downloading content on a communication device
KR101719265B1 (en) Server, User terminal appaatus, service providing method and control method thereof
CN108228766B (en) A kind of page generation method and device and storage medium
CN105094775B (en) Webpage generation method and device
CN104468774B (en) Method for exhibiting data and cloud disk client applied to cloud disk client
CN106610988B (en) Webpage recommendation method and recommendation device
CN104408197A (en) Thermodynamic diagram processing method and device
CN111143739B (en) Page jump method, computing device and computer storage medium
CN102902531A (en) Customization and generation method and device of Android application program
CN104361004B (en) The processing method and browser of browser collection folder data
CN108334508B (en) Webpage information extraction method and device
US9471669B2 (en) Presenting previously selected search results
WO2011088724A1 (en) Method and device for realizing information subscription from web page
CN110781386A (en) Information recommendation method and device, and bloom filter creation method and device
CN110968314A (en) Page generation method and device
CN103327049A (en) Rich content pushing method and system based on browser address bar
CN114268828A (en) Method, device and equipment for processing large-screen page and storage medium
CN110647685A (en) Information recommendation method, device and equipment
CN105988791A (en) Method and device for processing network material
US20200312375A1 (en) Information processing method and electronic device
CN105224652A (en) A kind of information recommendation method based on video and electronic equipment
CN106446055B (en) Webpage generation method and system
CN109408618B (en) Keyword recommendation method and device, storage medium and electronic equipment
US20150293916A1 (en) Dynamic and Personalized Filtering of Media Content

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