Background technology
China Mobile released (the Global System for MobileCommunications with GSM in 2000, global system for mobile communications) WAP (the Wireless Application Protocol that merges of network and Internet network communication, WAP service), not only having changed can only be with the situation of fixed terminal online, also for having erected an application platform between internet and the mobile communication.WAP a kind ofly provides the global unified open protocol standard of internet content and advanced value-added service to portable terminal, is the wireless Internet agreement of having simplified.WAP combines Internet and mobile phone technology, and making whenever and wherever possible, the abundant internet resource of visit becomes a reality.The WAP service is that a kind of mobile phone is directly surfed the Net, browse the service of WAP website by mobile phone WAP " browser ", for the user provides a plurality of classifications colourful 250 multinomial business such as containing recreation, news, mail, the download of the tinkle of bells picture, security lottery ticket, fashion information and life study.
Increase along with free WAP door, China WAP number of users will present in the coming years increases situation at a high speed, the user is from the preliminary WAP browser mode of accepting, develop into gradually and get used to this browsing mode, increasing user becomes the loyalty of WAP browser, stable user.
As shown in Figure 1, for the prior art terminal by the browse web sites schematic diagram of interface display of WAP.
But the time along with the network multi-element development, the user is badly in need of quick, the friendly Web content that some users relatively pay close attention to of browsing, this just need filter out some for example user such as advertisement dislike Web content and want the irrelevant content of information obtained with the user, farthest be user's browse network content providers just.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: although some Web content users do not have reading requirement, but taken most display space, these contents have become a kind of burden of user when browsing page, and user's reading experience is not high.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of information filtering.By the embodiment of the invention, Web content is filtered according to certain rule, the Web content that filters and put in order is exported to the user, farthest be user's browse network content providers just, improve user's reading experience.
For achieving the above object, the embodiment of the invention provides a kind of method of information filtering on the one hand, comprising:
Obtain Web content;
According to predetermined rule described Web content is filtered;
Put the Web content after the described filtration in order; Export the Web content after the described arrangement.
On the other hand, the embodiment of the invention also provides a kind of device of information filtering, comprising:
Acquisition module is used to obtain Web content;
Filtering module is used for according to predetermined rule described Web content being filtered;
Sorting module is used to put in order the Web content after the filtration;
Output module is used to export the Web content after the arrangement.
Compared with prior art, the embodiment of the invention has the following advantages: Web content is filtered according to certain rule, the Web content that filters and put in order is exported to the user, farthest be user's browse network content providers just, improve user's reading experience.
Embodiment
The embodiment of the invention provides a kind of method of information filtering, pass through the embodiment of the invention, Web content is filtered according to certain rule, the Web content that filters and put in order is exported to the user, with realize farthest be user's browse network content providers just, improve user's reading experience.
As shown in Figure 2, be the schematic diagram of the method for embodiment of the invention information filtering.
As shown in Figure 3, the flow chart for the method for embodiment of the invention information filtering specifically comprises following step:
Step S301, the webserver obtains Web content.
The content that the webserver obtains includes but not limited to: one or more in the form content that literal, picture, audio frequency, video and attachment files etc. exist on the internet.
In embodiments of the present invention, for example the Web content that obtains of the webserver comprises: one or more in blog blog, news, the tinkle of bells, music, toolbar, website links, advertisement, video and the big big length picture of length figure (size of picture includes but not limited to the pixel greater than 600*800).
Step S302 is according to default rule, the grade of marked network content.
In embodiments of the present invention, the webserver preestablishes out the rule of a cover screen content, include but not limited to following rule:, content of different nature in the Web content can be predisposed to the grade of different stage according to the display result of statistics user to the Web content interest level.For example: the grade of user's interest blog blog and news can be set to 3 and 4 respectively, and the threshold value of Web content grade can be redefined for 3 or 4; The grade of the picture not too interested Web contents of user such as (size of picture include but not limited to the pixel greater than 600*800) of toolbar, ringing sound of cell phone, music links, advertisement, advertisement figure, video, website links and big length is set to be higher than or be lower than the threshold value of default Web content respectively, and for example the grade of Web content that can be above-mentioned is set to 1 or 5.
Step S303, the grade of the Web content that judgement is obtained is if the grade of Web content is higher than or is lower than the threshold value of default Web content, execution in step S304.If the grade of Web content equals preset threshold value, execution in step S305 then.
Step S304, the Web content that will be higher than or be lower than predetermined threshold value filters out.
Because the grade of the picture not too interested Web contents of user such as (size of picture include but not limited to the pixel greater than 600*800) of the toolbar in the Web content, ringing sound of cell phone, music links, advertisement, advertisement figure, website links and big length is 1 or 5, be higher than or be lower than the threshold value 3 or 4 of default Web content, so the webserver filters out above-mentioned Web content automatically.
Step S305 puts the Web content that remains after filtering in order again.
For through user's interest Web contents such as for example blog blog that remains after filtering, news, the webserver will be according to neat, consistent form again to the arrangement of setting type of this Web content.
Step S306 exports to the user with the Web content of putting in order, satisfy user's reading requirement.
In embodiments of the present invention, Web content is filtered according to predetermined rule, the Web content that filters and put in order is exported to the user, farthest be user's browse network content providers just, improve user's reading experience.
As shown in Figure 4, the structure chart for embodiment of the invention communication equipment comprises:
Acquisition module 41 is used to obtain Web content.
Filtering module 42 is used for according to predetermined rule the Web content that described acquisition module 41 obtains being filtered.
Sorting module 43 is used to put in order the Web content after described filtering module 42 filters.
Output module 44 is used to export the Web content after described sorting module 43 is put in order.
Wherein, filtering module 42 comprises:
Set submodule 421, be used for setting the grade of the described Web content that described acquisition module 41 obtains according to predetermined rule.
Judge submodule 422, be used to judge the grade of described Web content.
Information filtering submodule 423, the Web content that is used for described grade is higher or lower than described preset threshold value filters out.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.