[go: up one dir, main page]

CN1173282C - Method and system for dynamically adding new functionality to web pages - Google Patents

Method and system for dynamically adding new functionality to web pages Download PDF

Info

Publication number
CN1173282C
CN1173282C CNB991203321A CN99120332A CN1173282C CN 1173282 C CN1173282 C CN 1173282C CN B991203321 A CNB991203321 A CN B991203321A CN 99120332 A CN99120332 A CN 99120332A CN 1173282 C CN1173282 C CN 1173282C
Authority
CN
China
Prior art keywords
new
url
server
parameter
processing server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB991203321A
Other languages
Chinese (zh)
Other versions
CN1289093A (en
Inventor
刘友祥
刘�东
张小沛
陈晓艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CNB991203321A priority Critical patent/CN1173282C/en
Priority to GB0022785A priority patent/GB2359644A/en
Publication of CN1289093A publication Critical patent/CN1289093A/en
Application granted granted Critical
Publication of CN1173282C publication Critical patent/CN1173282C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种为万维网网页动态增加新功能的方法和系统。该方法包括以下步骤:(1)截获由万维网服务器向万维网客户返回的网页文件;(2)在网页文件中,加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件;(3)将新网页文件返回给万维网客户;(4)如果预定处理服务器收到万维网客户基于新URL发送的请求,则完成新功能。其中,在步骤(2)中,可以用新URL替换原始超链接中用于链接目的的URL,或将新URL直接加入到一个新超链接中。

A method and system for dynamically adding new functionality to web pages on the World Wide Web. The method comprises the following steps: (1) intercepting the webpage file returned by the World Wide Web server to the World Wide Web client; (2) adding a new URL pointing to a predetermined processing server for completing new functions in the webpage file, thereby forming a new webpage file; 3) Return the new web page file to the WWW client; (4) If the reservation processing server receives the request sent by the WWW client based on the new URL, complete the new function. Wherein, in step (2), the URL used for linking in the original hyperlink can be replaced with a new URL, or the new URL can be directly added to a new hyperlink.

Description

为万维网网页动态增加 新功能的方法和系统Method and system for dynamically adding new functionality to web pages

技术领域technical field

本发明涉及万维网网络应用,具体地涉及为万维网网页动态增加新功能的方法和系统。The invention relates to web applications of the World Wide Web, in particular to a method and a system for dynamically adding new functions to web pages of the World Wide Web.

背景技术Background technique

万维网(WWW),或简称为“Web”,是因特网的多媒体信息检索系统。在Web环境中,客户机利用超文本传输协议(HTTP)实现对Web服务器的事务处理,其中HTTP是众所周知的应用程序协议,该协议允许用户利用称为超文本标记语言(HTML)的标准页面描述语言描述各种文件(如文本、图形、图象、声音、视频等文件)。HTML提供基础文件格式,并且允许开发者规定与其他服务器及文件的链接。The World Wide Web (WWW), or simply "the Web", is the Internet's multimedia information retrieval system. In a Web environment, clients implement transactions to Web servers using the Hypertext Transfer Protocol (HTTP), a well-known application protocol that allows users to use a standard page description called Hypertext Markup Language (HTML) The language describes various files (such as text, graphics, images, sound, video, etc.). HTML provides the underlying document format and allows developers to specify links to other servers and documents.

采用超文本传输协议的万维网遵循客户/服务器结构。万维网服务的客户端采用比如浏览器这样的客户软件,可向万维网服务器发送各种请求,并且对服务器返回的由HTML语言定义的超文本信息和各种多媒体数据格式进行解释、显示和播放。The World Wide Web using Hypertext Transfer Protocol follows a client/server architecture. The client of the World Wide Web service uses client software such as a browser, which can send various requests to the World Wide Web server, and interpret, display and play the hypertext information defined by the HTML language and various multimedia data formats returned by the server.

在万维网的环境下,客户机内运行的浏览器建立与服务器的连接并且向用户提供信息。服务器内运行相应的服务器软件,该软件把信息以HTTP响应的形式提供给客户机。HTTP响应对应于由HTML语言构成的Web页,或者其他服务器产生的数据,如XML语言表达的信息。In the context of the World Wide Web, a browser running within a client machine establishes a connection with a server and provides information to the user. The corresponding server software runs in the server, and the software provides the information to the client in the form of HTTP response. The HTTP response corresponds to a Web page composed of HTML language, or data generated by other servers, such as information expressed in XML language.

在客户机中运行与HTML兼容的浏览器时,利用URL来定义链接。客户机请求由链接所标识的服务器,并且从服务器接收HTML格式的文件,或其他服务器产生的数据。URLs are used to define links when an HTML-compatible browser is running on the client machine. The client makes a request to the server identified by the link, and receives from the server an HTML-formatted file, or other server-generated data.

