CN1967484A - Method and apparatus for opening window - Google Patents
Method and apparatus for opening window Download PDFInfo
- Publication number
- CN1967484A CN1967484A CN 200610078437 CN200610078437A CN1967484A CN 1967484 A CN1967484 A CN 1967484A CN 200610078437 CN200610078437 CN 200610078437 CN 200610078437 A CN200610078437 A CN 200610078437A CN 1967484 A CN1967484 A CN 1967484A
- Authority
- CN
- China
- Prior art keywords
- window
- order
- shaking hands
- place
- current window
- 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.)
- Granted
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
This invention relates to a dialog window open method and device. The method includes: a receiving user opens one or more other windows request; the process of the said current window starts the process of other windows described in the said request; the process of other windows opens other windows, and establishes a link between the processes of the said current window and of the said other windows to process the communication. The device includes: current window application module, other windows application modules, the request receiving module linking with the current window application module, and the process initialization module and message transmitting module connected between the current window application module and other windows application module. The invention solves that other windows can be inoperative as a result of the congestion of the dialog, convenient to users to use applications, and enhances the users' satisfaction.
Description
Technical field
The present invention relates to the window operation application, relate in particular to a kind of method and device of opening window.
Background technology
When software development, the application program that the user needs software shows with the form of a plurality of windows, and the user can see more information like this, and can operate user-friendly application program simultaneously to the interface of a plurality of windows.But, in the various software that the user uses at ordinary times, problem of ubiquity: when in the application program of a software, showing a plurality of window, if wherein there is a window to eject dialog box, will cause thus all can't operating, influence the satisfaction that the user uses other window.In order to describe clearlyer, now be exemplified below: in word-processing application, the user opens two documents, at this moment, two window: word1 and help document is arranged in this word-processing application; Open " saving as " dialog box in word1, this dialog box is a dialog box; The user can't carry out any operation to help document, when for example by rolling mouse, kbhit help document being consulted, can not get response, therefore, brings very big inconvenience to the user.
Summary of the invention
The objective of the invention is to propose a kind of window deployment method and device of dialog box, solved when in application program, showing a plurality of window,, caused the problem that to operate other window if there is a window to eject dialog box.
To achieve these goals, the invention provides a kind of method of opening window, may further comprise the steps:
Step 1: receive the user and open one or more other windows request;
Step 2: the process at described current window place starts the process of other window according to described request;
Step 3: use the process of described other window to open other window, the row communication of going forward side by side connects between the process of the process at described current window place and described other window.
Between the process of the process at described current window place and described other window, connect in the step 3, specifically comprise:
Step 311: the process at described current window place sends to the process of described other window with the request message that connects, and comprises the order of shaking hands in this request message;
Step 312: the process of described other window will comprise the process that the affirmation message of confirming the described order of shaking hands returns to described current window place;
Step 313: the process at described current window place sends the process of the response of described acknowledge message to described other window, thereby connects.
Between the process of the process at described current window place and described other window, connect in the step 3, specifically comprise:
The process at described current window place is according to the time interval of setting, and to the described order of shaking hands of process transmission of described other window, the process of described other window receives this order of shaking hands, and sends the affirmation message of the described order of shaking hands, thereby connects;
Or,
The process of described other window is according to the time interval of setting, and the process to described current window place sends the order of shaking hands, and the process at described current window place receives this and shakes hands brightly, sends the described order acknowledge message of shaking hands, thereby connects.
The time interval of described setting triggers by timer is set.
Mode by socket between the process of carrying out process that communication is the current window place and described other window described in the described step 3 communicates.
In described step 1, described request comprises the order of opening other windows
In described step 2, the assembling of the process at described current window place also moves described order of opening other window, starts the process of other window.
A kind of device of opening window comprises current window application module, other window application modules, and this device also comprises:
The request receiver module is used to receive the user and opens one or more other windows request;
The process initiation module is connected with other window application modules with described current window application module, is used for starting according to described request the process of other window application module;
Message is transmitted module, be connected with other window application modules with described current window application module, be used for the row communication of going forward side by side that between the process of the process at described current window application module place and described other window application module, connects, open the window of other window application module.
Transmit in the module in described message and also to be provided with the command generator of shaking hands, be used to produce the order and send of shaking hands to the process of other window application module.
Transmit in the module in described message and also to be provided with timer, is connected, be used for regularly the trigger command generator and produce the order and of shaking hands to the process transmission of other window application module with the described command generator of shaking hands.
In the technique scheme, because by starting the process of other window earlier, thereby be implemented in and in the process of this other window, open other window, therefore, make described other windows of opening use different processes with described current window, make dialog box not block operation to other window, so eject at described current window under the situation of dialog box, described other windows are also unaffected, the user can be to its any operation, convenient for users, solved in the prior art because all windows all use same process, thereby can be subjected to the dialog box occlusive effects opened at current window, before this dialog box is closed, the problem that can't operate other windows; And connect between the process at described current window place and the process of described other window, can carry out communication in the mode of socket, thereby make and between the process of window, keep related, when a process withdraws from, response can be perceived and in time be made to another process, convenient for users, improved user satisfaction.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 opens the process flow diagram of the method specific embodiment 1 of window for the present invention;
Fig. 2 opens the process flow diagram of the method specific embodiment 2 of window for the present invention;
Fig. 3 opens the device synoptic diagram of the device specific embodiment 1 of window for the present invention;
Fig. 4 opens the device specific embodiment 2 of window for the present invention message is transmitted the inner structure synoptic diagram of module;
Fig. 5 opens the device specific embodiment 3 of window for the present invention message is transmitted the inner structure synoptic diagram of module.
Embodiment
Referring to shown in Figure 1, Fig. 1 is the process flow diagram of the window deployment method specific embodiment 1 of dialog box of the present invention, and this flow process may further comprise the steps:
Step 100: receive the user and open one or more other windows request;
Step 101: the process at described current window place starts the process of other window according to described request;
Step 102: connect between the process of the process at described current window place and described other window, the row communication of going forward side by side is opened other window in the process of this other window.
At this moment, under the situation of having opened a plurality of windows, open corresponding dialog box in a window therein, when wanting other window and operating on it, switch to other window by described current window, the user just can operate these other windows.
In described step 100, described request comprises the order of opening other windows; In described step 101, the assembling of the process at described current window place also moves described order of opening other window, starts the process of other window.
In described step 102, between the process of the process at described current window place and described other window, connect, can carry out communication in the mode of socket, thereby make and between the process of window, keep related, when a process withdraws from, another process can be perceived and in time make response, and is convenient for users, improved user satisfaction.
In sum, in the present invention, when the user need open other window, can start a new process in addition for this window, be the process of other window, and open other window in the process of this other window, other window and original window do not belong to same process like this; When original window (current window) is operated, when this current window is hit by a bullet out dialog box, just can exert an influence, thereby reach the purpose that a plurality of windows are operated other window.Because confidential relation is arranged between the window, need the mutual of information between them, but after adopting two processes now, can not be in the mode under the situation of same process, call mutually and information interaction, therefore, for setting up a kind of communication channel between these two processes, and carry out communication in the mode of socket, guarantee the information interaction between the window.
Referring to shown in Figure 2, Fig. 2 is a process flow diagram of opening the method specific embodiment 2 of window of the present invention, in this embodiment, connects by handshake mechanism between the process of two windows, and this flow process may further comprise the steps:
Step 200: the process that second windows request sends to opened current window place is opened in user's request, and promptly the process at first window place comprises the order of opening second window in this request;
Step 201: the process assembling at first window place and the order that second window opened in operation, the process of second window of startup;
Step 202: between the process of the process at first window place and second window, connect, and carry out communication in the mode of socket, in the process of this second window, open second window, at this moment, switch to second window by first window, the user just can operate this second window.
In the step 202,, between the process of the process at first window place and second window, connect, specifically comprise by handshake mechanism:
Step 2021c: shake hands successfully between the process of the process at first window place and second window, connect.
At this moment, under the situation of having opened two windows, open dialog box in first window, can be by switching to ought opening second window and operating on it.
Specific embodiment 3: in this embodiment, connect by the two-shipper handshake mechanism between the process of two windows, based on the foregoing description shown in Figure 2, in the present embodiment, in the step 202, by the two-shipper handshake mechanism, between the process of the process at first window place and second window, connect, specifically comprise:
The process at described current window place is according to the time interval of described setting, send the described order of shaking hands to the process of described other window, receive the affirmation message that the process of this other window is returned, then shake hands successfully, connect, determine to exist the process of this other window;
The process of described other window is according to the time interval of described setting, send the order of shaking hands to the process at described current window place, receive the affirmation message that the process at this current window place is returned, then shake hands successfully, connect, determine to exist the process at this current window place.
So that timer to be set, and realize the two-shipper handshake mechanism in the above-mentioned steps according to the mode that this timer pre-set time interval sends the described order of shaking hands.
For example the process of in the webmaster application program client window and the Online Help window corresponding with it being operated is: when pressing the F1 key on the client window, whether the client process inspection has started the Online Help process, if be not activated, the then order that client process is assembled and the Online Help window is opened in operation starts the Online Help process; After starting this new process of Online Help process, connect between client process and the Online Help process, and carry out communication in the mode of socket; Send an order that shows the Online Help window to the Online Help process then, after the Online Help process receives this order, open the Online Help window, switch to the Online Help window, and the Online Help content of correspondence is shown in the help window by client window.
When the Tools menu item of clicking on the client window, open a dialog box, can but and to Online Help check document this moment.
Simultaneously, in order to guarantee that the another one process can be known, by the two-shipper handshake mechanism, connects, and determines that the other side's process still exists under the situation that certain process exception stops between the two.Be that per 30 seconds of client process sends the order of shaking hands to the Online Help process, the Online Help process, illustrated and shakes hands successfully if can both receive the affirmation message of returning respectively to order of shaking hands of client process transmission in per 30 seconds, connect, thereby determine that the other side's process still exists.
The present invention also provides a kind of device of opening window, and referring to Fig. 3, the device synoptic diagram of the device specific embodiment 1 that it is opened for window of the present invention comprises:
Current window application module 1 and other window application modules 2;
Process initiation module 4 is connected with other window application modules 2 with described current window application module 1, is used for starting according to described request the process of other window application module;
Message is transmitted module 5, be connected with other window application modules with described current window application module 2, be used for the row communication of going forward side by side that between the process of the process at described current window application module place and described other window application module, connects, open the window of other window application module.
As shown in Figure 4, its message of opening the device specific embodiment 2 of window for the present invention is transmitted the inner structure synoptic diagram of module, present embodiment and the foregoing description difference are: transmit in the module 5 in described message and can also be provided with the command generator 51 of shaking hands, be used to produce the order and send to the process of other window application module of shaking hands.
As shown in Figure 5, its message of opening the device specific embodiment 3 of window for the present invention is transmitted the inner structure synoptic diagram of module, present embodiment and embodiment difference shown in Figure 5 are: transmit in the module 5 in described message and can also be provided with timer 52, be connected with the described command generator 51 of shaking hands, be used for regularly the trigger command generator and produce the order and send of shaking hands to the process of other window application module.
Beneficial effect: because method of the present invention and device are by starting the process of other window earlier, thereby be implemented in and in the process of this other window, open other window, therefore, make described other windows of opening use different processes with described current window, make dialog box not block operation to other window, so eject at described current window under the situation of dialog box, described other windows are also unaffected, the user can be to its any operation, convenient for users, solved in the prior art because all windows all use same process, thereby can be subjected to the dialog box occlusive effects opened at current window, before this dialog box is closed, the problem that can't operate other windows; And connect between the process at described current window place and the process of described other window, can carry out communication in the mode of socket, thereby make and between the process of window, keep related, when a process withdraws from, response can be perceived and in time be made to another process, convenient for users, improved user satisfaction.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.
Claims (10)
1, a kind of method of opening window is characterized in that, may further comprise the steps:
Step 1: receive the user and open one or more other windows request;
Step 2: the process at described current window place starts the process of other window according to described request;
Step 3: use the process of described other window to open other window, the row communication of going forward side by side connects between the process of the process at described current window place and described other window.
2, method according to claim 1 is characterized in that, connects between the process of the process at described current window place and described other window in the step 3, specifically comprises:
Step 311: the process at described current window place sends to the process of described other window with the request message that connects, and comprises the order of shaking hands in this request message;
Step 312: the process of described other window will comprise the process that the affirmation message of confirming the described order of shaking hands returns to described current window place;
Step 313: the process at described current window place sends the process of the response of described acknowledge message to described other window, thereby connects.
3, method according to claim 1 is characterized in that, connects between the process of the process at described current window place and described other window in the step 3, specifically comprises:
The process at described current window place is according to the time interval of setting, and to the described order of shaking hands of process transmission of described other window, the process of described other window receives this order of shaking hands, and sends the affirmation message of the described order of shaking hands, thereby connects; Or,
The process of described other window is according to the time interval of setting, and the process to described current window place sends the order of shaking hands, and the process at described current window place receives this order of shaking hands, and sends the described order acknowledge message of shaking hands, thereby connects.
4, method according to claim 3 is characterized in that, the time interval of described setting triggers by timer is set.
5, method according to claim 1 is characterized in that, the mode by socket between the process of carrying out process that communication is the current window place and described other window described in the described step 3 communicates.
6, according to any described method in the claim 1, it is characterized in that in described step 1, described request comprises the order of opening other windows.
7, method according to claim 6 is characterized in that, in described step 2, the assembling of the process at described current window place also moves described order of opening other window, starts the process of other window.
8, a kind of device of opening window comprises current window application module, other window application modules, it is characterized in that this device also comprises:
The request receiver module is used to receive the user and opens one or more other windows request;
The process initiation module is connected with other window application modules with described current window application module, is used for starting according to described request the process of other window application module;
Message is transmitted module, be connected with other window application modules with described current window application module, be used for the row communication of going forward side by side that between the process of the process at described current window application module place and described other window application module, connects, open the window of other window application module.
9, device according to claim 8 is characterized in that, transmits in the module in described message and also is provided with the command generator of shaking hands, and is used to produce the order and send to the process of other window application module of shaking hands.
10, device according to claim 9, it is characterized in that, transmit in the module in described message and also to be provided with timer, is connected, be used for regularly the trigger command generator and produce the order and of shaking hands to the process transmission of other window application module with the described command generator of shaking hands.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100784372A CN100465897C (en) | 2006-05-26 | 2006-05-26 | Method and apparatus for opening window |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100784372A CN100465897C (en) | 2006-05-26 | 2006-05-26 | Method and apparatus for opening window |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1967484A true CN1967484A (en) | 2007-05-23 |
CN100465897C CN100465897C (en) | 2009-03-04 |
Family
ID=38076274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100784372A Expired - Fee Related CN100465897C (en) | 2006-05-26 | 2006-05-26 | Method and apparatus for opening window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100465897C (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436339A (en) * | 2011-08-17 | 2012-05-02 | 北京数码大方科技有限公司 | Display control method and device for modal dialog boxes |
CN102915256A (en) * | 2012-03-08 | 2013-02-06 | 北京金山安全软件有限公司 | Message transmission method and device under multi-core browser |
CN106775631A (en) * | 2016-11-18 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Using deployment method, system and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385594B (en) * | 2010-08-31 | 2015-09-30 | 腾讯科技(深圳)有限公司 | The kernel control method of multi-core browser and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05250122A (en) * | 1992-03-02 | 1993-09-28 | Nec Corp | Multiwindow control system |
US6038588A (en) * | 1997-06-30 | 2000-03-14 | Sun Microsystems, Inc. | Method and apparatus for creating and executing a progress dialog window |
US6675371B1 (en) * | 1999-04-30 | 2004-01-06 | Hewlett-Packard Development Company, L.P. | Java and native application window integration |
CN1184578C (en) * | 2001-04-27 | 2005-01-12 | 华为技术有限公司 | Method for synchronously browing network pages in different windows |
-
2006
- 2006-05-26 CN CNB2006100784372A patent/CN100465897C/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436339A (en) * | 2011-08-17 | 2012-05-02 | 北京数码大方科技有限公司 | Display control method and device for modal dialog boxes |
CN102915256A (en) * | 2012-03-08 | 2013-02-06 | 北京金山安全软件有限公司 | Message transmission method and device under multi-core browser |
CN102915256B (en) * | 2012-03-08 | 2015-02-18 | 北京金山安全软件有限公司 | Message transmission method and device under multi-core browser |
CN106775631A (en) * | 2016-11-18 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Using deployment method, system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN100465897C (en) | 2009-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1123812C (en) | Method for and device of initialization of single direction communication | |
CN1212033C (en) | Method of using key-words to test and then to use functions for portable communication device | |
CN1780299A (en) | System and method for remotely controlling a debugging unit | |
CN1967484A (en) | Method and apparatus for opening window | |
CN101035090A (en) | Instant communication method | |
CN101064869A (en) | Mobile communication terminal, and method for transmission of image in mobile messenger service | |
CN1787492A (en) | Mobile instant communication method and connecting mode of server and client terminal thereof | |
CN1889026A (en) | KVM switching system and its mouse synchronizing method | |
CN1184578C (en) | Method for synchronously browing network pages in different windows | |
CN1921480A (en) | Method and system for realizing application business | |
CN1889505A (en) | Method and system for aiding CPU to retransmit message | |
CN1929455A (en) | Method and system for representing source-information of conversation in the same process | |
CN101056255A (en) | A multicast channel control method and the device | |
CN101052034A (en) | Method and system for transmitting network event journal protocol message | |
CN1968153A (en) | Method and apparatus for hot upgrade of network processor | |
CN1956421A (en) | Reliable transmission method for web service message | |
CN1506868A (en) | Method of remote controlling computer in different area via computer network | |
CN1210955C (en) | Communication system, transmitting machine, receiver and method for using data storage express symbols | |
CN1572100A (en) | Communications device, method and program for receiving process execution, and medium recorded thereon | |
CN101060525A (en) | A SCTP linking method | |
CN1933482A (en) | Method for initiating speech conversation | |
CN1293445C (en) | Apparatus and method for remote-controlling computer | |
CN1787511A (en) | Method and system for realizing off-line application of computer | |
CN1627282A (en) | Method and equipment for carrying out synchronous data communication between one or more mobile terminals and computer | |
CN1728826A (en) | Method for management of auxiliary programs and corresponding receiver and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090304 Termination date: 20160526 |