CN102104578A - Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform - Google Patents
Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform Download PDFInfo
- Publication number
- CN102104578A CN102104578A CN2009101554969A CN200910155496A CN102104578A CN 102104578 A CN102104578 A CN 102104578A CN 2009101554969 A CN2009101554969 A CN 2009101554969A CN 200910155496 A CN200910155496 A CN 200910155496A CN 102104578 A CN102104578 A CN 102104578A
- Authority
- CN
- China
- Prior art keywords
- subobject
- request
- interface
- iweb
- client
- 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
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method for realization of WAP (Wireless Application Protocol) browsing under a BREW (Binary Runtime Environment for Wireless) platform. The method comprises the following steps of: initiating a request of a target webpage needed to be browsed by a cell phone client, enabling the request to reach a WAP gateway through a mobile network, initiating a corresponding request to a target content server by the WAP gateway through an ISP (Internet Service Provider) public network outlet, responding the request and sending the webpage content to a WAP gateway server in an XML (Extensive Markup Language) data stream mode by the target content server, receiving the XML data stream by the WAP gateway server, returning the XML data stream to the client through the mobile network after encoding, resolving response information by the client after the response information is received by the client, and displaying the response information on the client in a webpage mode.
Description
Technical field
The present invention relates under the BREW mobile platform to realize the method for browsing page, specifically a kind ofly under the BREW mobile platform, realize the method that WAP browses by the mode of creating IWeb interface and IWeb subobject interface with the WAP dial mode.
Background technology
The BREW surfing Internet with cell phone mainly contains 2 kinds of modes, a kind of is to dial by NET, this moment, client was in the public network network segment, another kind is the WAP dialing, this moment, client was in the private network network segment, when client was positioned at the WAP page on the public network server by the request of WAP dial mode, because client is in the private network network segment, need be mapped on the public network this moment by the client-requested that WAP gateway will be positioned at the private network network segment.For subobject embedded in the webpage, client need be initiated once more could be in client process to the request of these subobjects, and the client-requested of initiating once more need could arrive the public network server at subobject place equally through the WAP gateway agency, if act on behalf of then client will can not arrive public network server to the request of subobject through WAP gateway, thereby client can not correctly show the content of subobject, thereby make when the binary runtime environment for wireless mobile phone is developed browser by browser interface, under the WAP network access, the problem that image content can't correctly show in the webpage.
Summary of the invention
In order to solve above-mentioned traditional problem, therefore one object of the present invention is exactly to have proposed a kind of method that WAP browses that realizes under binary runtime environment for wireless, comprise that cell-phone customer terminal under the binary runtime environment for wireless initiates the request of target web that needs are browsed, should ask to arrive WAP gateway by the mobile network, WAP gateway is initiated corresponding requests by the outlet of ISP public network to the object content server according to the solicited message that receives, the request that object content server response WAP gateway server sends over also sends to the WAP gateway server with web page contents with the form of XML data flow, the WAP gateway server receives this XML data flow to carry out returning client by the mobile network after the encoding process, and client is received and response message resolved by IHtmlViewer after the response message and be presented at client with form web page.
Wherein the cell-phone customer terminal under the binary runtime environment for wireless is initiated the request of target web that needs are browsed, further comprises:
Create the IWeb interface and the Iweb subobject interface of binary runtime environment for wireless;
Registration IWeb request call back function is used for the information that processing server is returned;
The WAP gateway agency of IWeb subobject interface and the WAP gateway agency of IWeb interface are set;
The IWeb interface is initiated the request to webpage;
Server end on the public network responds this request and gives the WAP gateway server with the content that the form of XML data flow returns requests for page;
The information that IWeb interface call back function processing server returns;
Load the XML data flow, the IhtmlViewer interface is with html format analyzing XML data flow, display document content.
Wherein when containing subobject in the XML data flow, further may further comprise the steps:
When containing subobject in the XML data flow, IWeb subobject interface is initiated the request to subobject, and the client-requested that the WAP gateway agency of the IWeb subobject interface by previous setting will be in the private network network segment is mapped to the server at the subobject place that is in the public network network segment;
Server returns the content of subobject with the XML data stream format;
Client receives the XML data flow and parses the subobject content and subobject is presented at client by the IhtmlViewer interface.
IWeb interface wherein is used for the webpage of request is initiated request.
Wherein IWeb subobject interface is used for the subobject initiation request of the XML data flow of public network destination server feedback.
Utilize said method can solve when the binary runtime environment for wireless mobile phone is developed browser by browser interface the problem that image content can't correctly show in the webpage under the WAP network access.
Description of drawings
In conjunction with accompanying drawing subsequently, what may be obvious that from following detailed description draws above-mentioned and other purpose of the present invention, feature and advantage.In the accompanying drawings:
Fig. 1 has provided WAP and has browsed flow chart;
Fig. 2 has provided WAP dialing web-page requests flow chart;
Fig. 3 has provided client process flow figure under the WAP dial mode.
Embodiment
To at length discuss hereinafter, the disclosure can adopt the embodiment of the embodiment of complete hardware, complete software or comprise the form of both embodiment of hardware and software element.In a preferred embodiment, the disclosure can be implemented with software, and it can be including, but not limited to firmware, resident software, microcode or the like.
As shown in Figure 1, a kind of method that WAP browses that realizes under binary runtime environment for wireless is provided, comprise that cell-phone customer terminal under the binary runtime environment for wireless initiates the request of target web that needs are browsed, should ask to arrive WAP gateway by the mobile network, WAP gateway is initiated corresponding requests by the outlet of ISP public network to the object content server according to the solicited message that receives, the request that object content server response WAP gateway server sends over also sends to the WAP gateway server with web page contents with the form of XML data flow, the WAP gateway server receives this XML data flow to carry out returning client by the mobile network after the encoding process, and client is received and response message resolved by IHtmlViewer after the response message and be presented at client with form web page.
Be the WAP dial mode flow process of web-page requests next time as shown in Figure 2, the IWeb interface that has provided binary runtime environment for wireless under the WAP dial mode in conjunction with Fig. 3 in detail comprises the request process of webpage and the IHtmlViewer interface resolving to the XML data flow:
Create the IWeb interface and the Iweb subobject interface of binary runtime environment for wireless;
Registration IWeb request call back function is used for the information that processing server is returned;
The WAP gateway agency of IWeb subobject interface and the WAP gateway agency of IWeb interface are set;
The IWeb interface is initiated the request to webpage;
Server end on the public network responds this request and returns to the WAP gateway server with the content that the form of XML data flow returns requests for page;
The information that IWeb interface call back function processing server returns;
Load the XML data flow, the IhtmlViewer interface is with html format analyzing XML data flow, display document content.
Wherein when containing subobject in the XML data flow, further may further comprise the steps:
When containing subobject in the XML data flow, IWeb subobject interface is initiated the request to subobject, and the client-requested that the WAP gateway agency of the IWeb subobject interface by previous setting will be in the private network network segment is mapped to the server at the subobject place that is in the public network network segment;
Server returns the content of subobject with the XML data stream format;
Client receives the XML data flow and parses the subobject content and subobject is presented at client by the IhtmlViewer interface.
IWeb interface wherein is used for the webpage of request is initiated request;
Wherein IWeb subobject interface is used for the subobject initiation request of the XML data flow of public network destination server feedback.
Claims (5)
1. under binary runtime environment for wireless, realize the method that WAP browses for one kind, it is characterized in that comprising that cell-phone customer terminal under the binary runtime environment for wireless initiates the request of target web that needs are browsed, should ask to arrive WAP gateway by the mobile network, WAP gateway is initiated corresponding requests by the outlet of ISP public network to the object content server according to the solicited message that receives, the object content server responds this request and web page contents is sent to the WAP gateway server with the form of XML data flow, the WAP gateway server receives this XML data flow to carry out returning client by the mobile network after the encoding process, and client is received and response message resolved by IHtmlViewer after the response message and be presented at client with form web page.
2. according to claim 1, wherein the cell-phone customer terminal under the binary runtime environment for wireless is initiated the request of target web that needs are browsed, further comprises:
A1: IWeb interface and the Iweb subobject interface of creating binary runtime environment for wireless;
A2: registration IWeb request call back function is used for the information that processing server is returned;
A3: the WAP gateway agency of IWeb subobject interface and the WAP gateway agency of IWeb interface are set;
The A4:IWeb interface is initiated the request to webpage;
A5: the server end on the public network responds this request and gives the WAP gateway server with the content that the form of XML data flow returns requests for page;
A6:IWeb interface call back function is handled the information that the WAP gateway server returns;
A7: load the XML data flow, the IhtmlViewer interface is with html format analyzing XML data flow, display document content.
3. further comprise according to the XML data flow that loads in claim 2 steps A 7:
B1: when containing subobject in the XML data flow, IWeb subobject interface is initiated the request to subobject, and the client-requested that the WAP gateway agency of the IWeb subobject interface by previous setting will be in the private network network segment is mapped to the server at the subobject place that is in the public network network segment;
B2: server returns the content of subobject with the XML data stream format;
B3: client receives the XML data flow and parses the subobject content and subobject is presented at client by the IhtmlViewer interface.
4. further comprise according to IWeb interface in claim 2 steps A 1 webpage of request is initiated request.
5. further comprise according to IWeb subobject interface in claim 2 steps A 1 subobject in the XML data flow of public network destination server feedback is initiated request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101554969A CN102104578A (en) | 2009-12-16 | 2009-12-16 | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101554969A CN102104578A (en) | 2009-12-16 | 2009-12-16 | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102104578A true CN102104578A (en) | 2011-06-22 |
Family
ID=44157112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101554969A Pending CN102104578A (en) | 2009-12-16 | 2009-12-16 | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102104578A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532941A (en) * | 2013-09-30 | 2014-01-22 | 华为技术有限公司 | Graphical page presentation method and device in CGS (client gateway server) mode |
CN106997298A (en) * | 2016-01-22 | 2017-08-01 | 阿里巴巴集团控股有限公司 | A kind of application resource acquisition methods and device |
CN107423449A (en) * | 2017-08-17 | 2017-12-01 | 深圳市海云天科技股份有限公司 | A kind of video record examination progress monitoring method and system |
-
2009
- 2009-12-16 CN CN2009101554969A patent/CN102104578A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532941A (en) * | 2013-09-30 | 2014-01-22 | 华为技术有限公司 | Graphical page presentation method and device in CGS (client gateway server) mode |
CN103532941B (en) * | 2013-09-30 | 2017-07-07 | 华为技术有限公司 | The method and device that the graphical page is presented under a kind of CGS patterns |
CN106997298A (en) * | 2016-01-22 | 2017-08-01 | 阿里巴巴集团控股有限公司 | A kind of application resource acquisition methods and device |
CN107423449A (en) * | 2017-08-17 | 2017-12-01 | 深圳市海云天科技股份有限公司 | A kind of video record examination progress monitoring method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9571556B2 (en) | Browser kernel adaptation method and browser therefor | |
CN102780711B (en) | A kind of SNS application data access method and device thereof and system | |
US9639629B1 (en) | Accelerating the downloading of content to an application | |
EP1929750B1 (en) | Method and device for invoking midlets from a web browser on a local device | |
US20040186883A1 (en) | Method and apparatus for interfacing web services with mobile terminal applications during a browser or SIP session | |
CN101178717A (en) | Method for adaptation processing web page and web page adaptation device | |
JP2007149099A (en) | Service broker integration layer for supporting telecommunication client service request | |
CN104378399B (en) | A kind of data push method, Platform Server, client and system | |
KR101455625B1 (en) | Method for enriching content of a web page with presence information | |
US20110153868A1 (en) | Cloud-Based Application For Low-Provisioned High-Functionality Mobile Station | |
CN103024933A (en) | Mobile Internet access system and mobile Internet access method | |
CN103853767A (en) | Method and device for sharing social circle based on browser | |
CN103873918A (en) | Picture processing method, device and terminal | |
CN103179159B (en) | A kind of method and terminal browser processing third-party application | |
CN101771928B (en) | Method and system and proxy server for Webpage transmitting | |
WO2012151838A1 (en) | Terminal based information display method, device and system | |
US20080081621A1 (en) | Method and device for implementing WAP browse service | |
CN102104578A (en) | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform | |
JP5628865B2 (en) | Call support apparatus, program, and method | |
WO2013082898A1 (en) | Method, terminal, server and system for presenting service data | |
WO2013078838A1 (en) | Method and system of function callback | |
JP5916169B2 (en) | System and method for activating a mobile device to initiate communication | |
CN103440134A (en) | Webkit kernel-based storage resource service local extension method | |
CN101459887A (en) | Implementing method for information interaction between mobile and computer | |
US20080133367A1 (en) | Advertisement for a mobile terminal device in connection with a service and a server for implementing the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110622 |