服务器返回的超文本信息和各种多媒体数据格式是事先编写好并存储在服务器中的文件中。所以,客户从服务器收到的网页所提供的功能也就事先确定了,而不能动态地进行改变。也就是说,不能在不改变服务器中存储的网页的情况下为网页增加新功能。The hypertext information and various multimedia data formats returned by the server are prepared in advance and stored in files on the server. Therefore, the functions provided by the webpage received by the client from the server are determined in advance and cannot be changed dynamically. That is to say, new functions cannot be added to the webpage without changing the webpage stored in the server.

发明内容Contents of the invention

本发明的第一个目的在于提供一种为万维网网页动态地增加新功能的方法。A first object of the present invention is to provide a method for dynamically adding new functions to web pages on the World Wide Web.

本发明的第二个目的在于提供一种为万维网网页动态地增加新功能的系统。A second object of the present invention is to provide a system for dynamically adding new functions to web pages.

为实现上述第一个目的,本发明提供一种为万维网网页动态增加新功能的方法,其特征在于包括以下步骤:For realizing above-mentioned first purpose, the present invention provides a kind of method for dynamically adding new function for World Wide Web page, it is characterized in that comprising the following steps:

(1)截获由万维网服务器向万维网客户返回的网页文件;(1) Intercepting the webpage files returned by the World Wide Web server to the World Wide Web client;

(2)在所述网页文件中,加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件;(2) In the webpage file, add a new URL pointing to the scheduled processing server that completes the new function, thereby forming a new webpage file;

(3)将所述新网页文件返回给所述万维网客户;(3) returning the new web page file to the World Wide Web client;

(4)如果所述预定处理服务器收到所述万维网客户基于所述新URL发送的请求,则完成所述新功能。(4) If the reservation processing server receives the request sent by the web client based on the new URL, complete the new function.

为实现上述第二个目的,本发明提供一种为万维网网页动态增加新功能的系统,其特征在于包括:In order to achieve the above-mentioned second purpose, the present invention provides a system for dynamically adding new functions to World Wide Web pages, which is characterized in that it includes:

一个内容转换服务器,该服务器包括:A content conversion server comprising:

网页文件截获装置,用于截获由万维网服务器向万维网客户返回的网页文件;The webpage file intercepting device is used for intercepting the webpage file returned by the WWW server to the WWW client;

网页文件修改装置,用于在所述网页文件中加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件;The webpage file modifying device is used to add a new URL pointing to a predetermined processing server for completing new functions in the webpage file, thereby forming a new webpage file;

网页文件返回装置,用于将所述新网页文件返回给所述万维网客户;a webpage file returning device, configured to return said new webpage file to said World Wide Web client;

所述系统还包括:The system also includes:

一个预定处理服务器,用于在收到所述万维网客户基于所述新URL发送的请求时完成所述新功能。A predetermined processing server is used for completing the new function when receiving the request sent by the web client based on the new URL.

根据本发明的方法和系统,可以将网页文件中的原始超链接所含的用于链接目的的原始URL替换为指向完成新功能的预定处理服务器的新URL。这样,在所显示的网页中,虽然仍然显示原始超链接的提示信息,但是,如果用户点击该提示信息,则完成新功能。另外一种方案是,在完成新功能之后,再完成原始URL规定的功能。这些过程对于用户完全是透明的。当然,也可以在原有网页中增加新的超链接,该新的超链接含有新功能的提示信息和指向完成新功能的预定处理服务器的新URL。因此,本发明在万维网网络应用中具有极其广泛的用途,例如,提供在线翻译、采集客户信息、在线广告管理以及服务收费等。According to the method and system of the present invention, the original URL used for the linking purpose contained in the original hyperlink in the web page file can be replaced with a new URL pointing to a predetermined processing server that completes the new function. In this way, in the displayed webpage, although the prompt information of the original hyperlink is still displayed, if the user clicks on the prompt information, the new function will be completed. Another solution is to complete the functions specified by the original URL after completing the new functions. These processes are completely transparent to the user. Of course, a new hyperlink can also be added in the original web page, and the new hyperlink contains prompt information of the new function and a new URL pointing to a predetermined processing server for completing the new function. Therefore, the present invention has extremely wide applications in World Wide Web network applications, such as providing online translation, collecting customer information, online advertisement management, and service charging.

附图说明Description of drawings

通过结合附图对本发明较佳实施方式的详细描述,本发明的上述特征和优点将会更加明显。其中The above-mentioned features and advantages of the present invention will be more apparent through the detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. in

图1示出本发明的为万维网网页动态增加新功能的系统的示意图;Fig. 1 shows a schematic diagram of a system for dynamically adding new functions to web pages of the present invention;

图2是图1中的内容转换服务器的工作流程图;Fig. 2 is the working flowchart of the content conversion server in Fig. 1;

图3是图1中的处理服务器的工作流程图。FIG. 3 is a flow chart of the processing server in FIG. 1 .

具体实施方式Detailed ways

下面参照附图描述本发明的最佳实施方式。The best mode for carrying out the present invention will be described below with reference to the accompanying drawings.

作为简短背景,首先简要介绍统一资源定位符(URL)和超链接的概念。As a brief background, first a brief introduction to the concepts of Uniform Resource Locators (URLs) and hyperlinks.

在因特网应用中,利用统一资源定位符(URL)规定至某服务器的网络路径,URL具有定义网络连接的专用语法。URL典型地为这样的格式:http://somehost/somedirectory?parameters...,其中“somehost”是该URL的宿主名位置,“somedirectory”是可以找到该Web网页的目录。把URL分解成为一个Web服务器的实际IP地址的常用方式是通过一个域名服务器。在互联网或企业内部互联网(intranet)中,域名服务器把URL中的宿主名变换成实际的网址。域名服务器的一个例子是目前在因特网中实现的域名服务(DNS)。Web用户从域名服务器请求宿主名和地址的过程有时称为解析。在TCP/IP中,域名服务器把宿主名解析成一个IP地址,这些IP地址回送给HTTP请求上的Web客户。每个IP地址规定一个服务器,该服务器用来处理由测览器发出的请求内容。In Internet applications, a network path to a server is specified using a Uniform Resource Locator (URL), which has a specific syntax for defining network connections. The URL is typically of the form: http://somehost/somedirectory? parameters..., where "somehost" is the hostname location of the URL, and "somedirectory" is the directory where the Web page can be found. A common way to resolve a URL into the actual IP address of a web server is through a name server. On the Internet or an intranet, domain name servers translate host names in URLs into actual web addresses. An example of a domain name server is the Domain Name Service (DNS) currently implemented in the Internet. The process by which a web user requests a host name and address from a domain name server is sometimes called resolution. In TCP/IP, domain name servers resolve hostnames into an IP address, and these IP addresses are sent back to Web clients on HTTP requests. Each IP address specifies a server, which is used to process the content of the request sent by the browser.

超链接是一种交互式信息检索方法。超链接信息包含在超媒体和超文本文件中,这些文件允许用户只要“点击”(即,使用鼠标或其他指点装置)超链接的标题就能够获得文件或访问站点。本文中将超链接定义为具有两部分内容:提示信息和URL。这种超链接包含在网页文件中。在万维网客户对网页文件进行显示时,在提示信息规定的位置显示规定的文本或图象。在用户点击所显示的文本或图象时,万维网客户基于超链接所含的URL发出请求。Hyperlinking is a method of interactive information retrieval. Hyperlink information is contained in hypermedia and hypertext documents that allow a user to obtain a document or access a site simply by "clicking" (ie, using a mouse or other pointing device) the title of the hyperlink. In this paper, a hyperlink is defined as having two parts: prompt information and URL. Such hyperlinks are contained in web page files. When the WWW client displays the web page file, the specified text or image is displayed at the specified position of the prompt information. When a user clicks on displayed text or an image, the World Wide Web client makes a request based on the URL contained in the hyperlink.

图1示出本发明的为万维网网页动态增加新功能的系统的示意图。标号103和104分别表示现有技术中的万维网客户和万维网服务器。如在背景技术中所述,万维网客户103经过万维网向万维网服务器104发出请求,万维网服务器104经过万维网向万维网客户103返回响应,该响应实际上是一个HTML文件,或其他万维网客户可以处理的文件格式。Fig. 1 shows a schematic diagram of the system for dynamically adding new functions to web pages of the present invention. Reference numerals 103 and 104 respectively denote a web client and a web server in the prior art. As described in the background technology, the WWW client 103 sends a request to the WWW server 104 through the WWW, and the WWW server 104 returns a response to the WWW client 103 through the WWW. This response is actually an HTML file, or a file format that other WWW clients can handle .

在此需要说明的是,虽然本文中多处引用HTML,但是HTML不构成对本发明的限制。本发明可以采用任何其他可用的页面描述语言,如XML。It should be noted here that although HTML is quoted in many places in this document, HTML does not constitute a limitation to the present invention. The present invention can adopt any other available page description language, such as XML.

标号101表示一个内容转换服务器。虽然图中未示出,但是内容转换服务器可以包括:网页文件截获装置,用于截获由万维网服务器向万维网客户返回的网页文件;网页文件修改装置,用于在所截获的网页文件中加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件;网页文件返回装置,用于将新网页文件返回给万维网客户。Reference numeral 101 denotes a content conversion server. Although not shown in the figure, the content conversion server may include: a webpage file intercepting device, used to intercept the webpage file returned by the World Wide Web server to the World Wide Web client; a webpage file modification device, used to add a pointing Complete the new URL of the predetermined processing server of the new function, thereby forming a new webpage file; the webpage file return device is used to return the new webpage file to the World Wide Web client.

根据不同的应用,网页文件修改装置可以对所截获的网页文件进行不同的处理。比如,可以用完成新功能的预定处理服务器的新URL替换网页文件中的一个原始超链接中所含的用于链接目的的原始URL。也可以在网页文件中加入一个新超链接,该新超链接含有新功能的提示信息和指向完成新功能的预定处理服务器的新URL。另外,在新URL中可以含有一个或多个参数。这些参数用于规定不同的新功能。也可以将原始URL作为新URL的一个参数。According to different applications, the device for modifying webpage files can perform different processing on the intercepted webpage files. For example, an original URL for linking purposes contained in an original hyperlink in a web page file can be replaced with a new URL of a predetermined processing server that performs a new function. It is also possible to add a new hyperlink in the web page file, the new hyperlink contains the prompt information of the new function and the new URL pointing to the scheduled processing server for completing the new function. Additionally, one or more parameters may be included in the new URL. These parameters are used to specify different new functions. It is also possible to pass the original URL as a parameter of the new URL.

这样在内容转换服务器101输出的网页文件中可能包括三种超链接,即May comprise three kinds of hyperlinks in the webpage file that content transformation server 101 outputs like this, namely

(1)未做任何修改的原始超链接;(1) The original hyperlink without any modification;

(2)其用于链接目的的URL替换为新URL的原始超链接;(2) its URL used for linking purposes is replaced by the original hyperlink of the new URL;

(3)新超链接(带有或者不带有参数)。(3) New hyperlink (with or without parameters).

万维网客户103收到网页文件后,对文件内容进行解释、显示和播放。对于第(1)和第(2)种超链接,将显示原始提示信息。对于第(3)种超链接,将显示新功能的提示信息。After the WWW client 103 receives the webpage file, it interprets, displays and plays the content of the file. For (1) and (2) hyperlinks, the original prompt information will be displayed. For the (3) kind of hyperlink, the prompt information of the new function will be displayed.

标号102表示预定的处理服务器,用于接收由万维网客户103发送的请求并且完成预定的功能。这些预定的功能是事先确定的,包括四类:Reference numeral 102 denotes a predetermined processing server for receiving a request sent by the web client 103 and performing predetermined functions. These predetermined functions are determined in advance and include four categories:

(1)需要与万维网客户103协同的功能,如标号1所示;(1) Functions that need to cooperate with the World Wide Web client 103, as shown in the label 1;

(2)需要与内容转换服务器101协同的功能,如标号2所示;(2) functions that need to be coordinated with the content conversion server 101, as shown in label 2;

(3)需要与万维网服务器104协同的功能,如标号3所示;以及(3) functions that need to cooperate with the World Wide Web server 104, as shown in label 3; and

(4)仅由处理服务器102自身完成的功能,如标号4所示。(4) Functions performed only by the processing server 102 itself, as indicated by reference number 4 .

因此,在处理服务器102收到的请求中可以带有不同的参数,以指示需要协同的对象。这些参数是由内容转换服务器101加入到网页文件中的。如前文所述,可以将原始URL作为新URL的一个参数。这样,处理服务器102可以从新URL的参数表中获得原始URL,根据原始URL发出请求,完成原始URL规定的功能。这一过程对于用户来说完全是透明的。Therefore, the request received by the processing server 102 may carry different parameters to indicate the objects requiring coordination. These parameters are added by the content conversion server 101 into the webpage file. As mentioned earlier, the original URL can be passed as a parameter of the new URL. In this way, the processing server 102 can obtain the original URL from the parameter table of the new URL, send a request according to the original URL, and complete the functions stipulated by the original URL. This process is completely transparent to the user.

需要说明的是,虽然图中示出内容转换服务器101和处理服务器102是分开的两个服务器,实际上也可以在同一服务器中实现它们的功能。It should be noted that although it is shown in the figure that the content conversion server 101 and the processing server 102 are two separate servers, their functions can also be realized in the same server in fact.

图2是图1中的内容转换服务器101的工作流程图。在步骤201,内容转换服务器开始工作。在步骤202,进行初始化。在步骤203,等待并接收从万维网客户发送的请求。在步骤204,将收到的客户请求发送到请求中指定的万维网服务器。在步骤205,接收万维网服务器作为响应返回的网页文件。FIG. 2 is a flowchart of the operation of the content conversion server 101 in FIG. 1 . In step 201, the content conversion server starts to work. In step 202, initialization is performed. In step 203, it waits for and receives a request from a web client. In step 204, the received client request is sent to the web server specified in the request. In step 205, the webpage file returned by the web server as a response is received.

以上几个步骤的目的在于截获从万维网服务器返回给客户的网页文件。除了这种代理方式以外,在现有技术中可以有多种方式来截获这种网页文件。在此不必多述。The purpose of the above several steps is to intercept the webpage file returned to the client from the World Wide Web server. In addition to this proxy method, there are multiple ways to intercept such webpage files in the prior art. Needless to say here.

然后,在步骤206,在网页文件中,加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件。步骤207,将新网页文件返回给客户。步骤208判断是否继续上述过程。若继续,则回到步骤203,否则进行到步骤209。在步骤209,处理结束。Then, in step 206, a new URL pointing to a predetermined processing server that completes the new function is added in the webpage file, thereby forming a new webpage file. Step 207, returning the new web page file to the client. Step 208 judges whether to continue the above process. If continue, go back to step 203, otherwise go to step 209. At step 209, the process ends.

在实现中,步骤203至步骤207可以采用多进程的方式。In implementation, steps 203 to 207 may adopt a multi-process manner.

根据不同的应用,在步骤206中可以对网页文件进行不同的处理。比如,可以用完成新功能的预定处理服务器的新URL替换网页文件中的一个原始超链接中所含的用于链接目的的原始URL。也可以在网页文件中加入一个新超链接,该新超链接含有新功能的提示信息和指向完成新功能的预定处理服务器的新URL。另外,在新URL中可以含有一个或多个参数。这些参数用于规定不同的新功能。也可以将原始URL作为新URL的一个参数。According to different applications, different processing may be performed on the webpage file in step 206 . For example, an original URL for linking purposes contained in an original hyperlink in a web page file can be replaced with a new URL of a predetermined processing server that performs a new function. It is also possible to add a new hyperlink in the web page file, the new hyperlink contains the prompt information of the new function and the new URL pointing to the scheduled processing server for completing the new function. Additionally, one or more parameters may be included in the new URL. These parameters are used to specify different new functions. It is also possible to pass the original URL as a parameter of the new URL.

图3是图1中的处理服务器的工作流程图。在步骤301,处理服务器102开始工作。在步骤302,进行初始化。在步骤303,等待并接收从客户发送的请求。请注意,根据本发明的上述构思,处理服务器能够收到的请求,都是万维网客户基于图2中步骤206中增加的新URL发出的。在步骤304,提取客户请求中的参数。这些参数相应于图2中步骤206中填加的参数。在实际应用中,可以以各种方式利用这些参数。在步骤305,完成必要的处理。根据不同的应用环境,这里的处理可以是多种多样的。例如可以是对客户信息的收集、对广告播放的统计,等等。FIG. 3 is a flow chart of the processing server in FIG. 1 . In step 301, the processing server 102 starts working. In step 302, initialization is performed. In step 303, it waits for and receives a request from a client. Please note that, according to the above concept of the present invention, the requests that the processing server can receive are all sent by the WWW client based on the new URL added in step 206 in FIG. 2 . In step 304, parameters in the client request are extracted. These parameters correspond to the parameters added in step 206 in FIG. 2 . In practical applications, these parameters can be utilized in various ways. In step 305, necessary processing is completed. According to different application environments, the processing here can be various. For example, it can be the collection of customer information, the statistics of advertising broadcasts, and so on.

在步骤306,判断是否与客户协同?这种判断可以通过对某个参数的判断进行。如果判断结果为是,则在步骤307向客户发送定制的响应。在步骤308,判断是否同内容转换服务器协同?如果判断结果为是,则在步骤309与内容转换服务器通信,完成复杂的任务。在步骤310,判断是否与万维网服务器协同?如果判断结果为是,则在步骤311向万维网服务器发送请求,完成对用户是透明的处理。In step 306, determine whether to cooperate with the client? This judgment can be made by judging a certain parameter. If the judgment result is yes, then in step 307, a customized response is sent to the client. In step 308, determine whether to cooperate with the content conversion server? If the judgment result is yes, then in step 309, communicate with the content conversion server to complete complex tasks. In step 310, it is determined whether to cooperate with the WWW server? If the judgment result is yes, then in step 311, a request is sent to the web server to complete the process transparent to the user.

以上步骤306、308和310可以通过对参数的判断进行。例如,如果发现参数表中含有一个URL,则可以判断需要与万维网服务器协同。于是,在完成某些预功能之后,向该URL规定的万维网服务器发出请求。The above steps 306, 308 and 310 can be performed by judging the parameters. For example, if it is found that a URL is contained in the parameter table, it can be determined that cooperation with the World Wide Web server is required. Then, after completing some pre-functions, a request is made to the web server specified by the URL.

然后,在步骤312判断是否继续处理。若继续,则处理返回到步骤303;否则进行到步骤313,处理结束。Then, in step 312, it is judged whether to continue processing. If it continues, the process returns to step 303; otherwise, it proceeds to step 313, and the process ends.

下面仅举几个简单地例子来说明本发明的应用。Only give a few simple examples below to illustrate the application of the present invention.

网页动态翻译Web page dynamic translation

内容转换服务器可以将网页文件中的每个句子改为超文本的形式。用户在点击一句时,浏览器将该句内容作为参数发送给处理服务器。处理服务器返回该句的译文。The content conversion server can change each sentence in the web page file into a form of hypertext. When the user clicks on a sentence, the browser sends the content of the sentence as a parameter to the processing server. The processing server returns the translation of the sentence.

收集客户信息collect customer information

内容转换服务器可以使得网页文件中的原有超链接受到点击时,自动地向处理服务器发送一个请求。处理服务器对这种请求进行分析、处理和采集。The content conversion server can automatically send a request to the processing server when the original hyperlink in the web page file is clicked. The processing server analyzes, processes and collects such requests.

在线广告管理Online Advertising Management

由处理服务器对广告条受点击的次数进行统计,以确定广告费用。该处理服务器可以由广告商和商家共同信认的第三方维护。The processing server counts the number of times the advertisement bar is clicked to determine the advertisement fee. The processing server may be maintained by a third party recognized by both the advertiser and the merchant.

服务收费service charge

在允许用户下载文档之前,由处理服务器对用户进行认证或者收取必要费用。可以将本发明的处理服务器做成为多个万维网服务器的付费服务器。因此,用户不再需要在多个站点开设多个帐户,简化了用户的操作。此外,接受付费服务器服务的万维网服务器不再需要复杂且难于维护的计费系统,从而节省了费用和成本。The processing server authenticates the user or charges the necessary fee before allowing the user to download the document. The processing server of the present invention can be made as a payment server of a plurality of web servers. Therefore, the user no longer needs to open multiple accounts on multiple sites, which simplifies the user's operation. In addition, web servers accepting paid server services do not require complex and difficult to maintain billing systems, thereby saving fees and costs.

虽然以上结合附图详细描述了本发明的最佳实施方式,但是对于本领域内熟练的技术人员而言,可以做出各种修改和变更,而不背离本发明的范围和实质。因此,本发明的范围仅由权利要求书限定。Although the best embodiment of the present invention has been described in detail above with reference to the accompanying drawings, those skilled in the art can make various modifications and changes without departing from the scope and essence of the present invention. Accordingly, the scope of the present invention is limited only by the claims.

Claims (15)

1.一种为万维网网页动态增加新功能的方法,其特征在于包括以下步骤:1. A method for dynamically adding new functions to web pages on the World Wide Web, characterized in that it comprises the following steps: (1)截获由万维网服务器向万维网客户返回的网页文件;(1) Intercepting the webpage files returned by the World Wide Web server to the World Wide Web client; (2)在所述网页文件中,加入一个指向完成新功能的预定处理服务器的新URL,从而形成新网页文件;(2) In the webpage file, add a new URL pointing to the scheduled processing server that completes the new function, thereby forming a new webpage file; (3)将所述新网页文件返回给所述万维网客户;(3) returning the new web page file to the World Wide Web client; (4)如果所述预定处理服务器收到所述万维网客户基于所述新URL发送的请求,则完成所述新功能。(4) If the reservation processing server receives the request sent by the web client based on the new URL, complete the new function. 2.根据权利要求1的方法,其特征在于步骤(2)包括步骤:2. according to the method for claim 1, it is characterized in that step (2) comprises the step: 用所述新URL替换所述网页文件中的一个原始超链接中所含的用于链接目的的原始URL。The original URL for linking purposes contained in an original hyperlink in the web page file is replaced with the new URL. 3.根据权利要求2的方法,其特征在于步骤(2)中的所述新URL带有至少一个用于规定新功能的参数,并且步骤(4)中收到的所述请求含有所述至少一个参数,从而所述预定处理服务器根据所述至少一个参数完成相应的功能。3. The method according to claim 2, characterized in that said new URL in step (2) has at least one parameter for specifying a new function, and said request received in step (4) contains said at least One parameter, so that the predetermined processing server completes corresponding functions according to the at least one parameter. 4.根据权利要求3的方法,其特征在于步骤(2)中的所述至少一个参数之一是所述原始URL,并且步骤(4)中的所述相应的功能包括所述原始URL规定的功能。4. The method according to claim 3, characterized in that one of said at least one parameter in step (2) is said original URL, and said corresponding function in step (4) includes said original URL specified Function. 5.根据权利要求1的方法,其特征在于步骤(2)包括步骤:5. according to the method for claim 1, it is characterized in that step (2) comprises the step: 在所述网页文件中,加入一个新超链接,所述新超链接是由所述新功能的提示信息和所述新URL组成的。In the web page file, a new hyperlink is added, and the new hyperlink is composed of the prompt information of the new function and the new URL. 6.根据权利要求5的方法,其特征在于步骤(2)中的所述新URL带有至少一个用于规定新功能的参数,并且步骤(4)中收到的所述请求含有所述至少一个参数,从而所述预定处理服务器根据所述至少一个参数完成相应的功能。6. The method according to claim 5, characterized in that said new URL in step (2) has at least one parameter for specifying a new function, and said request received in step (4) contains said at least One parameter, so that the predetermined processing server completes corresponding functions according to the at least one parameter. 7.根据权利要求1至6中任一项的方法,其特征在于步骤(1)至(3)是在一个内容转换服务器中执行的。7. A method according to any one of claims 1 to 6, characterized in that steps (1) to (3) are performed in a content conversion server. 8.根据权利要求7的方法,其特征在于所述内容转换服务器和所述预定处理服务器是同一个服务器。8. The method according to claim 7, wherein said content conversion server and said predetermined processing server are the same server. 9.一种为万维网网页动态增加新功能的系统,其特征在于包括:9. A system for dynamically adding new functions to web pages on the World Wide Web, characterized in that it comprises: 一个内容转换服务器,该服务器包括:A content conversion server comprising:     网页文件截获装置,用于截获由万维网服务器向万维网客户The web page file intercepting device is used to intercept the web page sent by the World Wide Web server to the World Wide Web client. 返回的网页文件;The returned webpage file;     网页文件修改装置,用于在所述网页文件中加入一个指向完The device for modifying the webpage file is used to add a pointer to the complete 成新功能的预定处理服务器的新URL,从而形成新网页文件;Create a new URL of the scheduled processing server for the new function, thereby forming a new web page file;     网页文件返回装置,用于将所述新网页文件返回给所述万维The webpage file returning device is used to return the new webpage file to the Wanwei 网客户;net client; 所述系统还包括:The system also includes: 一个预定处理服务器,用于在收到所述万维网客户基于所述新URL发送的请求时完成所述新功能。A pre-determined processing server is configured to complete the new function upon receiving the request sent by the WWW client based on the new URL. 10.根据权利要求9的系统,其特征在于所述网页文件修改装置用所述新URL替换所述网页文件中的一个原始超链接中所含的用于链接目的的原始URL。10. The system according to claim 9, wherein said web page file modifying means replaces an original URL for linking purposes contained in an original hyperlink in said web page file with said new URL. 11.根据权利要求10的系统,其特征在于所述网页文件修改装置还为所述新URL增加至少一个用于规定新功能的参数,并且预定处理服务器收到含有所述至少一个参数的请求,进而根据所述至少一个参数完成相应的功能。11. The system according to claim 10, wherein said webpage file modifying device also adds at least one parameter for specifying a new function for said new URL, and the reservation processing server receives the request containing said at least one parameter, Then, a corresponding function is completed according to the at least one parameter. 12.根据权利要求11的系统,其特征在于所述网页文件修改装置增加的所述至少一个参数之一是所述原始URL,并且所述预定处理服务器完成的相应功能包括所述原始URL规定的功能。12. The system according to claim 11, characterized in that one of said at least one parameter added by said web page file modifying device is said original URL, and the corresponding function completed by said predetermined processing server includes the specified original URL Function. 13.根据权利要求9的系统,其特征在于所述网页文件修改装置在所述网页文件中加入一个新超链接,所述新超链接是由所述新功能的提示信息和所述新URL组成的。13. The system according to claim 9, wherein said webpage file modifying device adds a new hyperlink in said webpage file, said new hyperlink is made up of the prompt information of said new function and said new URL of. 14.根据权利要求13的系统,其特征在于所述网页文件修改装置还为所述新URL增加至少一个用于规定新功能的参数,并且预定处理服务器收到含有所述至少一个参数的请求,进而根据所述至少一个参数完成相应的功能。14. The system according to claim 13, wherein said webpage file modifying device also adds at least one parameter for specifying a new function for said new URL, and the reservation processing server receives the request containing said at least one parameter, Then, a corresponding function is completed according to the at least one parameter. 15.根据权利要求9至14中任一项的系统,其特征在于所述内容转换服务器和所述预定处理服务器是同一个服务器。15. The system according to any one of claims 9 to 14, characterized in that said content conversion server and said predetermined processing server are the same server.
CNB991203321A 1999-09-20 1999-09-20 Method and system for dynamically adding new functionality to web pages Expired - Fee Related CN1173282C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB991203321A CN1173282C (en) 1999-09-20 1999-09-20 Method and system for dynamically adding new functionality to web pages
GB0022785A GB2359644A (en) 1999-09-20 2000-09-18 Dynamically adding new functions for Web pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB991203321A CN1173282C (en) 1999-09-20 1999-09-20 Method and system for dynamically adding new functionality to web pages

Publications (2)

Publication Number Publication Date
CN1289093A CN1289093A (en) 2001-03-28
CN1173282C true CN1173282C (en) 2004-10-27

Family

ID=5281477

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991203321A Expired - Fee Related CN1173282C (en) 1999-09-20 1999-09-20 Method and system for dynamically adding new functionality to web pages

Country Status (2)

Country Link
CN (1) CN1173282C (en)
GB (1) GB2359644A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355587B (en) * 2008-09-17 2012-05-23 杭州华三通信技术有限公司 Method and apparatus for obtaining URL information as well as method and system for implementing searching engine

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627817B2 (en) 2003-02-21 2009-12-01 Motionpoint Corporation Analyzing web site for translation
CN100392649C (en) * 2004-12-31 2008-06-04 北京联动在线通讯科技有限公司 Method for implementing quick link of specific matching words displayed on screen
FR2898004A1 (en) 2006-02-28 2007-08-31 France Telecom EVALUATION OF THE USE OF HYPERLINK OF MULTIMEDIA PAGE IN A TERMINAL
CN101035257B (en) * 2006-03-10 2010-06-16 孟智平 Dynamic video two-dimension information interactive synchronization transmission method and system
DE102007026870A1 (en) * 2007-06-11 2008-12-18 Giesecke & Devrient Gmbh Resource access mediated by a security module
WO2012009441A2 (en) 2010-07-13 2012-01-19 Motionpoint Corporation Dynamic language translation of web site content
CN103383687B (en) * 2012-05-02 2017-03-01 阿里巴巴集团控股有限公司 A kind of page processing method and device
CN106202230A (en) * 2016-06-29 2016-12-07 深圳市驰云科技发展有限公司 Revise the method for web page contents on the router and realize system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826025A (en) * 1995-09-08 1998-10-20 Sun Microsystems, Inc. System for annotation overlay proxy configured to retrieve associated overlays associated with a document request from annotation directory created from list of overlay groups
US5712979A (en) * 1995-09-20 1998-01-27 Infonautics Corporation Method and apparatus for attaching navigational history information to universal resource locator links on a world wide web page
US5933811A (en) * 1996-08-20 1999-08-03 Paul D. Angles System and method for delivering customized advertisements within interactive communication systems
US5948061A (en) * 1996-10-29 1999-09-07 Double Click, Inc. Method of delivery, targeting, and measuring advertising over networks
US6052730A (en) * 1997-01-10 2000-04-18 The Board Of Trustees Of The Leland Stanford Junior University Method for monitoring and/or modifying web browsing sessions
KR100265142B1 (en) * 1997-02-25 2000-09-01 포만 제프리 엘 Method and apparatus for displaying help window simultaneously with web page pertaining thereto
US6266681B1 (en) * 1997-04-08 2001-07-24 Network Commerce Inc. Method and system for inserting code to conditionally incorporate a user interface component in an HTML document
WO2000062169A1 (en) * 1999-04-09 2000-10-19 Thirdvoice, Inc. Methods and systems for annotating electronic pages on displays of networked computers
US6401077B1 (en) * 1999-05-28 2002-06-04 Network Commerce, Inc. Method and system for providing additional behavior through a web page

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355587B (en) * 2008-09-17 2012-05-23 杭州华三通信技术有限公司 Method and apparatus for obtaining URL information as well as method and system for implementing searching engine

Also Published As

Publication number Publication date
GB2359644A (en) 2001-08-29
GB0022785D0 (en) 2000-11-01
CN1289093A (en) 2001-03-28

Similar Documents

Publication Publication Date Title
CN1099087C (en) International support method and system for internet and wanwei net page
CN1225479A (en) Customization of web pages based on requester type
CN1142513C (en) Dynamic content supplied processor
US6065048A (en) Method and system to create, transmit, receive and process information, including an address to further information
JP3548098B2 (en) Method and system for providing a native language query service
CN1286059C (en) Advertisement providing system and method using wireless Internet
US6973492B2 (en) Method and apparatus for collecting page load abandons in click stream data
US20160100024A1 (en) In-server redirection of http requests
US20040059793A1 (en) Method and system for virtual website domain name service
CN1468403A (en) User-friendly Internet search system and method thereof
CN1351729A (en) Handling a request for information provided by a networks site
CN1317191A (en) Method and apparatus for transparently processing DNS traffic
US6931428B2 (en) Method and apparatus for handling requests for content in a network data processing system
CN1414485A (en) Contents conversion system, automatic pattern table selection method and its program
CN1173282C (en) Method and system for dynamically adding new functionality to web pages
CN1434948A (en) Method and device for processing network documents
CN1659550A (en) System and method for navigating search results
CN110855766A (en) Method and device for accessing Web resources and proxy server
CA2391002C (en) Retrieval of digital objects by redirection of controlled vocabulary searches
CN1801817A (en) Method and system for producing journal file
CN1138216C (en) Device and method for providing fast information service for multiple devices
CN1620060A (en) Integrating browser-incompatible information into web content and method for displaying the information
CN1522403A (en) Method and device for processing Internet forms
CN1524238A (en) System and method for defining and rendering composite web pages
CN1230763C (en) Conventional master system hot-link analog and guide

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee