CN102497478A - Method for cellphone users to access internet quickly - Google Patents

Method for cellphone users to access internet quickly Download PDF

Info

Publication number
CN102497478A
CN102497478A CN2011104140869A CN201110414086A CN102497478A CN 102497478 A CN102497478 A CN 102497478A CN 2011104140869 A CN2011104140869 A CN 2011104140869A CN 201110414086 A CN201110414086 A CN 201110414086A CN 102497478 A CN102497478 A CN 102497478A
Authority
CN
China
Prior art keywords
html
cellphone subscriber
mobile phone
web
acting server
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
CN2011104140869A
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.)
SHENZHEN LUYOU NETWORK TECHNOLOGY CO LTD
Original Assignee
SHENZHEN LUYOU NETWORK 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 SHENZHEN LUYOU NETWORK TECHNOLOGY CO LTD filed Critical SHENZHEN LUYOU NETWORK TECHNOLOGY CO LTD
Priority to CN2011104140869A priority Critical patent/CN102497478A/en
Publication of CN102497478A publication Critical patent/CN102497478A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for cellphone users to access the internet quickly, which is provided with a proxy server. The cellphone users can access the proxy server instead of a webpage to be accessed, and the proxy server can access the webpage to be accessed by means of simulated access and feed back accessed HTML (hypertext markup language) results to the cellphone users. The proxy server utilized in the method is capable of converting the HTML of the webpage into the XHTML (extensible hypertext markup language) format and displaying the contents of the converted webpage to cellphone browsers by utilizing a friendly interface adaptive to screens of cellphones.

Description

