Summary of the invention
The object of the invention is to, overcome existing webpage and share the existing defective of technology, and provide a kind of new webpage sharing method and corresponding webpage share system, it can reduce the burden of the other side's server, the participator can't be disturbed by unnecessary non-effective picture, has improved user experience.
The object of the invention to solve the technical problems realizes by the following technical solutions.
The invention provides a kind of webpage sharing method, it is by sharing button to carry out described webpage sharing method on the webpage, thereby the content of described webpage is shared, and it comprises: download the data of target web, and obtain the whole pictures on the described target web; Filter out non-effective picture on the described target web to extract effective picture; And return described effective picture to the user.
Preferably, the described non-effective picture that filters out on the described target web comprises with the step that extracts effective picture: the picture file name of obtaining every pictures; Judge according to the picture file name of every pictures whether it is advertising pictures; And with described advertising pictures as described non-effective picture and filter out described advertising pictures.
Preferably, the described non-effective picture that filters out on the described target web comprises with the step that extracts effective picture: the picture size of obtaining every pictures; Judge according to the picture size analysis of every pictures whether it is non-effective picture; And filter out non-effective picture.
Preferably, the described non-effective picture that filters out on the described target web comprises with the step that extracts effective picture: obtain the webpage position of every pictures on described target web, and analyze the correlativity of every pictures and described target web according to the webpage position of every pictures; According to the correlativity of every pictures and described target web, judge whether it is non-effective picture thereby analyze; And filter out non-effective picture.
Preferably, described described effective picture to user's the step of returning comprises: store described effective picture; According to the picture size of the characteristics of described target web and described effective picture and described effective picture is sorted to produce effective picture ranking results picture; And return described effective picture ranking results picture to described user.
The present invention also provides a kind of webpage share system, and it is shared by the button execution webpage of sharing on the webpage, and described webpage share system comprises Web page intelligent Analysis server and picture state and validity server.Wherein, the data that described Web page intelligent Analysis server be used for to be downloaded target web to be obtaining the whole pictures on the described target web, and filter out non-effective picture on the described target web to extract effective picture.Described picture state and validity server are used for storing described effective picture, and return described effective picture to described Web page intelligent Analysis server to offer the user.
Preferably, described picture state and validity server further sort to produce effective picture ranking results picture to described effective picture, and described effective picture ranking results picture is back to described Web page intelligent Analysis server to offer described user.
Preferably, described Web page intelligent Analysis server judges according to the picture file name of every pictures whether it is advertising pictures, and with described advertising pictures as described non-effective picture and filter out described advertising pictures.
Preferably, described Web page intelligent Analysis server judges according to the picture size analysis of every pictures whether it is described non-effective picture, and filters out described non-effective picture.
Preferably, described Web page intelligent Analysis server analyzes the correlativity of every pictures and described target web according to the webpage position of every pictures on described target web, whether be described non-effective picture, and filter out described non-effective picture if judging it according to the correlativity analysis of every pictures and described target web.
Webpage share system of the present invention and webpage sharing method, can filter out the user and not wish the non-effective picture shared, and only provide the user to wish effective picture of sharing, therefore, it does not need to provide whole pictures to the participator, has reduced the burden of the other side's server, and the participator can't be disturbed by unnecessary non-effective picture, improve user experience, also reduced the workload of whole system.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other purpose of the present invention, feature and advantage can be become apparent, below especially exemplified by preferred embodiment, and the cooperation accompanying drawing, be described in detail as follows.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, webpage sharing method and corresponding its embodiment of webpage share system, method, step, structure, feature and effect thereof to foundation the present invention proposes are described in detail as follows.
Relevant aforementioned and other technology contents of the present invention, Characteristic can be known to present in the following detailed description that cooperates with reference to graphic preferred embodiment.By the explanation of embodiment, when can being to reach technological means and the effect that predetermined purpose takes to be able to more deeply and concrete understanding to the present invention, yet appended graphic only provide with reference to the usefulness of explanation, the present invention is limited.
Fig. 1 is the block schematic diagram of disclosed webpage share system, and it can utilize shares button and carry out webpage and share.Share button and be the button on a kind of third party's of being added on website, the user can share button by click the content on the target web is shared all kinds of sharing service website, for example SNS social network sites or microblogging etc.As shown in Figure 1,webpage share system 100 of the present invention comprises Web pageintelligent Analysis server 110 and picture state and validity server 120.Wherein, the user is when sharing button and carry out webpage and share operation, and the data that Web pageintelligent Analysis server 110 is downloaded target webs to be obtaining the whole pictures on the target web, and filters out non-effective picture on the target web to extract effective picture.And picture state andvalidity server 120 are stored effective picture, and it is sorted to produce effective picture ranking results picture, then effective picture ranking results picture are back to Web pageintelligent Analysis server 110 to offer the user.
Fig. 2 is the schematic flow sheet of disclosed webpage sharing method.See also Fig. 1-2, webpage sharing method of the present invention comprises:
Step S210: download the data of target web, and obtain the whole pictures on the target web.
Particularly, as user during at browsing page, when it sees interesting, noticeable webpage (being target web), thereby the user can click and share button and carry out webpage and share operation, then Web pageintelligent Analysis server 110 of the present invention can be downloaded the data of target web, thereby obtains the whole pictures on the target web.
Step S220: filter out non-effective picture on the target web to extract effective picture.
In the present invention, Web pageintelligent Analysis server 110 can be carried out filter operations, filters out user on the webpage and does not wish the non-effective picture shared, and only provide the user to wish effective picture of sharing.Particularly, step S220 comprises:
Step S221: the picture file name of obtaining every pictures;
Step S222: judge according to the picture file name of every pictures whether it is advertising pictures; And
Step S223: with advertising pictures as non-effective picture and filter out advertising pictures.
That is to say, in the present invention, Web pageintelligent Analysis server 110 can be analyzed the picture file name of every pictures, thereby judges according to the picture file name of every pictures whether it is advertising pictures, as be advertising pictures, then with it as non-effective picture and filter out; Otherwise, then keep.
In addition, in the present invention, step S220 also can further comprise:
Step S224: the picture size of obtaining every pictures;
Step S225: judge according to the picture size analysis of every pictures whether it is non-effective picture; And
Step S226: filter out non-effective picture.
That is to say that in the present invention, Web pageintelligent Analysis server 110 also can be analyzed the picture size of every pictures, as criterion, if do not meet criterion, for example picture is smaller with it, and picture that then will be less is as non-effective picture and filter out; Otherwise, then keep.
In addition, in the present invention, step S220 also can further comprise:
Step S227: obtain the webpage position of every pictures on target web, and analyze the correlativity of every pictures and target web according to the webpage position of every pictures;
Step S228: according to the correlativity of every pictures and target web, judge whether it is non-effective picture thereby analyze; And
Step S229: filter out non-effective picture.
That is to say, in the present invention, Web pageintelligent Analysis server 110 also can be analyzed the webpage position of every pictures on target web, thereby analyze the correlativity obtain itself and target web, for example being positioned at the picture of top or the bottom of target web, generally is icon picture (icon), and the correlativity of itself and target web is less, therefore, can be with it as non-effective picture and filter out; Otherwise, then keep.
Certainly, it will be understood by those skilled in the art that, although be in embodiments of the present invention with the picture file name of every pictures, picture size, with and combine with these Rule of judgment of correlativity of target web, to judge that whether every pictures is as non-effective picture, but, these Rule of judgment also can use according to actual needs and separately, and perhaps part is combined, to judge that whether it is as non-effective picture.Certainly, the present invention can also comprise other Rule of judgment, and user-defined concrete decision condition for example is to judge that whether every pictures is as non-effective picture.In addition, it will be appreciated by persons skilled in the art that the present invention can also gather together filtration step (such as step S223, step S226, step S229), the filter operation of seeking unity of action is to filter out non-effective picture.
Webpage sharing method of the present invention also comprises:
Step S230: return effective picture to the user.
Particularly, step S230 further comprises:
Step S231: store effective picture;
Step S232: thus according to the characteristics of target web and the picture size of effective picture effective picture is sorted to produce effective picture ranking results picture; And
Step S233: return effective picture ranking results picture to the user.
In the present invention, resulting effective picture after Web pageintelligent Analysis server 110 filters, can be stored in picture state and thevalidity server 120, then picture state andvalidity server 120 can according to the characteristics of target web and effectively picture picture size and the effective picture that remains is sorted, thereby produce effective picture ranking results picture.Then, picture state andvalidity server 120 are back to effective picture ranking results picture in the Web pageintelligent Analysis server 110, to offer the user.
In sum, webpage share system of the present invention and webpage sharing method, can filter out the user and not wish the non-effective picture shared, and only provide the user to wish effective picture of sharing, therefore, it does not need to provide whole pictures to the participator, reduced the burden of the other side's server, the participator can't be disturbed by unnecessary non-effective picture, has improved user experience, has also reduced the workload of whole system.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, although the present invention discloses as above with preferred embodiment, yet be not to limit the present invention, any those skilled in the art, within not breaking away from the technical solution of the present invention scope, when the technology contents that can utilize above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every case be not break away from the technical solution of the present invention content, any simple modification that foundation technical spirit of the present invention is done above embodiment, equivalent variations and modification all still belong in the scope of technical solution of the present invention.