CN103631795A - Method and device for converting webpages in network equipment and equipment - Google Patents

Method and device for converting webpages in network equipment and equipment Download PDF

Info

Publication number
CN103631795A
CN103631795A CN201210301704.3A CN201210301704A CN103631795A CN 103631795 A CN103631795 A CN 103631795A CN 201210301704 A CN201210301704 A CN 201210301704A CN 103631795 A CN103631795 A CN 103631795A
Authority
CN
China
Prior art keywords
webpage
web page
converted
equations
indication information
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
CN201210301704.3A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210301704.3A priority Critical patent/CN103631795A/en
Publication of CN103631795A publication Critical patent/CN103631795A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention aims to provide a method and device for converting webpages in network equipment and the equipment. The method includes the steps that transcoding indication information corresponding to first type webpages to be converted is acquired, wherein the first type webpages are suitable for being presented on first type user equipment, and the transcoding indication information is used for indicating conversion of codes of at least one webpage module of the first type webpages to be converted; codes of one or more webpage modules in the first type webpages to be converted are converted according to the transcoding indication information to acquire converted second type webpages suitable for being presented on second type user equipment when the users request to have access to the webpages to be converted. The method and device and the equipment have the advantages that a part of the modules, which can not be normally displayed on the second user equipment, of the webpages are converted, so that the second type user equipment is not limited by limited mobile webpage resources any longer, and can smoothly acquire a large number of existing world wide web resources.

Description