The method of a kind of cellphone subscriber's fast access the Internet
Technical field
The present invention relates to utilize the implementation method field of mobile phone access the Internet, particularly overcome the very method of the B/S application system of friendly use conventional P C version of reasons such as script that the cellphone subscriber supports owing to screen size, browser is limited.
Background technology
3G can visit Internet through the cellphone subscriber under the epoch apace at present.But reason such as the script of supporting owing to mobile phone screen size, browser is limited is the B/S application system of friendly use conventional P C version very.As to develop the WAP application system of a corresponding B/S application system, traditional approach needs the developer by WAP website standard, develops a cover system program again; Need operating database again; Or data-interface is provided, and write software code again, its shortcoming has as follows:
(1) project is uncontrollable, and the implementation cycle is long;
(2) it is many to relate to the shareholder, has a big risk.
Versatility is not strong, must be to different I T system development corresponding data interface.
Summary of the invention
The purpose of this invention is to provide the very method of the B/S application system of friendly use conventional P C version of reasons such as script that a kind of cellphone subscriber of overcoming supports owing to screen size, browser is limited.Through language between WAP application layer and the Web application layer and environment difference, the solution of a conversion of page acting server is provided.
Technical scheme of the present invention is: the method for a kind of cellphone subscriber's fast access the Internet; This method is set up an acting server; Let this acting server replacement of mobile phone access want the WEB website of visiting; And acting server adopts the method for analog access, goes to visit the cellphone subscriber and wants the website visited, the treated cellphone subscriber of returning to of HTML result who obtains visit again.
Further, in the method for above-mentioned a kind of cellphone subscriber's fast access the Internet: may further comprise the steps:
Steps A, mobile phone browser need be browsed the request of WEB webpage to the transmission of wap gateway;
Step B, wap gateway convert the wap request of mobile phone among the Web HTTP request, and acting server is according to HTTP acquisition request target WEB webpage;
Step C, in acting server, convert the HTML of target WEB webpage to XHTML, and the data after will handling show mobile phone browser with the friendly interface that is fit to mobile phone screen.
Further, in the method for above-mentioned a kind of cellphone subscriber's fast access the Internet: among the described step C: convert the HTML of target WEB webpage to XHTML and comprise following content:
Step C01, HTML DOM Document Object Model of exploitation obtain the HTML code of target WEB webpage and resolve each label of HTML;
Step C02, again according to the main difference of HTML and XHTML, carry out the conversion of HTML to XHMTL.
Further, in the method for above-mentioned a kind of cellphone subscriber's fast access the Internet: HTML comprises to the conversion of XHMTL:
All add the explanation of Doctype in the stem of each page;
Mark and Property Name will all be used small letter;
All property values all will cause with quotation marks;
Individual tags all will add in the back/finish.
Further; In the method for above-mentioned a kind of cellphone subscriber's fast access the Internet: among the described step C: the data after will handling show mobile phone browser to be accomplished by knowledge base with the friendly interface that is fit to mobile phone screen, and described knowledge base is that the WEB system framework on the acting server is handled request and rule that returns to the cellphone subscriber and the summary of experience that the cellphone subscriber sends over; Comprise: the realization of WEB system framework and WEB system framework conversion of page is instructed, the outline file structure.
Further, in the method for above-mentioned a kind of cellphone subscriber's fast access the Internet: described: the functional module that the WEB system framework comprises has: page resolver, format converter and defined interface.
The present invention is through being provided with an acting server, accomplishes converting WEB webpage HTML into the XHTML format conversion through acting server, and will change later web page contents and show mobile phone browser with the friendly interface that closes mobile phone screen.
Below in conjunction with specific embodiment the present invention is done comparatively detailed description.
Description of drawings
Fig. 1 is a flow chart of the present invention.
Embodiment
The present invention be directed to a solution of the problem proposition that exists in the above-mentioned present technology; Present embodiment is set up a station server; Let this station server replacement of mobile phone access want the WEB website of visiting; And acting server adopts the method for analog access, goes to visit the cellphone subscriber and wants the website visited, the treated cellphone subscriber of returning to of HTML result who obtains visit again.
The present invention provides the solution of a conversion of page acting server through language and environment difference between WAP application layer and the Web application layer.Some was to satisfy the application of moving WAP below acting server had been realized: the one, realize the conversion between WEB application layer HTML and these two kinds of different markers language of XHTML; The 2nd, can be directed against any SGML, realize a more common conversion of page system.
To first problem, our comparative analysis the difference of syntax and semantics between HTML and XHTML, and, realized from HTML to XHTML conversion of page algorithm based on XML.
The concrete HTML with target WEB webpage converts XHTML to and comprises following content:
1, HTML DOM Document Object Model of exploitation obtains the HTML code of target WEB webpage and resolves each label of HTML;
2, again according to the main difference of HTML and XHTML, carry out the conversion of HTML to XHMTL.
Adopt a PHP exploitation HTML DOM analytic function (obtain the HTML code of certain network address and resolve each label of HTML), support invalid (illegal, not rigorous) HTML and provide very simple mode to operate the html element element.Because taken the tag element of HTML, according to the main difference of HTML and XHTML, write the function that a HTML changes XHMTL again with PHP.
Be that this prior art is arranged now; Such as the PHP Simple HTML DOM Parser original program of increasing income at webpage: among the http://simplehtmldom.sourceforge.net/; This just resolves html tag; And convert XHTML to by HTML, then be to write according to the difference oneself of HTML and XHTML. PHP, be the abbreviation of English supertext preliminary treatment language Hypertext Preprocessor.PHP is the embedded language of a kind of HTML, is a kind of script of the embedding html document of carrying out at server end, and the style of language is similar to the C language, by utilization widely.
HTML change XHTML mainly note following some:
All add the explanation of Doctype in the stem of each page;
Mark and Property Name will all be used small letter;
All property values all will cause with quotation marks;
Individual tags all will add in the back/finish.
To second problem, we have proposed to utilize the general page translation proxy processing method of knowledge base structure based on web content through the analysis to the marking language document form.The introducing of knowledge base mechanism has strengthened the flexibility and the extensibility of system.Knowledge base then is that the WEB system framework on the acting server is handled request and rule that returns to the cellphone subscriber and the summary of experience that the cellphone subscriber sends over.
Mobile phone browser sends request to the wap transfer gateway, and the wap transfer gateway carries out data formatting etc. according to the template that configuration file reads rule, call request webpage correspondence, through handling the intended application system that sends to.The Wap transfer gateway obtains carrying out data formatting etc. according to the webpage corresponding templates again after the intended application systems response, and the data after handling are showed mobile phone browser with the friendly interface that is fit to mobile phone screen.
WEB server in the present embodiment above the acting server, the WEB server has been built associated stations, page resolver, format converter is all realized in this WEB station.As the IP of certain acting server be 218.30.30.100 such as the user want to visit http://www.baidu.com then the user only need to visit like this http at mobile phone browser: // 218.30.30.100 xhtml=http: //www.baidu.com, just acting server can be discerned the website that he will visit
Under acting server WEB root, a sitemap.ini file is arranged, as
[site]
baidu=http://www.baidu.com/
mp3=http://mp3.baidu.com/
Then visit
The baidu/index.d of http://www.baidu.com/index.php below then can access proxies web root
The mp3/test.d of http://mp3.baidu.com/test.php below then can access proxies web root.
Page resolver and form transducer all are in the WAP transfer gateway, and so-called WAP gateway and agent bus all are on the WEB website that is deployed on the acting server.Knowledge base then is that the WEB website on the acting server is handled request and rule that returns to the cellphone subscriber and the summary of experience that the cellphone subscriber sends over.
Implementing procedure for concrete is following:
1. demand is confirmed.Clear and definite WEB website need be realized those functions in mobile phone end.Realize pending official document etc. like needs;
2. on acting server, build WEB server (APACHE), will have the webpage transducer, the system framework of format handler is deployed to above the WEB server, and according to customer demand, configuration OA domain name sitemap.ini writes relevant function code;
3. after exploitation is accomplished, with the IP of mobile phone access acting server just can, be that 218.58.36.128 then visits http with mobile phone browser like acting server IP: // 218.58.36.128 gets final product.

