CN102025779A - Method and equipment for establishing WAP (Wireless Application Protocol) site - Google Patents

Method and equipment for establishing WAP (Wireless Application Protocol) site Download PDF

Info

Publication number
CN102025779A
CN102025779A CN201010570502XA CN201010570502A CN102025779A CN 102025779 A CN102025779 A CN 102025779A CN 201010570502X A CN201010570502X A CN 201010570502XA CN 201010570502 A CN201010570502 A CN 201010570502A CN 102025779 A CN102025779 A CN 102025779A
Authority
CN
China
Prior art keywords
wap
website
party
page
url
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.)
Granted
Application number
CN201010570502XA
Other languages
Chinese (zh)
Other versions
CN102025779B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201010570502.XA priority Critical patent/CN102025779B/en
Publication of CN102025779A publication Critical patent/CN102025779A/en
Application granted granted Critical
Publication of CN102025779B publication Critical patent/CN102025779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and equipment for establishing a WAP (Wireless Application Protocol) site. The method comprises the following steps: a proxy server receives a request of a user for accessing the page of a third-party site, which is transmitted by the third-party site; the proxy server acquires the page of the third-party site according to the request; the proxy server converts the page into a WAP page facing a mobile terminal; and the proxy server transmits the WAP page to the user through the third-party site. The invention has the advantages that under the condition that the third-party site does not establish a corresponding WAP site, and the user does not use a special browser, the proxy server assists the third-party site to quickly establish a transparent WAP site for the user to access.

Description

