CN101587490B - Web page rearrangement processing method and acting server - Google Patents

Web page rearrangement processing method and acting server Download PDF

Info

Publication number
CN101587490B
CN101587490B CN2009100876077A CN200910087607A CN101587490B CN 101587490 B CN101587490 B CN 101587490B CN 2009100876077 A CN2009100876077 A CN 2009100876077A CN 200910087607 A CN200910087607 A CN 200910087607A CN 101587490 B CN101587490 B CN 101587490B
Authority
CN
China
Prior art keywords
content
pages
folding
acting server
daughter element
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.)
Active
Application number
CN2009100876077A
Other languages
Chinese (zh)
Other versions
CN101587490A (en
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.)
Ucweb Inc
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN2009100876077A priority Critical patent/CN101587490B/en
Publication of CN101587490A publication Critical patent/CN101587490A/en
Application granted granted Critical
Publication of CN101587490B publication Critical patent/CN101587490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A web page rearrangement processing method and acting server is provided. The web page rearrangement processing method includes: the acting server obtaining the page content, the acting server judgingthat the page content has the same navigation content and collapsing the same navigation content; the acting server rearranging the page content. The web page rearrangement acting server comprises: a page content obtaining unit, a same navigation content collapsing unit and a page content rearranging unit. Because the same navigation content is collapsed, the multiple-column navigation content is changed into the one-column navigation content, the page amplitude can be greatly reduced in the rearrangement, the page arrangement is more compact, thus being beneficial for the display of the page on the terminal small screen.

Description

