CN101945081A - Code conversion method, system and server of class webpage applications - Google Patents

Code conversion method, system and server of class webpage applications Download PDF

Info

Publication number
CN101945081A
CN101945081A CN2009100886882A CN200910088688A CN101945081A CN 101945081 A CN101945081 A CN 101945081A CN 2009100886882 A CN2009100886882 A CN 2009100886882A CN 200910088688 A CN200910088688 A CN 200910088688A CN 101945081 A CN101945081 A CN 101945081A
Authority
CN
China
Prior art keywords
web application
class web
class
terminal
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009100886882A
Other languages
Chinese (zh)
Inventor
徐国洪
杨鹏亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yilu Linkage Tech Co Ltd Beijing
Original Assignee
Yilu Linkage Tech Co Ltd Beijing
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 Yilu Linkage Tech Co Ltd Beijing filed Critical Yilu Linkage Tech Co Ltd Beijing
Priority to CN2009100886882A priority Critical patent/CN101945081A/en
Publication of CN101945081A publication Critical patent/CN101945081A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a code conversion method, system and server of class webpage applications. The method comprises the following steps: an Internet class webpage application conversion server receives information for acquiring class webpage applications sent from a class webpage application business request proxy server, wherein the information is acquired by analyzing the class webpage application business request sent from a terminal by the class webpage application business request proxy server; the Internet class webpage application conversion server acquires corresponding class webpage applications through the Internet according to the information for acquiring class webpage applications; and the Internet class webpage application conversion server converts the acquired corresponding class webpage applications into class webpage applications with open source codes supported by the terminal, and sends the converted class webpage applications to the terminal through the class webpage application business request proxy server for browsing. In the invention, the Internet side can provide class webpage applications with open source codes supported by the terminal for the terminal.

Description