Set up the method and apparatus of WAP website
Technical field
The present invention relates to Internet technology, relate in particular to the method and apparatus of setting up WAP (Wireless ApplicationProtocol) website.
Background technology
High speed development along with science and technology, portable terminal not only can be realized functions such as conversation, transmitting-receiving short message, play multimedia, can also insert the Internet by WAP, obtain the network information whenever and wherever possible, become one of network access important in the modern life gradually.But, when the internet sites of visiting by portable terminal as the user is not set up corresponding WAP website, the user then can't conduct interviews to this website, perhaps must use specific browser, such as UCWEB, browse after via particular server internet page to be visited being converted to the WAP page.This situation tends to bring some inconvenience when inserting the Internet by portable terminal to the user, makes the user can't insert it whenever and wherever possible and wants the internet sites of visiting.
In order to address the above problem, need to provide a kind of and set up the WAP website fast and do not rely on the method that particular browser can make portable terminal access the Internet.
Summary of the invention
The purpose of this invention is to provide a kind of method and apparatus of setting up the WAP website fast that addresses the above problem.
According to an aspect of the present invention, provide a kind of method of the WAP of foundation website, this method may further comprise the steps:
Acting server receives the request of the described third party's site page of user capture of third party's website forwarding;
Described acting server obtains the page of described third party's website according to described request;
Described acting server is the WAP page towards portable terminal with described conversion of page;
Described acting server is transmitted to described user with the described WAP page by described third party's website.
According to another aspect of the present invention, also provide a kind of equipment of the WAP of foundation website, having comprised:
Requesting processing is used to receive the request of the described third party's site page of user capture that third party's website transmits;
The webpage acquiring unit is used for obtaining according to described request the page of described third party's website;
The webpage converting unit is used for described conversion of page is the WAP page towards portable terminal;
Content sending unit is used for the described WAP page is transmitted to described user by described third party's website.
Compared with prior art, the present invention has the following advantages: do not set up corresponding WAP website at third party's website, the user does not use under the situation of special browser yet, acting server assists third party's website to set up a transparent WAP website fast for user access.
Description of drawings
By reading the detailed description of doing with reference to the following drawings that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is according to the system topological figure that sets up the WAP website fast of the present invention;
Fig. 2 is the flow chart of the method for setting up the WAP website fast according to an aspect of the present invention;
Fig. 3 is the schematic diagram of the method for setting up the WAP website fast according to an aspect of the present invention; And
Fig. 4 is the schematic diagram of the acting server of setting up the WAP website fast according to a further aspect of the present invention.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Fig. 1 is according to the system topological figure that sets up the WAP website fast of the present invention, comprising user and portable terminal, acting server and a plurality of third party's website 1~N.The user passes through its portable terminal via wireless network access third party website, for example third party's website 1, third party's website 1 is sent to acting server with user's solicited message, acting server obtains user's page to be visited according to solicited message, and content of pages is converted to the WAP page that is applicable to that portable terminal shows, then the WAP page is forwarded to portable terminal by third party's website 1 and shows, finish the user by the visit of portable terminal to third party's website 1.For other third party's websites of user capture 2~N, also be so, do not repeat them here.Wherein, described portable terminal includes but not limited to radio hand-held equipments such as palmtop PC, mobile phone, smart phone, described wireless network includes but not limited to networks such as GSM, TD-SCDMA, WCDMA, described acting server can be an independently server, also can be on the internet a plurality of servers of distributing, these server collaborative works are for a large number of users provides service.
Those skilled in the art will be understood that above-mentioned user and portable terminal, third party's website 1~N, acting server and the network that connects therebetween only are for example; other users existing or that may occur from now on and portable terminal, third party's website, acting server or network are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference at this.
Fig. 2 is the flow chart of the method for setting up the WAP website fast according to an aspect of the present invention, and as shown in the figure, in step S201, acting server receives the request of the described third party's site page of user capture of third party's website forwarding.When the user passes through mobile terminal accessing third party website, send network address to be visited, be that WAP URL is to third party's website, after third party's website is received user's request, this WAP URL is forwarded to acting server through open interface, wherein, third party's website preestablishes and all need pass through described acting server to the visit of this WAP URL.
After acting server is received described request, WAP URL is reduced to WWW URL, wherein, described WWW URL comprises the top-level domain as the domain name of website to be visited own, with the subdomain name of a plurality of different stages of opening according to this top-level domain, such as second level domain or three grades of domain names, or the like; Each URL among the described WAP URL respectively with described WWWURL in each URL corresponding according to certain conversion standard.Described conversion standard, can be acquiescence conversion standard, promptly formulating between acting server and the third party's website in the open interface, just defined the corresponding relation between WWW URL and the WAP, for all third party's websites, when being converted into WAP URL, all the WWW URL under its domain name all need to follow identical conversion standard.
Preferably, described conversion standard also can be carried out self-defined, formulate the corresponding relation between all WWW URL and WAP URL under its domain name voluntarily by described third party's website, and this conversion standard is committed to acting server, be used for the reduction of acting server its WAP URL.
For instance, an acquiescence conversion standard is: when WWW URL was URL top-level domain under, interpolation " wap. " printed words were its corresponding WAPURL before WWW URL; As WWW URL during for other rank subdomain names of opening according to top-level domain, first ". " preceding part is added " wap " printed words in WWW URL, is its corresponding WAP URL.As shown in table 1, the domain name of third party's website 1 is domain1.com, and opened two second level domains and be respectively www.domain1.com and blog.domain1.com, and two three grades of domain names are respectively andy.blog.domain1.com and tom.blog.domain1.com; The domain name of third party's website 2 is domain2.com, and opened three second level domains and be respectively www.domain2.com, music.domain2.com, lady.domain2.com, and two three grades of domain names are respectively health.lady.domian2.com, beauty.lady.domain2.com.According to above-mentioned acquiescence conversion standard, the WAP URL of the acquiescence top-level domain correspondence of third party's website 1 is wap.domain1.com, the WAP URL of acquiescence second level domain correspondence is respectively www-wap.domain1.com and blog-wap.domain1.com, give tacit consent to three grades of domain names for WAP URL be respectively andy-wap.blog.domain1.com and tom-wap.blog.domain1.com.Also follow same standard for the WWW URL of third party's website 2 and the conversion between the WAP URL, do not repeat them here, its transformation result please refer to table 1.
Table 1
Figure BDA0000035801210000041
Figure BDA0000035801210000051
For all third party's websites, according to the WAPURL after the acquiescence conversion normative translation, its form is single, can't embody the characteristics of third party's website, so third party's website can carry out self-defined to the corresponding relation between all WWW URL and the WAP URL under its domain name according to its needs, and with this conversion standard be committed to acting server, acting server will reduce to WAP ULR according to this self-defining conversion standard.Such as, third party's website 3 and third party's website 4 self-defining conversion standards are as shown in table 2:
Table 2
Figure BDA0000035801210000052
It will be understood by those skilled in the art that conversion standard of the present invention is not limited to above-mentioned form, can comprise that any WWW URL with third party's website is corresponding with WAP URL and meet other forms of website domain name Naming conventions.
In step S202, described acting server obtains the page of described third party's website according to described request.Described acting server grasps the webpage of third party's website to be visited according to the WWW URL after the reduction after WAP URL is reduced according to the conversion standard.
In step S203, described acting server is the WAP page towards portable terminal with described conversion of page.Described acting server is changed this page after obtaining the page of third party's website according to WWW URL, makes it to become the WAP page of the portable terminal demonstration that is suitable for the user.
Preferably, third party's website can customize the display effect of the WAP page on portable terminal.Third party's website can define a series of conversion instruction by expanding its HTML comment tag, when acting on behalf of the server conversion WAP page, according to the conversion instruction in the HTML comment tag, the WAP page is handled, such as, main part in the mark WAP page or some in the folding WAP page need not the web page blocks that shows at portable terminal etc.The display effect of the customization WAP page neither influences the visit to third party's website of browser, and the page of third party's website is shown on portable terminal better.
In step S204, described acting server is transmitted to described user with the described WAP page by described third party's website.After described acting server is finished the conversion of the WAP page, this WAP page is sent to third party's website, and then the portable terminal that this WAP page is sent to the user is shown by third party's website.For the user, this WAP page is transparent.
For the method for setting up the WAP website fast is described better, schematic diagram below in conjunction with this method describes, please refer to Fig. 3, Fig. 3 is the schematic diagram of the method for setting up the WAP website fast according to an aspect of the present invention, as shown in the figure, in step S301, when the user passes through its mobile terminal accessing third party website, send access request to third party's website via wireless network, wherein said access request is the WAP URL of this third party's website;
In step S302, third party's website is received user's access request, and the visit that detects this WAP URL need be sent to described acting server with described URL by open interface through behind the acting server;
In step S303, described acting server is according to the conversion standard of WWW URL and WAP URL, the WAP URL that receives is reduced to WWW URL, wherein, described WWW URL comprises the top-level domain as the domain name of website to be visited own, with the subdomain name of a plurality of different stages of opening according to this top-level domain, such as second level domain or three grades of domain names, or the like; Each URL among the described WAP URL respectively with described WWW URL in each URL corresponding according to certain conversion standard.Described conversion standard, can be acquiescence conversion standard, promptly formulating between acting server and the third party's website in the open interface, just defined the corresponding relation between WWW URL and the WAP, for all third party's websites, when being converted into WAP URL, all the WWW URL under its domain name all need to follow identical conversion standard.
Preferably, described conversion standard also can be carried out self-defined, formulates the corresponding relation between all WWW URL and WAP URL under its domain name voluntarily by described third party's website, and this conversion standard is committed to acting server, is used for the reduction to WAP URL.
In step S304, described acting server grasps user's page to be visited according to WWW URL from the third party website;
In step S305, described acting server is to be suitable for the WAP page that portable terminal shows with the conversion of page that grasps; Preferably, third party's website can customize the display effect of the WAP page on portable terminal.Third party's website can define a series of conversion instruction by expanding its HTML comment tag, when acting on behalf of the server conversion WAP page, according to the conversion instruction in the HTML comment tag, the WAP page is handled, such as, main part in the mark WAP page or some in the folding WAP page need not the web page blocks that shows at portable terminal etc.The display effect of the customization WAP page neither influences the visit to third party's website of browser, and the page of third party's website is shown on portable terminal better.
Then, execution in step S306, the WAP page after described acting server will be changed is sent to third party's website;
At last, execution in step S307, the page after third party's website will be changed are sent on user's the portable terminal and show.
Fig. 4 is the schematic diagram of the acting server of setting up the WAP website fast according to a further aspect of the present invention, and as shown in the figure, acting server 40 comprises requesting processing 401, webpage acquiring unit 402, webpage converting unit 403 and content sending unit 404.
Requesting processing 401 is used to receive the request of the described third party's website of user capture that third party's website transmits.When the user passes through mobile terminal accessing third party website, send network address to be visited, be that WAP URL is to third party's website, after third party's website is received user's request, this WAP URL is forwarded to requesting processing 401 through open interface, wherein, third party's website preestablishes and all need pass through described acting server 40 to the visit of this WAP URL.
After requesting processing 401 is received described request, WAP URL is reduced to WWWURL, and described WWW URL is sent to webpage acquiring unit 402.Wherein, described WWW URL comprises the subdomain name of a plurality of different stages of opening as the top-level domain of the domain name of website to be visited own with according to this top-level domain, such as second level domain or three grades of domain names, or the like; Each URL among the described WAP URL respectively with described WWW URL in each URL corresponding according to certain conversion standard.Described conversion standard, can be acquiescence conversion standard, promptly formulating between acting server 40 and the third party's website in the open interface, just defined the corresponding relation between WWW URL and the WAP, for all third party's websites, when being converted into WAP URL, all the WWW URL under its domain name all need to follow identical conversion standard.
Preferably, described conversion standard also can be carried out self-defined, formulate the corresponding relation between all WWW URL and WAP URL under its domain name voluntarily by described third party's website, and this conversion standard is committed to acting server 40, be used for the reduction of 401 couples of WAP URL of requesting processing.
Webpage acquiring unit 402 is used for obtaining according to described request the page of described third party's website.Webpage acquiring unit 402 grasps the webpage of third party's website to be visited according to WWW URL after receiving WWW URL after the reduction.
Webpage converting unit 403 is used for described conversion of page is the WAP page towards portable terminal.Webpage acquiring unit 402 is sent to webpage converting unit 403 with this page after obtaining the page of third party's website according to WWW URL, and the page of 403 pairs of these websites of webpage converting unit is changed, and makes it to become the WAP page that is suitable for the portable terminal demonstration.
Preferably, third party's website can customize the display effect of the WAP page on portable terminal.Third party's website can define a series of conversion instruction by expanding its HTML comment tag, in the time of the webpage converting unit 403 conversion WAP pages, according to the conversion instruction in the HTML comment tag, the WAP page is handled, such as, main part in the mark WAP page or some in the folding WAP page need not the web page blocks that shows at portable terminal etc.The display effect of the customization WAP page neither influences the visit to third party's website of browser, and the page of third party's website is shown on portable terminal better.
Content sending unit 404 is used for the described WAP page is transmitted to described user by described third party's website.Content sending unit 404 is sent to third party's website with this WAP page, and then by third party's website the portable terminal that this WAP page is sent to the user is shown after receiving the WAP page that webpage converting unit 403 converts.For the user, this WAP page is transparent.
More than specific embodiments of the invention are described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the appended claims.