A kind of method of in the network equipment, webpage being changed, device and equipment
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method of in the network equipment, webpage being changed, device and equipment.
Background technology
Web page resources in current WWW is far away more than the web page resources being specifically designed on mobile device, therefore, mobile device or other subscriber equipmenies that for some, can not normally represent web presence, it can only obtain and limited resource; And for each website, special another corresponding website of setting up for this kind equipment, as mobile phone website etc., need to spend more time and energy.Therefore, people are badly in need of a kind ofly can normally representing at user terminals such as mobile devices the mode of all kinds of webpages.
Summary of the invention
The object of this invention is to provide a kind of method of in the network equipment, webpage being changed, device and equipment.
According to an aspect of the present invention, provide a kind of method of in the network equipment, webpage being changed, wherein, said method comprising the steps of:
A. obtain the transcoding indication information corresponding with first kind webpage to be converted, wherein, described first kind webpage is suitable for presenting on first kind subscriber equipment, and described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations;
B. according to described transcoding indication information, code to the one or more Web page modules in described first kind webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
According to an aspect of the present invention, wherein, comprise at least one first kind sub-pages link in described first kind webpage to be converted, described method is further comprising the steps of:
-judge whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment;
-when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, the first kind sub-pages link in described first kind webpage to be converted is replaced with to described Equations of The Second Kind sub-pages link.
According to another aspect of the present invention, also provide a kind of webpage conversion equipment for webpage is changed, wherein said webpage conversion equipment comprises:
The first acquisition device, for obtaining the transcoding indication information corresponding with first kind webpage to be converted, wherein, described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations;
Conversion equipment, be used for according to described transcoding indication information, code to the one or more Web page modules in described first kind webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
According to another aspect of the present invention, comprise at least one first kind sub-pages link in described first kind webpage to be converted, described webpage conversion equipment also comprises:
The second judgment means, for judging whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment;
Alternative, for when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, replaces with described Equations of The Second Kind sub-pages link by the first kind sub-pages link in described first kind webpage to be converted.
According to another aspect of the present invention, also provide a kind of network equipment, wherein, the described network equipment comprises described webpage conversion equipment.
Compared with prior art, the present invention has the following advantages: the present invention will be by can not being normally presented at the second subscriber equipment, such as mobile device of some type etc., on the part of module of webpage carry out conversion process, as modes such as deletion, part deletion and Folding displays, cannot normally at first kind webpage, convert a large amount of scripts to can normally show Equations of The Second Kind webpage, make Equations of The Second Kind subscriber equipment no longer be limited to existing limited mobile web page resources, such as wap webpage etc., and can obtain smoothly a large amount of existing WWW resources.And, the present invention by preferentially whether webpage being had to corresponding Equations of The Second Kind webpage judges, make the network equipment only need to carry out conversion operations to not thering is the webpage of Equations of The Second Kind webpage, thereby alleviated the burden of the network equipment, and improved the efficiency of conversion operations, thereby can respond quickly user's request.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is the method flow diagram of in the network equipment, webpage being changed according to an aspect of the present invention;
Fig. 2 is the method flow diagram of in the network equipment, webpage being changed according to an embodiment of the invention;
Fig. 3 is the structural representation of the webpage conversion equipment of in the network equipment, webpage being changed of one aspect of the present invention;
Fig. 4 is the structural representation of the webpage conversion equipment of in the network equipment, webpage being changed of one embodiment of the present of invention.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 has illustrated the method flow diagram of in the network equipment, webpage being changed according to an aspect of the present invention.
Wherein, the described network equipment include a kind of can be according to the instruction of prior setting or storage, automatically carry out the electronic equipment of numerical evaluation and/or information processing, its hardware includes but not limited to microprocessor, special IC (ASIC), programmable gate array (FPGA), digital processing unit (DSP), embedded device etc.The described network equipment includes but not limited to server group or the cloud consisting of a large amount of main frames or the webserver based on cloud computing (Cloud Computing) that single network server, a plurality of webserver form, wherein, cloud computing is a kind of of Distributed Calculation, the super virtual machine being comprised of the loosely-coupled computing machine collection of a group.
Described subscriber equipment includes but not limited to any electronic product that can carry out man-machine interaction by modes such as keyboard, mouse, telepilot, touch pad or voice-operated devices with user, for example, personal computer, panel computer, smart mobile phone, PDA, game machine or IPTV etc.
In the present invention, the described network equipment is for being converted to described first kind webpage to be suitable for the Equations of The Second Kind webpage that presents on Equations of The Second Kind subscriber equipment.
Wherein, described first kind webpage includes but not limited to all kinds of webpages based on WWW.Described first kind subscriber equipment includes but not limited to normally to show the subscriber equipment of described first kind webpage.Described Equations of The Second Kind subscriber equipment includes but not limited to normally to show the subscriber equipment of described first kind webpage; Described Equations of The Second Kind webpage comprises the web presence that can normally show on described Equations of The Second Kind subscriber equipment; Preferably, described Equations of The Second Kind subscriber equipment comprises the mobile terminal that can not normally show web presence.More preferably, described mobile terminal includes but not limited to mobile phone, PDA, game machine etc.
Wherein, the residing network of described subscriber equipment and the network equipment includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN (Local Area Network), VPN network etc.
It should be noted that; described subscriber equipment, the network equipment and network are only for giving an example; other subscriber equipmenies existing or that may occur from now on, the network equipment and network, as applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this with way of reference.
Particularly, with reference to Fig. 1, for each first kind webpage to be converted comprising in the described network equipment, the method according to this invention comprises step S1 and step S2.
In step S1, the described network equipment obtains the transcoding indication information corresponding with described first kind webpage to be converted.Wherein, described first kind webpage is suitable for presenting on first kind subscriber equipment, and described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations.
Wherein, described transcoding indication information can be added in the webpage of described third party website by the predetermined protocol based between the described network equipment and third party website.
Preferably, described transcoding indication information is that the described network equipment is readable, and does not affect the code of normal demonstration of the webpage of described third party website.
Preferably, the indicated conversion operations of described transcoding indication information comprises for first kind webpage is converted to the conversion operations of the Equations of The Second Kind webpage that can normally show on Equations of The Second Kind subscriber equipment.More preferably, the indicated conversion operations of described transcoding indication information comprises following at least any one:
1) deletion action; That is the operation of deleting Web page module.
2) folding operation; That is the operation that Web page module is partly represented, preferably, in described folding operation instruction, also can comprise the information that part is shown.
3) reservation operations, that is Web page module is not processed.
More preferably, described transcoding indication information also comprises the module id information of the Web page module corresponding with every conversion operations difference.Wherein, described Web page module comprise according to web page contents and web page frame structure, webpage is divided after determined part web page contents.
Particularly, the mode of obtaining the transcoding indication information corresponding with described first kind webpage to be converted described in include but not limited to following any:
1) in described first kind webpage to be converted, extract this transcoding indication information.
Particularly, while comprising transcoding indication information in webpage, can directly in web page code, extract the transcoding indication information that it comprises.
As the first example of the present invention, the code of the first kind webpage web1 to be converted that the network equipment obtains is as follows:
<!doctype html><html><body>
<p id=″nv″><!--trans commond:fold from the 3rd-->
<a href=" http://news.website1.com " > news </a>
<a href=" http://tieba.website2.com " > mhkc </a>
<a href=" http://zhidao.website1.com " > knows </a>
<a href=″http://mp3.website2.com″>MP3</a>
<a href=" http://image.website1.com " > picture </a>
<a href=" http://video.website2.com " > video </a>
<a href=" http://map.website1.com " > map </a></pGreatT.Gr eaT.GT
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
<p id=″cp″><!--trans commond:delete-->
<a href=" http://www.miibeian.gov.cn " target=" _ blank " > capital ICP demonstrate,proves No. 123456 </a></pGreatT.Gr eaT.GT
</body></html>
The network equipment is identified transcoding indication information based on " trans commond: ", and according to " trans commond: " residing position, determine the code of its corresponding Web page module, thereby obtain the transcoding indication information comprise the conversion operations information corresponding with each section of web page code, shown in table 1 specific as follows:
Table 1
Conversion operations command information Corresponding web page code section
fold from the 3rd <p id=″nv″>...</p>
save <div id=″fm″>...</p>
delete <p id=″cp″>...</p>
2) according to intended conversion rule, determine the corresponding transcoding indication information of described first kind webpage to be converted; Wherein, described intended conversion rule comprises at least one the conversion operations to Web page module.Wherein, described intended conversion rule can be pre-stored within this network equipment or other network equipments, and when this network equipment need to obtain transcoding indication information by communicating to obtain at local search or with these other network equipments.
For example, described intended conversion rule comprises: front two Web page modules in webpage are carried out to folding operation, and all the other modules are carried out deletion action.And the webpage web2 that current network equipment is being processed comprises m1 to m4 totally four modules, and the network equipment determines that transcoding indication information is as shown in table 2 below:
Table 2
Conversion operations command information Web page module
Folding m1
Folding m2
Delete m3
Delete m4
3) first determine the module classification of one or more Web page modules that described first kind webpage to be converted comprises; Again according to the module classification of determined each Web page module, and the module classification of predetermined Web page module and the corresponding relation of conversion operations, the transcoding indication information corresponding with each Web page module obtained respectively.Wherein, described corresponding relation can be pre-stored within this network equipment or other network equipments, and when this network equipment need to obtain transcoding indication information by communicating to obtain at local search or with these other network equipments.
Wherein, described module classification is divided according to the interior perhaps function of Web page module, and preferably, described module classification includes but not limited to following any one:
A) navigation module classification; The Web page module that comprises webpage navigation bar.
B) list block classification; Except navigation bar for showing the Web page module of a plurality of web page interlinkages.
C) text module classification; For the Web page module of display web page body matter.As, for the Web page module of display web page text, or, for Showing Picture, the Web page module of the information such as video.
D) advertisement module classification, for the Web page module of showing advertisements.
Particularly, described other mode of module class of determining one or more Web page modules that described first kind webpage to be converted comprises include but not limited to following any:
A) name information of the webpage control based on comprising in web page code, determines the type information of Web page module under this webpage control.For example, the network equipment, according to the module title " navigation bar " comprising in web page code, determines that working as Web page module corresponding to front end code is navigation type module etc.
B) according to pre-established code classification model, web page code is classified, to identify each section of module classification that code is corresponding.Described code classification model can, based on to the code information of a large amount of webpages and content information thereof, adopt the machine learning methods such as support vector machine, nerve network system to carry out setting up after a large amount of study.
Then, the network equipment is according to the module classification of each Web page module in determined first kind webpage, and the module classification of the predetermined Web page module of having stored in the network equipment and the corresponding relation of conversion operations, obtain respectively the transcoding indication information corresponding with each Web page module.
For example, the network equipment has determined that the module classification of the Web page module m4 comprising in first kind webpage web3 is " navigation module classification ", the network equipment, according to the corresponding relation of the module classification of pre-stored and transcoding indication information, determines that the transcoding indication information that this Web page module m4 is corresponding is " Folding display ".
In step S2, the described network equipment is according to described transcoding indication information, code to the one or more Web page modules in described webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
Based on above-mentioned the first example, go on to say below, the network equipment is according to obtained transcoding indication information, Web page module corresponding to " <p id=" nv " >...</p> " this section of code folded to process no longer after the 3rd information of code and show, retain " <divid=" fm " >...</div> " this section of mixed-media network modules mixed-media that code is corresponding, and deletion " <pid=" cp " >...</p> " this section of mixed-media network modules mixed-media that code is corresponding, Equations of The Second Kind web page code after resulting conversion is as follows:
<!doctype html><html><body>
<p id=″nv″><!--trans commond:save first 3-->
<a href=" http://news.website1.com " > news </a>
<a href=" http://tieba.website2.com " > mhkc </a>
<a href=" http://zhidao.website1.com " > knows </a>
</p>
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
</body></html>
According to a preferred embodiment of the present invention, also comprise step S3 (not shown) before described step S1, described step S1 further comprises step S11 (not shown).
Wherein, in step S3, the network equipment judges in described first kind webpage to be converted whether comprise transcoding indication information.
Particularly, the described network equipment, according to whether comprising predetermined identification information in described first kind webpage, judges in this first kind webpage whether comprise transcoding indication information.
Wherein, described predetermined identification information can be identified for the network equipment character or character string information.Preferably, described predetermined identification information can be contained in the annotation information of web page code of described first kind webpage.
--transfer-->,, when the network equipment is read this section of annotation information in the code of first kind webpage, judges that this first kind webpage comprises transcoding indication information.
Then,, in step S11, while comprising transcoding indication information in described first kind webpage to be converted, the described network equipment extracts this transcoding indication information in described first kind webpage to be converted.
The implementation 1 of the implementation of step S11 and abovementioned steps S1) identical, do not repeat them here.
A more excellent embodiment as the preferred embodiment, also comprises step S12 (not shown) according to the step S1 of the present embodiment.
In step S12, while not comprising transcoding indication information in described first kind webpage to be converted, according to predetermined transformation rule, determine the corresponding transcoding indication information of described first kind webpage to be converted.
Wherein, the implementation 2 of the implementation of described step S12 and abovementioned steps S1) identical, do not repeat them here.
Another more excellent embodiment as the preferred embodiment, also comprises step S13 (not shown) and S14 (not shown) according to the step S1 of the present embodiment.
In step S13, while not comprising transcoding indication information in described first kind webpage to be converted, determine the module classification of each Web page module in described first kind webpage to be converted;
In step S14, according to the module classification of determined each Web page module, and described predetermined corresponding relation, obtain respectively the transcoding indication information corresponding with each Web page module.
Wherein, described step S13 and the implementation of S14 and the implementation 3 of abovementioned steps S1) identical, do not repeat them here.
According to another preferred embodiment of the present invention, according to the method for the present embodiment, also comprise step S6 (not shown) and step S7 (not shown).
In step S6, the network equipment is based on searching for from the searching request of Equations of The Second Kind subscriber equipment, and to obtain the search results pages that comprises a plurality of results link, wherein, described results link is first kind web page interlinkage.
Particularly, when the network equipment receives the searching request from Equations of The Second Kind subscriber equipment, by directly this request being searched for by the search engine corresponding with first kind webpage, to obtain the search results pages that comprises a plurality of first kind web page interlinkages.
According to the second example of the present invention, first kind webpage comprises the webpage based on web, Equations of The Second Kind webpage comprises wap webpage, input " film " in the search engine of user's shown wap webpage version on mobile phone, the network equipment receives this searching request, and call the search engine based on web webpage corresponding with aforementioned search engine and search for, and according to the existing index information of current web web page search engine, obtain a plurality of results link relevant to " film " this searching request, and generate the search results pages that comprises the plurality of results link.
Preferably, when described search results pages is not Equations of The Second Kind webpage, the described network equipment can be carried out as aforementioned with reference to the method described in Fig. 1 embodiment, is converted into Equations of The Second Kind webpage.
In step S7, the network equipment feeds back to described subscriber equipment for further operation by described search results pages.
Continuation describes the second example of the present invention, and the network equipment feeds back to Equations of The Second Kind subscriber equipment by the search results pages corresponding with searching request " film " obtaining in step S6.
The method according to this invention, by can not being normally presented at the second subscriber equipment, such as mobile device of some type etc., on the part of module of webpage carry out conversion process, as modes such as deletion, part deletion and Folding displays, cannot normally at first kind webpage, convert a large amount of scripts to can normally show Equations of The Second Kind webpage, make Equations of The Second Kind subscriber equipment no longer be limited to limited mobile web page resources, such as wap webpage etc., and can obtain smoothly a large amount of existing WWW resources.
Fig. 2 has illustrated the method flow diagram of in the network equipment, webpage being changed according to an embodiment of the invention.
According to the method for the present embodiment, in first kind webpage to be converted, comprise at least one first kind sub-pages link, it comprises step S4, S5, step S1 and step S2.
Wherein, described sub-pages link comprises and comprising in this first kind webpage, for linking to the web page interlinkage of next stage webpage.
Described first kind sub-pages link comprises for linking to the web page interlinkage of the first kind webpage of subordinate.
Corresponding Equations of The Second Kind sub-pages link comprises for linked to the web page interlinkage of the Equations of The Second Kind webpage of subordinate by current web page.
In step S4, the network equipment judges whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment.
Preferably, described Equations of The Second Kind sub-pages link comprises the web page interlinkage of the mobile webpage that is suitable for presenting on mobile subscriber terminal, for example, and the web page interlinkage of wap webpage etc.
Particularly, whether the network equipment comprises the rule of correspondence of first kind web page interlinkage and Equations of The Second Kind web page interlinkage according to described first kind sub-pages link affiliated web site, judges whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link.
Preferably, the described rule of correspondence includes but not limited to following any one:
1) for first kind web page interlinkage being converted to the working rule of Equations of The Second Kind web page interlinkage.For example, the rule of correspondence comprises that " at the http of first kind web page interlinkage: // " adds " wap " afterwards.
2) corresponding relation of first kind web page interlinkage and Equations of The Second Kind web page interlinkage.
Then,, in step S5, when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, the network equipment replaces with described Equations of The Second Kind sub-pages link by the first kind sub-pages link in described first kind webpage to be converted.
Continuation describes aforementioned the first example, in step S4, the first kind sub-pages link " http://news.website1.com " comprising for web1, the network equipment obtains the rule of correspondence " at the http of first kind web page interlinkage: // " by its affiliated web site website1 place and adds afterwards " wap ", network equipment judgement " http://news.website1.com " has corresponding Equations of The Second Kind sub-pages link, then, the network equipment is according to the obtained rule of correspondence, determine that linking the second corresponding sub-pages with this first sub-pages is linked as " http://wapnews.website1.com ", and fetch " the http://news.website1.com " in replacement web1 with this second sub-pages chain, then, the first kind sub-pages link " http://tieba.website2.com " comprising for web1, the network equipment obtains first kind web page interlinkage by the website2 place, website under it and shows with the corresponding of Equations of The Second Kind web page interlinkage, and the inquiry acquisition Equations of The Second Kind sub-pages corresponding with " http://tieba.website2.com " links " http://tieba.MW_website2.com " in this correspondence table, the network equipment judges that it has corresponding Equations of The Second Kind sublink, and fetch " the http://tieba.website2.com " in replacement web1 with this Equations of The Second Kind sub-pages chain.Similarly, the network equipment is all replaced the first kind web page interlinkage in web1 with corresponding Equations of The Second Kind web page interlinkage, to obtain the first kind webpage to be converted that comprises each Equations of The Second Kind web page interlinkage.
Step S1 and step S2 are described in detail in reference to the embodiment shown in Fig. 1, and are contained in this by reference, repeat no more.
Continuation describes aforementioned the first example, and the first kind webpage to be converted that the network equipment comprises each Equations of The Second Kind web page interlinkage to this in step S1 and step S2 carries out conversion process, to obtain the Equations of The Second Kind webpage after the conversion corresponding with following web page code.
<!doctype html><html><body>
<p id=″nv″><!--trans commond:save first 3-->
<a href=" http://wapnews.website1.com " > news </a>
<a href=" http://tieba.MW_website2.com " > mhkc </a>
<a href=" http://wapzhidao.website1.com " > knows </a>
</p>
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
</body></html>
It should be noted that, step S5 can carry out before step S1, after also can completing at the conversion operations of step S2, carried out.
According to the present embodiment preferred version, according to the method for the present embodiment, before step S1, also comprise step S8 (not shown) and step S9 (not shown), after step S2, also comprise step S10 (not shown).
In step S8, the network equipment obtain from described Equations of The Second Kind subscriber equipment, for the web page interlinkage of request access webpage.
Then,, in step S9, when described web page interlinkage is first kind web page interlinkage, the network equipment obtains the webpage corresponding with this web page interlinkage as webpage to be converted.
Particularly, when the network equipment determines that webpage corresponding to web page interlinkage obtaining in step S8 can not normally show on Equations of The Second Kind subscriber equipment, judge that this web page interlinkage is first kind web page interlinkage, and using webpage corresponding to this web page interlinkage as webpage to be converted.
In step S10, the network equipment sends to described Equations of The Second Kind subscriber equipment by the Equations of The Second Kind webpage after described conversion.
Preferably, the described network equipment also can replace with other web page elements relevant to each first kind web page interlinkage the web page element that is applicable to Equations of The Second Kind webpage simultaneously.
Described other web page elements include but not limited to following any one:
1) icon;
2) the anchor text message corresponding with first kind web page interlinkage;
3) button etc.
According to the method for the present embodiment, by the web page interlinkage in first kind webpage is directly replaced with to Equations of The Second Kind webpage, reduced follow-up conversion operations, thereby alleviated the burden of the network equipment self, and improved the efficiency of conversion operations, thereby can respond quickly user's request.
Fig. 3 has illustrated the structural representation of the webpage conversion equipment of in the network equipment, webpage being changed according to an aspect of the present invention.Webpage conversion equipment according to the present invention comprises the first acquisition device 1 and the first conversion equipment 2.
Wherein, the described network equipment include a kind of can be according to the instruction of prior setting or storage, automatically carry out the electronic equipment of numerical evaluation and/or information processing, its hardware includes but not limited to microprocessor, special IC (ASIC), programmable gate array (FPGA), digital processing unit (DSP), embedded device etc.The described network equipment includes but not limited to server group or the cloud consisting of a large amount of main frames or the webserver based on cloud computing (Cloud Computing) that single network server, a plurality of webserver form, wherein, cloud computing is a kind of of Distributed Calculation, the super virtual machine being comprised of the loosely-coupled computing machine collection of a group.
Described subscriber equipment includes but not limited to any electronic product that can carry out man-machine interaction by modes such as keyboard, mouse, telepilot, touch pad or voice-operated devices with user, for example, personal computer, panel computer, smart mobile phone, PDA, game machine or IPTV etc.
In the present invention, the described network equipment is for being converted to described first kind webpage to be suitable for the Equations of The Second Kind webpage that presents on Equations of The Second Kind subscriber equipment.
Wherein, described first kind webpage includes but not limited to all kinds of webpages based on WWW.Described first kind subscriber equipment includes but not limited to normally to show the subscriber equipment of described first kind webpage.Described Equations of The Second Kind subscriber equipment includes but not limited to normally to show the subscriber equipment of described first kind webpage; Described Equations of The Second Kind webpage comprises the web presence that can normally show on described Equations of The Second Kind subscriber equipment; Preferably, described Equations of The Second Kind subscriber equipment comprises the mobile terminal that can not normally show web presence.More preferably, described mobile terminal includes but not limited to mobile phone, PDA, game machine etc.
Wherein, the residing network of described subscriber equipment and the network equipment includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN (Local Area Network), VPN network etc.
It should be noted that; described subscriber equipment, the network equipment and network are only for giving an example; other subscriber equipmenies existing or that may occur from now on, the network equipment and network, as applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this with way of reference.
Particularly, with reference to Fig. 3, the first acquisition device 1 obtains the transcoding indication information corresponding with described first kind webpage to be converted.Wherein, described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations.
Wherein, described transcoding indication information can be added in the webpage of described third party website by the predetermined protocol based between the described network equipment and third party website.
Preferably, described transcoding indication information is that the described network equipment is readable, and does not affect the code of normal demonstration of the webpage of described third party website.
Preferably, the indicated conversion operations of described transcoding indication information comprises for first kind webpage is converted to the conversion operations of the Equations of The Second Kind webpage that can normally show on Equations of The Second Kind subscriber equipment.More preferably, the indicated conversion operations of described transcoding indication information comprises following at least any one:
1) deletion action; That is the operation of deleting Web page module.
2) folding operation; That is the operation that Web page module is partly represented, preferably,
In described folding operation instruction, also can comprise the information that part is shown.
3) reservation operations, that is Web page module is not processed.
More preferably, described transcoding indication information also comprises the module id information of the Web page module corresponding with every conversion operations difference.Wherein, described Web page module comprise according to web page contents and web page frame structure, webpage is divided after determined part web page contents.
Particularly, the mode that described the first acquisition device 1 obtains the transcoding indication information corresponding with described first kind webpage to be converted include but not limited to following any:
1) in described first kind webpage to be converted, extract this transcoding indication information.
Particularly, while comprising transcoding indication information in webpage, the first acquisition device 1 can directly extract the transcoding indication information that it comprises in web page code.
As the first example of the present invention, the code of the first kind webpage web1 to be converted that the network equipment obtains is as follows:
<!doctype html><html><body>
<p id=″nv″><!--trans commond:fold from the 3rd-->
<a href=" http://news.website1.com " > news </a>
<a href=" http://tieba.website2.com " > mhkc </a>
<a href=" http://zhidao.website1.com " > knows </a>
<a href=″http://mp3.website2.com″>MP3</a>
<a href=" http://image.website1.com " > picture </a>
<a href=" http://video.website2.com " > video </a>
<a href=" http://map.website1.com " > map </a></pGreatT.Gr eaT.GT
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
<p id=″cp″><!--trans commond:delete-->
<a href=" http://www.miibeian.gov.cn " target=" _ blank " > capital ICP demonstrate,proves No. 123456 </a></pGreatT.Gr eaT.GT
</body></html>
The first acquisition device 1 is identified transcoding indication information based on " trans commond: ", and according to " trans commond: " residing position, determine the code of its corresponding Web page module, thereby obtain the transcoding indication information comprise the conversion operations information corresponding with each section of web page code, shown in table 3 specific as follows:
Table 3
Conversion operations command information Corresponding web page code section
fold from the 3rd <p id=″nv″>...</p>
save <div id=″fm″>...</p>
delete <p id=″cp″>...</p>
2) the first acquisition device 1, according to intended conversion rule, is determined the corresponding transcoding indication information of described first kind webpage to be converted; Wherein, described intended conversion rule comprises at least one the conversion operations to Web page module.Wherein, described intended conversion rule can be pre-stored within this network equipment or other network equipments, and when the first acquisition device 1 need to obtain transcoding indication information by communicating to obtain at local search or with these other network equipments.
For example, described intended conversion rule comprises: front two Web page modules in webpage are carried out to folding operation, and all the other modules are carried out deletion action.And the webpage web2 that current the first acquisition device 1 is being processed comprises m1 to m4 totally four modules, the first acquisition device 1 determines that transcoding indication information is as shown in table 4 below:
Table 4
Conversion operations command information Web page module
Folding m1
Folding m2
Delete m3
Delete m4
3) first determine the module classification of one or more Web page modules that described first kind webpage to be converted comprises; Again according to the module classification of determined each Web page module, and the module classification of predetermined Web page module and the corresponding relation of conversion operations, the transcoding indication information corresponding with each Web page module obtained respectively.Wherein, described corresponding relation can be pre-stored within this network equipment or other network equipments, and when the first acquisition device 1 need to obtain transcoding indication information by communicating to obtain at local search or with these other network equipments.
Wherein, described module classification is divided according to the interior perhaps function of Web page module, and preferably, described module classification includes but not limited to following any one:
A) navigation module classification; The Web page module that comprises webpage navigation bar.
B) list block classification; Except navigation bar for showing the Web page module of a plurality of web page interlinkages.
C) text module classification; For the Web page module of display web page body matter.As, for the Web page module of display web page text, or, for Showing Picture, the Web page module of the information such as video.
D) advertisement module classification, for the Web page module of showing advertisements.
Particularly, described other mode of module class of determining one or more Web page modules that described first kind webpage to be converted comprises include but not limited to following any:
A) name information of the webpage control based on comprising in web page code, determines the type information of Web page module under this webpage control.For example, the network equipment, according to the module title " navigation bar " comprising in web page code, determines that working as Web page module corresponding to front end code is navigation type module etc.
B) according to pre-established code classification model, web page code is classified, to identify each section of module classification that code is corresponding.Described code classification model can, based on to the code information of a large amount of webpages and content information thereof, adopt the machine learning methods such as support vector machine, nerve network system to carry out setting up after a large amount of study.
Then, the first acquisition device 1 is according to the module classification of each Web page module in determined first kind webpage, and the module classification of the predetermined Web page module of having stored in the network equipment and the corresponding relation of conversion operations, obtain respectively the transcoding indication information corresponding with each Web page module.
For example, the first acquisition device 1 has determined that the module classification of the Web page module m4 comprising in first kind webpage web3 is " navigation module classification ", the first acquisition device 1, according to the corresponding relation of the module classification of pre-stored and transcoding indication information, determines that the transcoding indication information that this Web page module m4 is corresponding is " Folding display ".
The first conversion equipment 2 is according to described transcoding indication information, code to the one or more Web page modules in described webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
Based on above-mentioned the first example, go on to say below, the first conversion equipment 2 is according to obtained transcoding indication information, Web page module corresponding to " <p id=" nv " >...</p> " this section of code folded to process no longer after the 3rd information of code and show, retain " <div id=" fm " >...</div> " this section of mixed-media network modules mixed-media that code is corresponding, and deletion " <pid=" cp " >...</p> " this section of mixed-media network modules mixed-media that code is corresponding, Equations of The Second Kind web page code after resulting conversion is as follows:
<!doctype html><html><body>
<p id=″nv″><!--trans commond:save first 3-->
<a href=" http://news.website1.com " > news </a>
<a href=" http://tieba.website2.com " > mhkc </a>
<a href=" http://zhidao.website1.com " > knows </a>
</p>
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
</body></html>
According to a preferred embodiment of the present invention, webpage conversion equipment according to the present invention also comprises the first judgment means (not shown), and the first acquisition device 1 further comprises the first sub-acquisition device (not shown).
Wherein, the first judgment means judges in described first kind webpage to be converted whether comprise transcoding indication information.
Particularly, described the first judgment means, according to whether comprising predetermined identification information in described first kind webpage, judges in this first kind webpage whether comprise transcoding indication information.
Wherein, described predetermined identification information can be identified for the network equipment character or character string information.Preferably, described predetermined identification information can be contained in the annotation information of web page code of described first kind webpage.
--transfer-->,, when the first judgment means is read this section of annotation information in the code of first kind webpage, judges that this first kind webpage comprises transcoding indication information.
Then,, while comprising transcoding indication information in described first kind webpage to be converted, the first sub-acquisition device extracts this transcoding indication information in described first kind webpage to be converted.
The implementation 1 of the implementation of the first sub-acquisition device and aforementioned the first acquisition device 1) identical, do not repeat them here.
As a more excellent embodiment of the preferred embodiment, according to first acquisition device 1 of the present embodiment, also comprise the second sub-acquisition device (not shown).
While not comprising transcoding indication information in described first kind webpage to be converted, the second sub-acquisition device, according to predetermined transformation rule, is determined the corresponding transcoding indication information of described first kind webpage to be converted.
Wherein, the implementation 2 of the implementation of described the second sub-acquisition device and aforementioned the first acquisition device 1) identical, do not repeat them here.
As another more excellent embodiment of the preferred embodiment, according to first acquisition device 1 of the present embodiment, also comprise the 3rd sub-acquisition device (not shown) and the 4th sub-acquisition device (not shown).
While not comprising transcoding indication information in described first kind webpage to be converted, the 3rd sub-acquisition device is determined the module classification of each Web page module in described first kind webpage to be converted;
The 4th sub-acquisition device is according to the module classification of determined each Web page module, and described predetermined corresponding relation, obtains respectively the transcoding indication information corresponding with each Web page module.
Wherein, described the 3rd sub-acquisition device and the implementation of the 4th sub-acquisition device and the implementation 3 of aforementioned the first acquisition device 1) identical, do not repeat them here.
According to another preferred embodiment of the present invention, according to the webpage conversion equipment of the present embodiment, also comprise searcher (not shown) and search feedback assembly (not shown).
Searcher is based on searching for from the searching request of Equations of The Second Kind subscriber equipment, and to obtain the search results pages that comprises a plurality of results link, wherein, described results link is first kind web page interlinkage.
Particularly, when searcher receives the searching request from Equations of The Second Kind subscriber equipment, by directly this request being searched for by the search engine corresponding with first kind webpage, to obtain the search results pages that comprises a plurality of first kind web page interlinkages.
According to the second example of the present invention, first kind webpage comprises the webpage based on web, Equations of The Second Kind webpage comprises wap webpage, input " film " in the search engine of user's shown wap webpage version on mobile phone, searcher receives this searching request, and call the search engine based on web webpage corresponding with aforementioned search engine and search for, and according to the existing index information of current web web page search engine, obtain a plurality of results link relevant to " film " this searching request, and generate the search results pages that comprises the plurality of results link.
Preferably, when described search results pages is not Equations of The Second Kind webpage, described searcher can be carried out aforementioned conversion operations, is converted into Equations of The Second Kind webpage.
Search feedback assembly feeds back to described subscriber equipment for further operation by described search results pages.
Continuation describes the second example of the present invention, and the search results pages corresponding with searching request " film " that search feedback assembly obtains searcher feeds back to Equations of The Second Kind subscriber equipment.
According to webpage conversion equipment of the present invention, by can not being normally presented at the second subscriber equipment, such as mobile device of some type etc., on the part of module of webpage carry out conversion process, as modes such as deletion, part deletion and Folding displays, cannot normally at first kind webpage, convert a large amount of scripts to can normally show Equations of The Second Kind webpage, make Equations of The Second Kind subscriber equipment no longer be limited to limited mobile web page resources, such as wap webpage etc., and can obtain smoothly a large amount of existing WWW resources.
Fig. 4 has illustrated the structural representation of the webpage conversion equipment of in the network equipment, webpage being changed according to an embodiment of the invention.
According to the webpage conversion equipment of the present embodiment, comprise the second judgment means 3, alternative 4, the first acquisition device 1 and the first conversion equipment 2.
Wherein, according to comprising at least one first kind sub-pages link in the first kind webpage described to be converted of the present embodiment.Wherein, described sub-pages link comprises and comprising in this first kind webpage, for linking to the web page interlinkage of next stage webpage.
Described first kind sub-pages link comprises for linking to the web page interlinkage of the first kind webpage of subordinate.
Corresponding Equations of The Second Kind sub-pages link comprises for linked to the web page interlinkage of the Equations of The Second Kind webpage of subordinate by current web page.
The second judgment means 3 judges whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment.
Preferably, described Equations of The Second Kind sub-pages link comprises the web page interlinkage of the mobile webpage that is suitable for presenting on mobile subscriber terminal, for example, and the web page interlinkage of wap webpage etc.
Particularly, whether the second judgment means 3 comprises the rule of correspondence of first kind web page interlinkage and Equations of The Second Kind web page interlinkage according to described first kind sub-pages link affiliated web site, judge whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link.
Preferably, the described rule of correspondence includes but not limited to following any one:
1) for first kind web page interlinkage being converted to the working rule of Equations of The Second Kind web page interlinkage.For example, the rule of correspondence comprises that " at the http of first kind web page interlinkage: // " adds " wap " afterwards.
2) corresponding relation of first kind web page interlinkage and Equations of The Second Kind web page interlinkage.
Then,, when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, alternative 4 replaces with described Equations of The Second Kind sub-pages link by the first kind sub-pages link in described first kind webpage to be converted.
Continuation describes aforementioned the first example, the first kind sub-pages link " http://news.website1.com " comprising for web1, the second judgment means 3 obtains the rule of correspondence " at the http of first kind web page interlinkage: // " by its affiliated web site website1 place and adds afterwards " wap ", the second judgment means 3 judgements " http://news.website1.com " have corresponding Equations of The Second Kind sub-pages link, then, alternative 4 is according to the obtained rule of correspondence, determine that linking the second corresponding sub-pages with this first sub-pages is linked as " http://wapnews.website1.com ", and fetch " the http://news.website1.com " in replacement web1 with this second sub-pages chain, then, the first kind sub-pages link " httpp: //tieba.website2.com " comprising for web1, the second judgment means 3 obtains first kind web page interlinkage by the website2 place, website under it and shows with the corresponding of Equations of The Second Kind web page interlinkage, and the inquiry acquisition Equations of The Second Kind sub-pages corresponding with " httpp: //tieba.website2.com " links " http://tieba.MW_website2.com " in this correspondence table, the second judgment means 3 judges that it has corresponding Equations of The Second Kind sublink, then, this Equations of The Second Kind sub-pages chain of alternative 4 use fetches " the http://tieba.website2.com " replacing in web1.Similarly, alternative 4 is all replaced the first kind web page interlinkage in web1 with corresponding Equations of The Second Kind web page interlinkage, to obtain the first kind webpage to be converted that comprises each Equations of The Second Kind web page interlinkage.
Then, the first acquisition device 1 and the first conversion equipment 2 are described in detail in reference to the embodiment shown in Fig. 3, and are contained in this by reference, repeat no more.
Continuation describes aforementioned the first example, the first kind webpage to be converted that the first acquisition device 1 and the first conversion equipment 2 comprise each Equations of The Second Kind web page interlinkage to this is respectively processed, to obtain the Equations of The Second Kind webpage after the conversion corresponding with following web page code.
<!doctype html><html><body>
<p id=″nv″><!--trans commond:save first 3-->
<a href=" http://wapnews.website1.com " > news </a>
<a href=" http://tieba.MW_website2.com " > mhkc </a>
<a href=" http://wapzhidao.website1.com " > knows </a></pGreatT.Gr eaT.GT
<div id=″fm″><!--trans commond:save-->
<form name=″f″action=″/s″>
<span class=″s_ipt_wr″><input type=″text″name=″wd″maxlength=″100″class=″s_ipt″></span>
<span class=" s_btn_wr " ><input type=" submit " value=" search " ></span>
</form></div>
</body></html>
It should be noted that, alternative 4 can be carried out before the first acquisition device 1, after also can completing at the conversion operations of the first conversion equipment 2, carried out.
According to the present embodiment preferred version, according to the webpage conversion equipment of the present embodiment, also comprise the second acquisition device (not shown), the 3rd acquisition device (not shown) and dispensing device (not shown).
The second acquisition device obtain from described Equations of The Second Kind subscriber equipment, for the web page interlinkage of request access webpage.
Then,, when described web page interlinkage is first kind web page interlinkage, the 3rd acquisition device obtains the webpage corresponding with this web page interlinkage as webpage to be converted.
Particularly, when the 3rd acquisition device determines that webpage corresponding to web page interlinkage that the second acquisition device obtains can not normally show on Equations of The Second Kind subscriber equipment, judge that this web page interlinkage is first kind web page interlinkage, and using webpage corresponding to this web page interlinkage as webpage to be converted.
Dispensing device sends to described Equations of The Second Kind subscriber equipment by the Equations of The Second Kind webpage after described conversion.
Preferably, the described network equipment also can replace with other web page elements relevant to each first kind web page interlinkage the web page element that is applicable to Equations of The Second Kind webpage simultaneously.
Described other web page elements include but not limited to following any one:
1) icon;
2) the anchor text message corresponding with first kind web page interlinkage;
3) button etc.
According to the webpage conversion equipment of the present embodiment, by the web page interlinkage in first kind webpage is directly replaced with to Equations of The Second Kind webpage, reduced follow-up conversion operations, thereby alleviated the burden of the network equipment self, and improved the efficiency of conversion operations, thereby can respond quickly user's request.
Software program of the present invention can carry out to realize step mentioned above or function by processor.Similarly, software program of the present invention (comprising relevant data structure) can be stored in computer readable recording medium storing program for performing, for example, and RAM storer, magnetic or CD-ROM driver or flexible plastic disc and similar devices.In addition, steps more of the present invention or function can adopt hardware to realize, for example, thereby as coordinate the circuit of carrying out each function or step with processor.
In addition, a part of the present invention can be applied to computer program, and for example computer program instructions, when it is carried out by computing machine, by the operation of this computing machine, can call or provide the method according to this invention and/or technical scheme.And call the programmed instruction of method of the present invention, may be stored in fixing or movably in recording medium, and/or be transmitted by the data stream in broadcast or other signal bearing medias, and/or be stored in according in the working storage of the computer equipment of described programmed instruction operation.At this, comprise according to one embodiment of present invention a device, this device comprises for storing the storer of computer program instructions and for the processor of execution of program instructions, wherein, when this computer program instructions is carried out by this processor, trigger this device and move based on aforementioned according to the method for a plurality of embodiment of the present invention and/or technical scheme.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and in the situation that not deviating from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, is therefore intended to be included in the present invention dropping on the implication that is equal to important document of claim and all changes in scope.Any Reference numeral in claim should be considered as limiting related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.A plurality of unit of stating in system claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (19)