A kind of Web page rearrangement processing method and acting server
Technical field
The present invention relates to the Web page rearrangement technical field, particularly relate to a kind of Web page rearrangement processing method and the acting server of realizing Web page rearrangement.
Background technology
In the prior art, mobile Internet access is along with development in science and technology becomes a reality from theory, and portable terminal has become mobile Internet access and operated topmost physical support.But; Owing to receive the little restriction of physical hardware display screen, the browse displays effect is relatively poor, and the user is using the small screen terminal (as: portable terminal, PDA) usually; During content of pages on opening the website; Because the Website page size is much bigger with respect to the small screen size of terminal, the page that causes being shown on the small screen is very long, and it is very loaded down with trivial details to cause browsing this page through the small screen; Often possibly stir a plurality of pages and just can find the user's interest content, make that the user experience effect is bad.Though the speed of getting online without being tethered to a cable is more and more faster, general mobile terminal screen width is less than 1/10th of WEB web width, can not solve the inconvenient problem of mobile terminal Internet access browsing pages even network speed accelerates.
Therefore,, demand providing a kind of not enough problem that solves prior art urgently, the page is carried out structure optimization again reset, the page through optimizing is necessitated in the technical scheme that the small screen output represents more attractive in appearancely to above-mentioned deficiency of the prior art.
Summary of the invention
The objective of the invention is to avoid weak point of the prior art and provide a kind of and can similar navigation content be folded, it is more succinct that the page is arranged, and helps Web page rearrangement processing method and acting server that the page shows on the small screen of terminal.
The object of the invention is realized through following technical measures:
A kind of Web page rearrangement processing method is provided, comprises: acting server obtains content of pages; After acting server is judged content of pages and had similar navigation content, similar navigation content is folded, said similar navigation content is the continuous similar content that on grammer, has " line feed "; Acting server is set type to content of pages again;
Said acting server comprises the method that said similar navigation content folds:
Acting server outputs to data buffer area with page elements, in output procedure, before collapsible content row, adds fold indication with the row end, behind the output page surface element, folds judgement fully;
As if daughter element is picture element, then calculating chart sheet area; Wherein, picture area=wide * height; If height >=2 times of line-spacings then are labeled as not collapsible;
If daughter element is list element or block element, then the position of the current buffer zone of mark is the position of folding beginning, in the block element, confirms position at the folding whole story; Add up the line feed number of times that this daughter element comprises, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
If daughter element is text or inline element, the line feed number of times of then adding up this daughter element and being comprised, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
Otherwise accumulative total is from folding the starting position to the line feed number of times that this daughter element comprised, linked contents number of words and non-linked contents number of words, and execution following steps 16 to step 25:
Step 16, if from folding the starting position to this daughter element, the non-linked contents<β of linked contents ÷ then gets into step 17, otherwise, get into step 18;
Step 17 is labeled as this daughter element not collapsible;
Step 18 judges whether this daughter element is not collapsible; If not, get into step 19, if get into step 20;
Step 19 judges whether to be last daughter element; If finish, otherwise get into step 21;
Step 20 judges that whether the accumulative total line number is more than or equal to ∑ from folding the starting position to this daughter element; If not, get into step 22, if get into step 23;
Step 21 is handled next daughter element;
Step 22, the position of the current buffer zone of mark gets into step 19 then for the folding position that possibly begin;
Step 23 is folded into according to producing one in the position of buffer tag before, from folding the possibility starting position to the folding position that possibly finish;
Step 24 judges whether this folding starting position is less than or equal to the starting position of another folding x; If, get into step 25, otherwise, step 22 got into;
Step 25, the folding x of deletion gets into step 22 then.
Preferably, above-mentioned acting server further comprises after said content of pages is set type again: said acting server carries out paging to said content of pages after setting type again.
Preferred, above-mentioned acting server obtains before the content of pages, further comprises: portable terminal sends content of pages request and the paging page size information obtained to acting server; Said acting server carries out paging to the content of pages after setting type again and is specially, and acting server carries out paging according to the paging page size that said portable terminal sends to the content of pages after setting type again; Said acting server carries out after the paging the content of pages after setting type again, and further comprise: acting server sends said paging to said portable terminal.
Above, above-mentioned acting server obtains content of pages and is specially: acting server obtains the content of pages of WEB form.
Further, above-mentioned acting server is set type again to content of pages and is specially: acting server is set type to content of pages by the mobile phone screen size again.
A kind of Web page rearrangement acting server is provided, comprises: the content of pages acquiring unit is used to obtain content of pages; Similar navigation content folding unit after being used to judge said content of pages and having similar navigation content, folds said similar navigation content, and said similar navigation content is the continuous similar content that on grammer, has " line feed "; The content of pages unit of setting type again, the content of pages after being used for said similar navigation content folding unit handled is set type again;
Wherein, said similar navigation content folding unit comprises the method that said similar navigation content folds:
Page elements is outputed to data buffer area, in output procedure, before collapsible content row, add fold indication, behind the output page surface element, fold judgement fully with the row end;
As if daughter element is picture element, then calculating chart sheet area; Wherein, picture area=wide * height; If height >=2 times of line-spacings then are labeled as not collapsible;
If daughter element is list element or block element, then the position of the current buffer zone of mark is the position of folding beginning, in the block element, confirms position at the folding whole story; Add up the line feed number of times that this daughter element comprises, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
If daughter element is text or inline element, the line feed number of times of then adding up this daughter element and being comprised, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
Otherwise accumulative total is from folding the starting position to the line feed number of times that this daughter element comprised, linked contents number of words and non-linked contents number of words, and execution following steps 16 to step 25:
Step 16, if from folding the starting position to this daughter element, the non-linked contents<β of linked contents ÷ then gets into step 17, otherwise, get into step 18;
Step 17 is labeled as this daughter element not collapsible;
Step 18 judges whether this daughter element is not collapsible; If not, get into step 19, if get into step 20;
Step 19 judges whether to be last daughter element; If finish, otherwise get into step 21;
Step 20 judges that whether the accumulative total line number is more than or equal to ∑ from folding the starting position to this daughter element; If not, get into step 22, if get into step 23;
Step 21 is handled next daughter element;
Step 22, the position of the current buffer zone of mark gets into step 19 then for the folding position that possibly begin;
Step 23 is folded into according to producing one in the position of buffer tag before, from folding the possibility starting position to the folding position that possibly finish;
Step 24 judges whether this folding starting position is less than or equal to the starting position of another folding x; If, get into step 25, otherwise, step 22 got into;
Step 25, the folding x of deletion gets into step 22 then.
Preferably, further comprise: above-mentioned content of pages paging unit is used for the said content of pages content of pages of unit after setting type again of setting type again carried out paging.
Preferred, further comprise: the terminal request information receiving unit is used for mobile terminal receive and sends content of pages request and the paging page size information obtained to acting server; The paging transmitting element is used for the paging after portable terminal sends content of pages paging cell processing; Wherein, Said content of pages paging unit carries out paging and is specially the said content of pages content of pages of unit after setting type again of setting type again, and said content of pages paging unit carries out paging according to said paging page size information to the said content of pages content of pages of unit after setting type again of setting type again.
Above, above-mentioned content of pages acquiring unit obtains content of pages and is specially, and the content of pages acquiring unit obtains the content of pages of WEB form.
Further; The above-mentioned content of pages content of pages of unit after said similar navigation content folding unit is handled of setting type again set type again and is specially, and the content of pages content of pages of unit after by the mobile phone screen size said similar navigation content folding unit being handled of setting type again set type again.
In the technique scheme, acting server obtains content of pages, after acting server is judged content of pages and had similar navigation content, similar navigation content is folded, and acting server is set type to content of pages again; Because similar navigation content is folded, the multicolumn navigation content becomes a hurdle, sets type again and has dwindled page amplitude greatly, and the page is arranged more succinct, helps the page and on the small screen of terminal, shows that user experience is effective.
Description of drawings
Fig. 1 is the process flow diagram of a kind of Web page rearrangement processing method of the present invention;
Fig. 2 is the method for folding process flow diagram of a kind of Web page rearrangement processing method of the present invention;
Fig. 3 is the structural representation of a kind of Web page rearrangement acting server of the present invention.
Embodiment
Embodiment 1:
The embodiment of Web page rearrangement processing method of the present invention is as shown in Figure 1, is a kind of method flow diagram of the present invention.
Concrete, a kind of Web page rearrangement processing method may further comprise the steps:
Step 101. portable terminal sends content of pages request (being also referred to as the accession page request) and the paging page size information obtained to acting server.In the present embodiment, said content of pages is the content of pages of WEB form, and what portable terminal made is the WAP form.
The acting server here is equivalent to WAP gateway, carries out the mutual conversion of WEB form and WAP form.Big multiple web pages all is to use HTML to write, and is called the WEB form, and concerning portable terminal, it is too complicated that this form seems, the form that portable terminal is read is WML, is called for short the WAP form, so need to use WAP gateway that they are changed.
Step 102. acting server obtains WEB form content of pages according to the request of portable terminal.Such as the IP address that comprises certain website in the request, then acting server reads the web page contents of this IP address.
After step 103. acting server is judged content of pages and had similar navigation content, similar navigation content is folded.After folding, the similar navigation content of multicolumn becomes a hurdle.Acting server is specified specific label, shows that this content is folding, and the content after folding sends to portable terminal, then represents with the form of hiding when portable terminal retrieves this sign, can represent again when clicking when launching.Through after folding, the not care about one's appearance length of having reduced the page has been beautified page composing, let page body matter more clearly represent user plane before, make the user have better viewing experience.
Above-mentioned similar navigation content is the continuous similar content that on grammer, has " line feed ", such as, navigation bar connects, plate content recommendation connection etc.For example, a plurality of continuous focus special topic connection straps on homepage, occur, these focus special topic connection straps belong to similar navigation content, and they can fold; Again for example, occur 10 continuous home news connection straps on the homepage, these home news connection straps belong to similar navigation content, and they can fold.
The folding rule of present embodiment is following.Not collapsible element comprises: the literal of big section is main contents, and is not collapsible; Significantly picture is main contents, and is not collapsible; Form and tabulation between big section text belong to main contents, and be not collapsible; All input, select, textarea control are not collapsible.Collapsible element comprises: the content in tabulation or the div has more closely relation usually, and not violating under the prerequisite of above principle combines all daughter elements is folded into one; The list element of adjacency, text and be connected under the prerequisite of not violating above principle combination as much as possible.
In the present embodiment, folding be with " line feed " (in the html grammer, a lot of elements can cause to enter a new line and show: as<table></table>,<div></div>,<br>,<p>Or the like) be benchmark, judge with top rule again.Server outputs to a data buffer area with page elements, in the process of output, if any running into the content that meets folding rule, then before the content row, adds fold indication with the row end, behind the output page surface element, folds judgement fully.For folding nested, processing rule is: each is folding all to be self-existent, can not occur once more folding among folding.If also have folded situation among folding, carry out the principle that upwards annexs, annex processing to parent gradually by subclass, finally obtain big folding.
The embodiment of Web page rearrangement processing method of the present invention is as shown in Figure 2, is method for folding process flow diagram of the present invention.(1) at first, in the BLOCK element, confirm position at the folding whole story.(2) position of the current buffer zone of mark is the folding position that possibly begin then.(3) handle first daughter element.(4) before beginning to export this daughter element, the position of the current buffer zone of mark is the folding position that possibly finish.(5) judge this child element type.(6) be picture element like child element type, calculating chart sheet area, picture area=wide * height. number of characters of equal value is calculated in (7), number of characters of equal value=picture area ÷ γ.(8) do you judge height >=2 times of line-spacings? If, get into (9), (9) are labeled as not collapsible.If not, get into (10), (10) accumulative total is from folding the starting position to the line feed number of times that this daughter element comprised, linked contents number of words and non-linked contents number of words.(11) be list element or block element like child element type, the position of the current buffer zone of mark is the position of folding beginning, in the block element, confirms position at the folding whole story.Line feed number of times, linked contents number of words and the non-linked contents number of words of (12) adding up this daughter element and comprised.(13) do you judge in this daughter element the non-linked contents<α of linked contents ÷, and content number of words>δ? If, get into (9), if not, get into (10).(14) be text or inline element like child element type, add up the line feed number of times that this daughter element comprises, linked contents number of words and non-linked contents number of words.(15) do you judge in this daughter element the non-linked contents<α of linked contents ÷, and content number of words>δ? If, get into (9), if not, get into (10).(16) do you judge from folding the starting position to this daughter element, the non-linked contents<β of linked contents ÷? If, get into (17), otherwise, get into (18).(17) be labeled as not collapsible.(18) do you judge that this daughter element is not collapsible? If not, get into (19), if get into (20).(19) judge whether to be last daughter element? If finish, otherwise get into (21).(21) handle next daughter element, get into again then (4).(20) do you judge from folding the starting position to this daughter element, accumulative total line number >=∑? If not, get into (22), if get into (23).(22) position of the current buffer zone of mark is the folding position that possibly begin, and gets into then (19).(23) be folded into according to producing one in the position of buffer tag before, from folding the possibility starting position to the folding position that possibly finish.(24) do you judge the starting position of starting position≤another folding x that this is folding? If, get into (25), otherwise, get into (22).(25) the folding x of deletion gets into (22) then.
What need explanation is, above-mentionedly is merely wherein a kind of folding disposal route, and the present invention can also use other method for folding that meets above-mentioned folding rule according to concrete page layout situation.
Step 104. acting server is set type to content of pages again.In the present embodiment, acting server is set type to content of pages by mobile phone (portable terminal) screen-sized again, with the suitable demonstration that receives the portable terminal of this content of pages.
Step 101 to step 104 has been accomplished folding the processing, and the content of pages after setting type again can disposablely send to portable terminal.In order to improve the surfing of portable terminal, acting server can carry out paging to content of pages earlier, is unit with the paging then, sends to portable terminal, and this method has increased step 105 and step 106.
Step 105. acting server carries out paging according to the paging page size that portable terminal sends to the content of pages after setting type again.Such as, the paging page size is 50K, accession page is 235K, then is divided into 4 50K pages and a 35K page.
In step 101; Portable terminal sends paging page size information to acting server, and acting server utilizes this information to carry out paging, and this mainly is to consider different mobile terminal; It is different that it reads buffer memory; The size of data that can admit is also different, and to the same page content, acting server has different pagings to different mobile terminal.As another kind of preferred embodiment, in the step 101, portable terminal need not send paging page size information to acting server; But acting server is according to the transmission speed situation of network; The paging page size is set in advance, and to the same page content, the paging of different mobile terminal is identical.
Step 106. acting server sends paging to portable terminal.When acting server receives the mobile terminal accessing page request, write down the path and the sign of this portable terminal, after obtaining content of pages and carry out paging from the website again, paging has been sent to this portable terminal through path and sign.Content of pages carries out after the paging a plurality of pagings being arranged; Be optimizing resources, these pagings are kept in the buffer zone of acting server, only send a paging to portable terminal; When portable terminal sends next paging request of reading, the acting server next paging of reading and sending from this buffer zone again.
In the present technique scheme, acting server obtains content of pages; After acting server is judged content of pages and had similar navigation content, similar navigation content is folded; Acting server is set type to content of pages again; Because similar navigation content is folded, the multicolumn navigation content becomes a hurdle, sets type again and has dwindled page amplitude greatly, and the page is arranged more succinct, helps the page and on the small screen of terminal, shows that user experience is effective.
Need to prove that foregoing has been introduced portable terminal and used the WAP form, what acting server obtained is the webpage of WEB form, and the page that folds and convert to the mobile phone screen size sends to portable terminal; The present technique scheme is equally applicable to portable terminal and uses the WAP form, and what acting server obtained is the webpage of WAP form, sends to portable terminal after keeping the WAP form fold processing then; The present technique scheme is applicable to that also portable terminal uses the WEB form, and what acting server obtained is the webpage of WEB form, sends to portable terminal after fold processing with the WEB form then.The present invention is not only applicable to small-screen mobile terminal, is applicable to the small screen fixed terminal yet.
Embodiment 2:
The embodiment of the acting server of realization Web page rearrangement of the present invention is as shown in Figure 3, is a kind of structural representation of the present invention.
Concrete, a kind of acting server 10 of realizing Web page rearrangement comprises: content of pages acquiring unit 12 is used to obtain content of pages; Similar navigation content folding unit 13 after being used to judge content of pages and having similar navigation content, folds similar navigation content; The content of pages unit 14 of setting type again, the content of pages after being used for similar navigation content folding unit 13 handled is set type again.
In the present embodiment, further comprise: content of pages paging unit 15 is used for the content of pages content of pages of unit 14 after setting type again of setting type again carried out paging.Further comprise: terminal request information receiving unit 11 is used for mobile terminal receive and sends content of pages request and the paging page size information obtained to acting server 10; Paging transmitting element 16 is used for sending the paging after content of pages paging unit 15 is handled to portable terminal; Wherein, The 15 pairs of content of pages in the content of pages paging unit content of pages of unit 14 after setting type again of setting type again carries out paging and is specially, and content of pages paging unit 15 carries out paging according to paging page size information to the content of pages content of pages of unit 14 after setting type again of setting type again.
Wherein, content of pages acquiring unit 12 obtains content of pages and is specially, and content of pages acquiring unit 12 obtains the content of pages of WEB form.The content of pages content of pages of the similar navigation content folding units 13 in 14 pairs of unit after handling of setting type again set type again and is specially, and the content of pages content of pages of unit 14 after by the mobile phone screen size similar navigation content folding unit 13 being handled of setting type again set type again.
Should be noted that at last; Above embodiment is only in order to explain technical scheme of the present invention; But not to the restriction of protection domain of the present invention, although with reference to preferred embodiment the present invention has been done explanation at length, those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the essence and the scope of technical scheme of the present invention.

