WO2012155581A1 - 中间服务器、移动浏览方法及系统 - Google Patents

中间服务器、移动浏览方法及系统 Download PDF

Info

Publication number
WO2012155581A1
WO2012155581A1 PCT/CN2012/071612 CN2012071612W WO2012155581A1 WO 2012155581 A1 WO2012155581 A1 WO 2012155581A1 CN 2012071612 W CN2012071612 W CN 2012071612W WO 2012155581 A1 WO2012155581 A1 WO 2012155581A1
Authority
WO
WIPO (PCT)
Prior art keywords
language
content
database
page
webpage address
Prior art date
Application number
PCT/CN2012/071612
Other languages
English (en)
French (fr)
Inventor
肖冰冰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155581A1 publication Critical patent/WO2012155581A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • G06F16/88Mark-up to mark-up conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Definitions

  • the present invention relates to the field of mobile browsing technologies, and in particular, to an intermediate server for mobile browsing, a mobile browsing method and system. Background technique
  • the current webpage translation technology can be divided into the following two implementation methods:
  • One is to install an analysis processing module with a corresponding translation function on the mobile terminal itself, and a large number of language semantic libraries to implement translation of the webpage content on the client side.
  • the other is to install translation function modules and language semantic libraries on the server side, and to translate web content in an online manner.
  • the main object of the present invention is to provide a mobile browsing system, which aims to reduce frequent networking and improve the browsing response speed of the mobile terminal.
  • the present invention provides an intermediate server for pre-storing a webpage address and its corresponding language page content, and extracting corresponding webpage addresses and language information in an access request sent by a browser of the mobile terminal.
  • the content of the page is fed back to the browser;
  • the language information includes at least information indicating whether the language of the webpage content is the source language.
  • the intermediate server comprises:
  • a database configured to pre-store a webpage address and corresponding language content of each language; the content of each language page includes at least a source language page content;
  • a receiving module configured to receive an access request of the mobile terminal
  • a search module configured to search for a language page content from a database according to a webpage address in the access request
  • a sending module configured to feed back content of each language page to the browser.
  • the searching module is specifically configured to:
  • the source language page content corresponding to the webpage address is searched from the database for transmission.
  • the intermediate server further includes a page generating module, configured to: when the source language page content is not found, access the network according to the webpage address in the access request, acquire data from the network, form a source language page content, and Save to the database.
  • a page generating module configured to: when the source language page content is not found, access the network according to the webpage address in the access request, acquire data from the network, form a source language page content, and Save to the database.
  • the receiving module is further configured to: receive a webpage translation request; the searching module is further configured to: query whether there is a corresponding page content in the database according to the current webpage address and the target language in the translation request;
  • the intermediate server further includes:
  • a translation module configured to translate the page content corresponding to the current webpage address and the current webpage language according to the translation request.
  • the translation module comprises:
  • a webpage analysis sub-block configured to analyze a current webpage language and a target language that requires translation; and a sub-block is invoked, and the corresponding language translation sub-block is called according to the current webpage language and the target language;
  • the language translation sub-block according to the language semantic library corresponding to the current web language language and the target language, performs translation processing on the page one by one, and obtains the target language page content and saves it in the database.
  • the searching module is further configured to query whether there is corresponding page content in the database according to the current webpage address and the target language in the translation request;
  • the database is searched for any language page content corresponding to the current webpage address;
  • the translation module is further configured to translate the found content of the language page corresponding to the current webpage address into the target language page content and save the content to the database.
  • the page generating module is further configured to: when the website content of the language corresponding to the current webpage address does not exist in the database, access the network according to the current webpage address, and obtain data from the network to form a source language page content, And save to the database;
  • the translation module is further configured to translate the content of the source language page obtained from the network according to the translation request, and obtain the content of the target language page, and save the content to the database.
  • the invention provides a mobile browsing method, which comprises the following steps:
  • the language information includes at least the display Whether the language of the web content is the source language information.
  • the pre-stored webpage address and its corresponding language page content, and the corresponding webpage content is extracted and fed back to the browser according to the webpage address and the language information in the access request sent by the browser of the mobile terminal, including:
  • the database pre-stored webpage address and its corresponding language page content; the content of each language page includes at least the source language page content;
  • the searching for each language page content from the database according to the webpage address in the access request includes:
  • the source language page content corresponding to the webpage address is searched from the database for transmission.
  • the searching for the content of each language page from the database according to the webpage address in the access request further includes:
  • the network is accessed according to the webpage address in the access request, and the data is acquired from the network to form the source language page content, and is saved in the database.
  • the method further includes:
  • the translating, according to the translation request, the page content corresponding to the current webpage address and the current webpage language comprises:
  • the language translation sub-block translates the pages one by one according to the language semantic library corresponding to the current web language language and the target language, and obtains the target language page content and saves it in the database.
  • the translating, according to the translation request, the page content corresponding to the current webpage address and the current webpage language comprises: Analyze the source language of the current web page and the target language that requires translation;
  • the language translation sub-block translates the pages one by one according to the language semantic library corresponding to the source language and the target language, and obtains the content of the target language page and saves it in the database.
  • the searching for the page content corresponding to the current webpage address and the current webpage language from the database includes:
  • the database is searched for any language page content corresponding to the current webpage address;
  • Translating, according to the translation request, the page content corresponding to the current webpage address and the current webpage language includes:
  • the searching for any language page content corresponding to the current webpage address from the database includes:
  • Translating, according to the translation request, the page content corresponding to the current webpage address and the current webpage language includes:
  • the content of the source language page obtained from the network is translated, and the content of the target language page is obtained and saved in the database.
  • the present invention adopts a C/S (Client/Server, client/server) architecture, and pre-stores the webpage address and its corresponding language page content through the intermediate server, and receives the browser.
  • the access request is sent, the corresponding content is extracted from the local database and sent to the mobile terminal, which saves traffic, reduces browsing cost, reduces frequent networking operations, and greatly improves browsing response speed.
  • FIG. 1 is a flow chart of an embodiment of a mobile browsing method of the present invention
  • FIG. 2 is a flowchart of searching a database in an embodiment of the mobile browsing method of the present invention
  • FIG. 3 is a flowchart of translating a webpage in an embodiment of the mobile browsing method of the present invention
  • FIG. 4 is a flow chart of translating a webpage according to a translation request in an embodiment of the mobile browsing method of the present invention
  • FIG. 5 is a schematic structural diagram of an embodiment of an intermediate server according to the present invention.
  • FIG. 6 is a schematic structural diagram of another embodiment of an intermediate server according to the present invention.
  • FIG. 7 is a schematic structural diagram of an intermediate server translation module of the present invention.
  • the mobile terminal may be a terminal that can perform mobile communication, such as a mobile phone.
  • the language information includes at least the language of displaying the webpage content Whether it is information in the source language.
  • the webpage address (URL) and the content of each language page are pre-stored by the intermediate server.
  • Web address For example, http://www.sina.com.cn can store http://www.sina.com.cn and its corresponding Chinese web pages, English web pages, French web pages and German web pages.
  • the source language of the web page is that the web designer considers the specific display language set by the web page in various reading environments when initially setting up the website. For example, in China, the source language of each web page is generally Chinese; in the United Kingdom or the United States, the source language of each web page is generally English. If the user wants to visit a website without selecting the display language of the webpage through the browser, it is generally considered to display the webpage content in the source language.
  • the intermediate server When receiving the access request sent by the browser of the mobile terminal, the intermediate server extracts the corresponding page content feedback from the database to the browser according to the webpage address and the information of the source language. For example, the user does not select the display language of the web page through the browser, that is, the web page is displayed in the source language by default. If this is the case, the processing of the intermediate server is as follows:
  • the user sends a webpage access request to the intermediate server via the browser of the mobile terminal to the webpage http://www.sina.com.cn. If the user does not select the display language of the webpage, the webpage content is displayed in the source language Chinese. Then the intermediate server extracts the content of the http://www.sina.com.cn Chinese page from the local database and feeds it back to the browser.
  • the intermediate server pre-stores the webpage address and the corresponding content of each language page, and when receiving the access request sent by the browser, extracts the corresponding content from the local database and sends the content to the browser, thereby saving traffic and reducing the traffic. Browsing costs, reduced frequent network operations, and greatly improved browsing response speed.
  • the foregoing method is specifically:
  • Step S11 The database pre-stores the webpage address and the corresponding page content of each language; the content of each language page includes at least the content of the source language page;
  • Step S12 Receive an access request of the mobile terminal.
  • Step S13 searching for each language page from the database according to the webpage address in the access request.
  • step S14 the content of each language page is fed back to the browser.
  • step S13 includes:
  • Step S131 searching for the source language page content corresponding to the webpage address from the database for transmission; considering that the user generally reads more in the source language when accessing the webpage, and less selects other languages to access, the present invention preferably receives
  • the source language page content corresponding to the webpage address is searched from the intermediate server for transmission.
  • the intermediate server looks up the http://www.sina.com.cn Chinese page content from the database according to two key conditions of http://www.sina.com.cn and the display language as the source language.
  • Step S132 When the content of the source language page is not found, access the network according to the webpage address in the access request, obtain data from the network to form the source language page content, and save the content to the database.
  • the intermediate server may further include a page generating module, configured to access the network according to the webpage address when the source language page content is not found, obtain data from the network to form the source language page content, and save the content to the database.
  • a page generating module configured to access the network according to the webpage address when the source language page content is not found, obtain data from the network to form the source language page content, and save the content to the database.
  • the intermediate server accesses the Internet according to the http://www.sina.com.cn address, and obtains data from the Internet. And form the page content, and pre-store the source language page content of http: ⁇ www.sina.com.cn into the database, and return the content of the page to the browser of the mobile terminal.
  • the present invention proposes another embodiment of the intermediate server for the case where the user wants to translate the web page.
  • a translation module is set in the intermediate server for translating the webpage.
  • the specific processing process of the translation module translation in the intermediate server includes:
  • Step S1141 analyzing the current webpage language and the target language that requires translation
  • Step S1142 the corresponding language translation sub-block is invoked according to the current webpage language and the target language; step S1143, the language translation sub-block is based on the language corresponding to the current webpage language and the target language A semantic library that processes the pages one by one, and obtains the content of the target language page and saves it to the database.
  • the method may include:
  • Step S111 receiving a webpage translation request
  • Step S112 querying, according to the current webpage address and the target language in the translation request, whether the corresponding page content exists in the database;
  • Step S113 When there is no page content corresponding to the current webpage address and the target language in the database, the page content corresponding to the current webpage address and the current webpage language is searched from the database; Step S114, according to the translation request, and the current webpage address and The page content corresponding to the current web page language is translated.
  • the intermediate server receives the translation request, and the webpage to be translated is http://www.sina.com.cn, and the target language to be translated is English;
  • the intermediate server calls the translation module, translates the Chinese page content of http://www.sina.com.cn, translates it into English, and pre-stores the English page of http: ⁇ www.sina.com.cn stand up; 6), send module ⁇ ! Find the requested htt: //www.sina.com.cn The English web content is returned to the browser of the mobile terminal.
  • the present invention implements the function of multilingual translation of web pages on an intermediate server based on the C/S architecture.
  • the embodiment of the present invention also proposes an embodiment of the mobile browsing method for the case where the user selects the display language.
  • This embodiment is proposed based on step S113 in the foregoing embodiment.
  • searching for a page content corresponding to the current webpage address and the current webpage language from the database includes:
  • the translation module When there is no page content corresponding to the current webpage address and the target language in the database, the database is searched for any language page content corresponding to the current webpage address. There are two cases at this time: If found, the translation module translates the page content corresponding to the current webpage address and the current webpage language according to the translation request:
  • the page generating module accesses the network according to the current webpage address, acquires data from the network to form the source language page content, and saves the content to the database;
  • the translation module translates the page content corresponding to the current webpage address and the current webpage language according to the translation request:
  • the content of the source language page obtained from the network is translated, and the content of the target language page is obtained and saved in the database.
  • the user sets the default display language of the browsing webpage to English through the browser of the mobile terminal, and then initiates an access request, taking the above-mentioned visit http://www.sina.com.cn as an example, the specific processing steps of the middle server are as follows: : 1), the intermediate server receives the access request, and the webpage to be accessed is http://www.sina.com.cn, and the target language to be displayed is English;
  • the page generation module accesses the Internet according to the URL address of http: ⁇ www.sina.com.cn, and obtains data from the Internet. Forming the content of the page, and pre-storing the obtained http://www.sina.com.cn source webpage (Chinese webpage) into the database, then translating the content of the Chinese webpage, translating it into English, and translating The completed http://www.sina.com.cn English page content is also pre-stored in the database, and the English page of http: ⁇ www.sina.com.cn is returned to the browser of the mobile terminal.
  • an intermediate server 10 can implement the foregoing method, and is configured to pre-store a webpage address and a corresponding content of each language page, and send the content according to the browser 21 of the mobile terminal 20.
  • the webpage address and the language information in the access request are extracted and fed back to the browser 21; wherein the language information includes at least information indicating whether the language of the webpage content is the source language.
  • the intermediate server 10 includes a database 11 for pre-storing a webpage address (URL) and its language content, such as a source language or other national languages, through the database 11.
  • the database 11 can store http://www.sina.com.cn and its corresponding Chinese webpage, English webpage, French webpage and German webpage, etc. . If the user wants to visit a website without selecting the display language of the web page through the browser 21, it is generally considered that the web content is displayed in the source language.
  • the intermediate server 10 When receiving the access request sent by the browser 21 of the mobile terminal 20, the intermediate server 10 extracts the corresponding page content feedback from the database 11 to the browser 21 based on the web page address and the information of the source language. For example, the user does not select the display language of the web page through the browser 21, that is, the default web page is displayed in the source language. If this is the case, the processing of the intermediate server 10 is as follows: The source language page content corresponding to the web page address is searched from the database for feedback to the browser 21. For example, the user sends a webpage access request to the intermediate server 10 via the browser 21 of the mobile terminal 20 to the webpage http: ⁇ www.sina.com.cn. If the user does not select the display language of the webpage, the webpage is displayed in the source language Chinese. The content, the intermediate server 10 extracts the http://www.sina.com.cn Chinese page content from the database 11 and feeds it back to the browser 21.
  • the intermediate server 10 prestores the webpage address and the content of each corresponding language page.
  • the corresponding content is extracted from the local database 11 and sent to the browser 21, thereby saving Traffic reduces browsing costs, reduces frequent network operations, and greatly improves browsing response speed.
  • the foregoing intermediate server 10 specifically includes:
  • a database 11 configured to pre-store a webpage address and corresponding language content of each language; the content of each language page includes a source language page content and other reading languages;
  • the receiving module 12 is configured to receive an access request of the mobile terminal 20;
  • the search module 13 is configured to search for the content of each language page from the database 11 according to the webpage address in the access request.
  • the searching module 13 may be based on the webpage address and the content of the webpage.
  • the display language searches for the corresponding content from the database 11, and the display language may be the source language or other languages.
  • the sending module 14 is configured to feed back the content of each language page to the browser 21.
  • the present invention preferably searches the database 11 for the source language page content corresponding to the webpage address when receiving the access request. For delivery.
  • the searching module 13 searches the database 11 for the Chinese page of http://www.sina.com.cn according to two key conditions of the source language according to http://www.sina.com.cn and the display language. content.
  • the intermediate server 10 may further include a page generating module 15 configured to: when the search module 13 does not find the source language page content, access the network according to the webpage address, and obtain data from the network to form a source language page. Content, and save it to database 11.
  • a page generating module 15 configured to: when the search module 13 does not find the source language page content, access the network according to the webpage address, and obtain data from the network to form a source language page. Content, and save it to database 11.
  • the intermediate server is based on http://www.sina.com.cn
  • the address accesses the Internet, acquires data from the Internet and forms page content, and pre-stores the source language page content of http: ⁇ www.sina.com.cn into the database 11, and returns the content of the page to the browser 21 of the mobile terminal 20 .
  • the present invention proposes another embodiment of the intermediate server 10 for the case where the user wants to translate the web page.
  • the receiving module 12 is further configured to receive a webpage translation request;
  • the searching module 13 is further configured to: query whether the corresponding page content exists in the database 11 according to the current webpage address and the target language in the translation request;
  • the intermediate server 10 further includes:
  • the translation module 16 is configured to translate the page content corresponding to the current webpage address and the current webpage language according to the translation request. For example, in the foregoing embodiment, if the user is browsing this After the webpage content is found to be displayed in Chinese, if the webpage is to be displayed in English, the user can initiate a translation request for the current webpage through the browser 21 of the mobile terminal 20, and select to translate into English.
  • the specific processing steps of the intermediate server 10 are as follows:
  • the receiving module 12 of the intermediate server 10 receives the translation request, and the web page to be translated is http: ⁇ www.sina.com.cn, and the target language to be translated is English;
  • the intermediate server 10 calls the translation module 16, translates the Chinese page content of http: ⁇ www.sina.com.cn, translates it into English, and http: ⁇ www. sina.com.cn English page Pre-stored;
  • the sending module 14 returns the requested English webpage content of http://www.sina.com.cn to the browser 21 of the mobile terminal 20.
  • the present invention implements the function of multilingual translation of a web page on a C/S based intermediate server.
  • the translation module 16 specifically includes:
  • the webpage analysis sub-block 161 is configured to analyze the current webpage language and the target language that requires translation; the calling sub-block 162 is configured to invoke the corresponding language translation sub-block according to the current webpage language and the target language;
  • Language translation sub-block 163 based on the semantics of the language corresponding to the current web language language and the target language
  • the library for the page to be translated one by one, the target language page content is obtained and saved to the database.
  • the specific process of the translation module 16 is as follows:
  • the webpage analysis sub-block 161 is called to analyze the current page language (source language) and the language to be translated (target language;);
  • Calling sub-block 162 calling the corresponding language translation sub-block according to the current page language and the target language
  • the corresponding language translation sub-block is based on the language semantic library corresponding to the current page language and the target language, and the source page is translated one by one to obtain the target language page content.
  • the searching module 13 is further configured to query whether the corresponding page content exists in the database 11 according to the current webpage address and the target language in the translation request.
  • the database 11 is searched for any language page content corresponding to the current webpage address. There are two cases at this time: If found, the processing of the translation module 16 is:
  • the page generating module 15 accesses the network according to the current webpage address, acquires data from the network to form the source language page content, and saves Go to the database 11; at this time, the processing of the translation module 16 is:
  • the content of the source language page acquired from the network is translated, and the content of the target language page is obtained and saved in the database 11.
  • the user sets the default display language of the browsing webpage to English through the browser 21 of the mobile terminal 20, and then initiates an access request to access http: ⁇ www.sina.com.cn as an example, in the middle
  • the specific processing steps of the server 10 are as follows:
  • the receiving module 12 receives the access request, and the webpage to be accessed is http://www.sina.com.cn, and the target language to be displayed is English;
  • the page generating module 15 accesses the Internet according to the URL address of http://www.sina.com.cn, The Internet obtains the data and forms the content of the page, and pre-stores the obtained http://www.sina.com.cn source language webpage (Chinese webpage) into the database 11, and then translates the content of the Chinese webpage and translates the content of the Chinese webpage.
  • the translated English http://www.sina.com.cn English page content is also pre-stored in the database 11, and the English webpage of http: ⁇ www.sina.com.cn is returned to the mobile terminal 20 at the same time. Browser 21.
  • the embodiment of the invention further provides a mobile browsing system, which comprises all the schemes of the intermediate server 10 and the mobile terminal 20 described above.
  • the mobile browsing system of the invention has the advantages of low traffic, low browsing cost, simple networking operation, and fast browsing response.
  • the structure and implementation principle of the mobile browsing system of the present invention can be referred to the foregoing embodiment shown in FIG. 1 to FIG. 7, and details are not described herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Description

