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
synchronous
window
webpage
synchronously
synchronization
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

The present invention discloses a realizing method of the multiwindow web page synchronisation of escorted browsing. The method comprises the following steps that a plurality of synchronous window event processing threads and a plurality of corresponding synchronous window event receivers are created, the synchronous window event receivers are invoked by external programs or are triggered by the action of a synchronous browsing window, and relevant processing is carried out in the corresponding synchronous window event processing threads; different synchronous window event processing threads are assigned to different synchronous windows, and the actions in different synchronous windows are respectively processed in different synchronous window event processing threads. The browsing of the web page can be flexibly controlled by the method, and the method is further convenient for operation and management.

Description

The implementation method that the multiwindow webpage is synchronous
Technical field
The present invention relates to data communication technology field, particularly based on the synchronous implementation method of a kind of multiwindow webpage in the Intelligence Page simultaneous techniques of INTERNET network.
Background technology
Usually, the synchronous or webpage of webpage is shared and also be can be described as escorted browsing, the browsed web content that is about to the client and telephonist synchronously, or synchronous with telephonist's browsed web content and client, the realization client is browsed synchronously to seat end webpage.Both sides will see same web page contents in the time of synchronously on browser.Escorted browsing can be used for the telephonist " to be pushed away " (push) product introduction and services such as browsing navigation synchronously is provided to the client on network.Can be widely used in the integrated call center of World Wide Web (Web), internet customer service centre, ecommerce purchase guiding system, individual or the products such as enterprise interaction contact product, remote demonstration and long-distance education.
Synchronous or the webpage of existing webpage is shared roughly following implementation method:
Scheme one: client and seat end are all downloaded an applet, and open a browser window and monitor in real time, a certain side's uniform resource locator (URL) in client or seat end is when network address changes, and applet notifies other side's applet that its browser window is synchronized to this URL network address by network after monitoring and changing.
Scheme two: start an application program on the Web server, the URL request that is used for client and seat end are issued Web server is monitored.The while webpage contains a control frame and constantly detects the Web server state, when a certain side URL network address in client or the seat end changes, Web server monitors and changes the back and change current state, by an other side's control frame its browser window is synchronized to this URL network address.
Existing webpage simultaneous techniques has following defective:
1, prior art only support single window synchronously, browse and when most of Web website browsing page, usually need to open a plurality of browser windows at present.
2, can not realize that a plurality of Web websites browse simultaneously synchronously.
3, not enough to the support of multiframe webpage, contain the multiframe webpage on the Web website that has, at this moment may occur can not be synchronous to the frame in the browser window phenomenon.
4, prior art can not be handled the webpage that contains dynamic child window.Dynamic child window is meant and contains the subwindow request of pointing to CGI (Common Gateway Interface) (CGI) program in the webpage, have access to this webpage subwindow at every turn and all can produce different content (to being used for inserting advertisement picture) at webpage, easily cause synchronization page to be replaced by this subwindow, make webpage can not continue synchronously.
5, need to carry out customized treatment to the webpage on the Web server, even the webpage on the Web server beyond can not the synchronisation source Web server.
6, shortage is to the flexible control of synchronous direction of view.
Summary of the invention
In view of this, fundamental purpose of the present invention just is to provide a kind of multiwindow webpage synchronous implementation method, make it can support that the multiwindow webpage is synchronous and the multiframe webpage is synchronous, and can filter unnecessary webpage, control browsing of webpage flexibly, and then made things convenient for user's the operation and the management and the maintenance of service end.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of implementation method that realizes that the multiwindow webpage is synchronous, importantly 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.
When initiating the synchronous page synchronous window of webpage, distribute a synchronous window event handling thread to this synchronous window.
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.
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.
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.
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.
Described window synchronizing information further comprises the method for synchronization that webpage is synchronous, comprises one-way synchronization or bi-directional synchronization, and is synchronously artificial or synchronous automatically, and the combination of two homochronousness modes.This 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.
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.
User and service can be sharing info web by the present invention by network, or browsing page synchronously, are convenient to the demonstration that the side of service offers all kinds of info webs of user, as: product information, education content or the like.And service side can be one to one to the user, also can be one-to-many, the constraint that not browsed synchronously by single window.Dynamic intercepting and capturing new window technology provided by the present invention can also enter new synchronous window by clicking modes such as new window link automatically on synchronous window.
Can allow user's operation web page ask help to the service fathom in addition, simultaneously, the webpage simultaneous techniques of multiwindow also can be used as the basis of further info web technology of sharing, as: more multidata sharing in the webpage.
Also can be between user and the user by the webpage simultaneous techniques browsing page synchronized with each other of multiwindow, both sides can exchange of web pages information and web site collection folder content.
This shows that the synchronous implementation method of multiwindow webpage provided by the present invention has following function and advantage:
1, the present invention not only supports the synchronous of single window, supports that also the webpage of multiwindow is synchronous.Usually needing to open a plurality of browser windows at present when most of Web website browsing page browses, these web page windows of newly opening all can be intercepted and captured by system provided by the invention and control fully, new synchronous window possesses all functions of former synchronous window, comprises the function of intercepting and capturing how new synchronous window thereon.
2, support that the multiframe webpage is synchronous.To containing the Web website of multiframe webpage, can carry out the synchronous of this multiframe webpage equally.
3, realize that a plurality of Web websites browse simultaneously synchronously, it is synchronous to support that the webpage of crossing over domain name, crossing over main frame is carried out webpage.
4, have the function that synchronous window filters, comprise the function that additional frame screening, dynamic child window etc. filter.Wherein, dynamic child window is meant and contains the subwindow request of pointing to cgi script in the webpage, has access to this webpage subwindow at every turn and all can produce different content (to being used for inserting advertisement picture at webpage).The invention solves in this operation synchronization page may replace this subwindow, and the problem that webpage can not be continued synchronously, makes that the present invention is suitable for linking to each other with any one Web website on the INTERENT, and need not to remake special customized treatment.
5, support is to the flexible control of the synchronous direction of view of webpage.No matter webpage is leading by which side synchronously, final all two-way interactives of may command of a side (being generally the side of service or telephonist) wherein, as: webpage have synchronously one-way synchronization, bi-directional synchronization, artificial synchronously, multiple mode such as synchronous automatically, greatly facilitate the user and carry out efficient synchronization control.
6, the function that possesses multiple synchro control.As: support the page push synchronizing function, synchronously function of browse, multiframe synchronously, new window or multiwindow synchronously, synchronous operation function, local directory browse synchronously, send mail click synchronously, based on the file transfer protocol (FTP) (FTP) of HTTP(Hypertext Transport Protocol) synchronously, close synchronously, the end webpage is synchronous, even the inner element or the object synchronization of synchronous webpage.Wherein, when synchronous window was closed, the other side can point out whether carry out same shutoff operation, whether can point out closeall synchronous window when synchronous finishing webpage; And existing system only has simple propelling movement and synchronizing function, can not satisfy novel business demands such as ecommerce shopping guide, internet customer's service, electronic service far away.
7, webpage of the present invention can be cooperated with other any calling medium kind synchronously, as: webpage can combine with webpage click conversation, text chat, Web callback request call synchronously, at " escorted browsing " button of pressing behind the call setup on the webpage, the opposing party will see same web page contents.After this web page contents will be always synchronously up to pressing " end is browsed " button.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention;
Fig. 2 is a function treatment schematic flow sheet of the present invention;
Fig. 3 is the process flow diagram of control Message Processing of the present invention;
Fig. 4 pushes the process flow diagram that interface method is handled for synchronous window of the present invention;
The process flow diagram that Fig. 5 handles for synchronous window down interface method of the present invention;
Fig. 6 finishes the process flow diagram that interface method is handled for synchronous window of the present invention;
Fig. 7 for the present invention navigate before the process flow diagram of event handling;
Fig. 8 finishes the process flow diagram of event handling for the present invention's navigation;
The process flow diagram that Fig. 9 handles for new window method for interception of the present invention;
Figure 10 is a sync direction control and treatment process flow diagram of the present invention;
Figure 11 intercepts and captures for multiwindow of the present invention and calls the process flow diagram of processing.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Referring to shown in Figure 1, the present invention is based on the synchronous synchronous system construction drawing of the multiwindow page of webpage.Interface method is meant that partly the webpage synchronization controls offers the software interface that external program calls among this figure, cooperation control module as shown in FIG., and its attainable major function comprises: the beginning webpage is synchronous; Receive external message and control messages; Relevant configured parameter is set; Obtain webpage synchronization controls status information; The end webpage is synchronous etc.
In above-mentioned functions, most important is exactly to receive external message and control messages function, and it comprises, and page push is synchronous, synchronous or the like the interface method of close.Relevant external message or control messages all send control to by this interface function and handle.As the page synchronization message that the other side is transmitted, make the control to be for further processing according to this message, realize page push webpage synchronization actions such as function of browse and close be synchronous synchronously, synchronously.Wherein, webpage synchronization controls synchronous window pushes the flow process of interface method processing specifically referring to shown in Figure 4; The idiographic flow that webpage synchronization controls synchronous window down interface method is handled as shown in Figure 5.
Synchronization message comprises following several News Categories: synchronous window URL address message, specified window number; The synchronous window close message, specified window number; The synchronous end of the page; And method of synchronization control messages etc.
In conjunction with Fig. 1, shown in Figure 2, the synchronous system architecture of the multiwindow page of the present invention specifically comprises following flow process on function treatment:
1) user both sides refer generally to: service side and user side, seat end and terminal user's end or both sides are user side, use browser to enter webpage synchro system of the present invention respectively.
2) if enter first, browser will be downloaded a multiwindow webpage synchronization module (being ActiveX control) and load and execution automatically, this ActiveX control, and the synchronous control module of webpage promptly of the present invention will be created a plurality of webpage synchronizing threads during operation.The quantity of synchronizing thread can define flexibly, and synchronizing thread mainly is responsible for the action and the incident of monitoring synchronous window.
3) the webpage synchronization controls waits for that external program receives the user and begins the synchronous request of webpage under this state, after the request of receiving the user, is promptly called the beginning webpage sync cap method of control by the cooperation control module.
4) when the user after service side sends the request of webpage synchronization page simultaneous call, the side's of service receipt of call is also set up page synchronizing channel, initiating a synchronous page synchronous window of webpage then, to begin the synchronous page of webpage synchronous, promptly distributes a synchronizing thread to give this synchronous window.
5) when user or service side carry out browse action or push action, synchronizing thread will intercept this action and incident;
6) synchronizing thread is issued the other side with synchronizing information after filtering unnecessary window information then; Unnecessary window information is meant unnecessary frame address information, dynamic advertising subwindow address information.Because webpage usually has the dynamic advertising subwindow address information of the multiframe page and cgi script generation in many websites, these all belong to the related additional address information in major network location, generally do not need sort address information is sent to the other side, must filter out, otherwise can produce useless window and original window is covered.
7) the other side receives synchronizing information and carries out the corresponding synchronous browse action by the synchronizing thread control synchronous window of correspondence.
8) multiwindow, the multiframe of carrying out as a side wherein, when closing certain synchronous window and finishing actions such as webpage is synchronous, the other side all can receive message and handle accordingly.
9) when a side opens one or more new browser window again in a synchronous window, at this moment synchronizing thread will ask to distribute a new synchronizing thread to give new window, activate a multiwindow simultaneously and intercept and capture and call the intercepting and capturing that processor carries out new window and call.
10) the multiwindow intercepts processor is carried out to intercept and capture in newly assigned thread and is handled action, has broken away from original thread control this moment;
11) new synchronous window processing threads is searched new window, after intercepting new window, increases display synchronization window slogan on title block, and notifies the other side with the information that this synchronizing thread intercepts; This new synchronous window processing threads and former synchronous window processing threads are generated by same class, and such is a synchronous window event handling class.
12) the other side creates the new page synchronous window of a correspondence, and content of pages is identical with it, and increases display synchronization window slogan on title block; New synchronous window possesses all functions of former synchronous window, comprises the function of intercepting and capturing how new synchronous window thereon.
Synchronous content comprises: the page push synchronizing function, synchronously function of browse, multiframe synchronously, new window or multiwindow synchronously, synchronous operation function, local directory browse synchronously, send mail click synchronous, synchronous based on the FTP of HTTP, close synchronous, the end webpage is synchronous, even the inner element or the object synchronization of synchronous webpage, wherein close the other side and can point out whether carry out same shutoff operation, whether can point out closeall synchronous window when synchronous finishing webpage at synchronous window.Said method produces by the synchronous window information that receives and send, by webpage synchronization controls control and treatment, and explain respectively by browser, webpage is synchronous as: HTTP is synchronously, FTP promptly uses the built-in FTP function of browser synchronously, send that mail clicks is that E-mail URL message specifies browser to open subsidiary E-mail handling procedure synchronously, as: Outlook Express etc.
This system also possesses webpage method of synchronization control function except that above-mentioned functions, that is: one-way synchronization or bi-directional synchronization are synchronously artificial or synchronous automatically, and the combination of two homochronousness modes, and the selection of method of synchronization control function is handled specifically as shown in figure 10.
Wherein, one-way synchronization is meant that synchronization action is unidirectional, and a side operates, and the opposing party changes synchronously, otherwise then not all right; Bi-directional synchronization is meant that synchronization action is two-way, and a side operates, and the opposing party changes synchronously, and vice versa; Manually be meant any operation in browser synchronously, as: browse to other pages, the other side can and then not change, and must click " propelling movement " button, and at this moment the other side's windows content just can be changed to the content of this page synchronously; Automatically be meant any operation in browser synchronously, all be considered as synchronization action, the other side's content is synchronized to this page content automatically.
All synchronous windows that produce all can be in synchronous state of activation simultaneously, and it is corresponding one by one with the other side's synchronous window, as: No. 1 corresponding the other side's of synchronous window No. 1 synchronous window, and No. 2 synchronous windows of No. 2 corresponding the other side of synchronous window or the like, these windows can exist simultaneously and synchronously simultaneously, can not interfere with each other between a plurality of synchronous windows of same side.
Webpage of the present invention can be called out medium kind with other synchronously and cooperate, as: webpage can combine with IP phone, text chat, Web callback request call synchronously, at " escorted browsing " button of pressing behind the call setup on the webpage, the opposing party will see same web page contents.After this web page contents will be always synchronously up to pressing " end is browsed " button.If the client is after making a call, visited other webpage by client before synchronous by the super chain of webpage, client's browser will be got back to the page when making a call at first automatically after synchronously.
When a synchronous web page windows of new web page is assigned to a page synchronizing thread, an incident receiver corresponding with web page windows will be created, some actions of carrying out in this web page windows will trigger corresponding incident, and by calling event methods corresponding in this page synchronizing thread after the reception of incident receiver.
Synchronous window event methods main among the present invention comprises:
1) event methods before the navigation of webpage synchronization controls synchronous window.This incident correspondence be in the browsing device net page window, to browse an action triggers before the new webpage.That is: trigger this incident when browser is received new web page browsing request.The concrete processing as shown in Figure 7.
2) event methods is finished in the navigation of webpage synchronization controls synchronous window.This incident correspondence be action triggers when in the browsing device net page window, browsing a new webpage.That is: browser is received after the new web page browsing request and is triggered this incident when finding the specified website of this web page address.Its concrete treatment scheme as shown in Figure 8.
3) the new browser window event methods of webpage synchronization controls.This incident correspondence to be the user with browser browse a new webpage time and what open is the action triggers of a new browser window.Its concrete treatment scheme as shown in Figure 9.
4) webpage synchronization controls synchronous window close event method.This incident correspondence be the action triggers of this browsing device net page window when being closed.After the triggering this close message is issued the other side by communication part, call corresponding synchronous close interface method by the other side's control module of cooperating again.The invoked synchronous window of the other side closes closed procedure as shown in Figure 5.
All relate to the transmission of webpage synchronization controls page synchronization message in each treatment scheme of the present invention, the main flow of its Message Processing as shown in Figure 3.
A series of actions of carrying out in the webpage synchronous window of the synchronous browser of webpage has triggered corresponding event, carries out same action for the webpage synchronous window that makes the other side's webpage simultaneous user simultaneously, needs the action message of this webpage is sent to the other side.Earlier this message is sent to " cooperation control module " among Fig. 1 by the synchronous synchronous window thread of webpage, give communication part by " cooperation control module " with forwards again, by webpage synchronization message passage message is passed to " communication application server " on the Web server by communication part, pass to the other side's communication part and " cooperation control module " by communication application server, by cooperation control module invoking web page sync cap method, at last message is given the synchronous window thread of the other side's correspondence and handle, and the invoke synchronous movement controller carries out the corresponding synchronous action.
Give an example, if the message that sends is " transmitting external information and control messages ", synchronous window pushes interface method and synchronous window and interface method such as closes and will be called so.If the message that sends is the message of " end escorted browsing ", the synchronous synchronous window end interface method of webpage will be called so.
Referring to shown in Figure 3, Fig. 3 is the main flow chart of webpage synchronization controls Message Processing of the present invention.The present invention is initial in operation, at first carries out the initialization process of control variable, interface, incident etc., and creates a plurality of synchronous window incident receivers and corresponding a plurality of synchronous window event handling threads.The quantity of synchronous window event handling thread can define flexibly.It mainly is action and an incident of being responsible for the monitoring synchronous window, filters out unnecessary window information and afterwards synchronizing information is sent to the synchronous the other user of webpage.Synchronous window incident receiver after the establishment is waited for the Event triggered message of the interface interchange of external program or browser window action synchronously, starts the processing that corresponding synchronous window event handling thread is correlated with.Different synchronous windows distributes different synchronous window incident receiver and synchronous window event handling thread, makes that the action in the different windows is handled in different threads respectively.
Referring to shown in Figure 4, the synchronous window synchronous for webpage of the present invention pushes processing flow chart.Webpage synchronization controls synchronous window pushes interface method, mainly comprise: the establishment of user's synchronous window, and the window that creates connected with corresponding synchronous window incident receiver, so that in this synchronous event processing threads, handle a series of actions that browser produces, simultaneously, this synchronous window is synchronized to the network address of appointment.
When user or service side pushed action, after synchronizing thread intercepted this action and incident, just the synchronous synchronous window propelling movement interface of invoking web page comprised the steps: at least
A. system judge this window withdraw from message box and the close message frame exists? if exist, then send out message close message frame earlier, enter step b then; Otherwise directly enter step b.
B. do you judge that the synchronous window that pushes exists? if there is no, then create new browser synchronous window earlier, make this synchronous window set up incident then and be connected, enter step c afterwards with a synchronous window incident receiver; Otherwise directly enter step c.
C. do you judge that this propelling movement synchronous window is the frame subwindow? if then changing the synchronous address of window is main address, enters steps d afterwards; Otherwise directly enter steps d.
D. call browser interface, this synchronous window is synchronized to the address of appointment.
This part is synchronous by the synchronization action controller and the page push of page synchronizing thread in the system shown in Figure 1 structure, and the function of browse module realizes synchronously.
Referring to shown in Figure 5, be webpage synchronization controls synchronous window down interface processing flow chart of the present invention.The relevant treatment that webpage synchronization controls synchronous window down interface method user synchronous window carries out when closing, this relevant treatment is meant: the window slogan that taking-up need close window, call the process of closing window then, closing in the message box is set simultaneously to be masked as very, and disconnection is connected with respective synchronization window events receiver, closes this synchronous window at last.But before closing window, can system inquire that also user and service side agency confirm to close again? if then close, otherwise, reset closing in the message box and be masked as vacation, and recover the title of corresponding browser window, but this moment, system just kept this window, was common browser window with this window restoration, and no longer this window was controlled or the incident of its generation is reacted.This part is realized by the synchronization action controller and the close synchronization module of page synchronizing thread in the system shown in Figure 1 structure.
Referring to shown in Figure 6, be webpage synchronization controls synchronous window ending method processing flow chart of the present invention.The relevant treatment of when webpage synchronization controls synchronous window end interface method is used to handle webpage with EOS synchronous window being carried out, this relevant treatment comprises: call and finish the webpage synchronizing process, being masked as very in the end frame is set simultaneously, close all synchronous windows then, and disconnect and being connected of all synchronous window incident receivers.This method can be inquired user and service side agency before webpage is with EOS, and can select whether Close All the Windows still only disconnects synchronous window incident reservation parent window.This part is realized by the synchronization action controller and the end page synchronization module of page synchronizing thread in the system shown in Figure 1 structure.
Referring to shown in Figure 7, be event methods processing flow chart before the webpage synchronization controls synchronous window navigation of the present invention.Event methods is used for crucial processing such as the synchronous synchronizing information intercepting and capturing of webpage and transmission, webpage Way of Echo Control, multiframe processings, method of synchronization controls before the webpage synchronization controls synchronous window navigation.This treatment scheme comprises the steps: at least
A. after incident is triggered before the navigation, at first write down current URL and current frame address, judge that then current URL is a prime frame? if, then preserve the prime frame variable, enter step b then; Otherwise directly enter step b.
B. do you judge that the present frame address is the echo address? if, the echo address mark then is set for false (FALSE), enter step e then; Otherwise enter step c.
C. do you judge that this trigger event is homepage or single frame request? if, then intercept and capture its URL and notify external program, enter steps d then; Otherwise directly enter steps d.
D. judge whether to frame address and have frame recording? if have, frame then is set sends sign, enter step e; Otherwise directly enter step e.
E. the counting to the incident inlet adds one.
This part is filtered and the realization of multiframe webpage intercepting and capturing module by browser window intercepting and capturing, the synchronous window of page synchronizing thread in the system shown in Figure 1 structure.
Referring to shown in Figure 8, for the event methods processing flow chart is finished in webpage synchronization controls synchronous window navigation of the present invention.Webpage synchronization controls synchronous window navigation is finished event methods and is used for crucial processing such as the synchronizing information intercepting and capturing of new synchronous window and transmission, subframe processing.This treatment scheme comprises the steps: at least
A. after navigation is finished incident and is triggered, at first, judge whether main window then into correspondence with the zero clearing of incident inlet counting? if, then preserve the prime frame variable, enter step b then; Otherwise directly enter step b.
B., this browser window title is set; Judge that URL sends sign,, then get current URL address and issue server, and be transmitted to the other side's webpage synchronization controls, enter step c then if be masked as very; Otherwise directly enter step c.
C. the URL that judges subframe sends sign, if be masked as true, invoke synchronous subframe URL method then, otherwise finish.
This part is realized by the synchronizing information sending module of page synchronizing thread in the system shown in Figure 1 structure.
Referring to shown in Figure 9, be the new browser window event methods of webpage synchronization controls of the present invention processing flow chart.The new browser window event methods of webpage synchronization controls is used for to new synchronous window action and intercepts and captures, distributes synchronous window thread and new window to search and crucial processing the such as calling of intercepting and capturing of synchronizing information.
When new window is opened, promptly trigger present event and handle, and whether the synchronous window counting is above maximum window number restriction, if " it is too much to open window, cancels this new window " can be pointed out the user by system.As not being, then distribute synchronous event to handle the window slogan, the synchronous window event handling thread of a corresponding free time of this window slogan; Timer is set then regularly to be called and finishes this event handling after the readjustment process FindNotifyProc.And timer calls " the searching new synchronous window method " that belongs to the newly assigned synchronous window event handling in front thread on the backstage, and this moment, this section program was moved in new thread, and its flow process is referring to shown in Figure 11.After finding new window, 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.
The described part of Fig. 9 is intercepted and captured module by the new window of page synchronizing thread in the system shown in Figure 1 structure and is realized.
Referring to shown in Figure 11, for webpage synchronization controls of the present invention is searched new synchronous window method processing flow chart.The webpage synchronization controls is searched new synchronous window method and is used for new synchronous window is dynamically searched crucial processing the such as synchronous event receiver of intercepting and capturing, creating this new window correspondence with synchronizing information.Before searching new window, timer is set earlier and search counter; After finding new window, be about to synchronous window and be set to this window, and create corresponding synchronous incident receiver, simultaneously the URL address of current window is issued server and the other side's webpage synchronization controls.If the URL value of current window is empty, the URL transmission then is set earlier is masked as very, again with its transmission.
This part is called the intercepts processor module by the multiwindow in the system shown in Figure 1 structure and is realized.
Referring to shown in Figure 10, be webpage synchronization controls method of synchronization control and treatment process flow diagram of the present invention.The main utilization of method of synchronization control sends or receives the method for synchronization control messages different directions attribute and mode of operation are set respectively, and webpage synchronization controls or external program are according to the synchronous direction of different directions attribute decision webpage.Comprise: one-way synchronization, bi-directional synchronization and manually/automatically synchronous.
Wherein, one-way synchronization receives only or only sends; Bi-directional synchronization can receive also and can send; And manually operate decision by the user synchronously.Under artificial synchronous regime, the action that the user produces when the operating browser synchronous window does not send to the other side, only just can send to the other side to synchronizing information when active point " propelling movement " button.And automatic synchronous regime, the action that the user produces when the operating browser synchronous window is intercepted and captured by control automatically and synchronizing information is sent to the other side.
This part is realized by the method for synchronization controller module of page synchronizing thread in the system shown in Figure 1 structure.

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 apparatus for opening window
CN102314471A (en) * 2010-09-17 2012-01-11 苏州阔地网络科技有限公司 Method for synchronizing scroll bars

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 中兴通讯股份有限公司 Method of implementing synchronization of multi-graph user interface unit
CN100437483C (en) * 2007-01-16 2008-11-26 华为技术有限公司 Event distributing 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 同辉佳视(北京)信息技术股份有限公司 Multiwindow concurrent display method
US8930457B2 (en) * 2012-06-19 2015-01-06 International Business Machines Corporation Proximity initiated co-browsing sessions
US9817811B2 (en) * 2012-09-18 2017-11-14 Nomura Research Institute, Ltd. Web server system, dictionary system, dictionary call method, screen control display method, 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 apparatus 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
CN1155197C (en) Remote proxy system and method
CN1294512C (en) Method and apparatus for pre high speed buffer store data on service device
CN1150469C (en) Network mail transmission agent with automatic file appendage memory
US6684239B1 (en) System and method for automatically publishing electronic mail messages on the internet
CN103188283B (en) Method, server and the system of File Upload and Download
CN102662600B (en) Method for mutually dragging files at different domain names
CN102135985B (en) Method and system for searching by calling search result of third-party search engine
CN101599982A (en) Cellphone information browsing apparatus, system and implementation method
US8620353B1 (en) Automatic sharing and publication of multimedia from a mobile device
CN1636351A (en) Method and system for accessing available service on a second network by member of a first network
CN101493813B (en) Video search system based on content
KR20010111380A (en) An internet service apparatus and service method
CN101043466A (en) Information pickup method and hand-hold mobile communication device using the same
CN1636202A (en) Information processing method, collaboration server, collaboration system, and storage medium for storing an information processing program
CN101753984A (en) Processing method of video monitoring system journals, system and server
CN103501241A (en) Method, device and system for cleaning useless files
CN110351288A (en) An a kind of product contains the data push method of multiple columns
CN1798032A (en) Method and system for implementing message subscription through Internet
CN101047611A (en) System and method for clustering RSS information
CN105117411A (en) Server log file management system and method
CN103634695A (en) Method and system for receiving Google GCM push message by smart television
CN103581119B (en) System and method for displaying production process data at high speed
CN1293851A (en) Mobile terminal and data transmission scheme
CN103237074A (en) Data interactive method and data interactive system between intelligent terminals

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