CN106156080A - Dynamic page conversion method and device - Google Patents

Dynamic page conversion method and device Download PDF

Info

Publication number
CN106156080A
CN106156080A CN201510149776.4A CN201510149776A CN106156080A CN 106156080 A CN106156080 A CN 106156080A CN 201510149776 A CN201510149776 A CN 201510149776A CN 106156080 A CN106156080 A CN 106156080A
Authority
CN
China
Prior art keywords
page
request
language
url
module
Prior art date
Application number
CN201510149776.4A
Other languages
Chinese (zh)
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 阿里巴巴集团控股有限公司
Priority to CN201510149776.4A priority Critical patent/CN106156080A/en
Publication of CN106156080A publication Critical patent/CN106156080A/en

Links

Abstract

The invention provides a dynamic page conversion method and device. The dynamic page conversion method comprises the following steps: a proxy server receives a webpage request sent by a client and determines the type of the webpage request and the geographic position of an application server which is requested by the webpage request to be accessed; if the type of the webpage request is a webpage request of a first language while the official language corresponding to the geographic position is a second language, page content of the second language is acquired from the application server according to URL of the webpage request; the acquired page content of the second language is converted into page content of the first language according to a comparison table of the first language and the second language, and the page content of the first language is outputted to the client. The dynamic page conversion method can realize one-time centralized page content conversion, reduces influences on performance, greatly lowers the human resource cost and the machine cost, meanwhile, supports synchronous requests and asynchronous requests and has very high university.

Description

动态页面转换的方法和装置 Method and apparatus for dynamic page transition

技术领域 FIELD

[0001] 本发明涉及互联网技术领域,尤其涉及一种动态页面转换的方法和装置。 [0001] The present invention relates to the field of Internet technologies, particularly to a method and apparatus for dynamic page transition.

背景技术 Background technique

[0002] 在中国香港、台湾以及东南亚等国家和地区,虽然使用中文,但是在计算机输入以及输出的时候绝大部分使用的都是繁体中文。 [0002] In Hong Kong, China, Taiwan and Southeast Asia and other countries and regions, although the use of Chinese, but when computer input and output are used by the vast majority of Traditional Chinese. 这对于市场主要是基于中国大陆的中文站点在进行搜索引擎推广以及参与排序的时候,都处于劣势的地位。 This market is mainly based in mainland China during the Chinese site search engine promotion as well as the time involved in ordering, they are at a disadvantage position. 因为搜索引擎排序首先考虑的是页面之中关键词的相关性,简体中文页面与繁体中文页面在实质内容上虽然差不多,但是在字符串层面的差距却非常大,因此在搜索引擎计算排序得分的时候,二者之间的差距是非常明显的。 Because it is among the page keyword relevance, Simplified Chinese and Traditional Chinese pages pages in substance, although similar, but the gap in the level of the string is very large search engines to sort the first consideration, so the search engine calculates sort of score when the gap between the two is very obvious.

[0003] 针对这个问题,本土的中文网站希望在海外的中文市场参与排序与竞争就必须将应用实现繁体化,才能与繁体站点站在同一起跑线上。 [0003] To address this problem, local Chinese website in the hope that overseas Chinese to participate in market competition must be sorted and implement the application of traditional, and traditional sites to stand on the same starting line.

[0004] 但是,现有的实现页面繁体化的技术方案存在对性能的影响较大,人力资源成本和机器成本较高,通用性较差的问题。 [0004] However, the existing implementation of technical solutions Traditional page there is a big impact on performance, high cost of human resources and machinery costs, less versatile problem.

发明内容 SUMMARY

[0005] 本发明的目的旨在至少在一定程度上解决相关技术中的技术问题之一。 Objective [0005] The present invention is intended to solve at least some extent one of the technical problems in the related art.

[0006] 为此,本发明的第一个目的在于提出一种动态页面转换的方法。 [0006] For this purpose, a first object of the present invention to provide a method for dynamic page transition. 该方法可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 The time centralized method may be implemented to convert the contents of the page, to reduce the performance impact, a significant reduction in cost of human resources and the cost of the machine, and supports both synchronous and asynchronous requests, having a very high versatility.

[0007] 本发明的第二个目的在于提出一种动态页面转换的装置。 [0007] A second object of the present invention is to provide an apparatus for dynamic page transition.

[0008] 为了实现上述目的,本发明第一方面实施例的动态页面转换的方法,包括:代理服务器接收客户端发送的网页请求,确定所述网页请求的类型和所述网页请求所请求访问的应用服务器所处的地理位置;如果所述网页请求的类型为第一语言的页面请求,但所述地理位置对应的官方语言为第二语言,则根据所述网页请求的统一资源定位符URL从所述应用服务器获取所述第二语言的页面内容;根据所述第一语言与所述第二语言的对照表将获取的第二语言的页面内容转换为所述第一语言的页面内容,并向所述客户端输出所述第一语言的页面内容。 [0008] To achieve the above object, a first aspect of the method for dynamic page transition to an embodiment of the present invention, comprising: a web proxy server receives the request sent by the client, and determine the type of the request the web page request requesting access to the geographical location of the application server; type if the requested page is a page request to a first language, but the location corresponding to the official language as a second language, according to the uniform resource locator (URL) of the webpage request from the application server obtains the page content in the second language; converted content to the first language page according to the page content of the second language to the first language and the second language table acquired, and to the client to output the first language page content.

[0009] 本发明实施例的动态页面转换的方法,代理服务器接收到客户端发送的网页请求之后,如果网页请求的类型为第一语言的页面请求,但上述网页请求所请求访问的应用服务器所处的地理位置对应的官方语言为第二语言,则根据上述网页请求的URL从所述应用服务器获取第二语言的页面内容,再根据第一语言与第二语言的对照表将获取的第二语言的页面内容转换为第一语言的页面内容,并向上述客户端输出第一语言的页面内容,从而可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 After the application server [0009] Example dynamic page conversion method of the embodiment of the present invention, the proxy server receives the web page request sent by the client, if the type of the requested page is a page request to a first language, but above the page request requesting access at a location corresponding to the official language is a second language, the second language page content acquired from the server application based on the web page of the URL request, and then the first table is acquired according to a second language and a second language language page content into a page content in a first language, and outputs the contents of the first page of the client language, which can achieve a one-time focus on the page content conversion, reduce the impact on performance, significant savings in human resources costs and machine costs, and supports both synchronous and asynchronous requests, having a very high versatility.

[0010] 为了实现上述目的,本发明第二方面实施例的动态页面转换的装置,所述装置在与客户端和应用服务器通信的代理服务器执行,包括:接收模块,用于接收所述客户端发送的网页请求;确定模块,用于确定所述接收模块接收的网页请求的类型和所述网页请求所请求访问的所述应用服务器所处的地理位置;获取模块,用于当所述确定模块确定所述网页请求的类型为第一语言的页面请求,但所述地理位置对应的官方语言为第二语言时,根据所述网页请求的统一资源定位符URL从所述应用服务器获取所述第二语言的页面内容;转换模块,用于根据所述第一语言与所述第二语言的对照表将所述获取模块获取的第二语言的页面内容转换为所述第一语言的页面内容;输出模块,用于向所述客户端输出所述转换模块转换的所述第一语言的页面内容。 [0010] To achieve the above object, the embodiment of the dynamic page conversion means a second aspect of the embodiment of the present invention, the apparatus executes a proxy server the client application and the server communications, comprising: receiving means for receiving the client web page request sent; determining means for determining the location of the requested access to the application server is located and the type of the web page request received by said web page request receiving module; a acquiring module, configured to, when the determining module determining the type of the requested page is a page request to a first language, but the location corresponding to the official language is a second language, the first obtaining from the application server according to a uniform resource locator (URL) of the requested page content of language page; page content conversion module acquired by the acquisition module table according to the first language and the second language into a second language in the first language page content; an output module for converting the content page module converting the first language of the client outputs.

[0011] 本发明实施例的动态页面转换的装置,在与客户端和应用服务器通信的代理服务器执行,在接收模块接收到客户端发送的网页请求之后,如果确定模块确定网页请求的类型为第一语言的页面请求,但上述网页请求所请求访问的应用服务器所处的地理位置对应的官方语言为第二语言,则获取模块根据上述网页请求的URL从应用服务器获取第二语言的页面内容,转换模块再根据第一语言与第二语言的对照表将获取的第二语言的页面内容转换为第一语言的页面内容,输出模块向上述客户端输出第一语言的页面内容,从而可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 [0011] The apparatus of a dynamic page transition to an embodiment of the present invention, in performing the proxy client and the communication application server, after receiving the web page sent by the client request receiving module, if the module determines that the page request type determination for the first a language page request, the page request location corresponding to the above-described official language in which the application server access request is a second language, the acquiring module acquires the second language page content from the application server based on the web page of the URL request, the conversion module then converts the content of the page and the second language to the first language for second language table acquired as a first language, the content of the page, page output module outputting the contents of the first language to the client, so as to achieve a Grouped page content conversion, reduce the influence on performance, significant savings in the cost of human resources and the cost of the machine, and supports both synchronous and asynchronous requests, having a very high versatility.

[0012] 本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。 [0012] This additional aspects and advantages of the invention will be set forth in part in the description which follows, from the following description in part be apparent from, or learned by practice of the present invention.