中间服务器、 移动浏览方法及系统 技术领域
本发明涉及移动浏览技术领域, 尤其是涉及一种用于移动浏览的中间 服务器、 移动浏览方法及系统。 背景技术
随着移动网络的快速发展, 尤其对于现在多元化的社会, 实现网页内 容在各种语系之间的翻译越来越重要, 网页翻译技术也在不断的更新发展。
目前的网页翻译技术主要可划分为以下两种实现方式:
一种是在移动终端本身安装具有相应的翻译功能的分析处理模块, 以 及大量的语种语义库, 在客户端实现对网页内容的翻译。
另一种是在服务器端安装翻译功能模块和语种语义库, 采用在线的方 式翻译网页内容。
这两种方式都存在一定的弊端: 前一种方式不仅浪费了大量的客户端 资源, 浏览响应较慢, 也不利于更新和维护; 后一种方式因为采用了在线 的语种语义库, 在翻译过程中需要频繁向服务器发送请求, 势必也会带来 一系列问题。 发明内容
本发明的主要目的在于提供一种移动浏览系统, 旨在减少频繁联网, 提高移动终端的浏览响应速度。
为了实现发明目的, 本发明提供一种中间服务器, 其用于预存网页地 址及其对应的各语种页面内容, 并根据移动终端的浏览器发送过来的访问 请求中的网页地址和语种信息提取对应的页面内容反馈至所述浏览器; 所 述语种信息至少包含显示网页内容的语种是否为源语种的信息。
优选地, 所述中间服务器包括:
数据库, 用于预存网页地址及其对应的各语种页面内容; 所述各语种 页面内容至少包括源语种页面内容;
接收模块, 用于接收移动终端的访问请求;
查找模块, 用于根据访问请求中的网页地址从数据库中查找各语种页 面内容;
发送模块, 用于将各语种页面内容反馈至所述浏览器。
优选地, 所述查找模块具体用于:
从数据库中查找与网页地址对应的源语种页面内容以供发送。
优选地, 所述中间服务器还包括页面生成模块, 用于在未查找到源语 种页面内容时, 根据所述访问请求中的网页地址访问网络, 从网络获取数 据形成源语种页面内容, 并将其保存到数据库中。
所述接收模块还用于接收网页翻译请求; 所述查找模块还用于: 根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址和当前网页语种对应的页面内容;
所述中间服务器还包括:
翻译模块, 用于根据翻译请求对所述与当前网页地址和当前网页语种 对应的页面内容进行翻译。
优选地, 所述翻译模块包括:
网页分析子块, 用于分析出当前网页语种和要求翻译的目标语种; 调用子块, 用于根据当前网页语种和目标语种调用相应的语种翻译子 块; 语种翻译子块 , 依据与当前网页语种和目标语种相对应的语种语义库 , 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库中。
优选地, 所述查找模块还用于根据翻译请求中的当前网页地址和目标 语种查询数据库中是否存在对应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址对应的任一语种页面内容;
所述翻译模块还用于将查找到的所述与当前网页地址对应的任一语种 页面内容翻译成目标语种页面内容并保存到数据库中。
优选地, 所述页面生成模块还用于在数据库中不存在所述与当前网页 地址对应的任一语种页面内容时, 根据所述当前网页地址访问网络, 从网 络获取数据形成源语种页面内容, 并保存到数据库中;
所述翻译模块还用于根据翻译请求, 对从网络获取的源语种页面内容 进行翻译, 得出目标语种页面内容, 并保存到数据库中。
本发明提供一种移动浏览方法, 其包括以下步驟:
预存网页地址及其对应的各语种页面内容, 并根据移动终端的浏览器 发送过来的访问请求中的网页地址和语种信息提取对应的页面内容反馈至 所述浏览器; 所述语种信息至少包含显示网页内容的语种是否为源语种的 信息。
优选地, 所述预存网页地址及其对应的各语种页面内容, 并根据移动 终端的浏览器发送过来的访问请求中的网页地址和语种信息提取对应的页 面内容反馈至所述浏览器包括:
数据库预存网页地址及其对应的各语种页面内容; 所述各语种页面内 容至少包括源语种页面内容;
接收移动终端的访问请求;
根据访问请求中的网页地址从数据库中查找各语种页面内容; 将各语种页面内容反馈至所述浏览器。
优选地, 所述根据访问请求中的网页地址从数据库中查找各语种页面 内容包括:
从数据库中查找与网页地址对应的源语种页面内容以供发送。
优选地, 所述根据访问请求中的网页地址从数据库中查找各语种页面 内容还包括:
在未查找到源语种页面内容时, 根据所述访问请求中的网页地址访问 网络, 从网络获取数据形成源语种页面内容, 并将其保存到数据库中。
优选地, 在执行所述数据库预存网页地址及其对应的各语种页面内容 之后还包括:
接收网页翻译请求;
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址和当前网页语种对应的页面内容;
根据翻译请求对所述与当前网页地址和当前网页语种对应的页面内容 进行翻译。
优选地, 所述根据翻译请求对所述与当前网页地址和当前网页语种对 应的页面内容进行翻译包括:
分析出当前网页语种和要求翻译的目标语种;
根据当前网页语种和目标语种调用相应的语种翻译子块;
语种翻译子块依据与当前网页语种和目标语种相对应的语种语义库, 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库中。
优选地, 所述根据翻译请求对所述与当前网页地址和当前网页语种对 应的页面内容进行翻译包括: 分析出当前网页的源语种和要求翻译的目标语种;
根据源语种和目标语种调用相应的语种翻译子块;
语种翻译子块依据与源语种和目标语种相对应的语种语义库, 针对页 面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库中。
优选地, 所述从数据库中查找与当前网页地址和当前网页语种对应的 页面内容包括:
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址对应的任一语种页面内容;
所述根据翻译请求对所述与当前网页地址和当前网页语种对应的页面 内容进行翻译包括:
将查找到的所述与当前网页地址对应的任一语种页面内容翻译成目标 语种页面内容并保存到数据库中。
优选地, 所述从数据库中查找与当前网页地址对应的任一语种页面内 容包括:
在数据库中不存在所述与当前网页地址对应的任一语种页面内容时, 根据所述当前网页地址访问网络, 从网络获取数据形成源语种页面内容, 并保存到数据库中;
所述根据翻译请求对所述与当前网页地址和当前网页语种对应的页面 内容进行翻译包括:
根据翻译请求, 对从网络获取的源语种页面内容进行翻译, 得出目标 语种页面内容, 并保存到数据库中。
由上可知, 本发明采用 C/S ( Client/Server, 客户 /服务器) 架构, 通过 中间服务器预存网页地址及其对应的各语种页面内容, 在接收到浏览器发 送的的访问请求时, 从本地数据库中提取相应内容并发送给移动终端, 节 省了流量, 降低了浏览成本, 减少了频繁联网操作, 使浏览响应速度有了 很大的提高。 附图说明
图 1是本发明移动浏览方法一实施例的流程图;
图 2是本发明移动浏览方法一实施例中查找数据库的流程图; 图 3是本发明移动浏览方法一实施例中翻译网页的流程图;
图 4是本发明移动浏览方法一实施例中根据翻译请求翻译网页的流程 图;
图 5是本发明中间服务器一实施例的结构示意图;
图 6是本发明中间服务器另一实施例的结构示意图;
图 7是本发明中间服务器翻译模块的结构示意图。
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。
本发明中, 移动终端可以是手机等可以进行移动通信的终端。
本发明移动浏览方法一实施例包括以下步驟:
预存网页地址及其对应的各语种页面内容, 并根据移动终端的浏览器 发送过来的访问请求中的网页地址和语种信息提取对应的页面内容反馈至 浏览器; 语种信息至少包含显示网页内容的语种是否为源语种的信息。
本发明实施例中, 通过中间服务器预存网页地址(URL )及其各语种 页 面 内 容, 例如源语种或者其他各国语种。 以 网 页地址 http://www.sina.com.cn为例 , 中间服务器中可保存有 http://www.sina.com.cn 及其对应的中文网页、 英文网页、 法文网页及德文网页等。 网页的源语种 是网页设计者在初始设置网站时, 考虑各种阅读环境对网页所设置的有针 对性的显示语种。 例如, 在我国, 各网页的源语种一般为中文; 而在英国 或美国, 各网页的源语种一般为英文。 如果用户要访问某网站, 而没有通 过浏览器选择网页的显示语种, 一般认为是以源语种显示网页内容。
中间服务器接收到移动终端的浏览器发送的访问请求时, 根据网页地 址和是否为源语种的信息从数据库中提取对应的页面内容反馈至浏览器。 例如, 用户未通过浏览器选择网页的显示语种, 即默认该网页是以源语种 显示的。 如果是这种情况, 中间服务器的处理过程如下:
从数据库中查找与网页地址对应的源语种页面内容以供反馈至浏览 器。 例如, 用户通过移动终端的浏览器向中间服务器发送访问网址为 http://www.sina.com.cn的网页访问请求, 如果用户未选择网页的显示语种, 即以源语种中文显示网页内容, 则中间服务器从本地数据库中提取 http://www.sina.com.cn中文页面内容并反馈至浏览器。
本发明实施例通过中间服务器预存网页地址及其对应的各语种页面内 容, 在接收到浏览器发送的的访问请求时, 从本地数据库中提取相应内容 并发送给浏览器, 节省了流量, 降低了浏览成本, 减少了频繁联网操作, 使浏览响应速度有了很大的提高。
在一实施例中, 如图 1所示, 上述方法具体为:
步驟 S11 ,数据库预存网页地址及其对应的各语种页面内容; 各语种页 面内容至少包括源语种页面内容;
步驟 S12, 接收移动终端的访问请求;
步驟 S13 , 根据访问请求中的网页地址从数据库中查找各语种页面内 步驟 S14, 将各语种页面内容反馈至浏览器。
参照图 2, 在一实施例中, 步驟 S13包括:
步驟 S131 , 从数据库中查找与网页地址对应的源语种页面内容以供发 送; 考虑到用户在访问网页时, 一般以源语种阅读较多, 而较少选择其他 语种进行访问, 本发明优选在接收到访问请求时, 从中间服务器中查找与 网页地址对应的源语种页面内容以供发送。 例如, 中间服务器根据 http://www.sina.com.cn 和显示语种为源语种两个关键条件从数据库中查找 http://www.sina.com.cn中文页面内容。
步驟 S132, 在未查找到源语种页面内容时, 根据访问请求中的网页地 址访问网络, 从网络获取数据形成源语种页面内容, 并将其保存到数据库 中。
本发明实施例中, 中间服务器还可包括页面生成模块, 用于在未查找 到源语种页面内容时, 根据网页地址访问网络, 从网络获取数据形成源语 种页面内容, 并将其保存到数据库中。 例如, 如果当前中间服务器的数据 库中没有预存 http:〃 www.sina.com.cn 的源语种页面内容, 则中间服务器根 据 http://www.sina.com.cn地址访问互联网, 从互联网获取数据并形成页面 内容, 并且将 http:〃 www.sina.com.cn 的源语种页面内容预存到数据库中, 同时将此页面内容返回给移动终端的浏览器。
针对用户要翻译网页的情况, 本发明提出中间服务器另一种实施例。 该实施例中, 在中间服务器中设置翻译模块, 用以对网页进行翻译。 具体 的, 参照图 3 , 本实施例中, 中间服务器中翻译模块翻译的具体处理过程包 括:
步驟 S1141 , 分析出当前网页语种和要求翻译的目标语种;
步驟 S1142, 根据当前网页语种和目标语种调用相应的语种翻译子块; 步驟 S1143 ,语种翻译子块依据与当前网页语种和目标语种相对应的语 种语义库, 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到 数据库中。
参照图 4,为本实施例中中间服务器根据翻译请求对与当前网页地址和 当前网页语种对应的页面内容进行翻译的具体处理流程图。 上述实施例中 , 在执行步驟 S11之后可包括:
步驟 S111 , 接收网页翻译请求;
步驟 S112, 根据翻译请求中的当前网页地址和目标语种查询数据库中 是否存在对应的页面内容;
步驟 S113 , 在数据库中不存在与当前网页地址和目标语种对应的页面 内容时, 从数据库中查找与当前网页地址和当前网页语种对应的页面内容; 步驟 S114, 根据翻译请求对与当前网页地址和当前网页语种对应的页 面内容进行翻译。
具体处理过程如下:
1 )、 中 间服务器接收到翻译请求, 得到要翻译的网页是 http://www.sina.com.cn, 要翻译的目标语种为英文;
2 ), 首先查询预存数据库中是否有 http:〃 www.sina.com.cn的英文网页;
3 )、 如果中间服务器的数据库中预存有 http:〃 www.sina.com.cn的英文 网页, 则直接将此网页内容返回给移动终端的浏览器;
4 )、 如果中间服务器的数据库中没有预存 http:〃 www.sina.com.cn 的英 文网页, 则先查询出 http://www.sina.com.cn 当前语种的网页内容即中文网 页, (目前用户正在浏览 http:〃 www.sina.com.cn的中文网页, 所以必定能查 询得到);
5 )、 中间服务器调用翻译模块, 针对 http://www.sina.com.cn的中文页 面内容进行翻译, 将其翻译为英文, 并将 http:〃 www.sina.com.cn的英文网 页预存起来; 6 )、 发送模块 ^!寻所请求的 htt : //www. sina.com.cn 的英文网页内容返回 给移动终端的浏览器。
这样就实现了本发明在基于 C/S 架构的中间服务器上对网页进行多语 种翻译的功能。
本发明实施例还针对用户选择显示语种的情况提出移动浏览方法一实 施例。 本实施例基于前述实施例中步驟 S113提出, 在该步驟 S113 , 从数据 库中查找与当前网页地址和当前网页语种对应的页面内容包括:
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址对应的任一语种页面内容。 此时分两种情况: 如果查找到, 则翻译模块根据翻译请求对与当前网页地址和当前网页 语种对应的页面内容进行翻译的处理过程为:
将查找到的所述与当前网页地址对应的任一语种页面内容翻译成目标 语种页面内容并保存到数据库中。
如果未查找到, 即在数据库中不存在与当前网页地址对应的任一语种 页面内容时, 页面生成模块根据当前网页地址访问网络, 从网络获取数据 形成源语种页面内容, 并保存到数据库中; 此时, 翻译模块根据翻译请求 对与当前网页地址和当前网页语种对应的页面内容进行翻译的处理过程 为:
根据翻译请求, 对从网络获取的源语种页面内容进行翻译, 得出目标 语种页面内容, 并保存到数据库中。
例如, 用户通过移动终端的浏览器设置浏览网页的默认显示语种为英 文, 然后发起访问请求, 以前述访问 http://www .sina.com.cn为例, 中间月良 务器具体处理步驟如下: 1 )、 中 间服务器接收到访问请求, 得到要访问的网页是 http://www.sina.com.cn, 要显示的目标语种为英文;
2 ), 首先查询数据库中是否预存有 http:〃 www.sina.com.cn的英文网页;
3 )、 如果数据库中预存有 http:〃 www.sina.com.cn 的英文网页, 则直接 将此网页内容返回给移动终端的浏览器;
4 )、 如果数据库中没有预存 http:〃 www.sina.com.cn 的英文网页, 则继 续查询数据库中是否有 http:〃 www. sina.com.cn其他任一语种的页面内容, 如中文网页或法文网页等;
5 )、 如果在数据库中查询到有 http:〃 www.sina.com.cn的法文网页, 则 调用翻译模块中的法文到英文的语种翻译子块, 针对该语种的页面内容进 行翻译, 将其翻译为英文, 并将 http:〃 www.sina.com.cn的英文网页预存到 数据库中, 同时将 http:〃 www.sina.com.cn的英文网页内容返回给移动终端 的浏览器;
6 )、 如果数据库没有预存 http:〃 www.sina.com.cn任一语种的网页, 则 页面生成模块根据 http:〃 www. sina.com.cn的 URL地址去访问互联网, 从互 联网获取数据并形成页面内容, 并且将获取到的 http://www.sina.com.cn源 网页 (中文网页)预存到数据库中, 随之针对该中文网页内容进行翻译, 将其翻译为英文, 并且将翻译完成的 http://www.sina.com.cn英文页面内容 也预存到数据库中, 同时将 http:〃 www.sina.com.cn的英文网页返回给移动 终端的浏览器。
参照图 5 ,提出本发明的中间服务器 10—实施例, 该中间服务器 10可 实现上述方法, 用于预存网页地址及其对应的各语种页面内容, 并根据移 动终端 20的浏览器 21发送过来的访问请求中的网页地址和语种信息提取 对应的页面内容反馈至浏览器 21 ; 其中, 语种信息至少包含显示网页内容 的语种是否为源语种的信息。 本发明实施例中, 中间服务器 10包括数据库 11 , 通过数据库 11预存 网页地址(URL )及其各语种页面内容, 例如源语种或者其他各国语种。 以网页地址 http:〃 www.sina.com.cn 为例, 数据库 11 中可保存有 http://www.sina.com.cn及其对应的中文网页、英文网页、 法文网页及德文网 页等。如果用户要访问某网站,而没有通过浏览器 21选择网页的显示语种, 一般认为是以源语种显示网页内容。
中间服务器 10接收到移动终端 20的浏览器 21发送的访问请求时, 根 据网页地址和是否为源语种的信息从数据库 11中提取对应的页面内容反馈 至浏览器 21。 例如, 用户未通过浏览器 21选择网页的显示语种, 即默认该 网页是以源语种显示的。 如果这种情况, 中间服务器 10的处理过程如下: 从数据库中查找与网页地址对应的源语种页面内容以供反馈至浏览器 21。 例如, 用户通过移动终端 20的浏览器 21向中间服务器 10发送访问网 址为 http:〃 www.sina.com.cn的网页访问请求, 如果用户未选择网页的显示 语种, 即以源语种中文显示网页内容, 则中间服务器 10从数据库 11 中提 取 http://www.sina.com.cn中文页面内容并反馈至浏览器 21。
本发明实施例通过中间服务器 10预存网页地址及其对应的各语种页面 内容, 在接收到浏览器 21发送的的访问请求时, 从本地数据库 11 中提取 相应内容并发送给浏览器 21 , 节省了流量, 降低了浏览成本, 减少了频繁 联网操作, 使浏览响应速度有了很大的提高。
参照图 5 , 上述中间服务器 10具体包括:
数据库 11 , 用于预存网页地址及其对应的各语种页面内容; 所述各语 种页面内容包括源语种页面内容和其他各阅读语种;
接收模块 12, 用于接收移动终端 20的访问请求;
查找模块 13 ,用于根据访问请求中的网页地址从数据库 11中查找各语 种页面内容; 本发明实施例中, 查找模块 13可根据网页地址和网页内容的 显示语种从数据库 11中查找对应内容, 显示语种可以是源语种, 也可以是 其他语种。
发送模块 14, 用于将各语种页面内容反馈至浏览器 21。
考虑到用户在访问网页时, 一般以源语种阅读较多, 而较少选择其他 语种进行访问, 本发明优选在接收到访问请求时, 从数据库 11中查找与网 页地址对应的源语种页面内容以供发送。 例如, 前述实施例中, 查找模块 13根据 http://www.sina.com.cn和显示语种为源语种两个关键条件从数据库 11中查找 http://www.sina.com.cn中文页面内容。
参照图 6, 在一实施例中, 中间服务器 10还可包括页面生成模块 15 , 用于在查找模块 13未查找到源语种页面内容时, 根据网页地址访问网络, 从网络获取数据形成源语种页面内容, 并将其保存到数据库 11中。 例如, 前述实施例中, 如果当前中间服务器 10 的数据库 11 中没有预存 http://www.sina.com.cn 的源语种页面 内 容, 则 中 间服务器根据 http://www.sina.com.cn地址访问互联网, 从互联网获取数据并形成页面内 容, 并且将 http:〃 www.sina.com.cn的源语种页面内容预存到数据库 11中, 同时将此页面内容返回给移动终端 20的浏览器 21。
针对用户要翻译网页的情况,本发明提出中间服务器 10另一种实施例。 该实施例中, 接收模块 12还用于接收网页翻译请求; 查找模块 13还用于: 根据翻译请求中的当前网页地址和目标语种查询数据库 11中是否存在 对应的页面内容;
在数据库 11中不存在与当前网页地址和目标语种对应的页面内容时, 从数据库 11中查找与当前网页地址和当前网页语种对应的页面内容。
如图 6所示, 中间服务器 10还包括:
翻译模块 16, 用于根据翻译请求对所述与当前网页地址和当前网页语 种对应的页面内容进行翻译。 例如, 前述实施例中, 如果用户在浏览了此 网页内容后发现是中文显示的, 想将此网页显示为英文的, 则用户可以通 过移动终端 20的浏览器 21针对当前网页发起翻译请求, 选择翻译为英文, 中间服务器 10具体的处理步驟如下:
1 )、 中间服务器 10的接收模块 12接收到翻译请求, 得到要翻译的网 页是 http:〃 www.sina.com.cn, 要翻译的目标语种为英文;
2 )、 首先查找模块 13 查询预存数据库 11 中是否有 http://www.sina.com.cn的英文网页;
3 )、 如果中间服务器 10的数据库 11 中预存有 http:〃 www.sina.com.cn 的英文网页, 则直接将此网页内容返回给移动终端 20的浏览器 21 ;
4 )、如果中间服务器 10的数据库 11中没有预存 http:〃 www.sina.com.cn 的英文网页, 则先查询出 http://www.sina.com.cn 当前语种的网页内容即中 文网页, (目前用户正在浏览 http://www.sina.com.cn的中文网页, 所以必定 能查询得到);
5 )、 中间服务器 10调用翻译模块 16,针对 http:〃 www.sina.com.cn的中 文页面内容进行翻译, 将其翻译为英文, 并将 http:〃 www. sina.com.cn的英 文网页预存起来;
6 )、 发送模块 14将所请求的 http://www.sina.com.cn的英文网页内容返 回给移动终端 20的浏览器 21。
这样就实现了本发明在基于 C/S 的中间服务器上对网页进行多语种翻 译的功能。
参照图 7, 翻译模块 16具体包括:
网页分析子块 161 , 用于分析出当前网页语种和要求翻译的目标语种; 调用子块 162,用于根据当前网页语种和目标语种调用相应的语种翻译 子块;
语种翻译子块 163 ,依据与当前网页语种和目标语种相对应的语种语义 库, 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库 中。
若浏览器 21 针对某一页面 (源页面) 内容有翻译请求, 翻译模块 16 的具体过程处理如下:
首先调用网页分析子块 161 , 分析出当前页面语种(源语种 )和要求翻 译的语种(目标语种;);
调用子块 162,根据当前页面语种和目标语种调用相应的语种翻译子块
163;
相应的语种翻译子块依 163据与当前页面语种和目标语种相对应的语 种语义库, 针对源页面进行逐一翻译处理, 得出目标语种页面内容。
在一实施例中, 上述查找模块 13还用于根据翻译请求中的当前网页地 址和目标语种查询数据库 11中是否存在对应的页面内容;
在数据库 11中不存在与当前网页地址和目标语种对应的页面内容时, 从数据库 11中查找与当前网页地址对应的任一语种页面内容。 此时分两种 情况: 如果查找到, 则翻译模块 16的处理过程为:
将查找到的所述与当前网页地址对应的任一语种页面内容翻译成目标 语种页面内容并保存到数据库 11中;
如果未查找到, 即在数据库 11中不存在与当前网页地址对应的任一语 种页面内容时, 页面生成模块 15根据所述当前网页地址访问网络, 从网络 获取数据形成源语种页面内容, 并保存到数据库 11中; 此时, 翻译模块 16 的处理过程为:
根据翻译请求, 对从网络获取的源语种页面内容进行翻译, 得出目标 语种页面内容, 并保存到数据库 11中。
例如, 用户通过移动终端 20的浏览器 21设置浏览网页的默认显示语 种为英文, 然后发起访问请求, 以访问 http:〃 www.sina.com.cn为例, 中间 服务器 10的具体处理步驟如下:
1 )、 接收模块 12 接收到访问请求, 得到要访问的网页是 http://www.sina.com.cn, 要显示的目标语种为英文;
2 )、 首先查找模块 13 查询数据库 11 中是否预存有 http:〃 www.sina.com.cn的英文网页;
3 )、 如果数据库 11 中预存有 http:〃 www.sina.com.cn的英文网页, 则直 接将此网页内容返回给移动终端 20的浏览器 21 ;
4 ), 如果数据库 11中没有预存 http:〃 www.sina.com.cn的英文网页, 则 继续查询数据库 11中是否有 http:〃 www.sina.com.cn其他任一语种的页面内 容, 如中文网页或法文网页等;
5 )、 如果在数据库 11中查询到有 http://www.sina.com.cn的法文网页, 则调用翻译模块 16中的法文到英文的语种翻译子块 163 , 针对该语种的页 面内容进行翻译, 将其翻译为英文, 并将 http:〃 www.sina.com.cn的英文网 页预存到数据库 11中, 同时将 http:〃 www.sina.com.cn的英文网页内容返回 给移动终端 20的浏览器 21 ;
6 )、 如果数据库 11没有预存 http://www.sina.com.cn任一语种的网页, 则页面生成模块 15根据 http://www.sina.com.cn的 URL地址去访问互联网, 从互联网获取数据并形成页面内容,并且将获取到的 http://www.sina.com.cn 源语种网页 (中文网页)预存到数据库 11中, 随之针对该中文网页内容进 行翻译, 将其翻译为英文, 并且将翻译完成的 http://www.sina.com.cn英文 页面内容也预存到数据库 11中, 同时将 http:〃 www.sina.com.cn的英文网页 返回给移动终端 20的浏览器 21。
本发明实施例还提供一种移动浏览系统, 该系统包含了上述中间服务 器 10和移动终端 20的全部方案。 相对于现有技术而言, 本发明移动浏览 系统具有流量少, 浏览成本低, 联网操作简单, 浏览响应速度快等优势。 具体的, 本发明移动浏览系统的构造及实现原理可参照前述图 1至图 7所 示实施例, 在此就不作赘述。
应当理解的是, 以上仅为本发明的优选实施例, 不能因此限制本发明 的保护范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流 程变换, 或直接或间接运用在其他相关的技术领域, 均同理包括在本发明 的专利保护范围内。