The code conversion method of class web application, system and server
Technical field
The present invention relates to the Internet technology of computer, particularly the code conversion method of a kind web application, system and server.
Background technology
Along with the development of Internet technology and moving terminal, terminal can the wireless access the Internet, obtains the content that the Internet provides.At present, the Internet provide in have a kind of type application, a kind of application of class webpage of open source code promptly is provided, such application is according to different source codes and difference, such application has following characteristics:
1) logic of the application of the type and code are all increased income, and similar Markup language comes the application of the type is described, and the application of the type can be that webpage or flash use, and the application of the type with different logics and code is different;
2) different application of the type is relied on different specific software platforms operations, and this platform is to executions that make an explanation of Markup language, and the software platform of using always can be the Browser browser.
The class web application can embedded web page, for terminal provides different application.After terminal gets access to the class web application, will adopt its corresponding browser that the class web application of obtaining is embedded in the webpage that is showing, be shown to the user.Particularly, the class web application comprises two-layer notion: the class webpage that the website provides, the class web application that the Internet provides (analogy flash use) etc., class web application be based on script, open source code, and its data structure adopts the mode of similar XML form.
When terminal will be obtained the different application of the type, just need have corresponding different software platforms, the different application of the type is correctly browsed.But,,, therefore, the different application of the type is had different support situations as screen size, browser type, central processing unit ability and running environment etc. because terminal has different abilities.For the user who uses terminal, its difficulty that usually runs into is, the terminal of use is because the difference of the software platform of its loading, can only browse certain application in the type of its support, and can't browse the type other use the information during other that can't obtain the type are used.
Like this, just make the user who uses terminal when receiving various information by the Internet, the information that has can't correctly receive.
Summary of the invention
In view of this, the invention provides the code conversion method of a kind web application, this method can be provided the class web application of the open source code of its support by the Internet side for terminal.
The present invention also provides the transcoding system of a kind web application, and this system can be provided the class web application of the open source code of its support by the Internet side for terminal.
The present invention also provides the code conversion server of a kind web application, and this server can be provided the class web application of the open source code of its support by the Internet side for terminal.
For achieving the above object, the technical scheme of the embodiment of the invention specifically is achieved in that
The transcoding system of one kind web application comprises terminal, class web application service request acting server, internet-class web application change server and internet-class web application server, wherein,
Terminal, be used for carrying the class web application service request that will obtain class web application information to the transmission of class web application service request acting server, the class web application after the conversion of being obtained that reception class web application service request acting server sends is browsed;
Class web application service request acting server is used for the class web application service request that will receive from terminal, resolves and obtains obtaining class web application information, sends to internet-class web application change server; To send to terminal from the class web application after the conversion of being obtained of internet-class web application change server reception;
Internet-class web application change server, be used for according to obtaining class web application information from what class web application service request acting server received, the open source code that will arrive the class web application that the internet-class web application server obtains sends to class web application service request acting server with the class web application after the conversion of being obtained after being converted to the open source code that terminal supports;
The internet-class web application server is used for and will offers internet-class web application change server corresponding to the class web application that will obtain class web application information.
The open source code type that described internet-class web application change server counterpart terminal sign or terminal type identification storage terminal are supported;
The class web application service request that described terminal sends also carries terminal iidentification or terminal type identification, and this terminal iidentification or terminal type identification send to internet-class web application change server by class web application service request acting server;
Described internet-class web application change server also is used for determining according to corresponding relation the development sources type of code of this terminal iidentification or terminal type identification correspondence, and the open source code with the class webpage that obtained is converted to the open source code that terminal is supported in view of the above.
The open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained;
Change server is used in described Internet, also be used for after obtaining the class web application, determine the open source code type of such web application according to this corresponding relation, the open source code with the class web application obtained is converted to the open source code that terminal is supported in view of the above.
The open source code type of described internet-class web application change server counterpart terminal sign or the support of terminal type identification storage terminal be initiate to be provided with by terminal or peripheral channel be provided with.
The open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained be by the setting of internet-class web application server or peripheral channel be provided with.
Described class web application service request acting server also is used for obtaining obtaining class web application information to self inquiry according to parsing, and it is corresponding to the class web application after the conversion to have inquired self buffer memory, directly obtains the class web application after the conversion.
The code conversion method of one kind web application, this method comprises:
What internet-class web application change server reception class web application service request acting server sent will obtain class web application information, and this information is that class web application service request acting server obtains according to the class web application service request parsing that terminal sends;
Internet-class web application change server obtains corresponding class web application according to obtaining class web application information by the Internet;
Internet-class web application change server is converted to the class web application with open source code type that terminal supports with the corresponding class web application of being obtained, and sends to terminal by class web application service request acting server and browses.
Described internet-class web application change server also receives terminal iidentification that class web application service request acting server sends or/and terminal type identification, and this sign is that class web application service request that class web application service request acting server sends according to terminal is resolved and obtained;
Described internet-class web application change server with the class web application that the corresponding class web application of being obtained is converted to the open source code type with terminal support is:
The open source code type that the open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained and counterpart terminal sign or terminal type identification storage terminal are supported;
Internet-class web application change server gets access to the open source code type of terminal support and the open source code type of the class web application obtained, and changes in view of the above.
The open source code type of described internet-class web application change server counterpart terminal sign or the support of terminal type identification storage terminal be initiate to be provided with by terminal or peripheral channel be provided with;
The open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained be by the setting of internet-class web application server or peripheral channel be provided with.
To obtain class web application information in described applied business request broker server transmission, obtain by the Internet before the class web application of correspondence, also comprise:
Applied business request broker server is judged the class web application after the conversion that self whether is cached with correspondence, if directly the class web application after the conversion of correspondence is sent to terminal and browse.
A kind of internet-class web application change server comprises: class web application service request feedback unit, network application conversion and adaptation unit and network application data visit and feature identification unit, wherein,
Class web application service request feedback unit is used for receiving class web application after the conversion of being obtained from network application conversion and adaptation unit, sends to class web application service request acting server;
Network application conversion and adaptation unit, after the correspondence that is used to receive network application data visit and feature identification unit transmission will be obtained the class web application of class web application information, change, the class web application after the conversion that obtains being obtained sends to class web application service request feedback unit;
Network application data visit and feature identification unit, be used for to obtain class web application information from the reception of class web application service request acting server, obtain the class web application according to such web application information to corresponding internet-class web application server, the class web application of being obtained is sent to network application conversion and adaptation unit.
Also comprise: the terminal capability database is used for the open source code type of the class web application that counterpart terminal sign or terminal type identification storage terminal support;
The network application property data base is used for the open source code type that the internet-class web application server sign storage class web application that provides of class web application is provided correspondence.
Described network application conversion and adaptation unit, also be used for directly or by network application data visit and feature identification unit receiving terminal iidentification or the terminal type identification that class web application service request proxy server parses obtains, be used for obtaining the open source code type that corresponding terminal is supported, the class web application of being obtained be converted to the class web application of open source code type with terminal support to the terminal capability database; After receiving the class web application of being obtained from network application data visit and feature identification unit, according to the internet-class web application server sign that such web application is provided, remove to obtain the open source code of such web application correspondence to the network application property data base, when conversion according to changing;
Network application data visit and feature identification unit, also be used for when sending the class web application of being obtained, carry the terminal iidentification or the terminal type identification that the internet-class of such web application web application server sign are provided and will obtain such web application and send to network switch and adaptation unit.
The corresponding relation of described terminal capability database storage is that channel that be provided with by class web application service request processing unit by terminal or peripheral is provided with;
Described network application property data base stored relation is channel setting that be provided with by network application data visit and feature identification unit by the internet-class web application server or peripheral.
A kind of internet-class web application service request acting server comprises class web application buffer unit and service request centralized processing unit, wherein,
Class web application buffer unit, be used for buffer memory from internet-class web application change server obtained through the conversion after the class web application;
The service request centralized processing unit, be used for the class web application service request that receiving terminal sends, parsing obtains the class web application information that will obtain, determine according to this information whether class webpage buffer unit is cached with the class web application after the corresponding process that will obtain is changed, if directly obtain and send to terminal; Otherwise the class web application information that will obtain is felt sick Si Nage to internet-class web application change server.
As seen from the above technical solution, the present invention proposes in the Internet side class web application service request acting server and internet-class web application change server to be set, wherein, the class web application service request that class web application service request acting server receiving terminal sends, resolve then and obtain the class web application information that to ask and send to internet-class web application change server, internet-class web application change server is provided with class web application translation function, after the open source code that terminal supports the open source code of the class web application that provides from the Internet according to the class web application information that will ask can be provided, class web application after will changing by class web application service request acting server sends to terminal, and terminal just can adopt self existing software platform with class web application embedded web page and the class web application after browsing conversion.In addition, class web application service request acting server also is cached with the class web application of having changed, like this, after the class web application service request that receives the terminal transmission, at first directly judge whether to be cached with the class web application of the class web application information that this corresponding request carries, if have, just directly the class web application after the conversion of institute's buffer memory is sent to terminal.Therefore, method provided by the invention, system and server just can be provided the class web application of the open source code of its support by the Internet side for terminal.
Description of drawings
Fig. 1 is the system schematic of internet, applications code conversion provided by the invention;
Fig. 2 is an internet-class web application change server concrete structure schematic diagram provided by the invention;
Fig. 3 is the method flow diagram of internet, applications code conversion provided by the invention;
Fig. 4 is the method embodiment flow chart of internet, applications code conversion provided by the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
For the class web application with different open source codes, the software platform that can resolve such web application is also inequality.If according to prior art, class web application with different open source codes and correct parsing that terminal provides in order to get access to the Internet, then need be at the software platform that the class web application of corresponding different open source codes is set certainly on one's body, this own resource to terminal takies bigger and inconvenient.In addition, along with Internet development, the class web application of different open source codes also can increase gradually, correspondingly, the software platform of resolving such web application also can increase gradually, if the class web application of a kind of open source code of every increase, the terminal of arriving are provided with corresponding software platform, implement more complicated and difficulty.
Therefore, the present invention proposes in the Internet side class web application service request acting server and internet-class web application change server are set, wherein, the class web application service request that class web application service request acting server receiving terminal sends, resolve then and obtain the class web application information that to ask and send to internet-class web application change server, internet-class web application change server is provided with class web application translation function, after the open source code that terminal supports the open source code of the class web application that provides from the Internet according to the class web application information that will ask can be provided, class web application after will changing by class web application service request acting server sends to terminal, and terminal just can adopt self existing software platform with class web application embedded web page and the class web application after browsing conversion.
Fig. 1 is the system schematic of internet, applications code conversion provided by the invention, this system comprises: terminal, class web application service request acting server, internet-class web application change server and the internet-class web application server of class web application is provided, terminal and class web application service request acting server are many-to-one corresponding relation, class web application service request acting server and internet-class web application change server are many-to-one corresponding relation, and internet-class web application change server is the corresponding relation of one-to-many with the internet-class web application server of class web application is provided.Wherein,
Terminal, be used for carrying the class web application service request that to obtain class web application information to the transmission of class web application service request acting server, after the class web application after the conversion of being obtained that reception class web application service request acting server sends, adopt its existing software platform to browse;
Class web application service request acting server is used for the class web application service request that will receive from terminal, resolves and obtains obtaining class web application information, sends to internet-class web application change server; After the class web application and buffer memory after the conversion of being obtained that reception internet-class web application change server sends, send to terminal;
Internet-class web application change server, be used for according to obtaining class web application information from what class web application service request acting server received, obtain the class web application to the internet-class web application server, open source code type according to the terminal support, after the open source code of the class web application obtained is converted to the open source code that terminal supports, the class web application after the conversion of being obtained is sent to class web application service request acting server;
The internet-class web application server is used for and will offers internet-class web application change server corresponding to the class web application that will obtain class web application information.
In the present invention, internet-class web application change server also can have a plurality of, be connected with class web application service request acting server respectively, the class web application information that processing terminal is asked, and the class web application service request acting server of the class web application obtained conversion back by correspondence sent to terminal.
In the present invention, internet-class web application change server stores the open source code type that terminal is supported, just terminal can be resolved the open source code of the type and browses with its existing software platform.The open source code type of this terminal support can be that terminal is before sending class web application service request, send the terminal capability of the open source code type of carried terminal support by class web application service request acting server, after offering internet-class web application change server, internet-class web application change server is to sign storage that should terminal.Like this, the class web application service request that terminal sends also carries terminal iidentification, internet-class web application change server receives the back by class web application service request acting server and just determines the open source code type that this terminal is supported according to this sign, and conversion in view of the above.
In the present invention, also can be, internet-class web application change server be stored the open source code type of the terminal support of counterpart terminal type identification in advance, and this canned data is not to obtain from end, but finishes by peripheral channel.This situation is that the open source code type of its support accordingly also is limited because the type of terminal is limited, the open source code type of corresponding its support of each terminal type.Like this, the class web application service request that terminal sends also carries terminal type identification, internet-class web application change server receives the back by class web application service request acting server and just determines the open source code type that this terminal is supported according to the type sign, and conversion in view of the above.
In the present invention, when internet-class web application change server is converted to the open source code that terminal supports with the open source code of the class web application obtained, also need to determine the open source code type of the class web application obtained, specifically, in internet-class web application change server, store the open source code type of the corresponding class web application of being obtained from different internet-class web application server exactly, because the class web application of different open source code types is to be provided by different internet-class web application server, just can be determined on which internet-class web application server according to the class web application information that will obtain and to obtain the class web application, thereby what the open source code type according to the definite class web application of being obtained of stored relation is, internet-class web application change server carries out corresponding conversion then.
In the present invention, support the open source code type in the counterpart terminal sign of internet-class web application change server storage or the terminal of terminal type identification, or/and the open source code type of the class web application that the correspondence of storage is obtained from different internet-class web application server can regular or irregular renewal or/and increase.
In the present invention, because class web application service request acting server and internet-class web application change server are many-to-one corresponding relation, can walk abreast the simultaneously conversion of the source code type of carrying out a plurality of class web application of internet-class web application change server just is described, and send to corresponding class web application service request acting server, thereby improved processing speed, strengthened the user experience of using terminal.
In the present invention, class web application service request acting server can also earlier obtain obtaining class web application information according to parsing, inquire about self whether buffer memory corresponding to the class web application after the conversion, if then directly obtain and get final product.
Internet-class web application change server concrete structure schematic diagram as shown in Figure 2, it specifically comprises: class web application service request feedback unit, network application conversion and adaptation unit, terminal capability database, network application property data base, network application data visit and feature identification unit, wherein
Class web application service request feedback unit after being used for receiving class web application after the conversion of being obtained from network application conversion and adaptation unit, sends to class web application service request acting server with the class web application after the conversion of being obtained; After the class web application service request proxy server caches, be transmitted to terminal again;
Network application conversion and adaptation unit, after the correspondence that is used to receive network application data visit and feature identification unit transmission will be obtained the class web application of class web application information, change, the class web application after the conversion that obtains being obtained sends to class web application service request feedback unit; This unit also is used for directly or receives terminal iidentification or the terminal type identification that class web application service request proxy server parses obtains by network application data visit and feature identification unit, be used for obtaining the open source code type that corresponding terminal is supported, the class web application of being obtained be converted to the class web application of open source code type with terminal support to the terminal capability database; This unit also is used for after receiving the class web application of being obtained from network application data visit and feature identification unit, according to the internet-class web application server sign that such web application is provided, remove to obtain the open source code of such web application correspondence to the network application property data base, when conversion according to changing;
Network application data visit and feature identification unit, be used for to obtain class web application information from the reception of class web application service request acting server, obtain the class web application according to such web application information to corresponding internet-class web application server, the class web application of being obtained is sent to network application conversion and adaptation unit; This unit is when sending the class web application of being obtained, can also carry the terminal iidentification or the terminal type identification that the internet-class of such web application web application server sign are provided and will obtain such web application and send to network switch and adaptation unit, terminal iidentification or the terminal type identification that will obtain such web application receive from class web application service request acting server;
The terminal capability database is used for the open source code type of the class web application that counterpart terminal sign or terminal type identification storage terminal support;
The network application property data base is used for the open source code type that the internet-class web application server sign storage class web application that provides of class web application is provided correspondence.
Information in the terminal capability database storage can be upgraded, can initiate by terminal, upgrade in the terminal capability database by class web application service request acting server and network application conversion and adaptation unit successively, also can directly go renewal by peripheral channel to the terminal capability database.That is to say that the open source code type of the class web application of the terminal support between terminal and the terminal capability database has gets in touch, key is that network application conversion and adaptation unit need be changed the class web application.
Also can upgrade at network application property data base canned data, can go to upgrade by network application data visit and feature identification unit by the internet-class web application server, also can directly go to upgrade by peripheral channel to the network application property data base.
Network application conversion and adaptation unit are to receiving the class web application of being obtained when changing from network application data visit and feature identification unit, it has translation function, according to the open source code type of its class web application of knowing of being obtained and the open source code type that will change, the class web application of being obtained is converted to the open source code that will change by current open source code.
In this embodiment, network application conversion and adaptation unit can have a plurality of, carry out the class web application conversion of corresponding inhomogeneity web application information, and send to class web application service request acting server.
In this embodiment, class web application service request acting server comprises class web application buffer unit, is used for the class web application after the conversion of being obtained that buffer memory receives by class web application service request feedback unit; Such web application service request acting server also comprises class web application service request centralized processing unit, after being used for the class web application service request of receiving terminal transmission, parsing obtains the class web application information that will obtain, sends to network application data visit and feature identification unit; Professional transitional informations such as terminal iidentification that parsing is obtained or terminal type identification send to network application conversion and adaptation unit, certainly, also be used for and the open source code of the class web application of the terminal support of counterpart terminal sign or terminal type identification can be sent to the terminal capability database caches by network application conversion and adaptation unit.
In this embodiment, because the class web application after some the process conversions of the meeting of the class web application buffer unit in class web application service request acting server buffer memory, so after the service request centralized processing unit in class web application service request acting server is resolved the class network application information that obtains obtaining from class web application service request, can be earlier and class web application buffer unit mutual, determine this unit whether have class network application information that the correspondence of buffer memory will obtain through the class web application after the conversion, if have, offer the terminal of supporting the class web application after this conversion after then directly obtaining.Thereby saved the time of obtaining.Particularly, the service request centralized processing unit can repeatedly be carried out information interaction with class web application buffer unit, the class web application of some that obtain institute's buffer memory after through conversion.
Fig. 3 is the method flow diagram of internet, applications code conversion provided by the invention, in the Internet side class web application service request acting server and internet-class web application change server is set, and its concrete steps are:
The class web application service request that step 301, class web application service request acting server receiving terminal send, this message is carried and will be obtained class web application information;
In this step, class web application service request can also have been carried terminal iidentification or/and terminal type identification;
Whether step 302, the inquiry of class web application service request acting server self are cached with the class web application after the conversion that will obtain class web application information correspondence, if then execution in step 305; If not, execution in step 303 then;
The class web application information that step 303, class web application service request acting server will obtain sends to internet-class web application change server, internet-class web application change server obtains corresponding class web application according to obtaining class web application information by the Internet;
In this step, can also be with terminal iidentification or/and terminal type identification sends to internet-class web application change server;
Step 304, internet-class web application change server send to terminal by class web application service request acting server and browse after the class web application of being obtained is converted to the class web application of the open source code type with terminal support;
In this step, internet-class web application change server can get access to the open source code type of terminal support and the open source code type of the class web application obtained in advance, and change in view of the above, concrete transfer process can adopt prior art, is not repeated here;
Particularly, in advance in internet-class web application change server storage counterpart terminal sign or/and the open source code type of the class web application of terminal type identification, according to the terminal iidentification that is received or/and terminal type identification just can get access to the open source code type of the class web application of correspondence; Also storage correspondence provides the internet-class web application server of the class web application of being obtained to identify the corresponding open source code type that the class web application is provided in internet-class web application change server in advance, according to this corresponding relation according to the class web application of being obtained that is received internet-class web application server sign is provided, determine the open source code type of the class web application obtained; Like this, just can change;
Step 305, the class web application service request acting server class web application after with the conversion that will obtain class web application information correspondence of self buffer memory sends to terminal and browses.
Fig. 4 is the method embodiment flow chart of internet, applications code conversion provided by the invention, and its concrete steps are:
Step 401, class web application service request acting server send to network application data visit and feature identification unit with the resolve class web application information of will obtaining that obtains, and network application data visit and feature identification unit are obtained the class web application according to the class network application information that this will obtain;
In this step, such web application service request agency service is when receiving such web application service request, if such web application service request carries terminal iidentification or terminal type identification, send to network application conversion and adaptation unit or network application data visit and feature identification unit after then also parsing obtains;
The correspondence that step 402, network application conversion and adaptation unit reception network application data visit and feature identification unit send will be obtained the class web application of class web application information;
Step 403, network application conversion and adaptation unit directly or by network application data visit and feature identification unit receive terminal iidentification or the terminal type identification that the parsing of class web application service request processing unit obtains, and obtain the open source code type that corresponding terminal is supported to the terminal capability database;
Step 404, network application conversion and adaptation unit remove to obtain the open source code of such web application correspondence according to the internet-class web application server sign that such web application is provided to the network application property data base;
The open source code that step 405, network application conversion and adaptation unit obtain according to step 403 and step 404 is converted to the class web application of being obtained has the open source code type that terminal is supported;
Class web application after the conversion that step 406, network application conversion and adaptation unit will obtain being obtained sends to class web application service request feedback unit;
After step 407, class web application service request feedback unit receive class web application after the conversion of being obtained from network application conversion and adaptation unit, and send to terminal by class web application service request acting server.
In this embodiment, two corresponding relations in the setting of internet-class web application change server can upgrade at any time as required.
In this embodiment, if the class web application buffer unit in class web application service request acting server buffer memory the class web application after the conversion of the corresponding class web application information that will obtain, then at first undertaken self inquiring by class web application service request acting server, directly obtain and get final product, saved the bandwidth resources of feedback time and access internet.
The several examples of tool illustrate system provided by the invention, server and method.
First embodiment
When internet-class web application change server carries out the conversion of open source code to the class web application of being obtained, the open source code type of the class web application of supporting according to terminal.Such as, terminal is by embedding a plurality of button controls in certain webpage of internet browsing, and each button control also links the corresponding function execution simultaneously, and these a plurality of button controls just are called as the class web application.But, the class web application of terminal support can only be a text formatting, such as the text form, so internet-class web application change server is when obtaining this button control and offer the terminal embedded web page by class web application service request acting server, just need change this button control, be converted to the text form, while is converted to the operation of button control corresponding with the navigation key " upper and lower a, left side and right " in the terminal, sends to terminal by class web application service request acting server then.Like this, this button control embedded web page that terminal will be converted to shows, and this button control is controlled the function that execution is corresponding by navigation key.
For another example, terminal is not supported picture, just do not support to have the class web application of picture, internet-class web application change server is when carrying out the conversion of class web application for this terminal, just the picture resource in the open source code of the class web application obtained is carried out the integral body deletion, and after surplus resources reset according to the processing tenability of terminal, send to terminal by class web application service request acting server again and browse.
Because what the class web application adopted is open source code, so when changing, the open source code of such web application is done as a whole the conversion, guarantee the logical consistency of its open source code, when concrete conversion, can adopt prior art, replace such as keyword mapping (key word mapping).
Second embodiment
Class web application provided by the invention also can be Widget, and internet-class web application change server can be converted to the Widget with open source code type that terminal supports to the Widget with different open source codes that the Internet provides.Such as the Widget of XHTML form, the Widget of RIA form or the Widget of yahoo form are converted to and can move at the software platform of the OpenFace of terminal WidgetRuntime.
Like this,, bring consistency to experience for the user who uses different types of terminals, realize that the Widget of different types of terminals is adaptive for the Widget of same content.Such as, the weather forecast of adopting Widget type be the terminal of full type of touch screens when showing just and different when the terminal of keyboard type shows, when the terminal of full type of touch screens shows, need and the terminal applies of full type of touch screens consistent, show it is just need be consistent in the terminal of keyboard type with the terminal applies of keyboard type.
More than lift preferred embodiment; the purpose, technical solutions and advantages of the present invention are further described; institute is understood that; the above only is preferred embodiment of the present invention; not in order to restriction the present invention; within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the transcoding system of a kind web application is characterized in that, comprises terminal, class web application service request acting server, internet-class web application change server and internet-class web application server, wherein,
Terminal, be used for carrying the class web application service request that will obtain class web application information to the transmission of class web application service request acting server, the class web application after the conversion of being obtained that reception class web application service request acting server sends is browsed;
Class web application service request acting server is used for the class web application service request that will receive from terminal, resolves and obtains obtaining class web application information, sends to internet-class web application change server; To send to terminal from the class web application after the conversion of being obtained of internet-class web application change server reception;
Internet-class web application change server, be used for according to obtaining class web application information from what class web application service request acting server received, the open source code that will arrive the class web application that the internet-class web application server obtains sends to class web application service request acting server with the class web application after the conversion of being obtained after being converted to the open source code that terminal supports;
The internet-class web application server is used for and will offers internet-class web application change server corresponding to the class web application that will obtain class web application information.
2. the system as claimed in claim 1 is characterized in that, the open source code type that described internet-class web application change server counterpart terminal sign or terminal type identification storage terminal are supported;
The class web application service request that described terminal sends also carries terminal iidentification or terminal type identification, and this terminal iidentification or terminal type identification send to internet-class web application change server by class web application service request acting server;
Described internet-class web application change server also is used for determining according to corresponding relation the development sources type of code of this terminal iidentification or terminal type identification correspondence, and the open source code with the class webpage that obtained is converted to the open source code that terminal is supported in view of the above.
3. system as claimed in claim 2 is characterized in that, the open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained;
Change server is used in described Internet, also be used for after obtaining the class web application, determine the open source code type of such web application according to this corresponding relation, the open source code with the class web application obtained is converted to the open source code that terminal is supported in view of the above.
4. as claim 2 or 3 described systems, it is characterized in that, the open source code type of described internet-class web application change server counterpart terminal sign or the support of terminal type identification storage terminal be initiate to be provided with by terminal or peripheral channel be provided with.
5. system as claimed in claim 3, it is characterized in that, the open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained be by the setting of internet-class web application server or peripheral channel be provided with.
6. the system as claimed in claim 1, it is characterized in that, described class web application service request acting server, also be used for obtaining to obtain class web application information to self inquiry according to parsing, it is corresponding to the class web application after the conversion to have inquired self buffer memory, directly obtains the class web application after the conversion.
7. the code conversion method of a kind web application is characterized in that, this method comprises:
What internet-class web application change server reception class web application service request acting server sent will obtain class web application information, and this information is that class web application service request acting server obtains according to the class web application service request parsing that terminal sends;
Internet-class web application change server obtains corresponding class web application according to obtaining class web application information by the Internet;
Internet-class web application change server is converted to the class web application with open source code type that terminal supports with the corresponding class web application of being obtained, and sends to terminal by class web application service request acting server and browses.
8. method as claimed in claim 7, it is characterized in that, described internet-class web application change server also receives terminal iidentification that class web application service request acting server sends or/and terminal type identification, and this sign is that class web application service request that class web application service request acting server sends according to terminal is resolved and obtained;
Described internet-class web application change server with the class web application that the corresponding class web application of being obtained is converted to the open source code type with terminal support is:
The open source code type that the open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained and counterpart terminal sign or terminal type identification storage terminal are supported;
Internet-class web application change server gets access to the open source code type of terminal support and the open source code type of the class web application obtained, and changes in view of the above.
9. method as claimed in claim 8 is characterized in that, the open source code type of described internet-class web application change server counterpart terminal sign or the support of terminal type identification storage terminal be initiate to be provided with by terminal or peripheral channel be provided with;
The open source code type of the class web application that the storage of the corresponding internet-class web application server sign of described internet-class web application change server is obtained be by the setting of internet-class web application server or peripheral channel be provided with.
10. method as claimed in claim 7 is characterized in that, sends at described applied business request broker server and will obtain class web application information, obtains by the Internet before the class web application of correspondence, also comprises:
Applied business request broker server is judged the class web application after the conversion that self whether is cached with correspondence, if directly the class web application after the conversion of correspondence is sent to terminal and browse.
11. an internet-class web application change server is characterized in that, comprising: class web application service request feedback unit, network application conversion and adaptation unit and network application data visit and feature identification unit, wherein,
Class web application service request feedback unit is used for receiving class web application after the conversion of being obtained from network application conversion and adaptation unit, sends to class web application service request acting server;
Network application conversion and adaptation unit, after the correspondence that is used to receive network application data visit and feature identification unit transmission will be obtained the class web application of class web application information, change, the class web application after the conversion that obtains being obtained sends to class web application service request feedback unit;
Network application data visit and feature identification unit, be used for to obtain class web application information from the reception of class web application service request acting server, obtain the class web application according to such web application information to corresponding internet-class web application server, the class web application of being obtained is sent to network application conversion and adaptation unit.
12. server as claimed in claim 11 is characterized in that, also comprises:
The terminal capability database is used for the open source code type of the class web application that counterpart terminal sign or terminal type identification storage terminal support;
The network application property data base is used for the open source code type that the internet-class web application server sign storage class web application that provides of class web application is provided correspondence.
13. server as claimed in claim 12 is characterized in that,
Described network application conversion and adaptation unit, also be used for directly or by network application data visit and feature identification unit receiving terminal iidentification or the terminal type identification that class web application service request proxy server parses obtains, be used for obtaining the open source code type that corresponding terminal is supported, the class web application of being obtained be converted to the class web application of open source code type with terminal support to the terminal capability database; After receiving the class web application of being obtained from network application data visit and feature identification unit, according to the internet-class web application server sign that such web application is provided, remove to obtain the open source code of such web application correspondence to the network application property data base, when conversion according to changing;
Network application data visit and feature identification unit, also be used for when sending the class web application of being obtained, carry the terminal iidentification or the terminal type identification that the internet-class of such web application web application server sign are provided and will obtain such web application and send to network switch and adaptation unit.
14. server as claimed in claim 12 is characterized in that, the corresponding relation of described terminal capability database storage is that channel that be provided with by class web application service request processing unit by terminal or peripheral is provided with;
Described network application property data base stored relation is channel setting that be provided with by network application data visit and feature identification unit by the internet-class web application server or peripheral.
15. an internet-class web application service request acting server is characterized in that, comprises class web application buffer unit and service request centralized processing unit, wherein,
Class web application buffer unit, be used for buffer memory from internet-class web application change server obtained through the conversion after the class web application;
The service request centralized processing unit, be used for the class web application service request that receiving terminal sends, parsing obtains the class web application information that will obtain, determine according to this information whether class webpage buffer unit is cached with the class web application after the corresponding process that will obtain is changed, if directly obtain and send to terminal; Otherwise the class web application information that will obtain is felt sick Si Nage to internet-class web application change server.
CN2009100886882A 2009-07-06 2009-07-06 Code conversion method, system and server of class webpage applications Pending CN101945081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100886882A CN101945081A (en) 2009-07-06 2009-07-06 Code conversion method, system and server of class webpage applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100886882A CN101945081A (en) 2009-07-06 2009-07-06 Code conversion method, system and server of class webpage applications