Claims (18)

1. method of setting up the WAP website, this method may further comprise the steps:
Acting server receives the request of the described third party's site page of user capture of third party's website forwarding;
Described acting server obtains the page of described third party's website according to described request;
Described acting server is the WAP page towards portable terminal with described conversion of page;
Described acting server is transmitted to described user with the described WAP page by described third party's website.
2. method according to claim 1, wherein said acting server receives described request by open interface.
3. method according to claim 1 and 2, wherein said request are the WAP URL of described third party's site page.
4. method according to claim 1 and 2, wherein:
Described acting server is reduced to WWWURL with the WAP URL of described third party's Website page, and obtains the page of described third party's website according to described WWW URL.
5. method according to claim 4, wherein:
Described WWW URL comprises as the top-level domain of the domain name of this website own and a plurality of different stage subdomain names of opening according to this top-level domain;
Each element among the described WAP URL is corresponding with each element among the described WWW URL respectively based on the intended conversion rule.
6. method according to claim 5, wherein:
The corresponding relation of definition WWW URL and WAP URL when formulating described open interface.
7. method according to claim 5, wherein:
Specify the corresponding relation of all WWW URL and WAP URL under its domain name by described third party's website.
8. method according to claim 1 wherein customizes the conversion effect of the described WAP page by conversion instruction.
9. method according to claim 8, wherein said conversion instruction is by the definition of expansion HTML comment tag.
10. acting server of setting up the WAP website comprises:
Requesting processing is used to receive the request of the described third party's site page of user capture that third party's website transmits;
The webpage acquiring unit is used for obtaining according to described request the page of described third party's website;
The webpage converting unit is used for described conversion of page is the WAP page towards portable terminal;
Content sending unit is used for the described WAP page is transmitted to described user by described third party's website.
11. acting server according to claim 10, wherein said requesting processing receives described request by open interface.
12. according to claim 10 or 11 described acting servers, wherein said request is the WAP URL of described third party's site page.
13. according to claim 10 or 11 described acting servers, wherein:
Described webpage acquiring unit is reduced to WWW URL with the WAP URL of described third party's Website page, and obtains the page of described third party's website according to described WWW URL.
14. acting server according to claim 13, wherein:
Described WWW URL comprises as the top-level domain of the domain name of this website own and a plurality of different stage subdomain names of opening according to this top-level domain;
Each element among the described WAP URL is corresponding with each element among the described WWW URL respectively based on the intended conversion rule.
15. acting server according to claim 14, wherein:
The corresponding relation of definition WWW URL and WAP URL when formulating described open interface.
16. acting server according to claim 14, wherein:
Specify the corresponding relation of all WWW URL and WAP URL under its domain name by described third party's website.
17. acting server according to claim 10 wherein customizes the conversion effect of the described WAP page by conversion instruction.
18. acting server according to claim 10, wherein said conversion instruction is by the definition of expansion HTML comment tag.
CN201010570502.XA 2010-12-02 2010-12-02 Method and equipment for establishing WAP (Wireless Application Protocol) site Active CN102025779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010570502.XA CN102025779B (en) 2010-12-02 2010-12-02 Method and equipment for establishing WAP (Wireless Application Protocol) site

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010570502.XA CN102025779B (en) 2010-12-02 2010-12-02 Method and equipment for establishing WAP (Wireless Application Protocol) site