Claims

权利要求书
1、 一种中间服务器, 其特征在于, 用于预存网页地址及其对应的各语 种页面内容, 并根据移动终端的浏览器发送过来的访问请求中的网页地址 和语种信息提取对应的页面内容反馈至所述浏览器; 所述语种信息至少包 含显示网页内容的语种是否为源语种的信息。
2、 如权利要求 1所述的中间服务器, 其特征在于, 所述中间服务器包 括:
数据库, 用于预存网页地址及其对应的各语种页面内容; 所述各语种 页面内容至少包括源语种页面内容;
接收模块, 用于接收移动终端的访问请求;
查找模块, 用于根据访问请求中的网页地址从数据库中查找各语种页 面内容;
发送模块, 用于将各语种页面内容反馈至所述浏览器。
3、 如权利要求 2所述的中间服务器, 其特征在于, 所述查找模块具体 用于: 从数据库中查找与网页地址对应的源语种页面内容以供发送。
4、 如权利要求 3所述的中间服务器, 其特征在于, 所述中间服务器还 包括页面生成模块, 用于在未查找到源语种页面内容时, 根据所述访问请 求中的网页地址访问网络, 从网络获取数据形成源语种页面内容, 并将其 保存到数据库中。
5、 如权利要求 2或 3所述的中间服务器, 其特征在于, 所述接收模块 还用于接收网页翻译请求; 所述查找模块还用于:
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址和当前网页语种对应的页面内容; 所述中间服务器还包括:
翻译模块, 用于根据翻译请求对所述与当前网页地址和当前网页语种 对应的页面内容进行翻译。
6、如权利要求 5所述的中间服务器,其特征在于, 所述翻译模块包括: 网页分析子块, 用于分析出当前网页语种和要求翻译的目标语种; 调用子块, 用于根据当前网页语种和目标语种调用相应的语种翻译子 块;
语种翻译子块, 依据与当前网页语种和目标语种相对应的语种语义库, 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库中。
7、 如权利要求 6所述的中间服务器, 其特征在于, 所述查找模块还用 于根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对应 的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址对应的任一语种页面内容;
所述翻译模块还用于将查找到的所述与当前网页地址对应的任一语种 页面内容翻译成目标语种页面内容并保存到数据库中。
8、 如权利要求 7所述的中间服务器, 其特征在于, 所述页面生成模块 还用于在数据库中不存在所述与当前网页地址对应的任一语种页面内容 时, 根据所述当前网页地址访问网络, 从网络获取数据形成源语种页面内 容, 并保存到数据库中;
所述翻译模块还用于根据翻译请求, 对从网络获取的源语种页面内容 进行翻译, 得出目标语种页面内容, 并保存到数据库中。
9、 一种移动浏览方法, 其特征在于, 包括以下步驟:
预存网页地址及其对应的各语种页面内容, 并根据移动终端的浏览器 发送过来的访问请求中的网页地址和语种信息提取对应的页面内容反馈至 所述浏览器; 所述语种信息至少包含显示网页内容的语种是否为源语种的 信息。
10、 如权利要求 9所述的移动浏览方法, 其特征在于, 所述预存网页 地址及其对应的各语种页面内容, 并根据移动终端的浏览器发送过来的访 问请求中的网页地址和语种信息提取对应的页面内容反馈至所述浏览器包 括:
数据库预存网页地址及其对应的各语种页面内容; 所述各语种页面内 容至少包括源语种页面内容;
接收移动终端的访问请求;
根据访问请求中的网页地址从数据库中查找各语种页面内容; 将各语种页面内容反馈至所述浏览器。
11、 如权利要求 10所述的移动浏览方法, 其特征在于, 所述根据访问 请求中的网页地址从数据库中查找各语种页面内容包括:
从数据库中查找与网页地址对应的源语种页面内容以供发送。
12、 如权利要求 11所述的移动浏览方法, 其特征在于, 所述根据访问 请求中的网页地址从数据库中查找各语种页面内容还包括:
在未查找到源语种页面内容时, 根据所述访问请求中的网页地址访问 网络, 从网络获取数据形成源语种页面内容, 并将其保存到数据库中。
13、 如权利要求 10或 11所述的移动浏览方法, 其特征在于, 在所述 数据库预存网页地址及其对应的各语种页面内容之后还包括:
接收网页翻译请求;
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址和当前网页语种对应的页面内容; 根据翻译请求对所述与当前网页地址和当前网页语种对应的页面内容 进行翻译。
14、 如权利要求 13所述的移动浏览方法, 其特征在于, 所述根据翻译 请求对所述与当前网页地址和当前网页语种对应的页面内容进行翻译包 括:
分析出当前网页语种和要求翻译的目标语种;
根据当前网页语种和目标语种调用相应的语种翻译子块;
语种翻译子块依据与当前网页语种和目标语种相对应的语种语义库, 针对页面进行逐一翻译处理, 得出目标语种页面内容并保存到数据库中。
15、 如权利要求 14所述的移动浏览方法, 其特征在于, 所述从数据库 中查找与当前网页地址和当前网页语种对应的页面内容包括:
根据翻译请求中的当前网页地址和目标语种查询数据库中是否存在对 应的页面内容;
在数据库中不存在与当前网页地址和目标语种对应的页面内容时, 从 数据库中查找与当前网页地址对应的任一语种页面内容;
所述根据翻译请求对所述与当前网页地址和当前网页语种对应的页面 内容进行翻译包括:
将查找到的所述与当前网页地址对应的任一语种页面内容翻译成目标 语种页面内容并保存到数据库中。
16、 如权利要求 15所述的移动浏览方法, 其特征在于, 所述从数据库 中查找与当前网页地址对应的任一语种页面内容, 包括:
在数据库中不存在所述与当前网页地址对应的任一语种页面内容时, 根据所述当前网页地址访问网络, 从网络获取数据形成源语种页面内容, 并保存到数据库中;
所述根据翻译请求对所述与当前网页地址和当前网页语种对应的页面 内容进行翻译包括:
根据翻译请求, 对从网络获取的源语种页面内容进行翻译, 得出目标 语种页面内容, 并保存到数据库中。
17、 一种移动浏览系统, 包括移动终端, 所述移动终端设有浏览器, 用于发送网页访问请求至中间服务器, 其特征在于, 还包括如权利要求 1 至 7中任一项所述的中间服务器。
PCT/CN2012/071612 2011-08-31 2012-02-24 中间服务器、移动浏览方法及系统 WO2012155581A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110255603A CN102323935A (zh) 2011-08-31 2011-08-31 中间服务器、移动浏览方法及系统
CN201110255603.2 2011-08-31