1. a method of in the network equipment, webpage being changed, wherein, said method comprising the steps of:
A. obtain the transcoding indication information corresponding with first kind webpage to be converted, wherein, described first kind webpage is suitable for presenting on first kind subscriber equipment, and described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations;
B. according to described transcoding indication information, code to the one or more Web page modules in described first kind webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
2. method according to claim 1, wherein, described method is further comprising the steps of:
-judge in described first kind webpage to be converted whether comprise transcoding indication information;
Described step a comprises the following steps:
-while comprising transcoding indication information in described first kind webpage to be converted, in described first kind webpage to be converted, extract this transcoding indication information.
3. method according to claim 2, wherein, described step a is further comprising the steps of:
-while not comprising transcoding indication information in described first kind webpage to be converted, according to predetermined transformation rule, determine the corresponding transcoding indication information of described first kind webpage to be converted.
4. method according to claim 2, wherein, described step a comprises the following steps:
-while not comprising transcoding indication information in described first kind webpage to be converted, determine the module classification of each Web page module in described first kind webpage to be converted;
-according to the module classification of determined each Web page module, and the module classification of the Web page module based on predetermined and the corresponding relation of conversion operations, the transcoding indication information corresponding with each Web page module obtained respectively.
5. method according to claim 4, wherein, described module classification includes but not limited to following any one:
-navigation module classification;
-list block classification;
-text module classification;
-advertisement module classification.
6. according to the method described in any one in claim 1 to 5, wherein, described transcoding indication information comprises following at least any one conversion operations:
-deletion action;
-folding operation;
-reservation operations.
7. according to the method described in any one in claim 1 to 6, wherein, comprise at least one first kind sub-pages link in described first kind webpage to be converted, described method is further comprising the steps of:
-judge whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment;
-when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, the first kind sub-pages link in described first kind webpage to be converted is replaced with to described Equations of The Second Kind sub-pages link.
8. according to the method described in any one in claim 1 to 7, wherein, described method is further comprising the steps of:
-based on searching for from the searching request of Equations of The Second Kind subscriber equipment, to obtain the search results pages that comprises a plurality of results link, wherein, described results link is first kind web page interlinkage;
-described search results pages is fed back to described subscriber equipment for further operation.
9. according to the method described in any one in claim 1 to 8, wherein, described method is further comprising the steps of before step a:
-obtain from described Equations of The Second Kind subscriber equipment, for the web page interlinkage of request access webpage;
-when described web page interlinkage is first kind web page interlinkage, obtain the webpage corresponding with this web page interlinkage as webpage to be converted;
Wherein, described method is further comprising the steps of after step b:
-the Equations of The Second Kind webpage after described conversion is sent to described Equations of The Second Kind subscriber equipment.
10. the webpage conversion equipment for webpage is changed, wherein said webpage conversion equipment comprises:
The first acquisition device, for obtaining the transcoding indication information corresponding with first kind webpage to be converted, wherein, described transcoding indication information is used to indicate the code of at least one Web page module of described first kind webpage to be converted is carried out to conversion operations;
Conversion equipment, be used for according to described transcoding indication information, code to the one or more Web page modules in described first kind webpage to be converted carries out conversion operations, to obtain the Equations of The Second Kind webpage after the conversion presenting on the Equations of The Second Kind subscriber equipment that is adapted at this webpage to be converted of request access.
11. webpage conversion equipments according to claim 10, wherein, described webpage conversion equipment also comprises:
The first judgment means, for judging whether described first kind webpage to be converted comprises transcoding indication information;
Wherein, described the first acquisition device comprises:
The first sub-acquisition device for when described first kind webpage to be converted comprises transcoding indication information, extracts this transcoding indication information in described first kind webpage to be converted.
12. webpage conversion equipments according to claim 11, wherein, described the first acquisition device also comprises:
The second sub-acquisition device, for when described first kind webpage to be converted does not comprise transcoding indication information, according to predetermined transformation rule, determines the corresponding transcoding indication information of described first kind webpage to be converted.
13. webpage conversion equipments according to claim 11, wherein, described the first acquisition device comprises:
The 3rd sub-acquisition device, for when described first kind webpage to be converted does not comprise transcoding indication information, determines the module classification of each Web page module in described first kind webpage to be converted;
The 4th sub-acquisition device, for according to the module classification of determined each Web page module, and the module classification of the Web page module based on predetermined and the corresponding relation of conversion operations, obtain respectively the transcoding indication information corresponding with each Web page module.
14. webpage conversion equipments according to claim 13, wherein, described module classification includes but not limited to following any one:
-navigation module classification;
-list block classification;
-text module classification;
-advertisement module classification.
15. according to claim 10 to the webpage conversion equipment described in any one in 14, and wherein, described transcoding indication information comprises following at least any one conversion operations:
-deletion action;
-folding operation;
-reservation operations.
16. according to claim 10 to the webpage conversion equipment described in any one in 15, wherein, comprises at least one first kind sub-pages link in described first kind webpage to be converted, and described webpage conversion equipment also comprises:
The second judgment means, for judging whether described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, and its sensing is suitable for the Equations of The Second Kind sub-pages presenting on described Equations of The Second Kind subscriber equipment;
Alternative, for when described first kind sub-pages link has corresponding Equations of The Second Kind sub-pages link, replaces with described Equations of The Second Kind sub-pages link by the first kind sub-pages link in described first kind webpage to be converted.
17. according to claim 10 to the webpage conversion equipment described in any one in 16, and wherein, described webpage conversion equipment also comprises:
Searcher, for based on searching for from the searching request of Equations of The Second Kind subscriber equipment, to obtain the search results pages that comprises a plurality of results link, wherein, described results link is first kind web page interlinkage;
Search plain feedback assembly, for described search results pages is fed back to described subscriber equipment for further operation.
18. according to claim 10 to the webpage conversion equipment described in any one in 17, and wherein, described webpage conversion equipment also comprises:
The second acquisition device, for obtain from described Equations of The Second Kind subscriber equipment, for the web page interlinkage of request access webpage;
The 3rd acquisition device, for when described web page interlinkage is first kind web page interlinkage, obtains the webpage corresponding with this web page interlinkage as webpage to be converted;
Dispensing device, for sending to described Equations of The Second Kind subscriber equipment by the Equations of The Second Kind webpage after described conversion.
19. 1 kinds of network equipments, wherein, the described network equipment comprises if claim 10 is to the webpage conversion equipment as described in any one at least in claim 18.
CN201210301704.3A 2012-08-22 2012-08-22 Method and device for converting webpages in network equipment and equipment Pending CN103631795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210301704.3A CN103631795A (en) 2012-08-22 2012-08-22 Method and device for converting webpages in network equipment and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210301704.3A CN103631795A (en) 2012-08-22 2012-08-22 Method and device for converting webpages in network equipment and equipment

