CN102332019A - Method and system for converting web site to wap site - Google Patents

Method and system for converting web site to wap site Download PDF

Info

Publication number
CN102332019A
CN102332019A CN201110282807A CN201110282807A CN102332019A CN 102332019 A CN102332019 A CN 102332019A CN 201110282807 A CN201110282807 A CN 201110282807A CN 201110282807 A CN201110282807 A CN 201110282807A CN 102332019 A CN102332019 A CN 102332019A
Authority
CN
China
Prior art keywords
website
conversion
wap
paat
web
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
CN201110282807A
Other languages
Chinese (zh)
Other versions
CN102332019B (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.)
IZP (BEIJING) TECHNOLOGIES CO LTD
Izp China Network Technology Co ltd
Original Assignee
BEIJING IZP TECHNOLOGIES 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 IZP TECHNOLOGIES Co Ltd filed Critical BEIJING IZP TECHNOLOGIES Co Ltd
Priority to CN201110282807.5A priority Critical patent/CN102332019B/en
Publication of CN102332019A publication Critical patent/CN102332019A/en
Application granted granted Critical
Publication of CN102332019B publication Critical patent/CN102332019B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a method and a system for converting a web site to a wap site, wherein the method comprises the following steps: associating contents of the web site with corresponding conversion and configuration information of the wap site, wherein the conversion and configuration information of the wap site comprises an access home page of the wap site, the conversion way and information of a page link conversion inlet; extracting the conversion and configuration information of the wap site according to an access request which corresponds to the wap site and is submitted by a mobile terminal; and entering into the corresponding home page of the wap site according to the access home page of the wap site, adopting the corresponding conversion way to convert the contents of the web site to the contents of the wap site and pointing a link in the page to the page link conversion inlet. By adopting the method and the system, the dynamic website can be converted in a real-time manner, and the high maintenance cost is not required; simultaneously, the operation of a user and a webmaster are simpler and faster.

Description