Claims (6)

1. the method for cellphone subscriber's fast access the Internet; It is characterized in that: this method is set up an acting server; Let this acting server replacement of mobile phone access want the WEB website of visiting; And acting server adopts the method for analog access, goes to visit the cellphone subscriber and wants the website visited, the treated cellphone subscriber of returning to of HTML result who obtains visit again.
2. the method for a kind of cellphone subscriber's fast access according to claim 1 the Internet is characterized in that: may further comprise the steps:
Steps A, mobile phone browser need be browsed the request of WEB webpage to the transmission of wap gateway;
Step B, wap gateway convert the wap request of mobile phone among the Web HTTP request, and acting server is according to HTTP acquisition request target WEB webpage;
Step C, in acting server, convert the HTML of target WEB webpage to XHTML, and the data after will handling show mobile phone browser with the friendly interface that is fit to mobile phone screen.
3. the method for a kind of cellphone subscriber's fast access according to claim 2 the Internet is characterized in that: among the described step C: convert the HTML of target WEB webpage to XHTML and comprise following content:
Step C01, HTML DOM Document Object Model of exploitation obtain the HTML code of target WEB webpage and resolve each label of HTML;
Step C02, again according to the main difference of HTML and XHTML, carry out the conversion of HTML to XHMTL.
4. the method for a kind of cellphone subscriber's fast access according to claim 3 the Internet, it is characterized in that: HTML comprises to the conversion of XHMTL:
All add the explanation of Doctype in the stem of each page;
Mark and parameter name will all be used small letter;
All property values all will cause with quotation marks;
Individual tags all will add in the back/finish.
5. the method for a kind of cellphone subscriber's fast access according to claim 2 the Internet; It is characterized in that: among the described step C: the data after will handling show mobile phone browser to be accomplished by knowledge base with the friendly interface that is fit to mobile phone screen, and described knowledge base is that the WEB system framework on the acting server is handled request and rule that returns to the cellphone subscriber and the summary of experience that the cellphone subscriber sends over; Comprise: the realization of WEB system framework and WEB system framework conversion of page is instructed, the outline file structure.
6. the method for a kind of cellphone subscriber's fast access according to claim 5 the Internet, it is characterized in that: described: the functional module that the WEB system framework comprises has: page resolver, format converter and defined interface.
CN2011104140869A 2011-12-13 2011-12-13 Method for cellphone users to access internet quickly Pending CN102497478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104140869A CN102497478A (en) 2011-12-13 2011-12-13 Method for cellphone users to access internet quickly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104140869A CN102497478A (en) 2011-12-13 2011-12-13 Method for cellphone users to access internet quickly

Publications (1)

Publication Number Publication Date
CN102497478A true CN102497478A (en) 2012-06-13

Family

ID=46189262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104140869A Pending CN102497478A (en) 2011-12-13 2011-12-13 Method for cellphone users to access internet quickly

Country Status (1)

Country Link
CN (1) CN102497478A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237088A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Corresponding relation library-based browsing method and system and cloud server
CN103248627A (en) * 2013-05-06 2013-08-14 北京奇虎科技有限公司 Method, forward proxy server and system for visiting website resources
CN103248709A (en) * 2013-05-23 2013-08-14 网宿科技股份有限公司 Wireless signal automatic simulation method and system
CN103678347A (en) * 2012-09-07 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for converting web site to target web app site
CN104216610A (en) * 2013-05-31 2014-12-17 洛克威尔自动控制技术股份有限公司 Systems, methods, and software to present human machine interfaces on a mobile device
CN116094763A (en) * 2022-12-07 2023-05-09 天翼云科技有限公司 Internet surfing behavior management and control method and system based on cloud mobile phone

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010037404A1 (en) * 2000-04-04 2001-11-01 Gudmundur Hafsteinsson System for wireless communication of data between a WEB server and a device using a wireless application protocol
CN1960409A (en) * 2006-09-25 2007-05-09 郭枭业 Method for browsing content on WEB or RSS network site through mobile phone
CN101354725A (en) * 2008-09-08 2009-01-28 中兴通讯股份有限公司 Method and apparatus for constructing and analyzing WAP page
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN101583072A (en) * 2008-05-15 2009-11-18 北京凯思昊鹏软件工程技术有限公司 Middleware product for realizing Mobile Internet and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010037404A1 (en) * 2000-04-04 2001-11-01 Gudmundur Hafsteinsson System for wireless communication of data between a WEB server and a device using a wireless application protocol
CN1960409A (en) * 2006-09-25 2007-05-09 郭枭业 Method for browsing content on WEB or RSS network site through mobile phone
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN101583072A (en) * 2008-05-15 2009-11-18 北京凯思昊鹏软件工程技术有限公司 Middleware product for realizing Mobile Internet and method thereof
CN101354725A (en) * 2008-09-08 2009-01-28 中兴通讯股份有限公司 Method and apparatus for constructing and analyzing WAP page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘洪等: "WAP页面转换代理系统原理及其实现", 《计算机工程与应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678347A (en) * 2012-09-07 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for converting web site to target web app site
CN103678347B (en) * 2012-09-07 2018-05-04 百度在线网络技术(北京)有限公司 Method and apparatus for web site to be converted to target web app websites
CN103248627A (en) * 2013-05-06 2013-08-14 北京奇虎科技有限公司 Method, forward proxy server and system for visiting website resources
CN103248627B (en) * 2013-05-06 2017-02-08 北京奇虎科技有限公司 Method, forward proxy server and system for visiting website resources
CN103237088A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Corresponding relation library-based browsing method and system and cloud server
CN103248709A (en) * 2013-05-23 2013-08-14 网宿科技股份有限公司 Wireless signal automatic simulation method and system
CN104216610A (en) * 2013-05-31 2014-12-17 洛克威尔自动控制技术股份有限公司 Systems, methods, and software to present human machine interfaces on a mobile device
CN116094763A (en) * 2022-12-07 2023-05-09 天翼云科技有限公司 Internet surfing behavior management and control method and system based on cloud mobile phone

Similar Documents

Publication Publication Date Title
US10609170B2 (en) Delivering customized content to mobile devices
EP1923798B1 (en) Clickable placeholder images for simulating web page code unsupported on mobile devices
US7853593B2 (en) Content markup transformation
CN109522018B (en) Page processing method and device and storage medium
CN102497478A (en) Method for cellphone users to access internet quickly
CN101465866B (en) Method for accessing WAP network based on Web terminal and transition module
CN101957842B (en) Webpage cache control method, device and system based on WebKit browser
CN102750281A (en) Script processing method and system of browser
CN101409937B (en) Method and apparatus for converting script into data format supported by target system
CN101876897A (en) System and method used for processing Widget on Web browser
US20170111431A1 (en) Methods for transforming a server side template into a client side template and devices thereof
CN104657189A (en) Hybrid dynamic code compiling device, method and service system thereof
WO2009030568A1 (en) Method for providing a navigation element in an application
CN105871961B (en) A kind of method and device of gray scale publication routing
CN105528369A (en) Webpage transcoding method and device and server
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN100419758C (en) An embedded browsing device and method
CN103347069A (en) Method and device for realizing network access
JP2009163326A (en) Markup language document conversion device, method, program, and system
CN110083352A (en) JS code injection method, apparatus, computer equipment and storage medium
KR20010069606A (en) Method for converting Html text to language used in wireless internet and the system
CN102395054A (en) Method for updating portal page, system thereof and apparatus thereof
CN102866880A (en) System and method for self-design of mobile phone page layout by mobile user
CN102664959A (en) Mobile platform wireless middleware
CN102567404A (en) Method and device for wireless application protocol (WAP) website online webpage conversion

Legal Events

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

Application publication date: 20120613