CN103942215A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN103942215A
CN103942215A CN201310021863.2A CN201310021863A CN103942215A CN 103942215 A CN103942215 A CN 103942215A CN 201310021863 A CN201310021863 A CN 201310021863A CN 103942215 A CN103942215 A CN 103942215A
Authority
CN
China
Prior art keywords
script
webpage
executive routine
script executive
page
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
CN201310021863.2A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310021863.2A priority Critical patent/CN103942215A/en
Publication of CN103942215A publication Critical patent/CN103942215A/en
Pending legal-status Critical Current

Links

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/9577Optimising the visualization of content, e.g. distillation of HTML documents

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 embodiment of the invention provides a page display method and device which are applied to a mobile communication terminal. The mobile communication terminal can display a first web page. The method includes the steps that when a web page obtaining request is obtained, and a web page requested to be output is obtained; when the web page is a second web page, a second script file of the second web page is analyzed; the second script file is converted into a first script file, and the first web page corresponding to the second web page is generated; the first web page is output and displayed. Through the page display method and device, normal display of the web pages of the mobile communication terminal can be guaranteed so that the mobile communication terminal can display different types of web pages, and therefore a user can have access to the second web page on the mobile communication terminal. The display performance is improved.

Description

Page display method device
Technical field
The application relates to networking technology area, relates in particular a kind of page display method and device.
Background technology
Development along with network technology and electronic technology, people can be accomplished in several ways surfing on the net, by mobile communication terminal interconnection network, owing to having convenience, the advantage such as property whenever and wherever possible, by increasing widespread use, become gradually one of network access important in the modern life.
But the supported Webpage of mobile communication terminal is limited, in order to meet the characteristic requirements of mobile communication terminal own, it can only support the Webpage of a type conventionally, for example, in the 2G epoch, the bandwidth of mobile communication is very low, in order to save the communication flows of mobile communication terminal and to speed up Web searches, operator is used wml(Wireless Markup Language conventionally, WAP Markup Language) develop Webpage, development along with mobile communication, the particularly appearance of 3G network and smart mobile phone, mobile communication terminal starts more and more to support html(Hypertext Markup Language, HTML (Hypertext Markup Language)) page, and support the mobile communication terminal of the html page conventionally all can not normally show the wml page.But because the wml page has the flow of saving and the characteristic of time, a lot of operators are still used the wml page, and this just makes the normally display web page page of existing a lot of mobile communication terminal.
Summary of the invention
In view of this, the application provides a kind of page display method and device, in order to solve in prior art the normally technical matters of the display web page page.
For achieving the above object, the application provides following technical scheme:
A page display method, is applied in mobile communication terminal, and described mobile communication terminal can show the first Webpage, and described method comprises:
When receiving Webpage, obtain when request, obtain the Webpage of request output;
When described Webpage is the second Webpage, parse the crus secunda presents of described the second Webpage;
Described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding;
By described the first Webpage output display.
Preferably, described described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding and comprise:
Determine the second script executive routine that described crus secunda presents comprises;
Generate the first script executive routine of the execution function of corresponding described the second script executive routine;
By described the first script executive routine, form the first script file, generate the first Webpage that described the second Webpage is corresponding.
Preferably, described the first script executive routine that generates the execution function of corresponding different the second script executive routines comprises:
Judge whether described the second script executive routine is User Defined executive routine;
If so, using described the second script executive routine as the first script executive routine;
If not, generate the first script executive routine of the execution function of corresponding different the second script executive routines.
Preferably, described the first script executive routine that generates the execution function of corresponding described the second script executive routine comprises:
Search default dissimilar script executive routine correspondence set, generate described the second script executive routine the first script executive routine of correspondence respectively.
Preferably, described the first script executive routine that generates the execution function of corresponding described the second script executive routine comprises:
According to the execution function of described the second script executive routine, utilize the first script, generate described the second script executive routine the first script executive routine of correspondence respectively.
Preferably, described the second Webpage is the WAP Markup Language wml page, and described crus secunda presents comprises wml script executive routine and wml script script executive routine;
Described the first Webpage is the HTML (Hypertext Markup Language) html page, and described the first script file comprises html script executive routine and javascript script executive routine.
A page display device, is applied in mobile communication terminal, and described mobile communication terminal can show the first Webpage, and described device comprises:
Page acquisition module, while obtaining request for receiving Webpage, obtains the Webpage of request output;
Document analysis module, for when described Webpage is the second Webpage, parses the crus secunda presents of described the second Webpage;
Page translation module, for described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding;
Output module, for by described the first Webpage output display.
Preferably, described page translation module comprises:
Determination module, for the second script executive routine of determining that described crus secunda presents comprises;
The first translation module, for generating the first script executive routine of the execution function of corresponding described the second script executive routine;
Page generation module, for forming the first script file by described the first script executive routine, generates the first Webpage that described the second Webpage is corresponding.
Preferably, described page translation module, also comprises:
Judge module, for judging that whether described the second script executive routine is User Defined executive routine, if not, triggers described the first translation module;
The second translation module, for when described judge module is when being, using described the second script executive routine as the first script executive routine.
Preferably, described the first translation module, specifically for searching default dissimilar script executive routine correspondence set, generates described the second script executive routine the first script executive routine of correspondence respectively.
Preferably, described translation module, specifically for the execution function according to described the second script executive routine, utilizes the first script, generates described the second script executive routine the first script executive routine of correspondence respectively.
Known via above-mentioned technical scheme, compared with prior art, the application provides a kind of page display method and device, be applied in mobile communication terminal, this mobile communication terminal can show the first Webpage, when connecing the Webpage of request output and be the second Webpage, parse the crus secunda presents of described the second Webpage; Described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding; By described the first Webpage output display.By the embodiment of the present application, can guarantee the normal demonstration of mobile communication terminal Webpage, make mobile communication terminal can show dissimilar Webpage, improve display performance.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only the application's embodiment, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the process flow diagram of a kind of page display method embodiment 1 of the application;
Fig. 2 is the process flow diagram of a kind of page display method embodiment 2 of the application;
Fig. 3 is the structural representation of a kind of page display device of the application embodiment 1;
Fig. 4 is the structural representation of a kind of page display device of the application embodiment 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
One of main thought of the application can comprise: mobile communication terminal can show the first Webpage, when the Webpage of acquisition request is the second Webpage, parse the crus secunda presents of this second Webpage, and convert this crus secunda presents to first script file, by the first script file, form the first Webpage, thereby be exportable this first Webpage, guaranteed when the Webpage obtaining is the second Webpage, the normal demonstration of Webpage.Thereby improved mobile communication terminal display performance, make the mobile communication terminal can to show dissimilar Webpage.
Below in conjunction with accompanying drawing, the application's embodiment is described in detail.
Fig. 1 is the process flow diagram of a kind of page display method embodiment 1 of the present invention, described method is applied in mobile communication terminal, this mobile communication terminal can show the first Webpage, the first Webpage is that mobile communication terminal can be supported the Webpage type showing, for example the first Webpage can be wml(Wireless Markup Language, WAP Markup Language) page, or html(Hypertext Markup Language, HTML (Hypertext Markup Language)) page etc.
The method can comprise following step:
Step 101: obtain when request when receiving Webpage, obtain the Webpage of request output.
When the Webpage that the browser by mobile communication terminal receives user obtains request, can send webpage connection request to server, can be HTTP (Hypertext transfer protocol, HTML (Hypertext Markup Language)) request, in this request, carry banner, URL(Uniform/Universal Resource Locator for example, URL(uniform resource locator)), the Webpage that this banner of acquisition request is corresponding.
Step 102: when described Webpage is the second Webpage, parse the crus secunda presents of described the second Webpage.
According to the Webpage obtaining, judge whether the type of this Webpage is the second Webpage.
If this Webpage is the second Webpage, can obtain the crus secunda presents that this second Webpage comprises.
Wherein, the first Webpage and the second Webpage refer to two dissimilar Webpages, it should be noted that, described first, second is not the restriction to Webpage title or order, just in order to know the describing mode of describing two dissimilar Webpages and adopting.
When this Webpage is the second Webpage, obtain the crus secunda presents of this second Webpage, because Webpage is to be formed by different scripts and the compiling of Web Page Tags language, script file refers to according to Web Page Tags language and script according to the executable file that comprises different script executive routines of different-format compiling, by carrying out script file, can realize the output of Webpage content and dynamically show etc.
When judging whether Webpage is the second Webpage, can meet or script meets to judge whether it is the second Webpage according to the markup language of Webpage.
Webpage type is different, it script file comprising is different, for example the script file of the wml page adds that by wml script executive routine wml script script executive routine forms, and the script file of the html page adds that by html script executive routine javascript script executive routine forms.
Step 103: described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding.
Parse after crus secunda presents, in the embodiment of the present application, crus secunda presents is converted to the first script file.
Crus secunda presents comprises different script executive routines, and in the application, it can be difference the second script executive routine of first determining that described crus secunda presents comprises that crus secunda presents is converted to the first script file; Generate the first script executive routine of the execution function of corresponding different the second script executive routines; By different described the first script executive routines, form the first script file.
Generate the first script executive routine of the execution function of corresponding different the second script executive routines, that is to say each the second script executive routine is translated into and can be realized the first script executive routine that it carries out function.The second script executive routine is translated into the first script executive routine can various ways, can introduce in detail below in embodiment.
The first script executive routine is combined to form the first script file, according to this first script file, can form the first Webpage that this second Webpage is corresponding.
Step 104: by described the first Webpage output display.
Generate after the first Webpage, mobile communication terminal browser can carry out normal Graphics Processing operation to the first script file of the first Webpage, output display Webpage, and this Webpage is the first Webpage.The displaying contents of the first Webpage is identical with the displaying contents of this second Webpage, has guaranteed the normal demonstration of Webpage.
In the present embodiment, mobile communication terminal can show the first Webpage, when the Webpage of its request output of obtaining is the second Webpage, parse the crus secunda presents of this second Webpage, and convert this crus secunda presents to first script file, by the first script file, form the first Webpage, thereby be exportable this first Webpage, guaranteed when the Webpage obtaining is the second Webpage the normal demonstration of Webpage.Improved mobile communication terminal display performance, can show dissimilar Webpage.
With reference to figure 2, show the process flow diagram of a kind of page display method embodiment 2 of the application, described method is applied in mobile communication terminal, and this mobile communication terminal can show the first Webpage.
The method can comprise following step:
Step 201: obtain when request when receiving Webpage, obtain the Webpage of request output.
Step 202: when described Webpage is the second Webpage, parse the crus secunda presents of described the second Webpage.
Step 203: determine the second script executive routine that described crus secunda presents comprises.
Crus secunda presents can comprise a plurality of the second different script executive routines, and this second script executive routine is that the code being compiled by script or Web Page Tags language forms.
Step 204: the first script executive routine that generates the execution function of corresponding the second script executive routine.
For each the second script executive routine, generate corresponding its and carry out the first script executive routine of function.
Wherein, as the possible implementation of the first, the operation of this step 204 can comprise:
Search default dissimilar script executive routine correspondence set, obtain described different the second script executive routine the first script executive routine of correspondence respectively.
Dissimilar script executive routine correspondence set comprises the first script executive routine and the second script executive routine of realizing same execution function, and this correspondence set can be pre-set.
According to the second script executive routine obtaining, can search this correspondence set, determine the first script executive routine that this second script executive routine is corresponding.
The script file that the crus secunda presents of take is the wml page is example, and the second script executive routine that this crus secunda presents comprises comprises wml script executive routine and wml script script executive routine.The Webpage that mobile communication terminal can show is the html page, therefore wml script file need to be translated into html script file, html script file i.e. the first script file, and the first included script executive routine comprises html script executive routine and javascript script executive routine.
In wml script script executive routine, max(x, y) function that realizes is: return to the mxm. in x and y.
Max(x, y) the first script executive routine of its correspondence, specifically:
Above-mentioned executive programs is javascript script executive routine, can realize the execution function of the mxm. returning in x and y by this javascript script executive routine.
As the possible implementation of the second, the operation of this step 204 can comprise:
According to the execution function of described the second script executive routine, utilize the first script, generate described the second script executive routine the first script executive routine of correspondence respectively.
Crus secunda presents comprises the second different script executive routines, and the execution function of each the second script executive routine is known.Max(x, the y in wml script for example) be the defined good function belonging in function library, its function is also known.As max(x, y in wml script) be the function in Lang built-in function, it carries out function is the mxm. returning in x and y, and for example int(x) and be the function in float built-in function, execution function is to return to the integral part etc. of designation number.
Therefore according to the execution function of this second script executive routine, utilize the first script, can compile and generate the first corresponding script executive routine.
Wherein, the specific executive routine after pre-defining in comprising different sink function in script executive routine, it also comprises user-defined executive routine, for example User-Defined Functions.
When the second script executive routine is User Defined executive routine, while being specially User-Defined Functions, due to User-Defined Functions, in different scripts, use identically, so this second script executive routine can be directly as the first script executive routine.
For example, in the script file of the wml page, self-defining function:
myTest(test){
return(test+1);
}
Can directly in the script file of the html page, use.
If the second script executive routine is not User Defined executive routine, can generate according to above-mentioned two kinds of modes the first script executive routine of the execution function of corresponding the second script executive routine.
Concrete, in the possible implementation of the first, can first judge whether the second script executive routine is User Defined executive routine, if can be directly using this second script executive routine as the first script executive routine.If not, then carry out the operation search default dissimilar script executive routine correspondence set.
In the possible implementation of the second, can first judge whether the second script executive routine is User Defined executive routine, if can be directly using this second script executive routine as the first script executive routine.If not, then carry out this according to the execution function of described the second script executive routine, utilize the first script, generate the operation of the first corresponding script executive routine respectively of described the second script executive routine.
Step 205: form the first script file by different described the first script executive routines.
Step 206: according to described the first script file, generate the first Webpage that described the second Webpage is corresponding.
Step 207: by described the first Webpage output display.
Each second script executive routine is translated into after the first script executive routine, and the first script can form the first script file after carrying out journey.According to the first script file, can generate the first Webpage, and output display.Thereby realized the normal output of content of pages, guaranteed when Webpage is the second Webpage, mobile communication terminal is the normal display web page page still.
In the present embodiment, mobile communication terminal can show the first Webpage, when the Webpage of its request output of obtaining is the second Webpage, parse the crus secunda presents of this second Webpage, and convert the second script executive routine of this crus secunda presents to first script executive routine, form the first script file, by the first script file, form the first Webpage, thereby be exportable this first Webpage, guaranteed when the Webpage obtaining is the second Webpage the normal demonstration of Webpage.Improved mobile communication terminal display performance, can show dissimilar Webpage.
In practice one of the application has particular application as, this first Webpage is the html page, be that mobile communication terminal can only the output display html page, and the Webpage of a lot of Virtual network operators is still the wml page, in prior art when the Webpage of acquisition request is the wml page, mobile communication terminal can not normally show this wml page, thereby cause content of pages normally to export.And pass through the embodiment of the present application, when the Webpage obtaining being detected and be the wml page, first obtain the wml script file of the wml page, it comprises wml script executive routine and wml scrip script executive routine, and script executive routine can refer to one section of run time version that function and function or variable etc. are combined to form.
Wml script script executive routine can be by the call function in wml script executive routine, in wml script executive routine implementation, embed in this wml script script executive routine, for example following is one section of run time version included in wml script file:
Wherein, this wml script script executive routine mytest code is as follows:
function?myTest(test){
return(test+1);
}
After getting wml script file, can parse the different script executive routines that it comprises, this script executive routine comprises User Defined script executive routine, also can comprise the function of having stored in built-in function in this script file.Thereby the wml script executive routine that can comprise according to this wml script file and wml script script executive routine, translated into html script executive routine and javascript script executive routine, thereby form html script file, for example, after this section of run time version of above-mentioned wml script file changed, the run time version of corresponding html script file is as described below:
Wherein, mytest is user-defined script executive routine, and it can directly adopt self-defining mytest in wml script file.
By wml script file is translated into after html script file, mobile communication terminal can be identified this html script file, thereby forms html Webpage, and output display, thereby has guaranteed the normal demonstration of Webpage, and the normal output of content of pages.
With reference to figure 3, show the structural representation of a kind of page display device of the application embodiment 1, be specifically applied in mobile communication terminal, this mobile communication terminal can show the first Webpage.In actual applications, this page display device can be integrated in the browser of this mobile communication terminal, also can be used as independent entity and is connected with the browser of mobile communication terminal.
This page display device can comprise:
Page acquisition module 301, while obtaining request for receiving Webpage, obtains the Webpage of request output.
Document analysis module 302, for when described Webpage is the second Webpage, parses the crus secunda presents of described the second Webpage.
According to the Webpage obtaining, judge whether the type of this Webpage is the second Webpage.
If this Webpage is the second Webpage, can obtain the crus secunda presents that this second Webpage comprises.
Wherein, the first Webpage and the second Webpage refer to two dissimilar Webpages, it should be noted that, described first, second is not the restriction to Webpage title or order, just in order to know the describing mode of describing two dissimilar Webpages and adopting.
Webpage is to be formed by different scripts and the compiling of Web Page Tags language, script file refers to according to Web Page Tags language and script according to the executable file that comprises different script executive routines of different-format compiling, by carrying out script file, can realize the output of Webpage content and dynamically show etc.
Webpage type is different, it script file comprising is different, for example the script file of the wml page adds that by wml script executive routine wml script script executive routine forms, and the script file of the html page adds that by html script executive routine javascript script executive routine forms.
Page translation module 303, for described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding.
Output module 304, for by described the first Webpage output display.
In the present embodiment, mobile communication terminal can show the first Webpage, when the Webpage of the request output of obtaining when page display device is the second Webpage, parse the crus secunda presents of this second Webpage, and convert this crus secunda presents to first script file, by the first script file, form the first Webpage, thereby be exportable this first Webpage, guaranteed when the Webpage obtaining is the second Webpage the normal demonstration of Webpage.Improved mobile communication terminal display performance, make the mobile communication terminal can to show dissimilar Webpage.
With reference to figure 4, show the structural representation of a kind of page display device of the application embodiment 2, be specifically applied in mobile communication terminal, this mobile communication terminal can show the first Webpage.
This page display device can comprise:
Page acquisition module 401, while obtaining request for receiving Webpage, obtains the Webpage of request output.
Document analysis module 402, for when described Webpage is the second Webpage, parses the crus secunda presents of described the second Webpage.
Page translation module 403, for described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding.
Wherein, this page translation module 403 can specifically comprise:
Determination module 4031, for the second script executive routine of determining that described crus secunda presents comprises;
The first translation module 4032, for generating the first script executive routine of the execution function of corresponding described the second script executive routine.
As a kind of possible implementation, this first translation module can, specifically for searching default dissimilar script executive routine correspondence set, generate described the second script executive routine the first script executive routine of correspondence respectively.
As the possible implementation of another kind, this first translation module can utilize the first script specifically for the execution function according to described the second script executive routine, generates described the second script executive routine the first script executive routine of correspondence respectively.
Page generation module 4033, for forming the first script file by described the first script executive routine, generates the first Webpage that described the second Webpage is corresponding.
Wherein, the specific executive routine after pre-defining in comprising different sink function in script executive routine, it also comprises user-defined executive routine, for example User-Defined Functions.
Therefore, described page translation module can also comprise:
Judge module 4034, for judging whether described the second script executive routine is User Defined executive routine, if not, triggers described the first translation module 4032;
The second translation module 4035, for when described judge module 4034 is when being, using described the second script executive routine as the first script executive routine.
Output module 404, for by described the first Webpage output display.
Each second script executive routine is translated into after the first script executive routine, and the first script can form the first script file after carrying out journey.According to the first script file, can generate the first Webpage, and output display.Thereby realized the normal output of content of pages, guaranteed when Webpage is the second Webpage, mobile communication terminal is the normal display web page page still.
In the present embodiment, mobile communication terminal can show the first Webpage, when the Webpage of the request output that page display device is obtained is the second Webpage, can parse the crus secunda presents of this second Webpage, and convert the second script executive routine of this crus secunda presents to first script executive routine, form the first script file, by the first script file, form the first Webpage, thereby be exportable this first Webpage, guaranteed when the Webpage obtaining is the second Webpage the normal demonstration of Webpage.Improved mobile communication terminal display performance, can show dissimilar Webpage.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the application.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can be in the situation that do not depart from the application's spirit or scope, realization in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (11)