A kind of web website is transformed into the method and system of wap website
Technical field
The application relates to the technical field of internet, particularly relates to a kind of web website and is transformed into the method for wap website and the system that a kind of web website is transformed into the wap website.
Background technology
In recent years, mobile communication and internet combine the mobile Internet (mainly referring to the wap network here) of formation, and it is fast to become development, and prospect is tempting, the business that market is huge.(share that mobile Internet occupies in whole internet is increasing for 3rd-generation, fast-developing and application 3G) along with the 3G (Third Generation) Moblie technology of supporting high speed data transfer.
But because historical reasons, the content on the internet mainly concentrates on the web website.There is network address most web website and does not have a content on mobile Internet, and demonstration that can not adaptive portable terminal.This shows, the web web site contents is carried out content migration or duplicates more and more necessary to the wap website of mobile Internet.
In the prior art, proposed the web website is transformed into two kinds of common technologies of wap website:
First kind is the scheme that adopts the client software conversion, adopts this scheme that the web website is transformed into the wap website and may further comprise the steps:
S11, will dispose on the internet, can be directly the content of web website (being website on the line) through internet access, download to this locality web site contents of local backup (or directly use), form a plurality of web page files and file that off-line is deposited;
S12, to web web site contents input web2wap converse routine, web2wap converse routine (web2wap is a kind of program that the web website is transformed into the wap website), in reality, this step need be operated by manual work;
S13, result's (portable terminal wap web site contents) that the web2wap converse routine is changed are kept at this locality;
S14, these conversions that this locality is preserved are good, adapt to content release website to the line of web page files and the file of wap network browsing, let and use the user of mobile Internet to browse.
Second kind is the scheme that adopts the high in the clouds conversion, adopts this scheme that the web website is transformed into the wap website and may further comprise the steps:
S21, mobile phone users use transform engine visit web website, web2wap high in the clouds through browser, form as: Http:// gate.example.com? Src=http: //www.abc.com, promptly the user need will import the network address of above form in browser's address bar;
S22, web2wap high in the clouds transform engine proxy user visit web website;
S23, web website are returned to web2wap high in the clouds transform engine to web site contents;
After S24, web2wap high in the clouds transform engine carry out adaptive conversion process, portable terminal is fit to browsed content sends to the user.
For the scheme of above-mentioned first kind of client software conversion, mainly contain following defective:
Only can change static page, conversion dynamic page that can not be real-time; The maintaining web cost is high, unsuitable extensive the use.
Because scheme one must have a link, with the download content of web website, change, be kept on the local computer, change with the web2wap converse routine.Yet the static page file that exists on the computer can only be handled and changed to the web2wap converse routine, and dynamic page is that program is handled output in real time, does not have such pagefile, so can't change out dynamic page.
Moreover large-scale slightly website, having thousands of the pages on the one hand, major part all is a dynamic page on the other hand.Use the common table top application software to remove to handle the thousands of page, the speed of processing and the real-time of maintenance all are very big problems, so unsuitable extensive the use.
And deal with scheme for second kind of high in the clouds, and the main defective of existence is: it is not convenient to import, and the main body of internet content---the site owner uses inconvenience.
This scheme will be through browser by means of web2wap high in the clouds transform engine visit web website; In browser, importing wap.example.com such as the common cellular network standing-meeting of user capture visits; And when using this technical scheme, just need in browser's address bar, to import at least Http:// gate.baidu.com/tc? Src=http: //www.example.com, the input content of these increases when using mobile terminal accessing, will seem very inconvenient, because the input method of portable terminal does not have the input method on the PC fast rapid.
From site owner's angle, the original operation of these head of a station is similar to Www.example.comThe website, with transfer of content portable terminal internet the time, use the domain name access website of wap.example.com can meet user's use habit more.If want the user to use similarly Http:// gate.baidu.com/tc? Src=http: //www.example.comGo access websites, can not satisfy the head of a station's operation requirement.
Therefore, need the urgent technical matters that solves of those skilled in the art to be exactly at present: can change dynamic website in real time, not need high maintenance cost again; Make user and site owner's operation all more simple simultaneously, quick.
Summary of the invention
The application's technical matters to be solved provides the method that a kind of web website is transformed into the wap website, to realize that the web network switch to wap network dynamic translation, does not need high maintenance cost again; Make user and site owner's operation all more simple simultaneously, quick.
The system that the application also provides a kind of web website to be transformed into the wap website is in order to guarantee application and the realization of said method in reality.
In order to address the above problem, the application embodiment discloses the method that a kind of web website is transformed into the wap website, comprising:
Conversion of related corresponding wap website and configuration information in the content of web website; The information that comprises visit homepage, conversion regime and the page link conversion inlet of wap website in conversion of said wap website and the configuration information;
The access request of the corresponding wap website of submitting to according to portable terminal is extracted conversion of said wap website and configuration information;
Visit homepage according to said wap website gets into corresponding wap website homepage, adopts corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link is pointed in the link in the page change inlet.
Preferably, the access request of the corresponding wap website that said portable terminal is submitted to comprises the wap website domain name that presets, and the step that the access request of said corresponding wap website of submitting to according to portable terminal is extracted conversion of wap website and configuration information comprises:
Resolve said wap website domain name, domain name is pointed to the head of a station's web server;
Said web server is directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that domain name is corresponding.
Preferably, said wap website conversion and configuration information are the iWap routine package, said in the content of web website related corresponding wap website conversion and the step of configuration information comprise:
By the head of a station said iWap routine package is copied in the root directory or sub-directory of web website.
Preferably, the visit homepage of said wap website is the iWap homepage, and the conversion inlet of said page link enters the mouth for the PAAT conversion and conversion regime is provided with in the PAAT translation-profile.
Preferably, said conversion regime comprises online in real time conversion regime and off-line non real-time conversion regime;
When said conversion regime is on the line in real time during conversion regime, in the PAAT translation-profile, be provided with as follows: the similarities and differences wherein go on foot Control Node asyn and are set to false;
When said conversion regime is that off-line non real-time conversion regime is provided with in the PAAT translation-profile as follows: similarities and differences step Control Node asyn wherein is set to true.
Preferably, also comprise in said wap website conversion and the configuration information: the visit home address of web website; The home address of said web website is provided with in the PAAT translation-profile.
Preferably, said visit homepage according to the wap website gets into corresponding homepage, adopts corresponding conversion regime to convert the content of said web website the content of wap website into, and the step that said page link conversion inlet is pointed in the link in the page is comprised:
Call the iWap homepage, comprise the inlet file of PAAT class libraries in the said iWap homepage;
Said iWap homepage is called the PAAT class libraries according to the inlet file of said PAAT class libraries;
Said PAAT class libraries is searched the PAAT translation-profile in the iWap routine package, said PAAT translation-profile is resolved, and obtains the information of conversion regime;
Said PAAT class libraries adopts corresponded manner to convert the homepage of said web website into the wap page according to said conversion regime information, and with the all-links in the page, all points to the conversion inlet of PAAT.
The application embodiment discloses the system that a kind of web website is transformed into the wap website, comprising:
The website relating module is used at related corresponding wap website conversion of the content of web website and configuration information; The visit homepage that comprises the wap website in conversion of said wap website and the configuration information, conversion regime, and the information of the conversion of page link inlet;
The wap information extraction modules is used for the access request according to the corresponding wap website of portable terminal submission, extracts conversion of said wap website and configuration information;
Modular converter is used for getting into corresponding wap website homepage according to the visit homepage of said wap website, adopts corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link is pointed in the link in the page change inlet.
Preferably, the access request of the corresponding wap website that said portable terminal is submitted to comprises the wap website domain name that presets, and said wap information extraction modules comprises:
The domain name mapping submodule is used to resolve said wap website domain name, domain name is pointed to the head of a station's web server;
The orientation for place submodule is used for by said web server being directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that said website domain name is corresponding.
Preferably, said wap website conversion and configuration information are the iWap routine package, and said wap website conversion and configuration information are related with the web web site contents, through the head of a station said iWap routine package are copied in root directory or the sub-directory of web website to generate.
Preferably, said modular converter comprises:
Homepage is called submodule, is used to call the iWap homepage, comprises the inlet file of PAAT class libraries in the said iWap homepage;
PAAT class library call submodule is used for calling the PAAT class libraries by said iWap homepage according to the inlet file of said PAAT class libraries;
Conversion regime obtains submodule, is used for searching the PAAT translation-profile by said PAAT class libraries at the iWap routine package, and said PAAT translation-profile is resolved, and obtains the information of conversion regime;
The conversion of page submodule is used for adopting corresponded manner to convert the homepage of said web website into the wap page by said PAAT class libraries according to said conversion regime information;
The link inlet points to submodule, is used for the all-links with the page, all points to the conversion inlet of PAAT.
Compared with prior art, the application has the following advantages:
The application realizes that through a kind of page self-adapted technology the web network switch is to wap network dynamic translation.Utilize the iWap routine package; IWap routine package decompress(ion) is copied under the root directory of web website; Reach related corresponding wap website conversion and the robotization of configuration information in the content of web website, the head of a station is according to actual needs to the configuration of each node of the PAAT class libraries iWap routine package in the iWap routine package under, the method facility before comparing operation; Provide cost savings the more convenient head of a station's application.
In addition in a kind of preferred embodiment of the application, the PAAT class libraries converts the homepage of said web website into the wap page according to information configured, and can all point to the conversion inlet of PAAT simultaneously with the all-links in the page.And only need submit the visit application of wap website to, just can accomplish the importing of all inlets.Dynamic translation technology before comparing, the input that more meets mobile phone users is demand easily.
Description of drawings
Fig. 1 is the flow chart of steps that a kind of web website of the application is transformed into the method embodiment of wap website;
Fig. 2 is the structured flowchart that a kind of web website of the application is transformed into the method embodiment of wap website.
Embodiment
For above-mentioned purpose, the feature and advantage that make the application can be more obviously understandable, the application is done further detailed explanation below in conjunction with accompanying drawing and embodiment.
The core idea of the application embodiment is, on the server of web website, builds the conversion environment by the head of a station, the web web site contents of head of a station's arrangement oneself and scheme of designing.The web2wap converse routine then is the instrument of the web web site contents of head of a station's arrangement oneself, thereby realizes the in real time seamless conversion of web web site contents to portable terminal wap web site contents of carrying out.
With reference to figure 1, a kind of web website that shows the application is transformed into the flow chart of steps of the method embodiment of wap website, specifically can may further comprise the steps:
Step 101, in the content of web website related corresponding conversion of wap website and configuration information;
Wherein, comprise the visit homepage of wap website in conversion of said wap website and the configuration information, conversion regime, the information of the domain name of wap website and the conversion of page link inlet.
In concrete the realization, conversion of said wap website and configuration information can be the iWap routine package, but are not limited to the iWap routine package.The iWap routine package is the routine package that is used to realize the concrete conversion to the wap website of web website, and in reality, the iWap routine package can be downloaded from the code trustship website of project official website and other mandates by the head of a station.The iWap routine package mainly comprises following content: PAAT (Page Automatic Adaptation Technology) class libraries (realizing the code packages of the page self-adapted technology of PAAT), iWap homepage index.php, PAAT conversion inlet gate.phpt and PAAT translation-profile paat.xml.Correspondingly, promptly in this preferred exemplary, the visit homepage of said wap website is the iWap homepage, and the conversion inlet of said page link is PAAT conversion inlet gate.phpt, and the conversion regime of indication then can be provided with in the PAAT translation-profile in the step 101.
As in a kind of example of the application embodiment in concrete the application; Said conversion regime can comprise that online in real time conversion regime and off-line non real-time conversion regime are in concrete the application; If the visit capacity of website itself is little, the user asks seldom, then can adopt the mode of online in real time conversion; If the visit capacity of website itself is bigger, the user asks too much, then can adopt the mode of off-line non real-time conversion.More specifically, when said conversion regime is on the line in real time during conversion regime, can in the PAAT translation-profile, be provided with as follows:
Similarities and differences step Control Node asyn wherein is set to false;
When said conversion regime is off-line non real-time conversion regime, can in the PAAT translation-profile, be provided with as follows:
Similarities and differences step Control Node asyn wherein is set to true.
It is understandable that the PAAT translation-profile is the file that is used to be provided with PAAT conversion relevant information.In conversion of said wap website and configuration information, the visit home address of web website can also be set further.More specifically, the home address of said web website also can be provided with in said PAAT translation-profile.
In a kind of preferred embodiment of the application; The step of said wap website conversion related corresponding in the content of web website and configuration information can for; By the head of a station said iWap routine package is copied in the contents directory of web website, the contents directory of said web website comprises the root directory or the sub-directory of web website.
Adopt the mode that directly said iWap routine package is copied to the root directory or the sub-directory of web website, not only make operation associated simply, convenient, make that also the operation of extracting conversion of wap website and configuration information is also very convenient, only need under assigned catalogue, to read and get final product.Especially said iWap routine package directly is copied to the interrelational form in the root directory of web website, because the copy and the operation of reading can directly accomplish, with the speed that more helps system handles with economize on resources under root directory.
In concrete the realization, conversion of related corresponding wap website and configuration information in the content of web website as follows:
1) head of a station downloads the iWap routine package from the code trustship website of project official website and other mandates, comprising PAAT class libraries (realizing the code packages of the page self-adapted technology of PAAT), iWap routine package homepage index.php, PAAT conversion inlet gate.phpt and PAAT translation-profile paat.xml.
2) head of a station is copied to the iWap routine package decompress(ion) of downloading under the root directory of web website.
3) in PAAT translation-profile paat.xml, index node default configuration the homepage of web website.In practical application, can be as required, this node is set to other page.
4) in PAAT translation-profile paat.xml, asyn node default configuration is false.In practical application, can be as required, this node is set to true.This configuration has determined it is to adopt the online in real time conversion regime, or off-line non real-time conversion regime.
5) wap website domain name (like wap.example.com) is set.
In reality; The domain name of said wap website can be provided with by the head of a station; For satisfying its operation demand; Making things convenient for mobile phone users input network address, can said wap website domain name directly be set to the form of shape such as www.xxx.com, and need not to be set to shape such as http://gate.baidu.com/tc like prior art? Src=http: //the www.xxx.com form.
Certainly, only as a kind of example, those skilled in the art can pass through the said method principle to above-mentioned instance, make more variation, as adopt other any method related corresponding wap website in the content of web website, conversion and configuration information; And, change conversion and information configured, the conversion that all is based on the application is used, and the application need not this is limited.
The access request of step 102, the corresponding wap website of submitting to according to portable terminal is extracted conversion of said wap website and configuration information;
In concrete the realization, the access request of the corresponding wap website that said portable terminal is submitted to comprises the wap website domain name that presets, and through wap website domain name is resolved, can domain name be pointed to the head of a station's web server; The configuration of fictitious host computer on the web server will navigate to the iWap routine package through the request that wap website domain name is come then.
More specifically, in a kind of preferred embodiment of the application, said step 102 can comprise following substep:
Substep S21, resolve said wap website domain name, domain name is pointed to the head of a station's web server;
Substep S22, said web server are directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that domain name is corresponding.
For example, in reality, can extract conversion of said wap website and configuration information through the access request of following steps according to the corresponding wap website of portable terminal submission:
1) the wap network user uses wap website domain name (like wap.example.com) to send browse request.
2) the dns resolution server of domain name provider (like ten thousand nets) is responsible for domain name is directed to the head of a station's web server.
3) wap website domain name will be set, the iWap routine package under parsing to the website root directory; Through the parsing of domain name, with this visit of wap user, point to the iWap routine package in the iWap routine package, visit homepage index.php, iWap routine package be decompress(ion) and being copied under the root directory of web website.
4) configuration of the fictitious host computer on the web server will be directed to the iWap routine package through the request that wap website domain name is come.
5) in iWap homepage index.php, can call the class libraries of PAAT; Corresponding access request, the configuration information of use xml resolver resolves xml configuration file paat.xml obtains corresponding conversion of wap website and configuration information; The page that definite request need be opened and the conversion regime that adopts.
Step 103, get into corresponding wap website homepage, adopt corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link conversion inlet is pointed in the link in the page according to the visit homepage of said wap website.
In concrete the realization; Saidly adopt content that corresponding conversion regime converts the content of said web website into the wap website in the iWap routine package, transferring the PAAT class libraries; In the PAAT class libraries, search configuration file; The PAAT class libraries is resolved according to the configuration information of paat.xml, obtain the information of conversion regime.According to the information of conversion regime, the web conversion of page is become the wap page, comprising with the all-links in the page, all point to the conversion inlet of PAAT.
In a kind of preferred embodiment of the application, said step 103 can comprise following substep:
Substep S31, call the iWap homepage, comprise the inlet file of PAAT class libraries in the said iWap homepage;
Substep S32, said iWap homepage are called the PAAT class libraries according to the inlet file of said PAAT class libraries;
Substep S33, said PAAT class libraries are searched the PAAT translation-profile in the iWap routine package, said PAAT translation-profile is resolved, and obtain the information of conversion regime;
Substep S34, said PAAT class libraries adopt corresponded manner to convert the homepage of said web website into the wap page according to said conversion regime information, and with the all-links in the page, all point to the conversion inlet of PAAT.
Certainly, only as a kind of example, those skilled in the art can pass through the said method principle to the foregoing description, make more variation, as adopt other any method to extract conversion of wap website and configuration information; And, to adopt other any method to change web website domain name and convert wap website domain name into, the conversion that all is based on the application is used, and the application need not this is limited.
Those skilled in the art understand the application better for ease, below illustrate further the application through a complete example:
Suppose currently need convert web website www.exlets.com to the wap website, then adopt the application embodiment to operate as follows:
At first the head of a station downloads the iWap routine package from the code trustship website of project official website and other mandates, and the routine package of decompress(ion) iWap.
1) the iWap routine package behind the decompress(ion) is copied to Www.exlets.comUnder the root directory of website, and wap website domain name (like wap.example.com) is set.
2) the index node of the paat.xml under the preparation iWap routine package, because Www.exlets.comThe homepage of website is index.html, so with the index node configuration of the paat.xml under the iWap routine package do Http:// www.exlets.com/index.html, it converts http://wap.exlets.com/index.php under the iWap routine package.
The mode of the webpage conversion of 3) selecting to adopt is false in the asyn node configuration of the following paat.xml of iWap routine package, and equipped with switches is changed in real time.
4) be iWap routine package configuration virtual main frame, wap.exlets.com is resolved to the iWap routine package.
5) user uses mobile phone access Http:// wap.exlets.comBrowse request is sent in the website.
6) the dns resolution server of domain name provider (like ten thousand nets) is responsible for domain name is directed to the head of a station's web server; Fictitious host computer configuration on the web server will be directed to the iWap routine package through the request that the wap.exlets.com domain name is come, and access the homepage index.php of configuration.
7) automatically perform the inlet file of PAAT class libraries; Because comprise the inlet file paat.php of PAAT class libraries among the iWap homepage index.php,, can automatically perform the inlet file paat.php of PAAT class libraries when the user asks index.php.
8) the PAAT class libraries is sought configuration file paat.xml down from the iWap routine package automatically; And the configuration information of use xml resolver resolves xml configuration file paat.xml; Parse the home address index.html of web website, and this conversion is the mode that real-time online commentaries on classics is handled;
9) the PAAT class libraries is according to the configuration information of paat.xml, and the use label is deleted function, html commentaries on classics xhtml function, label clearing function, content is simplified function, layout inference function and xhtml changes wml function etc., converts the homepage of web website into the wap page;
10) when the PAAT class libraries is thoroughly cleared up adjustment to the homepage of web website, the PAAT of all link pointing systems conversion inlet, no longer point to the web website, and guiding PAAT class libraries removes to change other pages of web website to guarantee original link.
Need to prove; For method embodiment, for simple description, so it all is expressed as a series of combination of actions; But those skilled in the art should know; The application does not receive the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action might not be that the application is necessary.
With reference to figure 2, a kind of web website that shows the application is transformed into the structured flowchart of the system embodiment of wap website, specifically can comprise with lower module:
Website relating module 201 is used at related corresponding wap website conversion of the content of web website and configuration information; The visit homepage that comprises the wap website in conversion of said wap website and the configuration information, conversion regime, the domain name of wap website, and, the conversion inlet of page link;
Wap information extraction modules 202 is used for the access request according to the corresponding wap website of portable terminal submission, extracts conversion of said wap website and configuration information;
Modular converter 203; Be used for getting into corresponding wap website homepage according to the visit homepage of said wap website; Adopt corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link is pointed in the link in the page change inlet.
As shown in Figure 2, said wap information extraction modules 202 links to each other with modular converter 203, and said wap information extraction modules 202, modular converter 203 link to each other with website relating module 201.
In concrete the realization, conversion of said wap website and configuration information can be the iWap routine package, and said wap website conversion and configuration information are related with the web web site contents, can said iWap routine package be copied in the contents directory of web website through the head of a station to generate.
More preferably, said iWap routine package can copy in the root directory or sub-directory of web website.
In said preferred embodiment, the visit homepage of said wap website is the iWap homepage, and the conversion inlet of said page link is PAAT conversion inlet, and the domain name of said conversion regime and wap website is provided with in the PAAT translation-profile.
As the concrete a kind of example used of the application embodiment, said conversion regime comprises online in real time conversion regime and off-line non real-time conversion regime.More specifically, when said conversion regime is on the line in real time during conversion regime, in the PAAT translation-profile, can be provided with as follows: the similarities and differences wherein go on foot Control Node asyn and are set to false;
When said conversion regime is that off-line non real-time conversion regime can be provided with in the PAAT translation-profile as follows: similarities and differences step Control Node asyn wherein is set to true.
In a kind of preferred embodiment of the application, can also comprise in conversion of said wap website and the configuration information: the visit home address of web website, the home address of said web website also can be provided with in the PAAT translation-profile.
In concrete the application, said wap information extraction modules can comprise following submodule:
The request submodule is used for the access request by the corresponding wap website of portable terminal submission, comprises the website domain name in the described request;
The domain name mapping submodule is used to resolve said website domain name, domain name is pointed to the head of a station's web server;
The orientation for place submodule is used for by said web server being directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that said website domain name is corresponding.
In the application's preferred embodiment, said modular converter specifically can comprise following submodule:
Homepage is called submodule, is used to call the iWap homepage, comprises the inlet file of PAAT class libraries in the said iWap homepage;
PAAT class library call submodule is used for calling the PAAT class libraries by said iWap homepage according to the inlet file of said PAAT class libraries;
Conversion regime obtains submodule, is used for searching the PAAT translation-profile by said PAAT class libraries at the iWap routine package, and said PAAT translation-profile is resolved, and obtains the information of conversion regime;
The conversion of page submodule is used for adopting corresponded manner to convert the homepage of said web website into the wap page by said PAAT class libraries according to said conversion regime information;
The link inlet points to submodule, is used for the all-links with the page, all points to the conversion inlet of PAAT.
In concrete the realization, said system embodiment can be arranged in a certain station server, or is arranged in the server cluster of distributed frame according to actual conditions, and the application does not limit this.
Because said system embodiment is basically corresponding to preceding method embodiment, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise DCE of above any system or equipment or the like.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in DCE, put into practice the application, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
More than a kind of web website that the application provided is transformed into the method for wap website and system that a kind of web website is transformed into the wap website has carried out detailed introduction; Used concrete example among this paper the application's principle and embodiment are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as the restriction to the application.

Claims (11)

1. a web website is transformed into the method for wap website, it is characterized in that, comprising:
Conversion of related corresponding wap website and configuration information in the content of web website; The information that comprises visit homepage, conversion regime and the page link conversion inlet of wap website in conversion of said wap website and the configuration information;
The access request of the corresponding wap website of submitting to according to portable terminal is extracted conversion of said wap website and configuration information;
Visit homepage according to said wap website gets into corresponding wap website homepage, adopts corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link is pointed in the link in the page change inlet.
2. the method for claim 1; It is characterized in that; The access request of the corresponding wap website that said portable terminal is submitted to comprises the wap website domain name that presets, and the step that the access request of said corresponding wap website of submitting to according to portable terminal is extracted conversion of wap website and configuration information comprises:
Resolve said wap website domain name, domain name is pointed to the head of a station's web server;
Said web server is directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that domain name is corresponding.
3. according to claim 1 or claim 2 method is characterized in that, conversion of said wap website and configuration information are the iWap routine package, said in the content of web website related corresponding wap website conversion and the step of configuration information comprise:
By the head of a station said iWap routine package is copied in the root directory or sub-directory of web website.
4. method as claimed in claim 3 is characterized in that, the visit homepage of said wap website is the iWap homepage, and the conversion inlet of said page link enters the mouth for the PAAT conversion and conversion regime is provided with in the PAAT translation-profile.
5. method as claimed in claim 4 is characterized in that, said conversion regime comprises online in real time conversion regime and off-line non real-time conversion regime;
When said conversion regime is on the line in real time during conversion regime, in the PAAT translation-profile, be provided with as follows: the similarities and differences wherein go on foot Control Node asyn and are set to false;
When said conversion regime is that off-line non real-time conversion regime is provided with in the PAAT translation-profile as follows: similarities and differences step Control Node asyn wherein is set to true.
6. method as claimed in claim 5 is characterized in that, also comprises in conversion of said wap website and the configuration information: the visit home address of web website; The home address of said web website is provided with in the PAAT translation-profile.
7. according to claim 1 or claim 2 method; It is characterized in that; Said visit homepage according to the wap website gets into corresponding homepage; Adopt corresponding conversion regime to convert the content of said web website the content of wap website into, and the step that said page link conversion inlet is pointed in the link in the page comprised:
Call the iWap homepage, comprise the inlet file of PAAT class libraries in the said iWap homepage;
Said iWap homepage is called the PAAT class libraries according to the inlet file of said PAAT class libraries;
Said PAAT class libraries is searched the PAAT translation-profile in the iWap routine package, said PAAT translation-profile is resolved, and obtains the information of conversion regime;
Said PAAT class libraries adopts corresponded manner to convert the homepage of said web website into the wap page according to said conversion regime information, and with the all-links in the page, all points to the conversion inlet of PAAT.
8. a web website is transformed into the system of wap website, it is characterized in that, comprising:
The website relating module is used at related corresponding wap website conversion of the content of web website and configuration information; The visit homepage that comprises the wap website in conversion of said wap website and the configuration information, conversion regime, and the information of the conversion of page link inlet;
The wap information extraction modules is used for the access request according to the corresponding wap website of portable terminal submission, extracts conversion of said wap website and configuration information;
Modular converter is used for getting into corresponding wap website homepage according to the visit homepage of said wap website, adopts corresponding conversion regime to convert the content of said web website the content of wap website into, and said page link is pointed in the link in the page change inlet.
9. system as claimed in claim 8 is characterized in that, the access request of the corresponding wap website that said portable terminal is submitted to comprises the wap website domain name that presets, and said wap information extraction modules comprises:
The domain name mapping submodule is used to resolve said wap website domain name, domain name is pointed to the head of a station's web server;
The orientation for place submodule is used for by said web server being directed to corresponding conversion of wap website and configuration information according to presetting the locating rule access request that said website domain name is corresponding.
10. like claim 8 or 9 described systems; It is characterized in that; Conversion of said wap website and configuration information are the iWap routine package; Said wap website conversion and configuration information are related with the web web site contents, through the head of a station said iWap routine package are copied in root directory or the sub-directory of web website to generate.
11., it is characterized in that said modular converter comprises like claim 8 or 9 described systems:
Homepage is called submodule, is used to call the iWap homepage, comprises the inlet file of PAAT class libraries in the said iWap homepage;
PAAT class library call submodule is used for calling the PAAT class libraries by said iWap homepage according to the inlet file of said PAAT class libraries;
Conversion regime obtains submodule, is used for searching the PAAT translation-profile by said PAAT class libraries at the iWap routine package, and said PAAT translation-profile is resolved, and obtains the information of conversion regime;
The conversion of page submodule is used for adopting corresponded manner to convert the homepage of said web website into the wap page by said PAAT class libraries according to said conversion regime information;
The link inlet points to submodule, is used for the all-links with the page, all points to the conversion inlet of PAAT.
CN201110282807.5A 2011-09-21 2011-09-21 A kind of web site is transformed into the method and system of wap website Expired - Fee Related CN102332019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110282807.5A CN102332019B (en) 2011-09-21 2011-09-21 A kind of web site is transformed into the method and system of wap website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110282807.5A CN102332019B (en) 2011-09-21 2011-09-21 A kind of web site is transformed into the method and system of wap website