Publications (1)

Publication Number Publication Date
WO2012155581A1 true WO2012155581A1 (zh) 2012-11-22

Family

ID=45451678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071612 WO2012155581A1 (zh) 2011-08-31 2012-02-24 中间服务器、移动浏览方法及系统

Country Status (2)

Country Link
CN (1) CN102323935A (zh)
WO (1) WO2012155581A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323935A (zh) * 2011-08-31 2012-01-18 中兴通讯股份有限公司 中间服务器、移动浏览方法及系统
CN104281621A (zh) * 2013-07-11 2015-01-14 腾讯科技(深圳)有限公司 网页浏览方法及装置
CN104767836A (zh) * 2014-01-03 2015-07-08 上海市普陀区涛涛软件设计工作室 一种支持多语言显示在线用户地理位置信息的方法
CN104601595B (zh) * 2015-02-05 2018-09-04 浙江帅狗科技有限公司 网页的发布、访问方法和系统
CN104794625A (zh) * 2015-04-28 2015-07-22 酷悠悠科技(深圳)有限公司 一种跨境电子商务网站运行的方法及系统
CN107704605B (zh) * 2017-10-13 2021-04-09 北京中教在线科技有限公司 一种基于本地存储的用户行为记录方法
CN108694170A (zh) * 2018-05-15 2018-10-23 深圳市富途网络科技有限公司 一种页面文本信息的翻译方法及系统
CN109299423A (zh) * 2018-10-30 2019-02-01 中译语通科技股份有限公司 一种获取网络数据的方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040082816A (ko) * 2003-03-20 2004-09-30 엘지전자 주식회사 무선 네트워크 상의 다국어 지원 방법 및 시스템
CN101086731A (zh) * 2006-06-05 2007-12-12 李钢 基于服务器的多国即时在线翻译系统
CN102323935A (zh) * 2011-08-31 2012-01-18 中兴通讯股份有限公司 中间服务器、移动浏览方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055573A (zh) * 2006-04-10 2007-10-17 李钢 世界通多国翻译系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040082816A (ko) * 2003-03-20 2004-09-30 엘지전자 주식회사 무선 네트워크 상의 다국어 지원 방법 및 시스템
CN101086731A (zh) * 2006-06-05 2007-12-12 李钢 基于服务器的多国即时在线翻译系统
CN102323935A (zh) * 2011-08-31 2012-01-18 中兴通讯股份有限公司 中间服务器、移动浏览方法及系统