Publications (1)

Publication Number Publication Date
CN101945081A true CN101945081A (en) 2011-01-12

Family

ID=43436855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100886882A Pending CN101945081A (en) 2009-07-06 2009-07-06 Code conversion method, system and server of class webpage applications

Country Status (1)

Country Link
CN (1) CN101945081A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188293A (en) * 2011-12-28 2013-07-03 腾讯科技(深圳)有限公司 Method and system for allowing mobile terminal to access webpage
CN104346146A (en) * 2013-07-29 2015-02-11 腾讯科技(深圳)有限公司 Method and device for cross-platform conversion of application codes
CN104486313A (en) * 2014-12-04 2015-04-01 北京国双科技有限公司 Method and device for detecting delivery of network multimedia file
CN106156080A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of dynamic page conversion
CN106294701A (en) * 2016-08-08 2017-01-04 武汉斗鱼网络科技有限公司 The data buffering system of Website front-end and method
CN108717357A (en) * 2018-05-23 2018-10-30 中国平安人寿保险股份有限公司 Page presentation code conversion method, device, equipment and computer storage media

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188293A (en) * 2011-12-28 2013-07-03 腾讯科技(深圳)有限公司 Method and system for allowing mobile terminal to access webpage
CN103188293B (en) * 2011-12-28 2014-12-24 腾讯科技(深圳)有限公司 Method and system for allowing mobile terminal to access webpage
CN104346146A (en) * 2013-07-29 2015-02-11 腾讯科技(深圳)有限公司 Method and device for cross-platform conversion of application codes
CN104346146B (en) * 2013-07-29 2016-05-04 腾讯科技(深圳)有限公司 A kind of method of cross-platform transformation applications code and device
CN104486313A (en) * 2014-12-04 2015-04-01 北京国双科技有限公司 Method and device for detecting delivery of network multimedia file
CN106156080A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of dynamic page conversion
CN106156080B (en) * 2015-03-31 2019-06-11 阿里巴巴集团控股有限公司 The method and apparatus of dynamic page conversion
CN106294701A (en) * 2016-08-08 2017-01-04 武汉斗鱼网络科技有限公司 The data buffering system of Website front-end and method
CN108717357A (en) * 2018-05-23 2018-10-30 中国平安人寿保险股份有限公司 Page presentation code conversion method, device, equipment and computer storage media
CN108717357B (en) * 2018-05-23 2023-11-10 中国平安人寿保险股份有限公司 Page display code conversion method, device, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US7496497B2 (en) Method and system for selecting web site home page by extracting site language cookie stored in an access device to identify directional information item
US20050120091A1 (en) Method, network device and system for providing profile data applicable to hypertext transfer protocol (http)
CN101446965B (en) Data query method and system thereof
JP2004530959A (en) System and method for delivering content to mobile device
CN104754073A (en) Resource access method and device
JP2004318842A (en) Webpage generation device, embedding device, method for control of webpage generation, webpage generation program, and recording medium
CN101945081A (en) Code conversion method, system and server of class webpage applications
CN107729014B (en) Page jump method and structure based on Android
CA2716635C (en) Methods for web content optimization in single page display environments and systems thereof
US20040267900A1 (en) Dynamic mobile device characterization
WO2014126069A1 (en) Output function dividing system
CN109039876B (en) Mail processing method and device
CN102510410A (en) On-line advertisement delivering method and system as well as advertisement control equipment
US8107452B1 (en) Customizing a browsing experience on a mobile communications device
CN105808282A (en) Method and device for updating webpage contents of application program
CN103634393A (en) IVR (interactive voice response) and realization method thereof
US20110209051A1 (en) Document browsing system and document conversion server
CN103856540A (en) Response processing method and device
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
KR20010035111A (en) A real-time mobile markup language translating system and a method automatically
JP2003141002A (en) Url length conversion system and program
JP5441927B2 (en) Network system and method for RUI profiling
CN111814085A (en) Novel WEB online agent method based on JavaScript hook
CN109753620B (en) Webpage document processing method and system
CN110309454B (en) Interface display method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110112