Publications (1)

Publication Number Publication Date
CN103631795A true CN103631795A (en) 2014-03-12

Family

ID=50212867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210301704.3A Pending CN103631795A (en) 2012-08-22 2012-08-22 Method and device for converting webpages in network equipment and equipment

Country Status (1)

Country Link
CN (1) CN103631795A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881453A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for indentifying type of webpage
CN105528369A (en) * 2014-09-30 2016-04-27 优视科技有限公司 Webpage transcoding method and device and server
CN106202005A (en) * 2015-05-08 2016-12-07 珠海金山办公软件有限公司 A kind of web page conversion method and device
CN107133306A (en) * 2017-04-26 2017-09-05 努比亚技术有限公司 Information flow transcoding device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145695A1 (en) * 2009-12-11 2011-06-16 Fujifilm Corporation Web page conversion system
CN102314499A (en) * 2011-08-26 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for processing webpage content
CN102541876A (en) * 2010-12-13 2012-07-04 腾讯科技(深圳)有限公司 Method, device, server and mobile terminal for browsing webpages
CN102567404A (en) * 2010-12-31 2012-07-11 北京瑞信在线系统技术有限公司 Method and device for wireless application protocol (WAP) website online webpage conversion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145695A1 (en) * 2009-12-11 2011-06-16 Fujifilm Corporation Web page conversion system
CN102541876A (en) * 2010-12-13 2012-07-04 腾讯科技(深圳)有限公司 Method, device, server and mobile terminal for browsing webpages
CN102567404A (en) * 2010-12-31 2012-07-11 北京瑞信在线系统技术有限公司 Method and device for wireless application protocol (WAP) website online webpage conversion
CN102314499A (en) * 2011-08-26 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for processing webpage content

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528369A (en) * 2014-09-30 2016-04-27 优视科技有限公司 Webpage transcoding method and device and server
CN105528369B (en) * 2014-09-30 2019-03-15 优视科技有限公司 Webpage code-transferring method, device and server
CN106202005A (en) * 2015-05-08 2016-12-07 珠海金山办公软件有限公司 A kind of web page conversion method and device
CN104881453A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for indentifying type of webpage
CN107133306A (en) * 2017-04-26 2017-09-05 努比亚技术有限公司 Information flow transcoding device and method
CN107133306B (en) * 2017-04-26 2021-01-15 广州沐思信息科技有限公司 Information stream transcoding device and method

Similar Documents

Publication Publication Date Title
CN103020156B (en) A kind of disposal route for webpage, device and equipment
CN102460432B (en) Selective content extraction
RU2662632C2 (en) Presenting fixed format documents in reflowed format
CN108416011B (en) Page processing method, device, terminal and computer readable storage medium
CN102141868B (en) Method for quickly operating information interaction page, input method system and browser plug-in
CN103699619A (en) Method and device for providing search results
CN103207892B (en) Method and device for sharing document through network
CN102819555A (en) Method and device for loading recommended information in read mode of webpage
CN102411614A (en) Display Of Image Search Results
CN102819560A (en) Display method and device of picture in webpage
CN102375878A (en) Web page browsing system and relay server
CN102137306B (en) Method and device for displaying web content on television
CN104636434A (en) Search result processing method and device
CN104750851A (en) Webpage content lazy loading method and system
CN102819561A (en) Picture display method and device based on webpage
CN103678325A (en) Method and device for providing browsing page corresponding to initial page
CN101963992A (en) Method and browser for increasing webpage display speed
CN103166981A (en) Wireless webpage transcoding method and device
CN102314494B (en) Method and equipment for processing webpage contents
CN103425631A (en) Method and device for acquiring font files of target characters in document files
CN104834646A (en) Webpage display method, client and system
CN102929971A (en) Multimedia information playing method and system
CN102664925A (en) Method and apparatus for displaying searching result
CN103577447A (en) Method and equipment used for determining page type information of target pages
CN103631795A (en) Method and device for converting webpages in network equipment and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140312

RJ01 Rejection of invention patent application after publication