Publications (2)

Publication Number Publication Date
CN102025779A true CN102025779A (en) 2011-04-20
CN102025779B CN102025779B (en) 2014-08-20

Family

ID=43866625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010570502.XA Active CN102025779B (en) 2010-12-02 2010-12-02 Method and equipment for establishing WAP (Wireless Application Protocol) site

Country Status (1)

Country Link
CN (1) CN102025779B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843399A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Method for accessing webpage and server
CN103139258A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and device and system for processing page access requests of mobile terminal
CN105787038A (en) * 2016-02-25 2016-07-20 北京搜狗科技发展有限公司 Method and electronic equipment for exploring transformation rule of uniform resource locators

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039357A (en) * 2006-03-17 2007-09-19 陈晓月 Method for browsing website using handset
CN101539934A (en) * 2009-03-30 2009-09-23 北京跳网无限科技发展有限公司 Method for inserting advertisements in WAP web page
CN101772196A (en) * 2008-12-30 2010-07-07 中国移动通信集团公司 Method and system for processing message sent by mobile terminal and acting server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039357A (en) * 2006-03-17 2007-09-19 陈晓月 Method for browsing website using handset
CN101772196A (en) * 2008-12-30 2010-07-07 中国移动通信集团公司 Method and system for processing message sent by mobile terminal and acting server
CN101539934A (en) * 2009-03-30 2009-09-23 北京跳网无限科技发展有限公司 Method for inserting advertisements in WAP web page

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843399A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Method for accessing webpage and server
CN102843399B (en) * 2011-06-23 2017-10-03 腾讯科技(深圳)有限公司 A kind of method and a kind of server for accessing webpage
CN103139258A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and device and system for processing page access requests of mobile terminal
WO2013078830A1 (en) * 2011-11-30 2013-06-06 百度在线网络技术(北京)有限公司 Method, device, and system for processing webpage access request of mobile terminal
CN105787038A (en) * 2016-02-25 2016-07-20 北京搜狗科技发展有限公司 Method and electronic equipment for exploring transformation rule of uniform resource locators
CN105787038B (en) * 2016-02-25 2019-04-30 北京搜狗科技发展有限公司 A kind of method and electronic equipment for excavating uniform resource locator transformation rule