Publications (2)

Publication Number Publication Date
CN102332019A true CN102332019A (en) 2012-01-25
CN102332019B CN102332019B (en) 2015-09-09

Family

ID=45483795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110282807.5A Expired - Fee Related CN102332019B (en) 2011-09-21 2011-09-21 A kind of web site is transformed into the method and system of wap website

Country Status (1)

Country Link
CN (1) CN102332019B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946404A (en) * 2012-07-20 2013-02-27 珠海金山办公软件有限公司 Method for displaying selectively-synchronized file folders at user terminal and cloud storage system
CN104392000A (en) * 2014-12-15 2015-03-04 北京奇虎科技有限公司 Method and device for determining catching quota of mobile station
CN106453552A (en) * 2016-10-11 2017-02-22 合肥思盟信息科技有限公司 Wap page management system based on internet technology
CN110401597A (en) * 2019-07-11 2019-11-01 上海易点时空网络有限公司 The method for routing and device, storage medium of the more sub-projects of single domain name
US20200401648A1 (en) * 2015-07-30 2020-12-24 Wix.Com Ltd. System integrating a mobile device application creation, editing and distribution system with a website design system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355565A (en) * 2008-09-12 2009-01-28 腾讯科技(深圳)有限公司 Method and server for providing page service for various browsers
CN101539932A (en) * 2009-01-21 2009-09-23 北京跳网无限科技发展有限公司 Synchronization access technology of transforming web page
CN101997883A (en) * 2009-08-13 2011-03-30 上海杉达学院 Network structure of mobile website for mobile terminal access
CN201957069U (en) * 2010-03-31 2011-08-31 北龙中网(北京)科技有限责任公司 Wireless URL server and internet accessing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355565A (en) * 2008-09-12 2009-01-28 腾讯科技(深圳)有限公司 Method and server for providing page service for various browsers
CN101539932A (en) * 2009-01-21 2009-09-23 北京跳网无限科技发展有限公司 Synchronization access technology of transforming web page
CN101997883A (en) * 2009-08-13 2011-03-30 上海杉达学院 Network structure of mobile website for mobile terminal access
CN201957069U (en) * 2010-03-31 2011-08-31 北龙中网(北京)科技有限责任公司 Wireless URL server and internet accessing system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946404A (en) * 2012-07-20 2013-02-27 珠海金山办公软件有限公司 Method for displaying selectively-synchronized file folders at user terminal and cloud storage system
CN102946404B (en) * 2012-07-20 2015-10-14 珠海金山办公软件有限公司 At method and the device of user side display selectivity synchronization folder
CN104392000A (en) * 2014-12-15 2015-03-04 北京奇虎科技有限公司 Method and device for determining catching quota of mobile station
CN104392000B (en) * 2014-12-15 2016-10-12 北京奇虎科技有限公司 Determine the method and apparatus that mobile site captures quota
US20200401648A1 (en) * 2015-07-30 2020-12-24 Wix.Com Ltd. System integrating a mobile device application creation, editing and distribution system with a website design system
US11853728B2 (en) * 2015-07-30 2023-12-26 Wix.Com Ltd. System integrating a mobile device application creation, editing and distribution system with a website design system
CN106453552A (en) * 2016-10-11 2017-02-22 合肥思盟信息科技有限公司 Wap page management system based on internet technology
CN110401597A (en) * 2019-07-11 2019-11-01 上海易点时空网络有限公司 The method for routing and device, storage medium of the more sub-projects of single domain name
CN110401597B (en) * 2019-07-11 2022-02-01 上海易点时空网络有限公司 Routing method and device for single domain name and multiple sub-items and storage medium