Claims (10)

1. a Web page rearrangement processing method is characterized in that, comprising:
Acting server obtains content of pages;
After acting server is judged said content of pages and had similar navigation content, said similar navigation content is folded, said similar navigation content is the continuous similar content that on grammer, has " line feed ";
Acting server is set type to said content of pages again;
Said acting server comprises the method that said similar navigation content folds:
Acting server outputs to data buffer area with page elements, in output procedure, before collapsible content row, adds fold indication with the row end, behind the output page surface element, folds judgement fully;
As if daughter element is picture element, then calculating chart sheet area; Wherein, picture area=wide * height; If height >=2 times of line-spacings then are labeled as not collapsible;
If daughter element is list element or block element, then the position of the current buffer zone of mark is the position of folding beginning, in the block element, confirms position at the folding whole story; Add up the line feed number of times that this daughter element comprises, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
If daughter element is text or inline element, the line feed number of times of then adding up this daughter element and being comprised, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
Otherwise accumulative total is from folding the starting position to the line feed number of times that this daughter element comprised, linked contents number of words and non-linked contents number of words, and execution following steps 16 to step 25:
Step 16, if from folding the starting position to this daughter element, the non-linked contents<β of linked contents ÷ then gets into step 17, otherwise, get into step 18;
Step 17 is labeled as this daughter element not collapsible;
Step 18 judges whether this daughter element is not collapsible; If not, get into step 19, if get into step 20;
Step 19 judges whether to be last daughter element; If finish, otherwise get into step 21;
Step 20 judges that whether the accumulative total line number is more than or equal to ∑ from folding the starting position to this daughter element; If not, get into step 22, if get into step 23;
Step 21 is handled next daughter element;
Step 22, the position of the current buffer zone of mark gets into step 19 then for the folding position that possibly begin;
Step 23 is folded into according to producing one in the position of buffer tag before, from folding the possibility starting position to the folding position that possibly finish;
Step 24 judges whether this folding starting position is less than or equal to the starting position of another folding x; If, get into step 25, otherwise, step 22 got into;
Step 25, the folding x of deletion gets into step 22 then.
2. Web page rearrangement processing method according to claim 1 is characterized in that, said acting server further comprises after said content of pages is set type again: said acting server carries out paging to said content of pages after setting type again.
3. Web page rearrangement processing method according to claim 2 is characterized in that,
Said acting server obtains before the content of pages, further comprises: portable terminal sends content of pages request and the paging page size information obtained to acting server;
Said acting server carries out paging to the content of pages after setting type again and is specially, and acting server carries out paging according to the paging page size that said portable terminal sends to the content of pages after setting type again;
Said acting server carries out after the paging the content of pages after setting type again, and further comprise: acting server sends said paging to said portable terminal.
4. according to any described Web page rearrangement processing method of claim 1 to 3, it is characterized in that said acting server obtains content of pages and is specially: acting server obtains the content of pages of WEB form.
5. Web page rearrangement processing method according to claim 4 is characterized in that, said acting server is set type again to said content of pages and is specially: acting server is set type to said content of pages by the mobile phone screen size again.
6. a Web page rearrangement acting server is characterized in that, comprising:
The content of pages acquiring unit is used to obtain content of pages;
Similar navigation content folding unit after being used to judge said content of pages and having similar navigation content, folds said similar navigation content, and said similar navigation content is the continuous similar content that on grammer, has " line feed ";
The content of pages unit of setting type again, the content of pages after being used for said similar navigation content folding unit handled is set type again;
Wherein, said similar navigation content folding unit comprises the method that said similar navigation content folds:
Page elements is outputed to data buffer area, in output procedure, before collapsible content row, add fold indication, behind the output page surface element, fold judgement fully with the row end;
As if daughter element is picture element, then calculating chart sheet area; Wherein, picture area=wide * height; If height >=2 times of line-spacings then are labeled as not collapsible;
If daughter element is list element or block element, then the position of the current buffer zone of mark is the position of folding beginning, in the block element, confirms position at the folding whole story; Add up the line feed number of times that this daughter element comprises, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
If daughter element is text or inline element, the line feed number of times of then adding up this daughter element and being comprised, linked contents number of words and non-linked contents number of words; If in this daughter element, the non-linked contents<α of linked contents ÷, and content number of words>δ then are labeled as not collapsible;
Otherwise accumulative total is from folding the starting position to the line feed number of times that this daughter element comprised, linked contents number of words and non-linked contents number of words, and execution following steps 16 to step 25:
Step 16, if from folding the starting position to this daughter element, the non-linked contents<β of linked contents ÷ then gets into step 17, otherwise, get into step 18;
Step 17 is labeled as this daughter element not collapsible;
Step 18 judges whether this daughter element is not collapsible; If not, get into step 19, if get into step 20;
Step 19 judges whether to be last daughter element; If finish, otherwise get into step 21;
Step 20 judges that whether the accumulative total line number is more than or equal to ∑ from folding the starting position to this daughter element; If not, get into step 22, if get into step 23;
Step 21 is handled next daughter element;
Step 22, the position of the current buffer zone of mark gets into step 19 then for the folding position that possibly begin;
Step 23 is folded into according to producing one in the position of buffer tag before, from folding the possibility starting position to the folding position that possibly finish;
Step 24 judges whether this folding starting position is less than or equal to the starting position of another folding x; If, get into step 25, otherwise, step 22 got into;
Step 25, the folding x of deletion gets into step 22 then.
7. Web page rearrangement acting server according to claim 6 is characterized in that, further comprises: content of pages paging unit is used for the said content of pages content of pages of unit after setting type again of setting type again carried out paging.
8. Web page rearrangement acting server according to claim 7 is characterized in that, further comprises:
The terminal request information receiving unit is used for mobile terminal receive and obtains said content of pages request and paging page size information to what acting server sent;
The paging transmitting element is used for the paging after said portable terminal sends said content of pages paging cell processing;
Wherein, Said content of pages paging unit carries out paging and is specially the said content of pages content of pages of unit after setting type again of setting type again, and said content of pages paging unit carries out paging according to said paging page size information to the said content of pages content of pages of unit after setting type again of setting type again.
9. according to any described Web page rearrangement acting server of claim 6 to 8, it is characterized in that said content of pages acquiring unit obtains content of pages and is specially, the content of pages acquiring unit obtains the content of pages of WEB form.
10. Web page rearrangement acting server according to claim 9; It is characterized in that; The said content of pages content of pages of unit after said similar navigation content folding unit is handled of setting type again set type again and is specially, and the content of pages content of pages of unit after by the mobile phone screen size said similar navigation content folding unit being handled of setting type again set type again.
CN2009100876077A 2009-07-01 2009-07-01 Web page rearrangement processing method and acting server Active CN101587490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100876077A CN101587490B (en) 2009-07-01 2009-07-01 Web page rearrangement processing method and acting server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100876077A CN101587490B (en) 2009-07-01 2009-07-01 Web page rearrangement processing method and acting server