Also Published As

Publication number Publication date
CN102323935A (zh) 2012-01-18

Similar Documents

Publication Publication Date Title
WO2012155581A1 (zh) 中间服务器、移动浏览方法及系统
CN102043834B (zh) 一种客户端实现搜索的方法及搜索客户端
US8862777B2 (en) Systems, apparatus, and methods for mobile device detection
CN100424694C (zh) 一种网络收藏夹的实现方法
CN100367276C (zh) 用于在计算机网络内搜索的方法和设备
CN101231636B (zh) 一种便捷的信息搜索方法、系统及一种输入法系统
US8533260B1 (en) Reduction of perceived DNS lookup latency
WO2014048241A1 (zh) 一种浏览器及其进行域名解析的方法
US20110231482A1 (en) Automated Optimization Based On Determination Of Website Usage Scenario
US9154522B2 (en) Network security identification method, security detection server, and client and system therefor
WO2017012234A1 (zh) 一种信息获取方法、装置、设备及计算机存储介质
WO2016188029A1 (zh) 解析二维码的方法及装置、计算机可读存储介质、计算机程序产品与终端设备
KR101689745B1 (ko) 스크립트에 의한 동적 리소스 정보를 처리하는 웹 브라우징 시스템 및 방법
WO2011097992A1 (zh) 实现网页访问的方法、系统及前端服务器
WO2011140784A1 (zh) 屏蔽移动终端访问无线网络信息的方法、移动终端和系统
WO2015074459A1 (zh) 打开网页、调用客户端及创建轻应用的方法及装置
US20110029559A1 (en) Method, apparatus, and program for extracting relativity of web pages
WO2014067471A1 (zh) 一种用于在移动终端上提供搜索结果的方法和设备
WO2012094965A1 (zh) 提示消息呈现方法、终端和服务器
JP2009037501A (ja) 情報検索装置、情報検索方法およびプログラム
CN106776983A (zh) 搜索引擎优化装置和方法
CN102129437A (zh) 域名匹配方法、浏览器
CN103366011A (zh) 通过浏览器地址栏访问认证网址的方法、及装置
CN105279156A (zh) 网络信息通信方法及网络信息浏览装置
WO2012159360A1 (zh) 网页预取的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785036

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785036

Country of ref document: EP

Kind code of ref document: A1