Also Published As

Publication number Publication date
CN102025779B (en) 2014-08-20

Similar Documents

Publication Publication Date Title
KR100460276B1 (en) An internet service apparatus and service method
CN103220371B (en) Content adaptation method and system
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN102780711B (en) A kind of SNS application data access method and device thereof and system
KR101424261B1 (en) Method for prviding mobile web service and a mobile phone for excuting the method
CN101202755A (en) System, method and device for displaying picture of mobile terminal
CN103384993B (en) The reorientation method of user equipment access webpage, gateway and server
CN102130941A (en) Information system of mobile communication terminal and information sharing method thereof
CN104283895A (en) Compulsive portal authentication control system and method used for wireless router
CN101635887A (en) Method for reading website information through mobile phone short message
CN104978358A (en) Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying
CN102130952A (en) Method and device for forwarding hyper text transport protocol (HPPT) request message of mobile terminal
CN102025779B (en) Method and equipment for establishing WAP (Wireless Application Protocol) site
CN107463536A (en) A kind of method and system for realizing document in online preview server in Android device
KR20020076891A (en) Wireless-internet connection system
CN101355530A (en) System and method for publishing information based on wireless router
CN102209086A (en) Method, device and system for accessing Internet
CN101790135A (en) Interactive mobile paper
CN101257501A (en) Data leading-in method, system as well as Web server
CN103368961A (en) Method for multi-screen interaction through social network
JP2008028972A (en) Method of accessing homepage from cellular phone
CN102866880A (en) System and method for self-design of mobile phone page layout by mobile user
CN201957069U (en) Wireless URL server and internet accessing system
CN101969619A (en) Method and device for mobile terminals to share resources
CN102761820A (en) Method, device and system for realizing information throwing service

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