Also Published As

Publication number Publication date
CN102332019B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN100367276C (en) Method and appts for searching within a computer network
CN101231636B (en) Convenient information search method, system and an input method system
CN101452453B (en) A kind of method of input method Web side navigation and a kind of input method system
CN100501746C (en) Web page collecting method and web page collecting server
CN109033403B (en) Method, apparatus and storage medium for searching blockchain data
CN101150803A (en) Method for micro-browser to process network data, micro-browser and its server
US20020069296A1 (en) Internet content reformatting apparatus and method
CN109033406B (en) Method, apparatus and storage medium for searching blockchain data
CN102662703A (en) Method and device for loading application program plugins
CN103092581A (en) Method and device for setting up Web front-end local development environment
CN102663062A (en) Method and device for processing invalid links in search result
CN102332019A (en) Method and system for converting web site to wap site
CN107241372A (en) Configuration information generation, sending method and resource loading method and apparatus and system
CN102323937A (en) Method and equipment for providing search result
CN103377064A (en) Page script loading method and page script loading device
CN102665127A (en) Browser system of digital television
CN103678508A (en) Webpage opening method and device
CN102750352A (en) Method and device for classified collection of historical access records in browser
CN101216823A (en) Website navigation system and website navigation method
CN102567339A (en) Method, device and system for acquiring start page
US7970936B2 (en) In a world wide web communications network simplifying the uniform resource locators (URLS) displayed in association with received web documents
CN102346738A (en) Customized web page processing device and method
CN101500002A (en) Fusion publishing method and apparatus oriented to Web content
CN103365893A (en) Method and device for searching individual information of user
CN103258056A (en) Method, server, client and system for handling style sheets

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
C41 Transfer of patent application or patent right or utility model
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 100081, Beijing, Haidian District northeast Beijing Zhongguancun software incubator incubator building C block 1322-D

Patentee after: Izp (China) Network Technology Co.,Ltd.

Address before: 100081, building 2, building 18, 1607 South Main Street, Beijing, Haidian District, Zhongguancun, China

Patentee before: BEIJING IZP NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20151019

Address after: 100081, Beijing, Haidian District northeast Beijing Zhongguancun software incubator incubator building C block 1322-D

Patentee after: IZP (BEIJING) TECHNOLOGIES Co.,Ltd.

Address before: 100081, Beijing, Haidian District northeast Beijing Zhongguancun software incubator incubator building C block 1322-D

Patentee before: Izp (China) Network Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

Termination date: 20160921