1. a page display method, is characterized in that, is applied in mobile communication terminal, and described mobile communication terminal can show the first Webpage, and described method comprises:
When receiving Webpage, obtain when request, obtain the Webpage of request output;
When described Webpage is the second Webpage, parse the crus secunda presents of described the second Webpage;
Described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding;
By described the first Webpage output display.
2. method according to claim 1, is characterized in that, described described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding and comprises:
Determine the second script executive routine that described crus secunda presents comprises;
Generate the first script executive routine of the execution function of corresponding described the second script executive routine;
By described the first script executive routine, form the first script file, generate the first Webpage that described the second Webpage is corresponding.
3. according to the method described in claim 2 any one, it is characterized in that, described the first script executive routine that generates the execution function of corresponding different the second script executive routines comprises:
Judge whether described the second script executive routine is User Defined executive routine;
If so, using described the second script executive routine as the first script executive routine;
If not, generate the first script executive routine of the execution function of corresponding different the second script executive routines.
4. according to the method in claim 2 or 3, it is characterized in that, described the first script executive routine that generates the execution function of corresponding described the second script executive routine comprises:
Search default dissimilar script executive routine correspondence set, generate described the second script executive routine the first script executive routine of correspondence respectively.
5. according to the method in claim 2 or 3, it is characterized in that, described the first script executive routine that generates the execution function of corresponding described the second script executive routine comprises:
According to the execution function of described the second script executive routine, utilize the first script, generate described the second script executive routine the first script executive routine of correspondence respectively.
6. method according to claim 1, is characterized in that, described the second Webpage is the WAP Markup Language wml page, and described crus secunda presents comprises wml script executive routine and wml script script executive routine;
Described the first Webpage is the HTML (Hypertext Markup Language) html page, and described the first script file comprises html script executive routine and javascript script executive routine.
7. a page display device, is characterized in that, is applied in mobile communication terminal, and described mobile communication terminal can show the first Webpage, and described device comprises:
Page acquisition module, while obtaining request for receiving Webpage, obtains the Webpage of request output;
Document analysis module, for when described Webpage is the second Webpage, parses the crus secunda presents of described the second Webpage;
Page translation module, for described crus secunda presents is converted to the first script file, generates the first Webpage that described the second Webpage is corresponding;
Output module, for by described the first Webpage output display.
8. device according to claim 7, is characterized in that, described page translation module comprises:
Determination module, for the second script executive routine of determining that described crus secunda presents comprises;
The first translation module, for generating the first script executive routine of the execution function of corresponding described the second script executive routine;
Page generation module, for forming the first script file by described the first script executive routine, generates the first Webpage that described the second Webpage is corresponding.
9. device according to claim 8, is characterized in that, described page translation module, also comprises:
Judge module, for judging that whether described the second script executive routine is User Defined executive routine, if not, triggers described the first translation module;
The second translation module, for when described judge module is when being, using described the second script executive routine as the first script executive routine.
10. device according to claim 8 or claim 9, it is characterized in that, described the first translation module, specifically for searching default dissimilar script executive routine correspondence set, generates described the second script executive routine the first script executive routine of correspondence respectively.
11. devices according to claim 8 or claim 9, it is characterized in that, described translation module, specifically for the execution function according to described the second script executive routine, utilizes the first script, generates described the second script executive routine the first script executive routine of correspondence respectively.
CN201310021863.2A 2013-01-21 2013-01-21 Page display method and device Pending CN103942215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310021863.2A CN103942215A (en) 2013-01-21 2013-01-21 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310021863.2A CN103942215A (en) 2013-01-21 2013-01-21 Page display method and device

Publications (1)

Publication Number Publication Date
CN103942215A true CN103942215A (en) 2014-07-23

Family

ID=51189885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310021863.2A Pending CN103942215A (en) 2013-01-21 2013-01-21 Page display method and device

Country Status (1)

Country Link
CN (1) CN103942215A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149850A1 (en) * 2001-01-17 2005-07-07 Sony Corporation Conversion apparatus and method, accounting method, and script conversion system and method
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN102053994A (en) * 2009-11-10 2011-05-11 阿里巴巴集团控股有限公司 Language parser and parsing method using same
US20110161840A1 (en) * 2009-12-24 2011-06-30 International Business Machines Corporation Performance of template based javascript widgets
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149850A1 (en) * 2001-01-17 2005-07-07 Sony Corporation Conversion apparatus and method, accounting method, and script conversion system and method
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN102053994A (en) * 2009-11-10 2011-05-11 阿里巴巴集团控股有限公司 Language parser and parsing method using same
US20110161840A1 (en) * 2009-12-24 2011-06-30 International Business Machines Corporation Performance of template based javascript widgets
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method

Similar Documents

Publication Publication Date Title
KR102436987B1 (en) Method and terminal device for extracting web page content
CN102346770B (en) WebKit browser webpage content loading method and device
CN101777068B (en) Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof
JP2019032883A (en) Method, apparatus, server and system for implementing web application
CN103873918B (en) Image processing method, device and terminal
CN101853158A (en) Method and device for adjusting Widget window
KR100909232B1 (en) Method for system for interface of wep page
CN101159762B (en) Method and device of accelerating download of web page contents
CN108874922B (en) Client device, webpage rendering method based on single page application and storage medium
KR101689745B1 (en) Web browsing system and method for rendering dynamic resource URI of script
EP2916239A1 (en) Method and device for providing search result on mobile terminal
CN102323880A (en) Mobile phone application interface development method and terminal based on browser parsing mode
CN103617164B (en) Webpage prefetching method, device and terminal equipment
CN105045620A (en) Method for measuring webpage first screen loading time and detection equipment
CN102298599A (en) Method and system for browsing web pages in offline state
CN101963992A (en) Method and browser for increasing webpage display speed
CN104423991A (en) Webpage loading and webpage data providing method and device of mobile terminal
CN104216926A (en) Page generating method, template engine and processor
CN105528369B (en) Webpage code-transferring method, device and server
CN102662837A (en) Testing method and system of browser
CN110674444B (en) Method and terminal for downloading dynamic webpage
CN103353842A (en) Webpage loading method and device
US8271472B2 (en) System and method for exposing both portal and web content within a single search collection
CN102915334B (en) picture display processing method and corresponding browser
CN107436927B (en) Application method and system of UI component

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723