Publications (2)

Publication Number Publication Date
CN101587490A CN101587490A (en) 2009-11-25
CN101587490B true CN101587490B (en) 2012-06-06

Family

ID=41371739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100876077A Active CN101587490B (en) 2009-07-01 2009-07-01 Web page rearrangement processing method and acting server

Country Status (1)

Country Link
CN (1) CN101587490B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808110B (en) * 2009-12-31 2013-07-10 优视科技有限公司 Forum access method based on mobile communication equipment terminal
CN102812456A (en) * 2010-02-04 2012-12-05 爱立信(中国)通信有限公司 Method For Content Folding
CN102323939B (en) * 2011-08-31 2013-05-29 百度在线网络技术(北京)有限公司 Method and device for determining background information of rearranged elements in page rearranging process
CN102299931A (en) * 2011-09-19 2011-12-28 莫雅静 Webpage content sending method and agent server
CN103129125B (en) * 2011-11-30 2015-11-25 北大方正集团有限公司 Catalogue method for supervising and device
CN103327459A (en) * 2012-03-23 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and system for sharing short messages and multimedia messages, and mobile terminal
CN103455475B (en) * 2012-06-01 2016-12-14 腾讯科技(深圳)有限公司 Composition method, equipment and system
CN102799636B (en) * 2012-06-26 2015-11-25 北京奇虎科技有限公司 The method and system of mobile terminal display web page
CN103714074A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Interactive method for mobile terminal, device and mobile terminal
CN103812888A (en) * 2012-11-09 2014-05-21 阿里巴巴集团控股有限公司 Information pushing, receiving and transmitting method, server, client and system
CN104102419B (en) * 2013-04-09 2019-02-26 腾讯科技(深圳)有限公司 Page display method, device and terminal device
CN104317919A (en) * 2014-10-28 2015-01-28 广州视源电子科技股份有限公司 Information list gathering method and information list gathering device
CN104447009A (en) * 2014-12-08 2015-03-25 王意强 Humic acid type functional compound fertilizer and preparation method thereof
CN106326436A (en) * 2016-08-25 2017-01-11 北京小度信息科技有限公司 Interface element display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858729A (en) * 2005-04-30 2006-11-08 马堃 Hand held radio communication device with tree shape list browsing device and its net page browsing method
CN101039357A (en) * 2006-03-17 2007-09-19 陈晓月 Method for browsing website using handset
CN101146128A (en) * 2007-10-30 2008-03-19 杨金钰 Method for allowing small-screen mobile terminal to access and browse WWW websites

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858729A (en) * 2005-04-30 2006-11-08 马堃 Hand held radio communication device with tree shape list browsing device and its net page browsing method
CN101039357A (en) * 2006-03-17 2007-09-19 陈晓月 Method for browsing website using handset
CN101146128A (en) * 2007-10-30 2008-03-19 杨金钰 Method for allowing small-screen mobile terminal to access and browse WWW websites

Also Published As

Publication number Publication date
CN101587490A (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN101587490B (en) Web page rearrangement processing method and acting server
CN102065106B (en) Web flow collator, and method and system for accessing Web page by using terminal
JP5053278B2 (en) Method and system for displaying information on a mobile device
CN101963888A (en) Electronic terminal and method thereof for controlling page scroll bar
CN101246494B (en) Internet web page conversion method, system and equipment
CN102495855A (en) Automatic login method and device
EP2687997A1 (en) Method for rearranging web page
CN101146128A (en) Method for allowing small-screen mobile terminal to access and browse WWW websites
CN103714115A (en) Method and device for loading web page content
EP1820122A1 (en) Form related data reduction
CN102591954A (en) Method, device and terminal for loading data for browser
CN1692399A (en) Text display terminal device and server
CN101753559B (en) Network resource obtaining system and network resource list obtaining method
Blekas et al. Use of RSS feeds for content adaptation in mobile web browsing
CN103268331A (en) Automatic login method and automatic login device
CN102262627A (en) Webpage segmentation method and webpage segmentation system
CN101539933B (en) Intelligent content direct technology
MacKay et al. Web page transformation when switching devices
KR100700626B1 (en) Mash-up service system
CN103347215A (en) Multiple screen interaction method and set top box
CN102999591A (en) File management method and device
CN102402546A (en) Webpage content display method and system
CN103440340A (en) Method and device for navigation webpage content display
CN103001924A (en) Method, network server and system for accessing pages
US20110219290A1 (en) System For And Method Of Providing Enhanced Content Navigation On A Reader Device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant