[go: up one dir, main page]

CN1184578C - Method for synchronously browing network pages in different windows - Google Patents

Method for synchronously browing network pages in different windows Download PDF

Info

Publication number
CN1184578C
CN1184578C CNB011156635A CN01115663A CN1184578C CN 1184578 C CN1184578 C CN 1184578C CN B011156635 A CNB011156635 A CN B011156635A CN 01115663 A CN01115663 A CN 01115663A CN 1184578 C CN1184578 C CN 1184578C
Authority
CN
China
Prior art keywords
window
synchronous
synchronization
webpage
new
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 - Lifetime
Application number
CNB011156635A
Other languages
Chinese (zh)
Other versions
CN1383077A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB011156635A priority Critical patent/CN1184578C/en
Publication of CN1383077A publication Critical patent/CN1383077A/en
Application granted granted Critical
Publication of CN1184578C publication Critical patent/CN1184578C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Medicines That Contain Protein Lipid Enzymes And Other Medicines (AREA)
  • Pharmaceuticals Containing Other Organic And Inorganic Compounds (AREA)

Abstract

本发明公开了一种多窗口网页同步的实现方法,该方法包括以下步骤:创建多个同步窗口事件处理线程和对应的多个同步窗口事件接收器,由外部程序调用或同步浏览器窗口动作触发同步窗口事件接收器,而在其对应的同步窗口事件处理线程中进行相关的处理;分配不同的同步窗口事件处理线程给不同的同步窗口,使不同窗口中的动作分别在不同的同步窗口事件处理线程中处理。采用该方法可更灵活控制网页的浏览,进而方便操作与管理。

Figure 01115663

The invention discloses a method for realizing synchronization of multi-window web pages. The method includes the following steps: creating multiple synchronization window event processing threads and corresponding multiple synchronization window event receivers, which are triggered by external program calls or synchronization browser window actions Synchronize the window event receiver, and perform related processing in its corresponding synchronous window event processing thread; assign different synchronous window event processing threads to different synchronous windows, so that the actions in different windows are processed in different synchronous window events processed in the thread. By adopting the method, web page browsing can be controlled more flexibly, thereby facilitating operation and management.

Figure 01115663

Description

多窗口网页同步的实现方法Implementation method of multi-window web page synchronization

技术领域technical field

本发明涉及数据通信技术领域,特别涉及基于INTERNET网络的信息网页同步技术中的一种多窗口网页同步的实现方法。The invention relates to the technical field of data communication, in particular to a method for realizing multi-window webpage synchronization in the information webpage synchronization technology based on the Internet.

背景技术Background technique

通常,网页同步或网页共享也可称为护航浏览,即将客户的浏览网页内容与话务员的同步,或将话务员的浏览网页内容与客户的同步,实现客户端到座席端网页同步浏览。同步时双方在浏览器上将看到同样的网页内容。护航浏览可用于话务员在网络上向客户“推”(push)产品介绍以及提供同步浏览导航等服务。可广泛地应用在环球网(Web)集成呼叫中心、网上客户服务中心、电子商务导购系统、个人或企业交互联络产品、远程演示和远程教育等产品中。Generally, webpage synchronization or webpage sharing can also be called escort browsing, which means synchronizing the webpage browsing content of the customer with that of the operator, or synchronizing the webpage browsing content of the operator with that of the customer, so as to realize synchronous webpage browsing from the client to the agent side. During synchronization, both parties will see the same web page content on the browser. Escorted browsing can be used by the operator to "push" product introductions to customers on the network and provide services such as synchronous browsing and navigation. It can be widely used in the World Wide Web (Web) integrated call center, online customer service center, e-commerce shopping guide system, personal or enterprise interactive contact products, remote demonstration and distance education and other products.

现有的网页同步或网页共享大致有如下的实现方法:Existing web page synchronization or web page sharing roughly has the following implementation methods:

方案一:客户端和座席端均下载一个小应用程序,并打开一个浏览器窗口进行实时监测,当客户端或座席端中的某一方统一资源定位器(URL)网址发生改变时,小应用程序监测到变化后通过网络通知另外一方小应用程序将其浏览器窗口同步到该URL网址。Solution 1: Both the client and the agent end download a small application, and open a browser window for real-time monitoring. When the URL of one of the client or the agent changes, the small application After the change is detected, the other party's applet is notified through the network to synchronize its browser window to the URL.

方案二:Web服务器上启动一个应用程序,用于对客户端和座席端发给Web服务器的URL请求进行监测。同时网页含有一个控制帧不断检测Web服务器状态,当客户端或座席端中的某一方URL网址发生改变时,Web服务器监测到变化后改变当前状态,由另外一方的控制帧将其浏览器窗口同步到该URL网址。Solution 2: Start an application program on the web server to monitor the URL requests sent to the web server by the client and the agent. At the same time, the web page contains a control frame to continuously detect the status of the web server. When the URL of one of the clients or the agent changes, the web server changes the current state after detecting the change, and the other party's control frame synchronizes its browser window to that URL.

现有的网页同步技术存在有如下的缺陷:Existing web page synchronization technology has the following defects:

1、现有技术仅支持单个窗口的同步,而目前在大多数Web站点浏览网页时常常需要打开多个浏览器窗口进行浏览。1. The existing technology only supports the synchronization of a single window, but at present, it is often necessary to open multiple browser windows for browsing when browsing web pages at most Web sites.

2、不能实现多个Web站点同时进行同步浏览。2. Cannot realize synchronous browsing of multiple Web sites at the same time.

3、对多帧网页支持不够,有的Web网站上的含有多帧网页,这时可能出现对浏览器窗口中的帧不能同步的现象。3. Insufficient support for multi-frame webpages. Some web sites contain multi-frame webpages. At this time, there may be a phenomenon that the frames in the browser window cannot be synchronized.

4、现有技术不能处理含有动态子窗口的网页。动态子窗口是指网页中含有指向公共网关接口(CGI)程序的子窗口请求,每次访问到该网页子窗口都会产生不同的内容(对用于在网页中插入广告画面),易造成同步页面被替换成该子窗口,使得网页同步不能继续。4. The prior art cannot handle webpages containing dynamic sub-windows. A dynamic sub-window refers to a web page containing a sub-window request pointing to a Common Gateway Interface (CGI) program. Every time you visit the sub-window of the web page, different content will be generated (for inserting advertisement screens in the web page), which may easily cause synchronous pages. is replaced by this subwindow, so that web synchronization cannot continue.

5、需对Web服务器上的网页进行定制处理,甚至不能同步源Web服务器以外Web服务器上的网页。5. It is necessary to customize the web pages on the web server, and even the web pages on the web servers other than the source web server cannot be synchronized.

6、缺乏对同步浏览方向的灵活控制。6. Lack of flexible control over the direction of synchronous browsing.

发明内容Contents of the invention

有鉴于此,本发明的主要目的就在于提供一种多窗口网页同步的实现方法,使其能支持多窗口网页同步以及多帧网页同步,且能过滤多余的网页,灵活控制网页的浏览,进而方便了用户的操作及服务端的管理与维护。In view of this, the main purpose of the present invention is to provide a method for realizing multi-window webpage synchronization, so that it can support multi-window webpage synchronization and multi-frame webpage synchronization, and can filter redundant webpages, flexibly control webpage browsing, and then It facilitates the user's operation and the management and maintenance of the server.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种实现多窗口网页同步的实现方法,重要的是该方法至少包括以下的步骤:A method for realizing synchronization of multi-window webpages, it is important that the method at least includes the following steps:

创建多个同步窗口事件处理线程和对应的多个同步窗口事件接收器,由外部程序调用或同步浏览器窗口动作触发同步窗口事件接收器,而在其对应的同步窗口事件处理线程中进行相关的处理;Create multiple synchronous window event processing threads and corresponding multiple synchronous window event receivers, trigger synchronous window event receivers by external program calls or synchronous browser window actions, and perform related operations in their corresponding synchronous window event processing threads deal with;

分配不同的同步窗口事件处理线程给不同的同步窗口,使不同窗口中的动作分别在不同的同步窗口事件处理线程中处理。Assign different synchronization window event processing threads to different synchronization windows, so that actions in different windows are processed in different synchronization window event processing threads.

当发起一个网页同步的页面同步窗口时,分配一个同步窗口事件处理线程给该同步窗口。When a page synchronization window for web page synchronization is initiated, a synchronization window event processing thread is assigned to the synchronization window.

当同步双方的任一方在一个同步窗口中又打开一个或多个的新浏览器窗口时,所述的同步窗口事件处理线程请求分配一个新的同步窗口事件处理线程给该新窗口,同时激活一个多窗口截获调用处理器进行新窗口的截获调用。When any one of both sides of the synchronization opens one or more new browser windows in a synchronization window, the synchronization window event processing thread request assigns a new synchronization window event processing thread to the new window, and simultaneously activates a The multi-window interception call processor performs interception calls for new windows.

当截获同步窗口中的同步动作或新窗口动作,同步窗口事件处理线程将同步信息发送给对方。When the synchronization action or new window action in the synchronization window is intercepted, the synchronization window event processing thread sends the synchronization information to the other party.

同步窗口事件处理线程进一步过滤多余窗口信息之后将同步信息发送给对方,该多余窗口信息包括但不限于多余地址信息、动态广告子窗口地址信息。The synchronization window event processing thread further filters redundant window information and then sends the synchronization information to the other party. The redundant window information includes but not limited to redundant address information and dynamic advertisement sub-window address information.

所述的同步信息至少包括:同步窗口URL地址消息;同步窗口关闭消息;页面同步结束消息;或同步方式控制消息。The synchronization information at least includes: a synchronization window URL address message; a synchronization window closing message; a page synchronization end message; or a synchronization mode control message.

所述的窗口同步信息进一步包括网页同步的同步方式,包括单向同步或双向同步,人工同步或自动同步,以及两类同步方式的组合。该窗口同步信息包括但不限于页面推送同步、同步浏览、多帧同步、新窗口或多窗口同步、同步操作、本地目录浏览同步、发送邮件点击同步、基于HTTP的FTP同步、窗口关闭同步、结束网页同步及同步网页的内部元素或对象同步。The window synchronization information further includes synchronization methods of webpage synchronization, including one-way synchronization or two-way synchronization, manual synchronization or automatic synchronization, and a combination of the two synchronization methods. The window synchronization information includes but is not limited to page push synchronization, synchronous browsing, multi-frame synchronization, new window or multi-window synchronization, synchronization operation, local directory browsing synchronization, sending email click synchronization, HTTP-based FTP synchronization, window closing synchronization, end Web page synchronization and synchronization of internal elements or objects of a web page.

当创建一个新同步窗口时,将该同步窗口与一个同步窗口事件接收器之间建立事件连接;或是将新窗口与该同步窗口事件处理线程进行连接,同时设置该线程为新窗口的同步事件接收器。When creating a new synchronization window, establish an event connection between the synchronization window and a synchronization window event receiver; or connect the new window with the synchronization window event processing thread, and set the thread as the synchronization event of the new window receiver.

用户与服务方可以藉由本发明通过网络共享网页信息,或同步浏览网页,便于服务方提供给用户各类网页信息的演示,如:产品信息、教育内容等等。而且,服务方对用户可以是一对一,也可以是一对多,不受单个窗口同步浏览的约束。本发明所提供的动态截获新窗口技术,还可以在同步窗口上通过点击新窗口链接等方式自动进入新的同步窗口。The user and the server can use the present invention to share webpage information through the network, or browse the webpage synchronously, so that the server can provide users with demonstrations of various webpage information, such as product information, educational content, and the like. Moreover, the server can be one-to-one or one-to-many to users, and is not restricted by synchronous browsing of a single window. The dynamic intercepting new window technology provided by the present invention can also automatically enter a new synchronous window by clicking on a new window link on the synchronous window.

此外还可以让用户操作网页向服务方寻求帮助,同时,多窗口的网页同步技术还可作为进一步的网页信息共享技术的基础,如:网页内更多数据的共享。In addition, users can operate the webpage to seek help from the service provider. At the same time, the multi-window webpage synchronization technology can also be used as the basis for further webpage information sharing technology, such as sharing more data in the webpage.

用户与用户之间也可以通过多窗口的网页同步技术彼此同步浏览网页,双方可以交换网页信息及网址收藏夹内容。Users can also browse webpages synchronously with each other through multi-window webpage synchronization technology, and both parties can exchange webpage information and website favorite content.

由此可见,本发明所提供的多窗口网页同步的实现方法具有以下的功能和优点:It can be seen that the realization method of multi-window web page synchronization provided by the present invention has the following functions and advantages:

1、本发明不仅支持单个窗口的同步,还支持多窗口的网页同步。目前在大多数Web站点浏览网页时常常需要打开多个浏览器窗口进行浏览,这些新打开的网页窗口均可被本发明提供的系统截获并完全控制,新的同步窗口具备原同步窗口的所有功能,包括在其上截获更多新同步窗口的功能。1. The present invention not only supports the synchronization of a single window, but also supports the synchronization of multi-window webpages. Often need to open a plurality of browser windows to browse when most Web sites browse webpage at present, these newly opened webpage windows can all be intercepted and fully controlled by the system provided by the present invention, and new synchronous window possesses all functions of former synchronous window , including the ability to intercept more new sync windows on it.

2、支持多帧网页同步。对含有多帧网页的Web网站,同样可以进行该多帧网页的同步。2. Support multi-frame web page synchronization. For a web site containing multiple frames of web pages, the synchronization of the multiple frames of web pages can also be performed.

3、实现多个Web站点同时进行同步浏览,支持对跨越域名、跨越主机的网页进行网页同步。3. Realize synchronous browsing of multiple Web sites at the same time, and support web page synchronization for web pages that span domain names and hosts.

4、具有同步窗口过滤的功能,包括多余帧过滤、动态子窗口等过滤的功能。其中,动态子窗口是指网页中含有指向CGI程序的子窗口请求,每次访问到该网页子窗口都会产生不同的内容(对用于在网页中插入广告画面)。本发明解决了此操作中同步页面可能该子窗口替换,而使网页同步不能继续的问题,使得本发明适于与INTERENT上的任意一个Web站点相连,而无需再作专门的定制处理。4. It has the function of synchronous window filtering, including redundant frame filtering, dynamic sub-window and other filtering functions. Wherein, the dynamic sub-window refers to that the web page contains a sub-window request pointing to a CGI program, and each access to the sub-window of the web page will produce different content (for inserting an advertisement picture in the web page). The invention solves the problem that the synchronization page may be replaced by the sub-window during the operation, so that the synchronization of the web page cannot continue, so that the invention is suitable for connecting with any Web site on the INTERENT without any special custom processing.

5、支持对网页同步浏览方向的灵活控制。不管网页同步由哪一方主导,其中一方(一般为服务方或话务员)最终都可控制所有的双向交互,如:网页同步具有单向同步、双向同步、人工同步、自动同步等多种方式,极大的方便了使用者进行有效的同步控制。5. Support the flexible control of web page synchronous browsing direction. No matter which party dominates the webpage synchronization, one of them (generally the server or the operator) can ultimately control all two-way interactions. Great convenience for users to carry out effective synchronous control.

6、具备多种同步控制的功能。如:支持页面推送同步功能、同步浏览功能、多帧同步、新窗口或多窗口同步、同步操作功能、本地目录浏览同步、发送邮件点击同步、基于超文本传输协议(HTTP)的文件传送协议(FTP)同步、窗口关闭同步、结束网页同步,甚至同步网页的内部元素或对象同步。其中,在同步窗口关闭时,对方会提示是否执行同样的关闭操作,在结束网页同步时会提示是否关闭所有的同步窗口;而现有系统仅有简单的推送和同步功能,远远不能满足电子商务导购、网上客户服务、电子服务等新型业务需求。6. It has a variety of synchronous control functions. Such as: support page push synchronization function, synchronous browsing function, multi-frame synchronization, new window or multi-window synchronization, synchronization operation function, local directory browsing synchronization, send email click synchronization, file transfer protocol based on hypertext transfer protocol (HTTP) ( FTP) synchronization, window close synchronization, end webpage synchronization, and even synchronization of internal elements or objects of a webpage. Among them, when the synchronization window is closed, the other party will prompt whether to perform the same closing operation, and will prompt whether to close all synchronization windows when the webpage synchronization is ended; and the existing system only has simple push and synchronization functions, which is far from satisfying the requirements of electronic communication. Business shopping guide, online customer service, electronic service and other new business needs.

7、本发明的网页同步可以与其他任何呼叫媒体种类进行协作,如:网页同步可与网页点击通话、文字交谈、Web回呼请求呼叫结合,在呼叫建立后按网页上的“护航浏览”按钮,另一方将看到同样的网页内容。此后网页内容将一直同步直到按“结束浏览”按钮。7. The webpage synchronization of the present invention can cooperate with any other call media types, such as: webpage synchronization can be combined with webpage click-to-talk, text chat, and Web callback request calls, and after the call is established, press the "escort browsing" button on the webpage , the other party will see the same web content. After that, the content of the web page will be synchronized until the "End Browsing" button is pressed.

附图说明Description of drawings

图1为本发明的系统结构框图;Fig. 1 is a system structure block diagram of the present invention;

图2为本发明的功能处理流程示意图;Fig. 2 is a schematic diagram of the functional processing flow of the present invention;

图3为本发明控件消息处理的流程图;FIG. 3 is a flow chart of control message processing in the present invention;

图4为本发明同步窗口推送接口方法处理的流程图;Fig. 4 is a flow chart of the processing of the synchronous window pushing interface method of the present invention;

图5为本发明同步窗口关闭接口方法处理的流程图;Fig. 5 is the flowchart of the processing of the synchronous window closing interface method of the present invention;

图6为本发明同步窗口结束接口方法处理的流程图;Fig. 6 is a flow chart of the processing of the synchronization window end interface method of the present invention;

图7为本发明导航前事件处理的流程图;Fig. 7 is a flowchart of event processing before navigation of the present invention;

图8为本发明导航完成事件处理的流程图;FIG. 8 is a flow chart of navigation completion event processing in the present invention;

图9为本发明新窗口截获方法处理的流程图;Fig. 9 is a flowchart of the processing of the new window interception method of the present invention;

图10为本发明同步方向控制处理流程图;Fig. 10 is a flow chart of synchronous direction control processing in the present invention;

图11为本发明多窗口截获调用处理的流程图。Fig. 11 is a flow chart of multi-window interception call processing in the present invention.

具体实施方式Detailed ways

下面结合附图及具体实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

参见图1所示,本发明基于网页同步的多窗口页面同步的系统结构图。该图中接口方法部分是指网页同步控件提供给外部程序调用的软件接口,如图中所示的协作控制单元,其可实现的主要功能包括:开始网页同步;接收外部消息和控制消息;设置相关配置参数;获取网页同步控件状态信息;结束网页同步等。Referring to FIG. 1 , the system structure diagram of multi-window page synchronization based on webpage synchronization in the present invention. The interface method part in the figure refers to the software interface provided by the web page synchronization control to the external program call. The cooperative control unit shown in the figure can realize the main functions including: start web page synchronization; receive external messages and control messages; set Relevant configuration parameters; obtain the status information of the webpage synchronization control; end the webpage synchronization, etc.

在上述功能中,最重要的就是接收外部消息和控制消息功能,它包括页面推送同步、窗口关闭同步等等接口方法。相关的外部消息或控制消息都通过该接口功能传送给控件处理。如:对方传来的页面同步消息,使得控件可以根据该消息作进一步处理,实现页面推送同步、同步浏览功能和窗口关闭同步等网页同步动作。其中,网页同步控件同步窗口推送接口方法处理的流程具体参见图4所示;网页同步控件同步窗口关闭接口方法处理的具体流程如图5所示。Among the above-mentioned functions, the most important ones are the functions of receiving external messages and controlling messages, which include interface methods such as page push synchronization, window close synchronization, and so on. Relevant external messages or control messages are sent to the control for processing through this interface function. Such as: the page synchronization message sent by the other party, so that the control can perform further processing according to the message, and realize webpage synchronization actions such as page push synchronization, synchronous browsing function, and window closing synchronization. Wherein, the processing flow of the synchronization window push interface method of the webpage synchronization control is shown in FIG. 4 ; the specific flow of the webpage synchronization control synchronization window closing interface method processing is shown in FIG. 5 .

同步消息包括以下的几种消息类别:同步窗口URL地址消息,指定窗口号;同步窗口关闭消息,指定窗口号;页面同步结束消息;以及同步方式控制消息等。Synchronization messages include the following message categories: synchronization window URL address message, specified window number; synchronization window close message, specified window number; page synchronization end message; and synchronization mode control message, etc.

结合图1、图2所示,本发明多窗口页面同步的系统结构在功能处理上具体包括以下的流程:As shown in Fig. 1 and Fig. 2, the system structure of multi-window page synchronization of the present invention specifically includes the following process in terms of functional processing:

1)用户双方,一般指:服务方和用户方、座席端和终端用户端、或双方均为用户端,分别使用浏览器进入本发明网页同步系统。1) The two sides of the user generally refer to: the server side and the user side, the agent side and the terminal user side, or both sides are the user side, respectively use a browser to enter the web page synchronization system of the present invention.

2)如果是首次进入,浏览器将自动下载一个多窗口网页同步模块(即ActiveX控件)并加载执行,该ActiveX控件,即本发明网页同步的控件模块,运行时将创建多个网页同步线程。同步线程的数量可以灵活定义,同步线程主要负责监控同步窗口的动作和事件。2) If entering for the first time, the browser will automatically download a multi-window web page synchronization module (i.e. ActiveX control) and load and execute. This ActiveX control, the control module of web page synchronization of the present invention, will create a plurality of web page synchronization threads during operation. The number of synchronization threads can be defined flexibly, and the synchronization thread is mainly responsible for monitoring the actions and events of the synchronization window.

3)在该状态下网页同步控件等待外部程序接收用户开始网页同步的请求,当收到用户的请求后,即由协作控制单元调用控件的开始网页同步接口方法。3) In this state, the webpage synchronization control waits for the external program to receive the user's request to start webpage synchronization. After receiving the user's request, the cooperation control unit calls the control's start webpage synchronization interface method.

4)当用户向服务方发出网页同步页面同步呼叫请求后,服务方接收呼叫并建立起页面同步通道,然后发起一个网页同步的页面同步窗口开始网页同步的页面同步,即分配一个同步线程给该同步窗口。4) After the user sends a page synchronization call request to the server, the server receives the call and establishes a page synchronization channel, and then initiates a page synchronization window to start the page synchronization of web page synchronization, that is, assigns a synchronization thread to the page synchronization Synchronize windows.

5)当用户或服务方进行浏览动作或推送动作时,同步线程将截获到该动作和事件;5) When the user or server performs a browsing action or push action, the synchronization thread will intercept the action and event;

6)然后同步线程通过滤掉多余的窗口信息之后将同步信息发给对方;多余窗口信息是指多余帧地址信息、动态广告子窗口地址信息。由于许多网站中网页常常带有多帧页面及CGI程序产生的动态广告子窗口地址信息,这些都属于主网址连带附加的地址信息,一般不需要将这类地址信息发送给对方,必须过滤掉,否则会产生无用窗口并将原有窗口覆盖。6) Then the synchronization thread sends the synchronization information to the other party after filtering out redundant window information; redundant window information refers to redundant frame address information and dynamic advertisement sub-window address information. Since the webpages in many websites often have multi-frame pages and dynamic advertisement sub-window address information generated by CGI programs, these are all additional address information associated with the main URL. Generally, such address information does not need to be sent to the other party and must be filtered out. Otherwise, a useless window will be generated and the original window will be covered.

7)对方接到同步信息由对应的同步线程控制同步窗口执行相应的同步浏览动作。7) When the other party receives the synchronization information, the corresponding synchronization thread controls the synchronization window to perform corresponding synchronization browsing actions.

8)当其中一方执行的多窗口、多帧、关闭某同步窗口及结束网页同步等动作时,对方均能接到消息并作相应处理。8) When one of the parties executes actions such as multi-window, multi-frame, closing a synchronization window, and ending web page synchronization, the other party can receive the message and handle it accordingly.

9)当一方在一同步窗口中又打开一个或多个新的浏览器窗口时,这时同步线程将请求分配一个新的同步线程给新窗口,同时激活一个多窗口截获调用处理器进行新窗口的截获调用。9) When one party opens one or more new browser windows in a synchronous window, the synchronous thread will request to allocate a new synchronous thread to the new window, and activate a multi-window interception call processor to carry out the new window at the same time. intercepted calls.

10)多窗口截获处理器在新分配的线程中执行截获处理动作,此时已脱离原来的线程控制;10) The multi-window interception processor executes the interception processing action in the newly allocated thread, which has been separated from the original thread control at this moment;

11)新同步窗口处理线程查找新窗口,当截获到新窗口后,在标题栏上增加显示同步窗口号,并将该同步线程截获到的信息通知对方;该新同步窗口处理线程与原同步窗口处理线程由同一个类生成,该类为同步窗口事件处理类。11) The new synchronous window processing thread searches for a new window, and when the new window is intercepted, the synchronous window number is displayed on the title bar, and the information intercepted by the synchronous thread is notified to the other side; the new synchronous window processing thread is the same as the original synchronous window The processing thread is generated by the same class, which is a synchronous window event processing class.

12)对方创建一个对应的新的页面同步窗口,页面内容与其相同,并在标题栏上增加显示同步窗口号;新的同步窗口具备原同步窗口的所有功能,包括在其上截获更多新同步窗口的功能。12) The other party creates a corresponding new page synchronization window, the content of the page is the same as it, and the synchronization window number is added on the title bar; the new synchronization window has all the functions of the original synchronization window, including intercepting more new synchronizations on it The function of the window.

同步的内容包括:页面推送同步功能、同步浏览功能、多帧同步、新窗口或多窗口同步、同步操作功能、本地目录浏览同步、发送邮件点击同步、基于HTTP的FTP同步、窗口关闭同步、结束网页同步,甚至同步网页的内部元素或对象同步,其中在同步窗口关闭对方会提示是否执行同样的关闭操作,在结束网页同步时会提示是否关闭所有的同步窗口。上述方法均由接收和发送的同步窗口信息产生的,由网页同步控件控制处理,而由浏览器分别解释,如:HTTP同步即一般网页同步、FTP同步即使用浏览器内置的FTP功能、发送邮件点击同步是E-mail URL消息指定浏览器打开附带的E-mail处理程序,如:Outlook Express等。Synchronization content includes: page push synchronization function, synchronous browsing function, multi-frame synchronization, new window or multi-window synchronization, synchronization operation function, local directory browsing synchronization, sending email click synchronization, FTP synchronization based on HTTP, window closing synchronization, end Web page synchronization, even synchronization of internal elements or objects of the web page, in which when the synchronization window is closed, the other party will be prompted whether to perform the same closing operation, and when the web page synchronization is ended, it will be prompted whether to close all synchronization windows. The above methods are all generated by the synchronization window information received and sent, controlled and processed by the webpage synchronization control, and interpreted by the browser respectively, such as: HTTP synchronization means general web page synchronization, FTP synchronization means using the built-in FTP function of the browser, sending mail Click synchronization is the E-mail URL message to specify the browser to open the attached E-mail processing program, such as: Outlook Express and so on.

除上述功能以外该系统还具备网页同步方式控制功能,即:单向同步或双向同步,人工同步或自动同步,以及两类同步方式的组合,同步方式控制功能的选择处理具体如图10所示。In addition to the above functions, the system also has web page synchronization control functions, namely: one-way synchronization or two-way synchronization, manual synchronization or automatic synchronization, and the combination of the two types of synchronization methods. The selection process of the synchronization method control function is shown in Figure 10. .

其中,单向同步是指同步动作是单向的,一方进行操作,另一方同步变化,反之则不行;双向同步是指同步动作是双向的,一方进行操作,另一方同步变化,反之亦然;人工同步是指在浏览器中任何操作,如:浏览到其他页面,对方不会跟着变化,必须点击一个“推送”按钮,这时对方的窗口内容才会同步变化为该页面的内容;自动同步是指在浏览器中任何操作,均视为同步动作,对方内容自动同步到该页内容。Among them, one-way synchronization means that the synchronization action is one-way, one side operates, the other side changes synchronously, and vice versa; two-way synchronization means that the synchronization action is two-way, one side operates, the other side changes synchronously, and vice versa; Manual synchronization refers to any operation in the browser, such as: browsing to other pages, the other party will not change accordingly, you must click a "push" button, then the content of the other party's window will be synchronously changed to the content of this page; automatic synchronization It means that any operation in the browser is regarded as a synchronous action, and the content of the other party is automatically synchronized with the content of the page.

产生的所有同步窗口均可同时处于同步激活状态,并与对方的同步窗口一一对应,如:1号同步窗口对应对方的1号同步窗口,而2号同步窗口对应对方的2号同步窗口等等,这些窗口可以同时存在和同时同步,同一方的多个同步窗口之间不会互相干扰。All the generated synchronization windows can be in the synchronization active state at the same time, and correspond to each other's synchronization windows one by one, for example: No. 1 synchronization window corresponds to No. 1 synchronization window of the other party, and No. 2 synchronization window corresponds to No. 2 synchronization window of the other party, etc. etc. These windows can exist and be synchronized at the same time, and multiple synchronization windows of the same party will not interfere with each other.

本发明的网页同步可与其他呼叫媒体种类进行协作,如:网页同步可与IP电话、文字交谈、Web回呼请求呼叫结合,在呼叫建立后按网页上的“护航浏览”按钮,另一方将看到同样的网页内容。此后网页内容将一直同步直到按“结束浏览”按钮。如果客户在发起呼叫后,被同步之前客户通过网页超链访问了别的网页,在同步后客户的浏览器将首先自动回到发起呼叫时的页面。The webpage synchronization of the present invention can cooperate with other calling media types, as: webpage synchronization can be combined with IP phone, text conversation, Web call back request call, after the call is set up, press the "escort browsing" button on the webpage, the other party will See the same page content. After that, the content of the web page will be synchronized until the "End Browsing" button is pressed. If the customer visits other webpages through the hyperlink of the webpage before being synchronized after initiating the call, the client's browser will first automatically return to the page when the call was initiated after synchronization.

当一个新网页同步的网页窗口被分配到一个页面同步线程时,将创建一个与网页窗口对应的事件接收器,在该网页窗口中进行的一些动作将触发对应的事件,并由事件接收器接收后调用该页面同步线程中对应的事件方法。When a webpage window for new webpage synchronization is assigned to a page synchronization thread, an event receiver corresponding to the webpage window will be created, and some actions performed in the webpage window will trigger corresponding events and be received by the event receiver Then call the corresponding event method in the page synchronization thread.

本发明中主要的同步窗口事件方法包括:Main synchronous window event method among the present invention comprises:

1)网页同步控件同步窗口导航前事件方法。该事件对应的是在浏览器网页窗口中浏览一个新的网页之前的动作触发。即:浏览器接到新的网页浏览请求时触发该事件。具体处理如图7所示。1) The web page synchronization control synchronizes the window navigation pre-event method. This event corresponds to an action triggered before browsing a new webpage in the browser webpage window. That is: the event is triggered when the browser receives a new web browsing request. The specific processing is shown in Figure 7.

2)网页同步控件同步窗口导航完成事件方法。该事件对应的是在浏览器网页窗口中浏览一个新的网页时的动作触发。即:浏览器接到新的网页浏览请求后并找到该网页地址所指定的网站时触发该事件。其具体处理流程如图8所示。2) Web page synchronization control synchronization window navigation completion event method. This event corresponds to an action triggered when browsing a new webpage in the browser webpage window. That is, the event is triggered when the browser receives a new webpage browsing request and finds the website specified by the webpage address. The specific processing flow is shown in FIG. 8 .

3)网页同步控件新浏览器窗口事件方法。该事件对应的是用户用浏览器浏览一个新的网页时并且打开的是一个新的浏览器窗口的动作触发。其具体处理流程如图9所示。3) The new browser window event method of the web page synchronization control. This event corresponds to the action triggered when the user browses a new web page with a browser and opens a new browser window. Its specific processing flow is shown in FIG. 9 .

4)网页同步控件同步窗口关闭事件方法。该事件对应的是该浏览器网页窗口被关闭时的动作触发。触发后将该窗口关闭消息通过通讯组件发给对方,再由对方协作控制单元调用相应的同步窗口关闭接口方法。对方被调用的同步窗口关闭过程如图5所示。4) Web page synchronization control synchronization window closing event method. This event corresponds to the action triggered when the browser webpage window is closed. After triggering, the window closing message is sent to the other party through the communication component, and then the corresponding synchronous window closing interface method is invoked by the other party's cooperation control unit. The process of closing the synchronization window called by the other party is shown in Figure 5.

在本发明的每个处理流程中都涉及网页同步控件页面同步消息的发送,其消息处理的主流程如图3所示。Each processing flow of the present invention involves the sending of a page synchronization message of the webpage synchronization control, and the main flow of message processing is shown in FIG. 3 .

网页同步浏览器的网页同步窗口中进行的一系列动作触发了相应事件,同时为了使对方网页同步用户的网页同步窗口进行同样的动作,需要将该网页的动作消息发送给对方。先由网页同步的同步窗口线程将该消息发送给图1中的“协作控制单元”,再由“协作控制单元”将消息转发给通讯组件,由通讯组件通过网页同步消息通道将消息传给Web服务器上的“通讯应用服务器”,由通讯应用服务器传给对方的通讯组件及“协作控制单元”,由协作控制单元调用网页同步接口方法,最后将消息交给对方对应的同步窗口线程进行处理,并调用同步动作控制器进行相应的同步动作。Web page synchronization A series of actions performed in the web page synchronization window of the browser triggers corresponding events, and at the same time, in order to make the other party's web page synchronization user's web page synchronization window perform the same action, it is necessary to send the action message of the web page to the other party. First, the synchronous window thread of web page synchronization sends the message to the "cooperative control unit" in Figure 1, and then the "cooperative control unit" forwards the message to the communication component, and the communication component transmits the message to the Web page through the web page synchronization message channel. The "communication application server" on the server is transmitted from the communication application server to the other party's communication component and "cooperative control unit", and the cooperative control unit calls the web page synchronization interface method, and finally sends the message to the corresponding synchronization window thread of the other party for processing. And call the synchronous action controller to perform the corresponding synchronous action.

举个例子来说,如果发送的消息是“传送外部信息和控制消息”,那么同步窗口推送接口法和同步窗口关闭等接口方法将被调用。如果发送的消息是“结束护航浏览”的消息,那么网页同步的同步窗口结束接口方法将被调用。For example, if the sent message is "transmitting external information and control messages", then interface methods such as synchronous window push interface method and synchronous window close interface method will be called. If the sent message is a message of "End Escorted Browsing", then the synchronization window end interface method of web page synchronization will be called.

参见图3所示,图3为本发明网页同步控件消息处理的主流程图。本发明在运行初始,首先进行控件变量、接口、事件等的初始化处理,并创建多个同步窗口事件接收器和对应的多个同步窗口事件处理线程。同步窗口事件处理线程的数量可以灵活定义。其主要是负责监控同步窗口的动作和事件,过滤掉多余的窗口信息之后将同步信息发送给网页同步的对方用户。创建后的同步窗口事件接收器等待外部程序的接口调用或同步浏览器窗口动作的事件触发消息,启动对应的同步窗口事件处理线程进行相关的处理。不同的同步窗口分配不同的同步窗口事件接收器和同步窗口事件处理线程,使得不同窗口中的动作分别在不同的线程中处理。Referring to FIG. 3 , FIG. 3 is a main flowchart of message processing of the web page synchronization control of the present invention. At the beginning of operation, the present invention first performs initialization processing of control variables, interfaces, events, etc., and creates multiple synchronization window event receivers and corresponding multiple synchronization window event processing threads. The number of synchronous window event processing threads can be defined flexibly. It is mainly responsible for monitoring the actions and events of the synchronization window, filtering out redundant window information, and then sending the synchronization information to the other user of the web page synchronization. The created synchronous window event receiver waits for the interface call of the external program or the event trigger message of the synchronous browser window action, and starts the corresponding synchronous window event processing thread for related processing. Different synchronization windows allocate different synchronization window event receivers and synchronization window event processing threads, so that actions in different windows are processed in different threads.

参见图4所示,为本发明网页同步的同步窗口推送处理流程图。网页同步控件同步窗口推送接口方法,主要包括:用户同步窗口的创建,并将创建好的窗口与对应的同步窗口事件接收器进行连接,以便在该同步事件处理线程中处理浏览器产生的一系列动作,同时,将该同步窗口同步到指定的网址。Referring to FIG. 4 , it is a flow chart of synchronization window push processing for web page synchronization in the present invention. The web page synchronization control synchronization window push interface method mainly includes: creating a user synchronization window, and connecting the created window with the corresponding synchronization window event receiver, so as to process a series of events generated by the browser in the synchronization event processing thread. Action, meanwhile, syncs this sync window to the specified URL.

当用户或服务方进行推送动作时,同步线程截获到该动作和事件后,便调用网页同步的同步窗口推送接口,至少包括以下的步骤:When the user or server performs a push action, after the synchronization thread intercepts the action and event, it calls the synchronization window push interface of web page synchronization, which includes at least the following steps:

a.系统判断该窗口的退出消息框及关闭消息框是否存在?如果存在,则先发消息关闭消息框,然后进入步骤b;否则直接进入步骤b。a. The system judges whether the exit message box and the close message box of the window exist? If it exists, first send a message to close the message box, and then go to step b; otherwise, go directly to step b.

b.判断进行推送的同步窗口是否存在?如果不存在,则先创建新的浏览器同步窗口,然后令该同步窗口与一个同步窗口事件接收器建立事件连接,之后进入步骤c;否则直接进入步骤c。b. Determine whether the synchronization window for pushing exists? If it does not exist, first create a new browser synchronization window, and then establish an event connection between the synchronization window and a synchronization window event receiver, and then proceed to step c; otherwise, directly proceed to step c.

c.判断该推送同步窗口是否为帧子窗口?如果是,则改变窗口同步地址为主地址,之后进入步骤d;否则直接进入步骤d。c. Determine whether the push synchronization window is a frame sub-window? If yes, change the window synchronization address to be the main address, and then go to step d; otherwise, go to step d directly.

d.调用浏览器接口,将该同步窗口同步到指定的地址。d. Call the browser interface to synchronize the synchronization window to the specified address.

该部分由图1所示系统结构中页面同步线程的同步动作控制器和页面推送同步,以及同步浏览功能模块实现。This part is realized by the synchronous action controller of the page synchronization thread in the system structure shown in Figure 1, the page push synchronization, and the synchronous browsing function module.

参见图5所示,为本发明网页同步控件同步窗口关闭接口处理流程图。网页同步控件同步窗口关闭接口方法用户同步窗口关闭时进行的相关处理,该相关处理是指:取出需关闭窗口的窗口号,然后调用关闭窗口过程,同时设置消息框中的关闭标志为真,并且断开与相应同步窗口事件接收器的连接,最后关闭该同步窗口。但是在关闭窗口之前,系统还会再询问用户和服务方代理是否确认关闭?如果是则关闭,否则,重新设置消息框中的关闭标志为假,并且恢复对应浏览器窗口的标题,但此时系统只是保留该窗口,将该窗口恢复为普通的浏览器窗口,而不再对该窗口进行控制或对其产生的事件进行反应。该部分由图1所示系统结构中页面同步线程的同步动作控制器和窗口关闭同步模块实现。Referring to FIG. 5 , it is a flow chart of the process of closing the interface of the synchronous window of the webpage synchronous control of the present invention. Synchronization window closing interface method of web page synchronization control The relevant processing is performed when the user synchronization window is closed. The relevant processing refers to: get the window number of the window to be closed, then call the process of closing the window, and set the close flag in the message box to true, and Disconnects from the corresponding sync window event sink and finally closes the sync window. But before closing the window, the system will ask the user and the server agent to confirm the closing? If it is, close it, otherwise, reset the close flag in the message box to be false, and restore the title of the corresponding browser window, but at this time the system just keeps the window and restores the window to a normal browser window instead of Control the window or react to events it generates. This part is realized by the synchronization action controller of the page synchronization thread and the window closing synchronization module in the system structure shown in Fig. 1 .

参见图6所示,为本发明网页同步控件同步窗口结束方法处理流程图。网页同步控件同步窗口结束接口方法用于处理网页同步结束时对同步窗口进行的相关处理,该相关处理包括:调用结束网页同步过程,同时设置结束消息框中的标志为真,然后关闭所有同步窗口,并且断开与所有同步窗口事件接收器的连接。该方法可在网页同步结束之前询问用户和服务方代理,并可选择是否关闭所有窗口还是仅断开同步窗口事件保留原窗口。该部分由图1所示系统结构中页面同步线程的同步动作控制器和结束页面同步模块实现。Referring to FIG. 6 , it is a processing flow chart of the method for ending the synchronization window of the webpage synchronization control of the present invention. The synchronization window end interface method of the webpage synchronization control is used to handle the related processing of the synchronization window when the webpage synchronization ends. The related processing includes: calling the end of the webpage synchronization process, and setting the flag in the end message box to true, and then closing all synchronization windows , and disconnects from all sync window event sinks. This method can ask the user and the server agent before the end of webpage synchronization, and can choose whether to close all windows or only disconnect the synchronization window event to keep the original window. This part is realized by the synchronization action controller of the page synchronization thread and the end page synchronization module in the system structure shown in Fig. 1 .

参见图7所示,为本发明网页同步控件同步窗口导航前事件方法处理流程图。网页同步控件同步窗口导航前事件方法用于对网页同步的同步信息截获及发送、网页回波控制、多帧处理、同步方式控制等关键处理。该处理流程至少包括以下的步骤:Referring to FIG. 7 , it is a flow chart of the method for processing the pre-navigation event of the synchronization window of the webpage synchronization control of the present invention. The pre-navigation event method of the synchronization window of the web page synchronization control is used for key processes such as intercepting and sending synchronous information of web page synchronization, web page echo control, multi-frame processing, and synchronization mode control. The processing flow includes at least the following steps:

a.当导航前事件被触发后,首先记录当前的URL和当前的帧地址,然后判断当前的URL是否为主帧?如果是,则保存主帧变量,然后进入步骤b;否则直接进入步骤b。a. When the pre-navigation event is triggered, first record the current URL and the current frame address, and then determine whether the current URL is the main frame? If yes, save the main frame variable, and then go to step b; otherwise, go directly to step b.

b.判断当前帧地址是否为回波地址?如果是,则设置回波地址标志为假(FALSE),然后进入步骤e;否则进入步骤c。b. Determine whether the current frame address is an echo address? If yes, set the echo address flag to FALSE, and then go to step e; otherwise, go to step c.

c.判断该触发事件是否为主页面或单个帧请求?如果是,则截获其URL并通知外部程序,然后进入步骤d;否则直接进入步骤d。c. Determine whether the trigger event is a main page or a single frame request? If yes, intercept its URL and notify the external program, and then go to step d; otherwise, go directly to step d.

d.判断是否为帧地址且具有帧记录?如果有,则设置帧发送标志,进入步骤e;否则直接进入步骤e。d. Determine whether it is a frame address and has a frame record? If so, set the frame sending flag and go to step e; otherwise, go to step e directly.

e.给事件入口的计数加一。e. Increment the count of event entries by one.

该部分由图1所示系统结构中页面同步线程的浏览器窗口截获、同步窗口过滤和多帧网页截获模块实现。This part is realized by the browser window capture, synchronization window filter and multi-frame web page capture modules of the page synchronization thread in the system structure shown in Figure 1.

参见图8所示,为本发明网页同步控件同步窗口导航完成事件方法处理流程图。网页同步控件同步窗口导航完成事件方法用于对新同步窗口的同步信息截获及发送、子帧处理等关键处理。该处理流程至少包括以下的步骤:Referring to FIG. 8 , it is a flow chart of the method for processing the synchronization window navigation completion event of the webpage synchronization control of the present invention. The synchronization window navigation completion event method of the web page synchronization control is used for key processes such as intercepting and sending synchronization information of the new synchronization window, and subframe processing. The processing flow includes at least the following steps:

a.当导航完成事件被触发后,首先将事件入口计数清零,然后判断是否为对应的主窗口?如果是,则保存主帧变量,然后进入步骤b;否则直接进入步骤b。a. When the navigation completion event is triggered, first clear the event entry count, and then determine whether it is the corresponding main window? If yes, save the main frame variable, and then go to step b; otherwise, go directly to step b.

b.设置该浏览器窗口标题;判断URL发送标志,如果标志为真,则取当前URL地址发给服务器,并转发给对方网页同步控件,然后进入步骤c;否则直接进入步骤c。b. Set the browser window title; judge the URL sending flag, if the flag is true, then get the current URL address and send it to the server, and forward it to the other party's webpage synchronization control, and then enter step c; otherwise, directly enter step c.

c.判断子帧的URL发送标志,如果标志为真,则调用同步子帧URL方法,否则结束。c. Determine the URL sending flag of the subframe, if the flag is true, call the method of synchronizing the URL of the subframe, otherwise end.

该部分由图1所示系统结构中页面同步线程的同步信息发送模块实现。This part is realized by the synchronization information sending module of the page synchronization thread in the system structure shown in Figure 1 .

参见图9所示,为本发明网页同步控件新浏览器窗口事件方法处理流程图。网页同步控件新浏览器窗口事件方法用于对新同步窗口动作截获、分配同步窗口线程及新窗口查找和同步信息截获的调用等关键处理。Referring to FIG. 9 , it is a flow chart of processing the new browser window event method of the webpage synchronization control of the present invention. The new browser window event method of the webpage synchronization control is used for key processing such as intercepting the action of the new synchronization window, allocating the synchronization window thread, searching for the new window and invoking the synchronization information interception.

当有新窗口打开时,即触发本事件进行处理,并同步窗口计数是否超过最大的窗口数限制,如果是,系统会提示用户“打开窗口过多,取消该新窗口”。如不是,则分配同步事件处理窗口号,该窗口号对应一个空闲的同步窗口事件处理线程;然后设置计时器定时调用回调过程FindNotifyProc之后完成该事件处理。而计时器在后台调用属于前面新分配的同步窗口事件处理线程的“查找新同步窗口方法”,此时该段程序已在新线程中运行,其流程参见图11所示。当查找到新窗口后,将新窗口与该同步窗口事件处理线程进行连接,同时设置该线程为新窗口的同步事件接收器。When a new window is opened, this event is triggered for processing, and synchronizes whether the window count exceeds the maximum window number limit. If so, the system will prompt the user "Too many open windows, cancel this new window". If not, allocate a synchronous event processing window number, which corresponds to an idle synchronous window event processing thread; then set the timer to call the callback process FindNotifyProc regularly to complete the event processing. The timer calls the "find new synchronization window method" belonging to the previously newly allocated synchronization window event processing thread in the background. At this time, this segment of the program has been running in the new thread, and its flow is shown in Figure 11. After finding the new window, connect the new window with the synchronous window event processing thread, and set the thread as the synchronous event receiver of the new window at the same time.

图9所述部分由图1所示系统结构中页面同步线程的新窗口截获模块实现。The part described in FIG. 9 is realized by the new window interception module of the page synchronization thread in the system structure shown in FIG. 1 .

参见图11所示,为本发明网页同步控件查找新同步窗口方法处理流程图。网页同步控件查找新同步窗口方法用于对新同步窗口动态查找和同步信息截获、创建该新窗口对应的同步事件接收器等关键处理。在查找新窗口之前,要先设置计时器和查找计数器;当找到新窗口后,即将同步窗口设置为该窗口,并创建相应的同步事件接收器,同时将当前窗口的URL地址发给服务器及对方网页同步控件。如果当前窗口的URL值为空,则先设置URL发送标志为真,再将其发送。Referring to FIG. 11 , it is a processing flowchart of the method for finding a new synchronization window for the web page synchronization control of the present invention. The method of finding a new synchronization window for the webpage synchronization control is used for key processes such as dynamically searching for a new synchronization window, intercepting synchronization information, and creating a synchronization event receiver corresponding to the new window. Before finding a new window, set the timer and search counter first; when a new window is found, set the synchronization window as this window, create a corresponding synchronization event receiver, and send the URL address of the current window to the server and the other party Web synchronization control. If the URL value of the current window is empty, first set the URL sending flag to true, and then send it.

该部分由图1所示系统结构中的多窗口调用截获处理器模块实现。This part is realized by the multi-window call interception processor module in the system structure shown in Fig. 1 .

参见图10所示,为本发明网页同步控件同步方式控制处理流程图。同步方式控制主要利用发送或接收到同步方式控制消息分别设置不同方向属性和操作方式,网页同步控件或外部程序根据不同方向属性决定网页同步的方向。包括:单向同步、双向同步和人工/自动同步。Referring to FIG. 10 , it is a flow chart of the synchronous method control processing of the webpage synchronous control of the present invention. Synchronization mode control mainly uses sending or receiving synchronization mode control messages to set different direction attributes and operation modes respectively, and the webpage synchronization control or external program determines the direction of webpage synchronization according to different direction attributes. Including: one-way synchronization, two-way synchronization and manual/automatic synchronization.

其中,单向同步只接收或只发送;双向同步可接收也可发送;而人工同步由用户操作决定。在人工同步状态下,用户在操作浏览器同步窗口时产生的动作不发送给对方,只有在主动点“推送”按钮时才会把同步信息发送给对方。而自动同步状态,用户在操作浏览器同步窗口时产生的动作自动被控件截获并将同步信息发送给对方。Among them, one-way synchronization can only receive or only send; two-way synchronization can receive or send; and manual synchronization is determined by user operations. In the manual synchronization state, the actions generated by the user when operating the browser synchronization window are not sent to the other party, and only when the "Push" button is actively clicked will the synchronization information be sent to the other party. In the automatic synchronization state, the actions generated by the user when operating the browser synchronization window are automatically intercepted by the control and the synchronization information is sent to the other party.

该部分由图1所示系统结构中页面同步线程的同步方式控制器模块实现。This part is realized by the synchronization mode controller module of the page synchronization thread in the system structure shown in Fig. 1 .

Claims (10)

1, the synchronous implementation method of a kind of multiwindow webpage is characterized in that this method comprises the steps: at least
Create a plurality of synchronous window event handling threads and corresponding a plurality of synchronous window incident receivers, call or synchronous browser window action triggers synchronous window incident receiver by external program, and the processing of in its corresponding synchronous window event handling thread, being correlated with;
Distribute different synchronous window event handling threads to give different synchronous windows, the action in the different windows is handled in different synchronous window event handling threads respectively.
2, the synchronous implementation method of multiwindow webpage according to claim 1 is characterized in that:
When initiating the synchronous page synchronous window of webpage, distribute a synchronous window event handling thread to this synchronous window.
3, the synchronous implementation method of multiwindow webpage according to claim 2 is characterized in that:
When synchronous both sides' either party opens one or more new browser windows again in a synchronous window, described synchronous window event handling thread request distributes a new synchronous window event handling thread to give this new window, activates a multiwindow simultaneously and intercepts and captures and call the intercepting and capturing that processor carries out new window and call.
4, according to claim 1 or the synchronous implementation method of 3 described multiwindow webpages, it is characterized in that:
Synchronization action in intercepting and capturing synchronous window or new window action, synchronous window event handling thread sends to the other side with synchronizing information.
5, the synchronous implementation method of multiwindow webpage according to claim 4 is characterized in that:
Synchronous window event handling thread sends to the other side with synchronizing information after further filtering unnecessary window information, and this unnecessary window information includes but not limited to redundant address information, dynamic advertising subwindow address information.
6, the synchronous implementation method of multiwindow webpage according to claim 4, it is characterized in that: described synchronizing information comprises at least: synchronous window URL address message; The synchronous window close message; The synchronous end of the page; Or method of synchronization control messages.
7, the synchronous implementation method of multiwindow webpage according to claim 4, it is characterized in that: described window synchronizing information further comprises the method for synchronization that webpage is synchronous, comprise one-way synchronization or bi-directional synchronization, synchronously artificial or synchronous automatically, and the combination of two homochronousness modes.
8, the synchronous implementation method of multiwindow webpage according to claim 4 is characterized in that: described window synchronizing information include but not limited to page push synchronously, browse synchronously, multiframe synchronously, new window or multiwindow synchronously, synchronous operation, local directory browse synchronously, send mail click synchronous, synchronous, close based on the FTP of HTTP synchronously, synchronous inner element or the object synchronization that reaches synchronous webpage of end webpage.
9, the synchronous implementation method of multiwindow webpage according to claim 8, it is characterized in that: described window synchronizing information further comprises the method for synchronization that webpage is synchronous, comprise one-way synchronization or bi-directional synchronization, synchronously artificial or synchronous automatically, and the combination of two homochronousness modes.
10, the synchronous implementation method of multiwindow webpage according to claim 1 and 2 is characterized in that:
When creating a new synchronous window, be connected setting up incident between this synchronous window and the synchronous window incident receiver; Or new window is connected with this synchronous window event handling thread, it is the synchronous event receiver of new window that this thread is set simultaneously.
CNB011156635A 2001-04-27 2001-04-27 Method for synchronously browing network pages in different windows Expired - Lifetime CN1184578C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011156635A CN1184578C (en) 2001-04-27 2001-04-27 Method for synchronously browing network pages in different windows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011156635A CN1184578C (en) 2001-04-27 2001-04-27 Method for synchronously browing network pages in different windows

Publications (2)

Publication Number Publication Date
CN1383077A CN1383077A (en) 2002-12-04
CN1184578C true CN1184578C (en) 2005-01-12

Family

ID=4662137

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011156635A Expired - Lifetime CN1184578C (en) 2001-04-27 2001-04-27 Method for synchronously browing network pages in different windows

Country Status (1)

Country Link
CN (1) CN1184578C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100465897C (en) * 2006-05-26 2009-03-04 华为技术有限公司 Method and device for opening window
CN102314471A (en) * 2010-09-17 2012-01-11 苏州阔地网络科技有限公司 Method for synchronizing scroll bars

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7567963B2 (en) * 2004-06-28 2009-07-28 Intel Corporation Thread synchronization with lock inflation methods and apparatus for managed run-time environments
US7921365B2 (en) 2005-02-15 2011-04-05 Microsoft Corporation System and method for browsing tabbed-heterogeneous windows
US7464342B2 (en) * 2006-02-28 2008-12-09 Microsoft Corporation Customizable service provider user interface
CN101183966B (en) * 2006-11-14 2010-12-29 中兴通讯股份有限公司 A Method for Realizing the Synchronization of Multiple Graphical User Interface Units
CN100437483C (en) * 2007-01-16 2008-11-26 华为技术有限公司 Event Distribution Method and Device Based on Web Page
CN102571620B (en) * 2010-12-14 2014-10-01 阿里巴巴集团控股有限公司 Method and device for carrying out webpage communication, and webpage server
CN102426546A (en) * 2011-11-04 2012-04-25 同辉佳视(北京)信息技术股份有限公司 Multi-window concurrent display method
US8930457B2 (en) * 2012-06-19 2015-01-06 International Business Machines Corporation Proximity initiated co-browsing sessions
CN113158651A (en) * 2012-09-18 2021-07-23 株式会社野村综合研究所 Web server system and demonstration application generation method
CN103440340A (en) * 2013-09-09 2013-12-11 黄卓勋 Method and device for navigation webpage content display
CN107943441A (en) * 2017-11-17 2018-04-20 郑州云海信息技术有限公司 A kind of multiwindow method of data synchronization and device
JP2020049921A (en) * 2018-09-28 2020-04-02 シャープ株式会社 Image formation device, display device, control program and control method
CN112015409A (en) * 2020-07-16 2020-12-01 深圳市大富网络技术有限公司 Webpage editing data synchronization method, device and system and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100465897C (en) * 2006-05-26 2009-03-04 华为技术有限公司 Method and device for opening window
CN102314471A (en) * 2010-09-17 2012-01-11 苏州阔地网络科技有限公司 Method for synchronizing scroll bars

Also Published As

Publication number Publication date
CN1383077A (en) 2002-12-04

Similar Documents

Publication Publication Date Title
CN1184578C (en) Method for synchronously browing network pages in different windows
CN1253816C (en) Method and system for fulfilling requests for information from a network client
DE69827638T2 (en) DISTRIBUTED SYSTEM AND OBJECT PRE-LOADING METHOD
CN1199125C (en) Network service system and method
US8217987B2 (en) Method for creating a videoconferencing displayed image
US11711434B2 (en) Information transmission method and device
US20100218105A1 (en) Method of browsing and a computer program therefor
CN103716227B (en) A kind of method and apparatus for being used in instant messaging carry out information exchange
EP0868063A2 (en) Method and apparatus for precaching data at a server
US8620353B1 (en) Automatic sharing and publication of multimedia from a mobile device
CN101079061A (en) Web page screen-cutting system and implementation method
CN1443418A (en) Method and system for sharing images using digital media frame
CN1647058A (en) Collaboration server, collaboration system, session management method thereof, and program
CN1173671A (en) Preserving state in stateless network protocols
CN1774938A (en) Method and device for controlling and applying standby screen resources on mobile communication terminal
US20100079796A1 (en) Communication system
CN1906869A (en) Time synchronizing device and process and associated products
CN1941748A (en) Group message transmitting method, transmitting end and system
CN1578950A (en) Method for conducting collaboration between computers on network, system, and computer program
FR2802373B1 (en) SYSTEM AND METHOD FOR CUSTOMIZING THE QUALITY OF CUSTOMER-BASED SERVICES IN A COLLABORATIVE COMPUTING ENVIRONMENT
CN1235403C (en) Vedeo communication conference subscription providing system and said conference subscribing method
CN1912869A (en) Implementing method of network profile
CN113282856B (en) Cross-domain data processing method, device, equipment and storage medium
US20080059584A1 (en) Method and apparatus for sharing resource addresses
CN1864408A (en) Reception device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20050112

CX01 Expiry of patent term