附图说明 BRIEF DESCRIPTION

[0013] 本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中: [0013] The present invention described above and / or additional aspects and advantages from the following description of embodiments in conjunction with the accompanying drawings of the embodiments will become apparent and more readily appreciated, wherein:

[0014]图1为本发明动态页面转换的方法一个实施例的流程图; Method [0014] FIG 1 dynamic page turning a flow diagram of the present invention embodiment;

[0015]图2为本发明动态页面转换的方法另一个实施例的流程图; [0015] FIG 2 is a flowchart of another embodiment of the invention, a method of dynamic page turning;

[0016]图3为本发明动态页面转换的方法再一个实施例的流程图; Method [0016] FIG dynamic page 3 of the present invention converts flow diagram of a further embodiment;

[0017]图4为本发明动态页面转换的装置一个实施例的结构示意图; Means [0017] FIG dynamic page 4 of the present invention converts a schematic structural diagram of the embodiment;

[0018]图5为本发明动态页面转换的装置另一个实施例的结构示意图。 [0018] FIG. 5 is a schematic structural diagram of another embodiment of a dynamic page turning apparatus of the present invention.

具体实施方式 Detailed ways

[0019] 下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 [0019] Example embodiments of the present invention is described in detail below, exemplary embodiments of the embodiment shown in the accompanying drawings, wherein same or similar reference numerals designate the same or similar elements or elements having the same or similar functions. 下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。 By following with reference to the embodiments described are exemplary only for explaining the present invention and should not be construed as limiting the present invention. 相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。 In contrast, embodiments of the present invention includes all variations that fall within the appended claims the spirit and terms, modifications and equivalents thereof.

[0020] 图1为本发明动态页面转换的方法一个实施例的流程图,如图1所示,该动态页面转换的方法可以包括: [0020] The method of the present invention, FIG. 1 is a flowchart of a dynamic page transition example of embodiment, shown in Figure 1, the dynamic page turning method may include:

[0021] 步骤101,代理服务器接收客户端发送的网页请求,确定上述网页请求的类型和上述网页请求所请求访问的应用服务器所处的地理位置。 [0021] Step 101, the proxy server receives the web page request sent by a client, determining the geographic location of the requested access to the application server and said web type in which the above requested page request.

[0022] 具体地,确定上述网页请求的类型可以为:根据上述网页请求的URL中的目录和/或根据上述网页请求的URL的查询字符串中携带的参数确定上述网页请求的类型。 [0022] In particular, determine the type of the above-described page request may be: The URL of the page request in the above-described directories and / or determining the type of the above requested page URL query string above the page request carried parameters. 举例来说,如果接收到的网页请求的URL中的目录为预先设置的繁体页面目录中的一个目录,则可以确定上述网页请求的类型为繁体中文的页面请求。 For example, if the URL of the received web page request in the traditional directory page directory is a directory set in advance, it may be determined the type of the request for the page request of Traditional Chinese page. 例如,当网页请求的URL为“http://www.1688.com/tw/***”时,该URL中的目录“/tw/”为预先设置的繁体页面目录中的一个目录,这时,可以确定接收到的网页请求“http://www.1688.com/tw/***”为繁体中文的页面请求。 For example, when a request for the URL of the webpage "http://www.1688.com/tw/***", the URL directory "/ tw /" directory is a directory page Traditional set in advance, which , you can determine whether the received page request "http://www.1688.com/tw/***" Traditional Chinese request for the page.

[0023] 进一步地,确定上述网页请求的类型之后,还可以将上述网页请求的类型标注在上述网页请求的上下文中。 [0023] Further, after determining the type of the above page request, the above-described type may also be labeled in the context of the requested page request these pages.

[0024] 具体地,确定上述网页请求所请求访问的应用服务器所处的地理位置可以为:根据上述网页请求的统一资源定位符(Uniform Resource Locator ;以下简称:URL)中的域名确定上述网页请求所请求访问的应用服务器所处的地理位置;例如:如果上述网页请求的URL的域名中包含cn”的后缀,则可以确定上述网页请求所请求访问的应用服务器所处的地理位置为中国,并且该地理位置对应的官方语言为简体中文。本实施例对确定上述网页请求所请求访问的应用服务器所处的地理位置所采用的方法不作限定,只要可以确定上述网页请求所请求访问的应用服务器所处的地理位置即可。 [0024] In particular, to determine the geographical location of the application server requesting access to the above-described web page request may be: (Uniform Resource Locator; hereinafter: URL) in accordance with Uniform Resource Locator request these pages in the domain name request is determined above page the geographical location of the requested access to the application server; for example: geographical location of the domain name if the above URL page request contains cn "suffix, it is possible to determine the above page request requesting access to the application server as China and corresponding to the location of the official languages ​​Chinese simplified method in which the location server application example of the web page to determine the above-described request requesting access used in the present embodiment is not limited, as long as the application server may determine the above page request requesting access to the location can be at.

[0025] 步骤102,如果上述网页请求的类型为第一语言的页面请求,但上述地理位置对应的官方语言为第二语言,则代理服务器根据上述网页请求的URL从应用服务器获取第二语言的页面内容。 [0025] Step 102, if the type of the above page request is the first language page request, the location corresponding to the above-described official language is a second language, the second language acquisition proxy server from the application server based on the URL of the requested page page content.

[0026] 本实施例的一种实现方式中,根据上述网页请求的URL从应用服务器获取第二语言的页面内容可以为:根据上述网页请求的URL的后缀确定上述网页请求为同步请求时,根据上述网页请求的URL生成第二语言的页面对应的URL,根据上述第二语言的页面对应的URL从应用服务器获取上述第二语言的页面内容。 [0026] one implementation of this embodiment, the contents of the page according to the page request URL acquired from the application server a second language may be: determined according to the above page suffix of the requested page URL request is a synchronous request, in accordance with generating the above requested page URL in the second language corresponding to the URL of the page, the second page content acquired from the application server according to the language to the second language corresponding to a page URL.

[0027] 本实施例的另一种实现方式中,根据上述网页请求的URL从应用服务器获取第二语言的页面内容可以为:根据上述网页请求的URL的后缀确定上述网页请求为异步请求时,解析上述网页请求的URL,获得上述网页请求的URL中的查询字符串;根据上述查询字符串生成第二语言的页面对应的URL,根据上述第二语言的页面对应的URL从应用服务器获取第二语言的页面内容。 [0027] Another implementation of the present embodiment, the contents of the page according to the page request URL acquired from the second language to the application server may: determine the above page request is an asynchronous request according to the suffix of the requested page URL, resolves the URL request of the above page, URL query string obtained in the above-described page request; generated based on the query string in the second language corresponding to the page URL, acquires from the second application server the second language based on the corresponding URL page page content language.

[0028] 步骤103,代理服务器根据第一语言与第二语言的对照表将获取的第二语言的页面内容转换为第一语言的页面内容,并向上述客户端输出第一语言的页面内容。 [0028] Step 103, the second language page content server proxy table according to the first language and the second language is converted to the acquired page content in a first language, and the output end of the first language page content the client.

[0029] 本实施例中,第一语言与第二语言为不同的语言,例如:第一语言为繁体中文,第二语言为简体中文;或者,第一语言为英语,第二语言为简体中文等等,在此不做限定。 [0029] In this embodiment, the first language and the second language is different language, for example: a first Traditional Chinese language, the second language is Chinese Simplified; or the first language is English and the second language is Chinese Simplified and so on, which is not limited.

[0030] 上述动态页面转换的方法,代理服务器接收到客户端发送的网页请求之后,如果网页请求的类型为第一语言的页面请求,但上述网页请求所请求访问的应用服务器所处的地理位置对应的官方语言为第二语言,则根据上述网页请求的URL从应用服务器获取第二语言的页面内容,再根据第一语言与第二语言的对照表将获取的第二语言的页面内容转换为第一语言的页面内容,并向上述客户端输出第一语言的页面内容,从而可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 [0030] The above-described method of dynamic page transition, the web proxy server after receiving a request sent by the client, if the type of the requested page is a page request to a first language, but above the page request requesting access to the application server geographic location the official language of the corresponding second language, the second language page content is acquired from the application server according to the URL of the page request described above, then the contents of the page according to a first language and the second language is a second language table converts the acquired page content in a first language, and said client outputting the page content in a first language, thereby enabling time centralized conversion page content, reduce the impact on performance, significant savings in the cost of human resources and the cost of the machine, and It supports both synchronous and asynchronous requests, having a very high versatility.

[0031] 下面以第一语言为繁体中文,第二语言为简体中文为例对本发明提供的动态页面转换的方法进行说明。 [0031] In the following a first language to Traditional Chinese, simplified Chinese second language is an example method for converting a dynamic page provided by the present invention will be described.

[0032]图2为本发明动态页面转换的方法另一个实施例的流程图,如图2所示,该动态页面转换的方法可以包括: [0032] FIG 2 is a flowchart of another embodiment of the invention, a method of dynamic page transition, shown in Figure 2, the dynamic page turning method may include:

[0033] 步骤201,代理服务器接收客户端发送的网页请求,确定上述网页请求的类型和上述网页请求所请求访问的应用服务器所处的地理位置。 [0033] Step 201, the proxy server receives the web page request sent by the client, and said determining location types for requesting the web page request requesting access to the application server is located.

[0034] 具体地,确定上述网页请求的类型可以为:根据上述网页请求的URL中的目录和/或根据上述网页请求的URL的查询字符串(QueryString)中携带的参数确定上述网页请求的类型。 [0034] In particular, determine the type of the above-described page request may be: The URL of the page request in the above-described directories and / or determining the type of the above requested page URL query string (the QueryString) above requested page parameters carried in .

[0035] 在具体实现时,可以设置一个专门的繁体页面目录,如果接收到的网页请求的URL中的目录为繁体页面目录中的一个目录,则可以确定上述网页请求的类型为繁体中文的页面请求。 Type [0035] In specific implementation, it may be provided a special traditional page directory, if the URL of the received web page request in the directory Traditional page directory in a directory, it is possible to determine the above page request is Traditional Chinese page request. 举例来说,当网页请求的URL为“http://www.1688.com/tw/***”时,该URL中的目录“/tw/”为设置的繁体页面目录中的一个目录,这时,可以确定接收到的网页请求“http://www.1688.com/tw/林*”的类型为繁体中文的页面请求。 For example, when the URL of the webpage request is "http://www.1688.com/tw/***", the URL directory "/ tw /" is a traditional page directory in a directory provided, At this time, you can determine whether the received page request "http://www.1688.com/tw/ Lin *" type of request is a traditional Chinese pages.

[0036] 具体地,确定上述网页请求所请求访问的应用服务器所处的地理位置可以为:根据上述网页请求的URL的域名确定上述网页请求所请求访问的应用服务器所处的地理位置;例如:如果上述网页请求的URL的域名中包含cn”的后缀,则可以确定上述网页请求所请求访问的应用服务器所处的地理位置为中国,并且该地理位置对应的官方语言为简体中文。本实施例对确定上述网页请求所请求访问的应用服务器所处的地理位置所采用的方法不作限定,只要可以确定上述网页请求所请求访问的应用服务器所处的地理位置即可。 [0036] Specifically, it is determined on the above page request requesting access to the application server may be geographical location: determining a geographical location of the application server requesting access to the web page which requests the domain name in accordance with the URL of the web page request; for example: If the domain name of the URL contained in the above-described page request cn "suffix, it can be determined above page request requesting access to the application server for Chinese geographical location, and the location corresponding to the official language is simplified Chinese present embodiment the method of determining the above page request requesting access to the application server geographical location used is not limited, as long as determined above page request requesting access to the application server geographical location.

[0037] 步骤202,如果上述网页请求的类型为繁体中文的页面请求,但上述地理位置对应的官方语言为简体中文,则代理服务器根据上述网页请求的URL从上述应用服务器获取简体中文的页面内容。 [0037] Step 202, if the above type of Traditional Chinese page request page requests, the location corresponding to the above-described official language is simplified Chinese, the proxy server acquires content simplified Chinese page from the application server based on the requested page URL .

[0038] 具体地,本实施例的一种实现方式中,根据上述网页请求的URL从上述应用服务器获取简体中文的页面内容可以为:根据上述网页请求的URL的后缀确定上述网页请求为同步请求时,根据上述网页请求的URL生成简体中文页面对应的URL,根据上述简体中文页面对应的URL从上述应用服务器获取简体中文的页面内容。 [0038] In particular, one implementation of this embodiment, the simplified Chinese acquired from the above-described application server according to the URL web page content may be requested: URL suffix above requested page is determined according to the above-described web page request synchronization request when generating Simplified Chinese page according to the URL corresponding to the above page URL request, acquires Simplified Chinese page content from the application server based on the simplified Chinese page corresponding to the URL. 其中,根据上述网页请求的URL生成简体中文页面对应的URL可以为:根据上述网页请求的URL,利用预先配置的规则生成简体中文页面对应的URL。 Wherein Simplified Chinese page based on the URL generated above the corresponding URL page request may be: the above page according to the URL request by generating a preconfigured rule corresponding to Simplified Chinese page URL.

[0039] 举例来说,假设上述网页请求的URL为“http:// www.1688.com/detail/123456789, html”,则根据该URL的后缀可以确定上述网页请求为同步请求,然后根据该URL,利用预先配置的规则可以生成简体中文页面对应的URL “http://detail.1688.com/offer/123456789, html ”;然后就可以根据该简体中文页面对应的URL “http://detail.1688.com/offer/123456789, html” 从上述应用服务器获取简体中文的页面内容。 [0039] For example, suppose the above page URL request is "http: // www.1688.com/detail/123456789, html", according to the suffix of the requested page URL can be determined for the above-described synchronization request, and based on the URL, using the pre-configured rules can generate Simplified Chinese page corresponding to the URL "http://detail.1688.com/offer/123456789, html"; then you can based on the simplified Chinese page corresponding to the URL "http: // detail .1688.com / offer / 123456789, html "Simplified Chinese get page content from the application server.

[0040] 本实施例的另一种实现方式中,根据上述网页请求的URL从上述应用服务器获取简体中文的页面内容可以为:根据上述网页请求的URL的后缀确定上述网页请求为异步请求时,解析上述网页请求的URL,获得上述网页请求的URL中的查询字符串;然后,根据上述查询字符串生成简体中文页面对应的URL,根据上述简体中文页面对应的URL获取简体中文的页面内容。 [0040] The present another implementation of this embodiment, the simplified Chinese acquired from the application server based on the requested page URL page content may be: determining the above page request is an asynchronous request according to the suffix of the requested page URL, resolves the URL request of the above page, URL query string obtained in the above-page request; then generated based on the query string corresponding to Simplified Chinese page URL, acquires the contents of the page based on the simplified Chinese Simplified Chinese page corresponding to the URL. 其中,根据上述查询字符串生成简体中文页面对应的URL可以为:根据上述查询字符串,利用预先配置的规则生成简体中文页面对应的URL。 Wherein the query string based on the simplified Chinese page generating corresponding URL may be: The above query string is generated using the preconfigured rules corresponding to Simplified Chinese page URL.

[0041]举例来说,假设上述网页请求的 URL 为:“http://www.1688.com/tw/rpc.json ?orginalUrl = http://detail.1688.com/rpc/123456 67.json,,,则根据该URL 的后缀可以确定上述网页请求为异步请求,这时通过解析上述URL,获得的上述URL中的查询字符串为“orginalUrl = http://detail.1688.com/rpc/12345667.json,,,然后根据上述查询字符串,利用预先配置的规则可以生成简体中文页面对应的URL “http://detail.1688.com/rpc/12345667.json”,然后就可以根据该简体中文页面对应的URL “http://detail.1688.com/rpc/12345667.json”获取简体中文的页面内容。 [0041] For example, suppose the above page URL request is:? "Http://www.1688.com/tw/rpc.json orginalUrl = http://detail.1688.com/rpc/123456 67.json the suffix ,,, then the URL may determine the above page request is asynchronous, the above URL query string by parsing the URL above case, obtained as "orginalUrl = http://detail.1688.com/rpc/ 12345667.json ,,, then the above query string, using preconfigured rules may be generated corresponding to the simplified Chinese page URL "http://detail.1688.com/rpc/12345667.json", can then be based on the simplified Chinese page corresponding to the URL "http://detail.1688.com/rpc/12345667.json" get page content simplified Chinese.

[0042] 本实施例提供的方法总体上依赖代理服务器实现,不管是同步请求还是javascript触发的异步请求,上述简体中文的页面内容都是经过代理服务器请求的,代理服务器根据生成的简体中文页面对应的URL获取相应的简体中文的页面内容,考虑到网页(web)应用的并发请求特征,在具体实现时,可以在启动时创建一定数量的抓取对象池,以提高数据请求的效率。 The method relies [0042] Example of the present embodiment is generally provided Proxy Server, whether asynchronous or synchronous request javascript request triggered, the above-described Simplified Chinese page content is requested through a proxy server, the proxy server according to the generated corresponding to Simplified Chinese page the URL of the page content to obtain the corresponding Simplified Chinese, taking into account the concurrent web (web) application feature requests in specific implementation, can grab objects to create a certain number of pool at startup, to improve the efficiency of data requests.

[0043] 步骤203,代理服务器根据简体中文与繁体中文的对照表将获取的简体中文的页面内容转换为繁体中文的页面内容,并输出上述繁体中文的页面内容。 [0043] Step 203, the proxy server according to the page content Simplified Chinese and Traditional Chinese lookup tables to convert the acquired simplified Chinese Traditional Chinese page content, and outputs the contents of the page Traditional Chinese.

[0044] 其中,上述简体中文与繁体中文的对照表可以从本地文件中加载到本地系统内存之中,考虑到web应用的并发请求特征,这里需要考虑多用户同时请求繁体页面时的性能消耗,因此采用简体中文与繁体中文的对照表进行简繁转换,另外,考虑系统处理请求时的效率,整个简体中文与繁体中文的对照表的加载不使用延迟加载的方式来实现,在启动时就将上述对照表加载到系统内存之中。 [0044] wherein the above-described Simplified Chinese and Traditional Chinese table can be loaded from the local file system into the local memory, taking into account the characteristics of the request concurrent web application, where multiple users need to be considered when the capabilities of the requesting consuming traditional page, Thus Simplified Chinese and Traditional Chinese simplified conversion table control, Further, when considering the efficiency of the system to process the request, the entire loading table Simplified Chinese and Traditional Chinese does not use lazy loading is achieved, it will at start loading the above table into the system memory.

[0045] 本实施例中,在向客户端输出页面内容之前,代理服务器对获取的简体中文的页面内容进行拦截,根据简体中文与繁体中文的对照表逐个字符进行匹配,以此完成简体中文的页面内容到繁体中文的页面内容的转换,转换完成后,输出繁体中文的页面内容。 [0045] In the present embodiment, before the output page content to the client, the proxy server Simplified Chinese page content acquired intercept the matching table according to traditional Chinese character by character Simplified Chinese, simplified Chinese order to complete after the conversion page content of the page content to Traditional Chinese, the conversion is complete, the page content output Traditional Chinese.

[0046] 本实施例中,在步骤201,确定上述网页请求的类型之后,步骤203根据简体中文与繁体中文的对照表将获取的简体中文的页面内容转换为繁体中文的页面内容之前,还可以将上述网页请求的类型标注在上述网页请求的上下文中。 After [0046] In this embodiment, at step 201, determines the type of the above page request, step 203 according to the page content Simplified Chinese and Traditional Chinese table acquired Simplified Chinese prior to converting page content Traditional Chinese, can the page request type described above in the context of the above-described labeling page request. 也就是说,本实施例中,在确定网页请求的类型之后,可以对该网页请求的类型进行标注,具体的是标明该网页请求是同步请求还是异步请求以及该请求是简体中文的页面请求还是繁体中文的页面请求,这样,后续就可以根据标注的类型进行相应处理,具体地,可以将上述网页请求的类型标注在上述网页请求的上下文中,例如:可以将上述网页请求的类型标注在上述网页请求对应的HttpServletRequest 的attribute 之中。 That is, in this embodiment, after determining the type of the requested page, the page may be denoted by the type of request, indicating that the particular page request is a request for synchronous or asynchronous request and a page request is a request or simplified Chinese Traditional Chinese page requests, so that subsequent can corresponding processing according to the type of labeling, in particular, the type of the above-described page request may be labeled in the context of the above-described page request, for example: the type of the above-described page request may be marked in the above-described among the attribute corresponding to the page request the HttpServletRequest.

[0047] 上述实施例中,代理服务器接收到网页请求之后,如果该网页请求的类型为繁体中文的页面请求,但上述网页请求所请求访问的应用服务器所处的地理位置对应的官方语言为简体中文,则代理服务器根据该网页请求的URL先从上述应用服务器请求简体中文的页面内容,并在输出页面内容之前,将该简体中文的页面内容转换为繁体中文的页面内容,从而可以实现一次性集中将简体中文的页面内容转换为繁体中文的页面内容,减小了对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性;并且可以实现中国大陆的中文站点在海外搜索引擎的中文搜索市场中保持同等起点的竞争力与权重,提高了中国大陆的中文站点进行搜索引擎推广以及参与排序时的得分。 [0047] In the above embodiment, the proxy server upon receiving the page request, the page request type if the Traditional Chinese page requests, the above web server access request applies requests geographical location corresponding to the official language is English Chinese, the proxy server requests a page according to the URL of the content simplified Chinese said application server to start the requested page, and before the output page content, the page content into a simplified Chinese Traditional Chinese page content, thereby enabling one-time converting the page content concentration Simplified Chinese Traditional Chinese page content, reduce the performance impact, a significant reduction in cost of human resources and the cost of the machine, and supports both synchronous and asynchronous requests, having a very high versatility; and you can achieve the Chinese mainland Chinese site to keep the same starting point in the search market overseas Chinese search engine's competitiveness and weight, improve the Chinese mainland Chinese site search engine promotion and participation of scores when ordering.

[0048]图3为本发明动态页面转换的方法再一个实施例的流程图,如图3所示,该动态页面转换的方法可以包括: Method [0048] FIG dynamic page 3 of the present invention converts a flowchart of another embodiment, shown in Figure 3, the dynamic page turning method may include:

[0049] 步骤301,代理服务器接收客户端发送的网页请求。 [0049] Step 301, the proxy server receives the web page request sent by a client.

[0050] 步骤302,代理服务器确定上述网页请求的类型和上述网页请求所请求访问的应用服务器所处的地理位置。 [0050] Step 302, the proxy server determines the location of the application server requesting access to which type of the above-described request and said web page request.

[0051] 具体地,确定上述网页请求的类型可以为:根据上述网页请求的URL中的目录和/或根据上述网页请求的URL的查询字符串(QueryString)中携带的参数确定上述网页请求的类型。 [0051] In particular, determine the type of the above-described page request may be: The URL of the page request in the above-described directories and / or determining the type of the above requested page URL query string (the QueryString) above requested page parameters carried in .

[0052] 在具体实现时,可以设置一个专门的繁体页面目录,如果接收到的网页请求的URL中的目录为繁体页面目录中的一个目录,则可以确定上述网页请求的类型为繁体中文的页面请求。 Type [0052] In specific implementation, it may be provided a special traditional page directory, if the URL of the received web page request in the directory Traditional page directory in a directory, it is possible to determine the above page request is Traditional Chinese page request. 举例来说,当网页请求的URL为“http://www.1688.com/tw/***”时,该URL中的目录“/tw/”为设置的繁体页面目录中的一个目录,这时,可以确定接收到的网页请求“http://www.1688.com/tw/林*”的类型为繁体中文的页面请求。 For example, when the URL of the webpage request is "http://www.1688.com/tw/***", the URL directory "/ tw /" is a traditional page directory in a directory provided, At this time, you can determine whether the received page request "http://www.1688.com/tw/ Lin *" type of request is a traditional Chinese pages.

[0053] 具体地,确定上述网页请求所请求访问的应用服务器所处的地理位置可以为:根据上述网页请求的URL的域名确定上述网页请求所请求访问的应用服务器所处的地理位置;例如:如果上述网页请求的URL的域名中包含cn”的后缀,则可以确定上述网页请求所请求访问的应用服务器所处的地理位置为中国,并且该地理位置对应的官方语言为简体中文。本实施例对确定上述网页请求所请求访问的应用服务器所处的地理位置所采用的方法不作限定,只要可以确定上述网页请求所请求访问的应用服务器所处的地理位置即可。 [0053] Specifically, it is determined on the above page request requesting access to the application server may be geographical location: determining a geographical location of the application server requesting access to the web page which requests the domain name in accordance with the URL of the web page request; for example: If the domain name of the URL contained in the above-described page request cn "suffix, it can be determined above page request requesting access to the application server for Chinese geographical location, and the location corresponding to the official language is simplified Chinese present embodiment the method of determining the above page request requesting access to the application server geographical location used is not limited, as long as determined above page request requesting access to the application server geographical location.

[0054] 步骤303,判断上述网页请求的类型是否为简体中文的页面请求。 [0054] Step 303 determines whether the page request type described above for the simplified Chinese page request. 如果否,则执行步骤304 ;如果上述网页请求的类型为简体中文的页面请求,则执行步骤308。 If not, step 304 is performed; if the above-described type of the requested page for the simplified Chinese page request, step 308 is performed.

[0055] 步骤304,判断上述网页请求是否为同步请求。 [0055] Step 304, determining whether the page request is a synchronous request. 如果是,则执行步骤305 ;如果上述网页请求不是同步请求,而是异步请求,则执行步骤306。 If so, step 305 is performed; if the request is not above the page synchronization request but asynchronous request, step 306 is executed.

[0056] 具体地,可以根据上述网页请求的URL的后缀确定上述网页请求是否为同步请求。 [0056] Specifically, the request may determine whether the above page synchronization request according to the suffix of the requested page URL.

[0057] 步骤305,代理服务器根据上述网页请求的URL生成简体中文页面对应的URL,根据上述简体中文页面对应的URL获取简体中文的页面内容。 [0057] Step 305, the proxy server generates Simplified Chinese page according to the URL corresponding to the above page URL request, acquires page content based on the simplified Chinese Simplified Chinese page corresponding to the URL. 然后执行步骤307。 Then step 307 is executed.

[0058] 其中,根据上述网页请求的URL生成简体中文页面对应的URL可以为:根据上述网页请求的URL,利用预先配置的规则生成简体中文页面对应的URL。 [0058] wherein, in accordance with the URL generation Simplified Chinese page URL corresponding to the above page request may be: the above page according to the URL request by generating a preconfigured rule corresponding to Simplified Chinese page URL.

[0059] 举例来说,假设上述网页请求的URL为“http:// www.1688.com/detail/123456789, html”,则根据该URL的后缀可以确定上述网页请求为同步请求,然后根据该URL,利用预先配置的规则,可以生成简体中文页面对应的URL “http://detail.1688.com/offer/123456789, html ”;然后就可以根据该简体中文页面对应的URL “http://detail.1688.com/offer/123456789.html” 获取简体中文的页面内容。 [0059] For example, suppose the above page URL request is "http: // www.1688.com/detail/123456789, html", according to the suffix of the requested page URL can be determined for the above-described synchronization request, and based on the URL, using the preconfigured rules, can generate Simplified Chinese page URL corresponding "http://detail.1688.com/offer/123456789, html"; then you can based on the simplified Chinese page corresponding to the URL "http: // detail.1688.com/offer/123456789.html "get page content simplified Chinese.

[0060] 步骤306,代理服务器解析上述网页请求的URL,获得上述网页请求的URL中的查询字符串,根据上述查询字符串生成简体中文页面对应的URL,根据上述简体中文页面对应的URL获取简体中文的页面内容。 [0060] Step 306, the proxy server parses the requested page URL above, the URL query string obtained in the above-described page request, based on the query string to generate the corresponding URL page Simplified Chinese, English acquired based on the corresponding URL page Chinese Simplified page content in Chinese. 然后执行步骤307。 Then step 307 is executed.

[0061] 其中,根据上述查询字符串生成简体中文页面对应的URL可以为:根据上述查询字符串,利用预先配置的规则生成简体中文页面对应的URL。 [0061] wherein, based on the query string to generate Simplified Chinese page corresponding URL may be: The above query string is generated using the preconfigured rules corresponding to Simplified Chinese page URL.

[0062]举例来说,假设上述网页请求的 URL 为:“http://www.1688.com/tw/rpc.json ?orginalUrl = http://detail.1688.com/rpc/123456 67.json,,,则根据该URL 的后缀可以确定上述网页请求为异步请求,这时通过解析上述URL,获得的上述URL中的查询字符串为“orginalUrl = http://detail.1688.com/rpc/12345667.json,,,然后根据上述查询字符串,利用预先配置的规则可以生成简体中文页面对应的URL “http://detail.1688.com/rpc/12345667.json”,然后就可以根据该简体中文页面对应的URL “http://detail.1688.com/rpc/12345667.json”获取简体中文的页面内容。 [0062] For example, suppose the above page URL request is:? "Http://www.1688.com/tw/rpc.json orginalUrl = http://detail.1688.com/rpc/123456 67.json the suffix ,,, then the URL may determine the above page request is asynchronous, the above URL query string by parsing the URL above case, obtained as "orginalUrl = http://detail.1688.com/rpc/ 12345667.json ,,, then the above query string, using preconfigured rules may be generated corresponding to the simplified Chinese page URL "http://detail.1688.com/rpc/12345667.json", can then be based on the simplified Chinese page corresponding to the URL "http://detail.1688.com/rpc/12345667.json" get page content simplified Chinese.

[0063] 本实施例提供的方法总体上依赖代理服务器实现,不管是同步请求还是javascript触发的异步请求,上述简体中文的页面内容都是经过代理服务器请求的,代理服务器根据生成的简体中文页面对应的URL获取相应的简体页面内容,考虑到网页(web)应用的并发请求特征,在具体实现时,可以在启动时创建一定数量的抓取对象池,以提高数据请求的效率。 The method relies [0063] Example of the present embodiment is generally provided Proxy Server, whether asynchronous or synchronous request javascript request triggered, the above-described Simplified Chinese page content is requested through a proxy server, the proxy server according to the generated corresponding to Simplified Chinese page the URL to obtain the corresponding English page content, taking into account the concurrent web (web) application request feature, you can create an object pool to fetch a certain amount of time to start practical implementation in order to improve the efficiency of data requests.

[0064] 步骤307,代理服务器根据简体中文与繁体中文的对照表将获取的简体中文的页面内容转换为繁体中文的页面内容,并输出上述繁体中文的页面内容。 [0064] Step 307, the proxy server according to the page content Simplified Chinese and Traditional Chinese lookup tables to convert the acquired simplified Chinese Traditional Chinese page content, and outputs the contents of the page Traditional Chinese. 本次流程结束。 The process ends.

[0065] 其中,上述简体中文与繁体中文的对照表可以从本地文件中加载到本地系统内存之中,考虑到web应用的并发请求特征,这里需要考虑多用户同时请求繁体页面时的性能消耗,因此采用简体中文与繁体中文的对照表进行简繁转换,另外,考虑系统处理请求时的效率,整个简体中文与繁体中文的对照表的加载不使用延迟加载的方式来实现,在启动时就将上述对照表加载到系统内存之中。 [0065] wherein the above-described Simplified Chinese and Traditional Chinese table can be loaded from the local file system into the local memory, taking into account the characteristics of the request concurrent web application, where multiple users need to be considered when the capabilities of the requesting consuming traditional page, Thus Simplified Chinese and Traditional Chinese simplified conversion table control, Further, when considering the efficiency of the system to process the request, the entire loading table Simplified Chinese and Traditional Chinese does not use lazy loading is achieved, it will at start loading the above table into the system memory.

[0066] 本实施例中,在向客户端输出页面内容之前,代理服务器对获取的简体中文的页面内容进行拦截,根据简体中文与繁体中文的对照表逐个字符进行匹配,以此完成简体中文的页面内容到繁体中文的页面内容的转换,转换完成后,输出繁体中文的页面内容。 [0066] In the present embodiment, before the output page content to the client, the proxy server Simplified Chinese page content acquired intercept the matching table according to traditional Chinese character by character Simplified Chinese, simplified Chinese order to complete after the conversion page content of the page content to Traditional Chinese, the conversion is complete, the page content output Traditional Chinese.

[0067] 步骤308,代理服务器根据上述网页请求的URL获取简体中文的页面内容,并输出上述简体中文的页面内容。 [0067] Step 308, the proxy server obtains the page content in accordance with the above-described Simplified Chinese page request URL, and sends the output page contents of simplified Chinese. 本次流程结束。 The process ends.

[0068] 本发明提供的动态页面转换的方法是一种使用代理服务器的方式对页面的同步请求以及异步请求进行统一处理的方法,本发明中,所有的页面请求以及页面内容的繁体化工作都在代理服务器上完成,具有以下优点: [0068] The method of the present invention, the dynamic page turning is provided a proxy server and an asynchronous manner to the synchronization request page request processing method for a unified, according to the present invention, all of the pages Traditional work requests and page content are on completion of the proxy server, it has the following advantages:

[0069] 1、大大节约人力资源成本以及机器成本,本发明提供的方法不仅不需要为繁体应用重新开发代码,并且不需要测试等方面的投入,也无需采购额外的机器来搭建繁体专用集群,简体应用与繁体应用完全可以部署在同一系统之中; [0069] 1, significant savings in cost of human resources and the cost of the machine, the method of the present invention provides not only traditional applications do not need to re-develop the code, and does not require testing and other aspects of investment, there is no need to purchase additional machines to build traditional dedicated clusters, Simplified and Traditional application application can be deployed in the same system;

[0070] 2、一次性集中式简繁转换,对性能的影响非常小,这是不同于多语言框架的实现,多语言框架的本质是基于资源映射的,简体繁体的转换是散落在页面生成以及数据生成的过程中的,因此是零碎的转换。 [0070] 2, the disposable centralized simplified conversion, very little impact on performance, which is different from the multi-language framework achieved, the nature of the framework is based on multilingual resource mapping, the transformation is simplified traditional scattered page generation and data generated in the process, and therefore the conversion is fragmented. 本发明在页面渲染或者数据输出的时候统一对输出的内容进行拦截,将简体字符一次性批量转换成繁体字符,同时该方案一并支持字节流的应用场景,经过压力测试,本发明对系统的性能几乎没有很大的影响; The present invention is rendered in the page or the output data of the content output when uniform intercepts the simplified character into a traditional batch conversion disposable character, while the program also supported scenarios byte stream, pressure tested, the system of the present invention the performance is almost no great effect;

[0071] 3、同时支持同步页面与异步页面生成:根据网页请求的URL的后缀判断该网页请求是同步请求还是异步请求,同步请求则根据相应的模版渲染页面,异步请求则将数据直接输出,这里很好地满足了某些高级浏览器执行JavaScript的需求,执行JavaScript请求的远程数据可以一并转换成繁体; [0071] 3, supports both synchronous and asynchronous page generating page: web page according to the URL suffix determines that the requested page request is a synchronous or an asynchronous request request, then the data synchronization request according to the request to render the page template corresponding asynchronous direct output, here satisfy the needs of some of the advanced browser executes the JavaScript, JavaScript execution remote data request can be converted into a traditional together;

[0072] 4、具有非常高的通用性:本发明提供的方法对应用的侵入性非常低,接入非常方便,在网页请求(包括同步请求和异步请求)到来之时,能够根据该网页请求的目录和/或其参数自动地为该网页请求匹配简体中文数据或繁体中文数据。 [0072] 4, have a very high versatility: the method of the present invention provides a very low application invasive, convenient access, the time of arrival, the page request can be a request (including synchronous and asynchronous requests) based on the page directory and / or automatically request parameter data or matching Simplified Chinese Traditional Chinese data for that page. 特别对于子站点非常多的大型网站,不同子域名对应的应用可以基于本发明提供的方法来为子站生成对应的繁体页面; Especially for very large multiple site subdomain, subdomain corresponding to different applications may be generated corresponding to the page Traditional sub-station of the present invention provides a method based on;

[0073] 5、可以实现中国大陆的中文站点在海外搜索引擎的中文搜索市场中保持同等起点的竞争力与权重,提高了中国大陆的中文站点进行搜索引擎推广以及参与排序时的得分。 [0073] 5 can be achieved mainland China's Chinese sites maintain the same starting point in the search market overseas Chinese search engine's competitiveness and weight, improve the Chinese mainland Chinese site search engine promotion and participation of scores when ordering.

[0074]图4为本发明动态页面转换的装置一个实施例的结构示意图,本实施例中的动态页面转换的装置在与客户端和应用服务器通信的代理服务器执行,也就是说,本实施例中的动态页面转换的装置可以作为代理服务器,或者代理服务器的一部分实现本发明图1〜图3所示实施例的流程,如图4所示,该动态页面转换的装置可以包括:接收模块31、确定模块32、获取模块33、转换模块34和输出模块35 ; Means [0074] FIG dynamic page 4 of the present invention converts a schematic structural diagram of the embodiment, the apparatus of the present embodiment, the dynamic page turning is performed in the proxy server and client communications application server, that is to say, the present embodiment the conversion means may be dynamic page as a proxy server, the proxy server or part of the implementation of the present invention, FIG. 1 ~ FIG. 3 shows the flow of the embodiment shown in Figure 4, the dynamic page turning means may comprise: a receiving module 31 determining module 32, an obtaining module 33, conversion module 34 and output module 35;

[0075] 其中,接收模块31,用于接收客户端发送的网页请求。 [0075] wherein, the receiving module 31, for receiving a page request sent by a client.

[0076] 确定模块32,用于确定接收模块31接收的网页请求的类型和上述网页请求所请求访问的应用服务器所处的地理位置;本实施例中,确定模块32,具体用于根据上述网页请求的URL中的目录和/或根据上述网页请求的URL的查询字符串中携带的参数确定上述网页请求的类型。 [0076] The determining module 32, for requesting access to the location in which the application server and said web request type determination module 31 receives the received requested page; the present embodiment, the determining module 32, according to the above-described specific webpage directory in the URL request and / or determining the type of the above requested page URL query string above the page request carried parameters. 举例来说,如果接收到的网页请求的URL中的目录为预先设置的繁体页面目录中的一个目录,则确定模块32可以确定上述网页请求的类型为繁体中文的页面请求。 For example, if the URL of the received web page request in the traditional directory page directory is a directory set in advance, the determining module 32 may determine the type of the above page request is a request of Traditional Chinese page. 例如,当网页请求的URL为“http:"www.1688.com/tw/***,,时,该URL中的目录“/tw/”为预先设置的繁体页面目录中的一个目录,这时,确定模块32可以确定接收到的网页请求“http://www.1688.com/tw/林为繁体中文的页面请求。 For example, when the URL page request is "http:" When www.1688.com/tw / *** ,,, the URL in the directory "/ tw /" as a traditional directory page directory set in advance, which when, the received page request determination module 32 may determine "http://www.1688.com/tw/ Lin Traditional Chinese page requests.

[0077] 具体地,确定模块32确定上述网页请求所请求访问的应用服务器所处的地理位置可以为:确定模块32根据上述网页请求的URL中的域名确定上述网页请求所请求访问的应用服务器所处的地理位置;例如:如果上述网页请求的URL的域名中包含cn”的后缀,则确定模块32可以确定上述网页请求所请求访问的应用服务器所处的地理位置为中国,并且该地理位置对应的官方语言为简体中文。本实施例对确定模块32确定上述网页请求所请求访问的应用服务器所处的地理位置所采用的方法不作限定,只要可以确定上述网页请求所请求访问的应用服务器所处的地理位置即可。 [0077] Specifically, the determination module 32 determines the above-described page request location accessible to the application server which may be requested: a determining module 32 requests access to the application server URL page request in the above domain name request is determined according to the above-described page geographic location; for example: the domain name of the URL if the request contains the aforementioned web cn "suffix, the determining module 32 may determine the above page request requesting access to the application server for Chinese geographical location, and the location corresponding to the official language of Chinese simplified this embodiment of the above-described determination module 32 determines the page request method geographical location of the application server to access the requested used is not limited as long as possible to determine the above page request requesting access to the application server which the location can be.

[0078] 获取模块33,用于当确定模块32确定上述网页请求的类型为第一语言的页面请求,但上述地理位置对应的官方语言为第二语言时,根据上述网页请求的URL从上述应用服务器获取第二语言的页面内容。 When [0078] The obtaining module 33, configured to, when the above determination module 32 determines the type of page request page request as a first language, but the location corresponding to the above-described official language as a second language, the page according to the URL request from the above-described application page content server acquires a second language.

[0079] 转换模块34,用于根据第一语言与第二语言的对照表将获取模块33获取的第二语言的页面内容转换为第一语言的页面内容。 Page content [0079] The conversion module 34 for the acquisition module according to a first language and a second table 33 acquired language into a second language in the first language page content.

[0080] 输出模块35,用于向客户端输出转换模块34转换的第一语言的页面内容。 [0080] The output module 35 for outputting the page content to the client in the first language conversion module 34 conversion.

[0081] 其中,上述第一语言与第二语言的对照表可以从本地文件中加载到本地系统内存之中,考虑到web应用的并发请求特征,这里需要考虑多用户同时请求繁体页面时的性能消耗,因此转换模块34采用第一语言与第二语言的对照表进行简繁转换,另外,考虑系统处理请求时的效率,整个第一语言与第二语言的对照表的加载不使用延迟加载的方式来实现,在转换模块34启动时就将第一语言与第二语言的对照表加载到系统内存之中。 [0081] wherein the first language and the second language table may be loaded from the local file system into the local memory, taking into account the characteristics of concurrent requests the web application, to be considered here performance when multiple users simultaneously requested page Traditional consumed, the conversion module 34 and the table in the first language is a second language simplified conversion, addition, when considering the efficiency of a system to process the request, loading the whole of the first table and the second language is not the language used lazy loading ways, when the conversion module 34 will start loading the first language and the second language table into the system memory.

[0082] 本实施例中,在输出模块35向客户端输出页面内容之前,转换模块34对获取模块33获取的第二语言的页面内容进行拦截,根据第一语言与第二语言的对照表逐个字符进行匹配,以此完成第二语言的页面内容到第一语言的页面内容的转换,转换完成后,输出模块35输出第一语言的页面内容。 [0082] In this embodiment, the output module 35 outputs to the client before the page content, the conversion module 34 to the page content of the second language acquisition module 33 acquires the intercept, one by one according to the table in the first language and the second language matching characters, thereby completing the second language page content page content to convert a first language, the conversion is complete, the contents of the page output module 35 outputs the first language.

[0083] 上述动态页面转换的装置,接收模块31接收到客户端发送的网页请求之后,如果确定模块32确定网页请求的类型为第一语言的页面请求,但上述网页请求所请求访问的应用服务器所处的地理位置对应的官方语言为第二语言,则获取模块33根据上述网页请求的URL从应用服务器获取第二语言的页面内容,转换模块34再根据第一语言与第二语言的对照表将获取的第二语言的页面内容转换为第一语言的页面内容,输出模块35向上述客户端输出第一语言的页面内容,从而可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 [0083] The device of the dynamic page transition, after receiving module 31 receives the web page request sent by the client, the type determination module 32 determines if the requested page is a page request to a first language, but above the page request requesting access to the application server corresponding location in which the official language is a second language, the page obtaining module 33 according to the contents of the requested page URL acquired from the application server the second language, then converting module 34 according to the table in the first language and the second language the page content acquired second language into the first language page content, the output module 35 to the client output page content in a first language, thereby enabling time centralized convert page content, reducing the performance of impact, a significant reduction in cost of human resources and machine costs, and supports both synchronous and asynchronous requests, with a very high versatility.

[0084]图5为本发明动态页面转换的装置另一个实施例的结构示意图,与图4所示的动态页面转换的装置相比,不同之处在于,图5所示的动态页面转换的装置中,获取模块33可以包括:请求确定子模块331、生成子模块332和内容获取子模块333 ;或者,获取模块33可以包括:请求确定子模块331、生成子模块332、内容获取子模块333和解析子模块334。 Schematic structural diagram of another embodiment of the apparatus of a dynamic page transition [0084] FIG. 5 of the present invention, as compared with the dynamic page turning apparatus shown in FIG. 4, except that the apparatus shown in Fig dynamic page conversion , the acquisition module 33 may include: request determining sub-module 331 generates a sub-module 332 and a content obtaining sub-module 333; alternatively, the acquisition module 33 may include: request determining sub-module 331 generates a sub-module 332, a content obtaining sub-module 333 and parsing sub-module 334.

[0085] 本实施例的一种实现方式中,请求确定子模块331,用于根据上述网页请求的URL的后缀确定上述网页请求为同步请求; [0085] one implementation of this embodiment, the request determination sub-module 331, used for the above request is a synchronous request page URL suffix is ​​determined according to the above requested page;

[0086] 生成子模块332,用于当请求确定子模块331确定上述网页请求为同步请求时,根据上述网页请求的URL生成第二语言的页面对应的URL ;其中,生成子模块332可以根据上述网页请求的URL,利用预先配置的规则生成第二语言的页面对应的URL ; [0086] generation sub-module 332, when the request for determination sub-module 331 determines the above-described request is a page synchronization request, generates the second language page according to the URL corresponding to the above page URL request; wherein the generating sub-module 332 can be based on the the requested page URL, generates a second language using a preconfigured rule corresponding to the URL of the page;

[0087] 内容获取子模块333,用于根据生成子模块332生成的第二语言的页面对应的URL从应用服务器获取第二语言的页面内容。 [0087] The content obtaining sub-module 333 configured to obtain a second language page content from the application server based on the generated second sub-language generation module 332 corresponding to a page URL.

[0088] 举例来说,假设上述网页请求的URL为“http:// www.1688.com/detail/123456789, html”,则请求确定子模块331根据该URL的后缀可以确定上述网页请求为同步请求,然后生成子模块332根据该URL,利用预先配置的规则可以生成第二语言的页面对应的URL “http://detail.1688.com/offer/123456789, html”;然后内容获取子模块333就可以根据该第二语言的页面对应的URL “http://detail.1688.com/offer/123456789, html”获取第二语言的页面内容。 [0088] For example, suppose the above page URL request is "http: // www.1688.com/detail/123456789, html", the request determination sub-module 331 may be determined according to the above page request is the URL suffix synchronization request, then generating sub-module 332 according to the URL, using preconfigured rules may be generated URL "http://detail.1688.com/offer/123456789, html" page corresponding to a second language; content obtaining sub-module 333 is then it can acquire a second language page content based on the second language corresponding to a page URL "http://detail.1688.com/offer/123456789, html".

[0089] 本实施例的另一种实现方式中,请求确定子模块331,用于根据上述网页请求的URL的后缀确定上述网页请求为异步请求; [0089] In another implementation of this embodiment, the request determination sub-module 331, for the above web page URL suffix above request is determined according to the page request is asynchronous;

[0090] 解析子模块334,用于当请求确定子模块331确定上述网页请求为异步请求时,解析上述网页请求的URL,获得上述网页请求的URL中的查询字符串; [0090] parsing submodule 334, configured to, when the request determination sub-module 331 determines that the page request is asynchronous above, resolves the URL request of the above page, URL query string obtained in the above-page request;

[0091] 生成子模块332,用于根据解析子模块334获得的查询字符串生成第二语言的页面对应的URL ; [0091] generation sub-module 332, a page corresponding to the URL query string based on the analysis sub-module 334 is obtained by generating a second language;

[0092] 内容获取子模块333,用于根据生成子模块332生成的第二语言的页面对应的URL从应用服务器获取第二语言的页面内容。 [0092] The content obtaining sub-module 333 configured to obtain a second language page content from the application server based on the generated second sub-language generation module 332 corresponding to a page URL.

[0093]举例来说,假设上述网页请求的 URL 为:“http://www.1688.com/tw/rpc.json ?orginalUrl = http://detail.1688.com/rpc/123456 67.json,,,则请求确定子模块331根据该URL的后缀可以确定上述网页请求为异步请求,这时解析子模块334通过解析上述URL,获得的上述URL中的查询字符串为“orginalUrl = http://detail.1688.com/rpc/12345667.json”,然后生成子模块332根据上述查询字符串,利用预先配置的规则可以生成第二语言的页面对应的URL “http://detail.1688.com/rpc/12345667.json”,然后内容获取子模块333就可以根据该第二语言的页面对应的URL“http://detail.1688.com/rpc/12345667.json”获取第二语言的页面内容。 [0093] For example, suppose the above page URL request is:? "Http://www.1688.com/tw/rpc.json orginalUrl = http://detail.1688.com/rpc/123456 67.json ,,, the request determination sub-module 331 according to the URL suffix may determine the above page request is asynchronous, the above URL query string parsing time sub-module 334 by parsing the URL above, obtained as "orginalUrl = http: / /detail.1688.com/rpc/12345667.json ", then generating sub-module 332 based on the query string, using preconfigured rules may generate a second language corresponding to a page URL" http://detail.1688.com /rpc/12345667.json ", then the sub-content acquisition module 333 can be based on the second language corresponding to a page URL" http://detail.1688.com/rpc/12345667.json "to acquire a second language page content .

[0094] 进一步地,上述动态页面转换的装置还可以包括:标注模块36,用于在确定模块32确定上述网页请求的类型之后,将上述网页请求的类型标注在上述网页请求的上下文中。 [0094] Furthermore, the above-described dynamic page conversion apparatus may further include: labeling module 36, configured to, after determining module 32 determines the type of the above page request, the page request type denoted above in the context of the above-described page request.

[0095] 上述动态页面转换的装置可以实现一次性集中对页面内容进行转换,减小对性能的影响,大大节约了人力资源成本和机器成本,并且同时支持同步请求和异步请求,具有非常高的通用性。 [0095] The apparatus described above may be implemented dynamic page transition time centralized conversion page content, reduce the impact on performance, significant savings in the cost of human resources and the cost of the machine, and supports both synchronous and asynchronous requests, having a very high versatility.

[0096] 需要说明的是,在本发明的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。 [0096] Incidentally, in the description of the present invention, the terms "first", "second," and the like used for descriptive purposes only, not to be construed to indicate or imply relative importance. 此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。 Further, in the description of the present invention, unless otherwise specified, the meaning of "more" is two or more.

[0097] 流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。 [0097] In the flowchart in any process or method or otherwise described in this description may be understood as representing modules comprises one or more steps for implementing specific logical functions or processes executable instructions, fragment or portion, and the scope of the preferred embodiment of the present invention includes other implementations, which may be shown or discussed in order not press, comprising a substantially simultaneous manner or in reverse order, depending upon the functionality to perform the functions involved it should be understood that embodiments skilled in the art of the present invention.

[0098] 应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。 [0098] It should be understood that various portions of the present invention may be implemented in hardware, software, firmware or a combination thereof to achieve. 在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。 In the above-described embodiment, a plurality of steps or methods may be implemented in software or firmware and executed by a suitable system executing instructions stored in a memory with. 例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(Programmable Gate Array ;以下简称:PGA),现场可编程门阵列(Field ProgrammableGate Array ;以下简称:FPGA)等。 For example, if implemented in hardware, as in another embodiment, the present technique may be any one of the following well-known in the art, or their combination thereof: a logic gate circuit for implementing logic functions upon data signals discrete logic circuits having appropriate combinational logic gate circuit ASIC, programmable gate array (programmable gate array; hereinafter: PGA), a field programmable gate array (field ProgrammableGate array; hereinafter abbreviated: FPGA) and the like.

[0099] 本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。 [0099] skilled in the art can understand that ordinary method embodiments that all or part of the steps may be by a program instructing relevant hardware, the program may be stored in a computer-readable storage medium, one of the steps in the implementation of the embodiment of the method includes the program, or combinations thereof.

[0100] 此外,本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。 [0100] Furthermore, various embodiments of the present invention the functional modules may be integrated into one processing module, each module may be a separate physical presence may be two or more modules are integrated into one module. 上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。 The integrated module may be implemented in the form of hardware, software functional modules may also be implemented. 所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。 If the integrated module is implemented as an independent product sold or used in the form of a software functional module, it may be stored in a computer-readable storage medium.

[0101] 上述提到的存储介质可以是只读存储器,磁盘或光盘等。 [0101] The storage medium may be a read-only memory, magnetic or optical disk.

[0102] 在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。 [0102] In the description of the present specification, reference to the term "one embodiment," "some embodiments", "an example", "a specific example", or "some examples" means that a description of the exemplary embodiment or embodiments described a particular feature, structure, material, or characteristic is included in at least one embodiment of the present invention, embodiments or examples. 在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。 In the present specification, a schematic representation of the above terms necessarily referring to the same embodiment or example. 而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。 Furthermore, the particular features, structures, materials, or characteristics described embodiments or examples may be at any one or more in a proper manner.

[0103] 尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。 [0103] Although the above has been illustrated and described embodiments of the present invention, it is understood that the above embodiments are exemplary and are not to be construed as limiting the present invention, within the scope of the invention to those of ordinary skill in the art It may be variations of the above embodiments, modifications, alternatives, and modifications.

Claims (10)

1.一种动态页面转换的方法,其特征在于,包括: 代理服务器接收客户端发送的网页请求,确定所述网页请求的类型和所述网页请求所请求访问的应用服务器所处的地理位置; 如果所述网页请求的类型为第一语言的页面请求,但所述地理位置对应的官方语言为第二语言,则根据所述网页请求的统一资源定位符URL从所述应用服务器获取所述第二语言的页面内容; 所述代理服务器根据所述第一语言与所述第二语言的对照表将获取的第二语言的页面内容转换为所述第一语言的页面内容,并向所述客户端输出所述第一语言的页面内容。 A method of converting a dynamic page, characterized by comprising: the proxy server receives the web page request sent by a client, determining a geographic location and type of the web page request requesting the access to the requested application server is located; If the type of the requested page is a page request to a first language, but the location corresponding to the official language is a second language, is acquired from the application server according to the uniform resource locator (URL) of the webpage request content of language page; the proxy server converts the content page according to a second language to the first language in the second language table acquired page content in the first language, to the client the output end of the first language page content.
2.根据权利要求1所述的方法,其特征在于,所述根据所述网页请求的URL从应用服务器获取所述第二语言的页面内容包括: 根据所述网页请求的URL的后缀确定所述网页请求为同步请求时,根据所述网页请求的URL生成所述第二语言的页面对应的URL,根据所述第二语言的页面对应的URL从应用服务器获取所述第二语言的页面内容。 2. The method according to claim 1, characterized in that the request according to the URL of the web page content acquired from the server application in the second language comprising: determining according to the suffix of the requested page URL when the page request is a synchronous request, generates the second language page according to the URL corresponding to the URL of the web page request, the page content acquiring the second language from the language according to the second application server corresponding to a page URL.
3.根据权利要求1所述的方法,其特征在于,所述根据所述网页请求的URL从应用服务器获取所述第二语言的页面内容包括: 根据所述网页请求的URL的后缀确定所述网页请求为异步请求时,解析所述网页请求的URL,获得所述网页请求的URL中的查询字符串; 根据所述查询字符串生成所述第二语言的页面对应的URL,根据所述第二语言的页面对应的URL从应用服务器获取所述第二语言的页面内容。 3. The method according to claim 1, characterized in that the request according to the URL of the web page content acquired from the server application in the second language comprising: determining according to the suffix of the requested page URL when the page request is asynchronous, parsing the request URL of the webpage, the webpage URL query string obtained in the request; according to the query string to generate the second language corresponding to the URL of the page, based on the first two language page content URL corresponding to the page in the second language acquired from the application server.
4.根据权利要求1-3任意一项所述的方法,其特征在于,所述确定所述网页请求的类型包括: 根据所述网页请求的URL中的目录和/或根据所述网页请求的URL的查询字符串中携带的参数确定所述网页请求的类型。 4. A method according to any one of claims 1-3, wherein said determining the type of the web page request includes: The URL of the requested page directories and / or according to a request of the webpage determining a type of the parameters carried in the request web page query string of the URL.
5.根据权利要求1-3任意一项所述的方法,其特征在于,所述确定所述网页请求的类型之后,还包括: 将所述网页请求的类型标注在所述网页请求的上下文中。 5. The method according to any one of claims 1-3, wherein said determining the type of the web page request, the method further comprising: the type of the web page request in the context of the web page annotation request .
6.一种动态页面转换的装置,所述装置在与客户端和应用服务器通信的代理服务器执行,其特征在于,包括: 接收模块,用于接收所述客户端发送的网页请求; 确定模块,用于确定所述接收模块接收的网页请求的类型和所述网页请求所请求访问的所述应用服务器所处的地理位置; 获取模块,用于当所述确定模块确定所述网页请求的类型为第一语言的页面请求,但所述地理位置对应的官方语言为第二语言时,根据所述网页请求的统一资源定位符URL从所述应用服务器获取所述第二语言的页面内容; 转换模块,用于根据所述第一语言与所述第二语言的对照表将所述获取模块获取的第二语言的页面内容转换为所述第一语言的页面内容; 输出模块,用于向所述客户端输出所述转换模块转换的所述第一语言的页面内容。 An apparatus for converting a dynamic page, said apparatus executes a proxy server and client communications application server, characterized by comprising: receiving means for receiving the page request sent by the client; determining module, means for determining the type of the receiving module receives the request and the web server application in which the location of the requested access to the requested page; obtaining module, configured to, when the determining module determines that the requested page type when the page request in the first language, but the location corresponding to the official language is a second language, the second language page content acquired from the application server according to a uniform resource locator (URL) of the requested page; conversion module , page content for the acquisition module acquires table according to the first language and the second language into a second language to the first language page content; an output module configured to the the client converts the output module converts the content of the page in the first language.
7.根据权利要求6所述的装置,其特征在于,所述获取模块包括: 请求确定子模块,用于根据所述网页请求的URL的后缀确定所述网页请求为同步请求; 生成子模块,用于当所述请求确定子模块确定所述网页请求为同步请求时,根据所述网页请求的URL生成所述第二语言的页面对应的URL ; 内容获取子模块,用于根据所述生成子模块生成的所述第二语言的页面对应的URL从应用服务器获取所述第二语言的页面内容。 7. The device according to claim 6, wherein the obtaining module comprises: a request determining sub-module, for determining the web page request is a synchronous request according to the suffix of the requested page URL; generation sub-module, when the request for determination sub-module determines that the page request is a synchronous request, generates the second language page according to the URL corresponding to the URL of the requested page; content obtaining sub-module, configured to generate the sub- the module generates a second language corresponding to a page URL acquiring the second language page content from the application server.
8.根据权利要求6所述的装置,其特征在于,所述获取模块包括: 请求确定子模块,用于根据所述网页请求的URL的后缀确定所述网页请求为异步请求; 解析子模块,用于当所述请求确定子模块确定所述网页请求为异步请求时,解析所述网页请求的URL,获得所述网页请求的URL中的查询字符串; 生成子模块,用于根据所述解析子模块获得的查询字符串生成所述第二语言的页面对应的URL ; 内容获取子模块,用于根据所述生成子模块生成的所述第二语言的页面对应的URL从应用服务器获取所述第二语言的页面内容。 8. The apparatus according to claim 6, wherein the obtaining module comprises: a request determining sub-module, for determining the web page request is asynchronous according to the suffix of the requested page URL; parsing submodule, when the request for determination sub-module determines that the page request is asynchronous, parsing the request URL of the webpage, the webpage URL query string obtained in the request; the analysis based on the generated sub-module, configured to generating query string obtained by the sub-module page URL corresponding second language; content obtaining sub-module, configured to acquire from the application server generates the sub-module according to the generated second language corresponding to a page of the URL page content second language.
9.根据权利要求6-8任意一项所述的装置,其特征在于, 所述确定模块,具体用于根据所述网页请求的URL中的目录和/或根据所述网页请求的URL的查询字符串中携带的参数确定所述网页请求的类型。 9. The apparatus of any one of claim 6-8 claims, wherein the determining module is configured to query the URL request according to the page directory and / or a request according to the URL of the webpage determining a type of the parameters carried in the request web page string.
10.根据权利要求6-8任意一项所述的装置,其特征在于,还包括: 标注模块,用于在所述确定模块确定所述网页请求的类型之后,将所述网页请求的类型标注在所述网页请求的上下文中。 10. The apparatus of any one of claim 6-8 claims, characterized in that, further comprising: labeling means for, after the determination module determines the type of the web page request, the page request type of the annotation in the context of the web page request.
CN201510149776.4A 2015-03-31 2015-03-31 Dynamic page conversion method and device CN106156080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149776.4A CN106156080A (en) 2015-03-31 2015-03-31 Dynamic page conversion method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510149776.4A CN106156080A (en) 2015-03-31 2015-03-31 Dynamic page conversion method and device
TW104129196A TW201635170A (en) 2015-03-31 2015-09-03 Dynamic webpage conversion method and device

Publications (1)

Publication Number Publication Date
CN106156080A true CN106156080A (en) 2016-11-23

Family

ID=57338253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149776.4A CN106156080A (en) 2015-03-31 2015-03-31 Dynamic page conversion method and device

Country Status (2)

Country Link
CN (1) CN106156080A (en)
TW (1) TW201635170A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100050089A1 (en) * 2008-08-20 2010-02-25 Company 100, Inc. Web browser system of mobile communication terminal, using proxy server
CN101676904A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Multilingual method of Web application system and device
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications
CN102651750A (en) * 2011-02-24 2012-08-29 阿里巴巴集团控股有限公司 Method, system and device for providing Web page information
CN103970751A (en) * 2013-01-28 2014-08-06 鸿富锦精密工业(深圳)有限公司 Multi-language web page converting system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100050089A1 (en) * 2008-08-20 2010-02-25 Company 100, Inc. Web browser system of mobile communication terminal, using proxy server
CN101676904A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Multilingual method of Web application system and device
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications
CN102651750A (en) * 2011-02-24 2012-08-29 阿里巴巴集团控股有限公司 Method, system and device for providing Web page information
CN103970751A (en) * 2013-01-28 2014-08-06 鸿富锦精密工业(深圳)有限公司 Multi-language web page converting system and method

Also Published As

Publication number Publication date
TW201635170A (en) 2016-10-01

Similar Documents

Publication Publication Date Title
CN102043834B (en) Method for realizing searching by utilizing client and search client
US20100180192A1 (en) Dynamically configuring a presentation layer associated with a webpage delivered to a client device
CN105094889A (en) Method and device for loading application program plugins
CN105100260B (en) A method of accessing via a proxy server apparatus and
CN101079041A (en) Dynamic web page updating method and system
CN102521251A (en) Method for directly realizing personalized search, device for realizing method, and search server
US8468145B2 (en) Indexing of URLs with fragments
US20100082813A1 (en) Multiple Parallel User Experiences Provided By a Single Set of Internet Hosting Machines
CN103379127B (en) Method and apparatus for data interaction between the server and client
CN102346770B (en) WebKit browser webpage content loading method and device
CN102075570B (en) Method for implementing HTTP (hyper text transport protocol) message caching mechanism based on keywords
WO2013143403A1 (en) Method and system for accessing website
CN102890724A (en) Webpage loading method and device
US10027742B2 (en) Techniques for sharing application states
WO2014048241A1 (en) Browser and domain name resolution method thereof
CN103077185A (en) Object-based user-defined information-expanding method
US20150066886A1 (en) Native application search results
CN105051728A (en) Data base query translation system
CN102917059B (en) A client download and method of application
CN103038763A (en) On-demand translation of application text
CN1838121A (en) Data processing method and system
CN102843445B (en) One of the browsers and domain name resolution methods
US20130073745A1 (en) Context-Specific Unicode Characters In Shortened URLs
JP5481570B2 (en) Search query processing
CN102799636B (en) Method and system for mobile terminal displays the page

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination