CN1304984C - Method and system for automatically creating and managing graphical user interface session of remote terminal - Google Patents

Method and system for automatically creating and managing graphical user interface session of remote terminal Download PDF

Info

Publication number
CN1304984C
CN1304984C CNB2003101169108A CN200310116910A CN1304984C CN 1304984 C CN1304984 C CN 1304984C CN B2003101169108 A CNB2003101169108 A CN B2003101169108A CN 200310116910 A CN200310116910 A CN 200310116910A CN 1304984 C CN1304984 C CN 1304984C
Authority
CN
China
Prior art keywords
session
module
message
user interface
graphical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2003101169108A
Other languages
Chinese (zh)
Other versions
CN1622077A (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.)
Institute of Software of CAS
Original Assignee
Institute of Software of CAS
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 Institute of Software of CAS filed Critical Institute of Software of CAS
Priority to CNB2003101169108A priority Critical patent/CN1304984C/en
Publication of CN1622077A publication Critical patent/CN1622077A/en
Application granted granted Critical
Publication of CN1304984C publication Critical patent/CN1304984C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method and a system for automatically creating and managing remote-terminal graphical user interface conversation. A display attribute message, a user identity message, a reinitializing message are added in a remote graphical user interface protocol to provide conversation display, conversation service monitoring, user identity certification, conversational management, graphical window invocation and the disconnection, the cancellation and the continuous connection of graphical user interface conversation. Therefore, a user management mechanism of a host operating system keeps compatible with the individuation collocation of users; the management of the remote-terminal graphical user interface conversation is simplified; the utilization efficiency of a CPU and a memory of a host computer system is improved. Thus, though a network breaks down, the remote-terminal graphical user interface conversation can keep running and can not lose. Users can reconnect the kept conversation from any remote terminal to continue to proceed with interaction so the usability of a remote graphical user interface is improved.

Description

Automatically create and manage the method and system of remote terminal graphical user interface session
Technical field
The present invention relates to a kind of method that is used for creating and managing automatically the session of remote terminal graphical user interface, and relate to a kind of system that uses this method.
Background technology
The remote graphics user interface is meant that the user is at the graphic user interface of visiting the application program in the host computer system on the remote terminal by the remote graphics subscriber interface protocol, application program is moved in the host computer system, and the graphical interfaces of application program is presented on the remote terminal.The graphical user interface session is made of one group of graphical window module of moving, window manager, desktop handler, application program and user individual configuration, and the session of remote terminal graphical user interface then is that the interface of all application programs in the graphical user interface session is sent to remote terminal by the remote graphics subscriber interface protocol.
As everyone knows, by the client/server graphical window module X that MIT develops the earliest, provide one to allow the long-range network graphic subscriber interface protocol that is presented on the x terminal of X application.The X application that is positioned in the host computer system can use the X agreement to communicate by network and the graphical window module X server that is positioned on the x terminal, X application sends request, the establishment of X server, deletion, managing graphic window module resource, the request of response X application.By AT﹠amp; The VNC system of T Cambridge development in laboratory provides the remote graphics user interface of a frame buffering method by remote graphics subscriber interface protocol RFB.In the VNC system, graphical window module X server is positioned in the host computer system, and the X server cushions the request of X application conversion framing, and frame is cushioned the RFB client that sends on the remote terminal by the RFB agreement.
General, the user is after login in the host computer system, and operating system can be created the graphical user interface session automatically, comprises the configuration of initialization user individual, starts graphical window module, window manager and desktop handler.The user can start X application by menu and the shortcut that desktop handler provides.The user can carry out alternately in a direct sum graphical user interface session, unless log off.
Remote terminal graphical user session is then different, and existing operating system does not have the method for establishment automatically and remote terminal graphical user session.
The user is positioned at remote terminal, and system is connected by network with host computer, and network connects temporary transient the disconnection can occur.For X network graphic window module, in case connecting, network disconnects, and graphical user's session of user will disconnect, and all application programs and data in the session can be lost.For the VNC system, owing to be to have increased remote graphics subscriber interface protocol RFB in the graphical window module only, operating system does not provide the method to the authenticating user identification of VNC.The system manager must manual safeguard the identification authentication data of VNC system, has increased system manager's complexity.The VNC server can only be operated in remote graphics user interface mode in addition, and operating system does not provide the function of creating and managing the session of remote terminal graphical user interface at present.Therefore in order to use the remote graphics user interface, system manager and user have to sign in in advance the host computer system, start-up by hand VNC server, the VNC system uses the personalized configuration file of independent user in addition, incompatible with the user individual configuration of operating system, these have all increased use and managerial complexity.The VNC system also has following deficiency in addition:
1. owing to start the VNC server in advance, take the internal memory and the processor resource of host computer system, reduced the service efficiency of resource.
2.RFB agreement is the agreement of a service-oriented device, can not satisfy the requirement of client according to the needs request VNC server of RTU (remote terminal unit), display resolution for example, and color depth or the like, thus limited the display device kind of remote terminal.And this point is essential for the diversity that satisfies RTU (remote terminal unit), because the display device of terminal is diversified, the equipment of different size type is arranged, for example CRT/LCD; And display device has different resolution, 1024 * 768,320 * 240, or even irregular.
Summary of the invention
For overcoming the problems referred to above, the object of the present invention is to provide the method for a kind of automatic establishment and the session of management remote terminal graphical user interface, to ask to create automatically and manage the session of remote terminal graphical user interface.
The present invention also aims to provide the system of a kind of automatic establishment and the session of management remote terminal graphical user interface, it can be created and the session of management remote terminal graphical user interface automatically according to request.
For achieving the above object, the method of a kind of automatic establishment according to an aspect of the present invention and the session of management remote terminal graphical user interface, be used for remote session by interconnective remote terminal of network and host computer system, wherein said remote terminal comprises a session display module, described host computer system comprises a conversational services monitoring module, an authenticating user identification module, a session management module, a graphical window module, the continuous gang mould piece of graphical user interface session, a graphical user interface session disconnects module and a graphical user interface session cancellation module, and described method comprises:
System connects with host computer, and the session step display of long-range display graphics user interface session;
Management comprises display properties message, user identity message, reinitialization messages from the conversational services monitoring step of the remote graphics subscriber interface protocol request of remote terminal in the wherein said graphical user interface agreement;
The identification step of the user identity of the remote terminal that authentication remote graphics subscriber interface protocol comprises;
The session management step of the graphical window module in the management host computer system;
Send graphical user interface to remote terminal, and the graphical window of the management of the administration module that accepts session is enabled step;
According to the type of the message that receives, carry out one of the following step:
The continuous continuous step that connects of session that connects session;
Send message so that disconnect the session break step of current sessions to session management module;
Send message to session management module and nullify step so that nullify the session of current sessions.
Described session step display according to a further aspect in the invention comprises:
A) receive user's input;
B) with the host computer system on described conversational services monitoring module set up network and be connected;
C) user's input is sent to described conversational services monitoring module by the remote graphics subscriber interface protocol;
D) judge whether the network connection disconnects;
E) when network connects disconnection, then stop operation;
F) judge whether to receive reinitialization messages;
G) when not receiving described message, execution in step i);
H) when receiving described message, send and reinitialize request, and execution in step i);
I) use the remote graphics subscriber interface protocol to receive the graphic user interface data, send keyboard and mouse event from described graphical window module;
J) forward step d) to.
According to a further aspect of the invention, the input of the user in the described session step display comprises: user identity and display properties.
According to a further aspect of the invention, described display properties comprises display width, shows height, the Show Color degree of depth.
Described conversational services monitoring step according to a further aspect of the invention comprises:
A) version number of the described session display module in the identification remote graphics subscriber interface protocol;
B), then end and being connected of remote terminal in the version number of described version number and described conversational services monitoring module when inconsistent;
C) display properties and the user identity that comprises in the identification remote graphics subscriber interface protocol;
D) according to display properties to described session management module demand graph window module;
E) receive the data of described graphical window module from described session management module;
F) give described graphical window module the control that is connected with remote terminal;
G) start described authenticating user identification module, and user identity is submitted to described authenticating user identification module authenticate.
According to a further aspect of the invention, wherein the data described in the step e) comprise: the port numbers that the demonstration numbering of graphical window module and graphical window module are monitored.
According to a further aspect of the invention, wherein step f) is carried out according to described port numbers.
According to a further aspect of the invention, described authenticating user identification step comprises:
A) the user name and password in the user identity that from described conversational services monitoring module, transmits of identification;
B) the user name and password is encrypted;
C) mate with the user ID data storehouse of host computer system;
D) when the match is successful, then carry out step g);
E) when matching times surpasses predetermined threshold, then carry out step g);
F) receive user's input, and forward step b) to;
G) start the continuous gang mould piece of described graphical user interface session, and matching result is submitted to the continuous gang mould piece of described graphical user interface session.
According to a further aspect of the invention, described graphical window is enabled step and is comprised:
A) request of processing X application;
B) detect whether be in off-state with being connected of remote terminal;
C) when being in off-state, detecting whether to have and transfer the network connection requests from other graphical window modules with being connected of remote terminal;
D) when not transferring the network connection requests, then forward step a) to from described other graphical window modules;
E) existing when described other graphical window modules are transferred the network connection requests, then receive network and connect, and send reinitialization messages to described session display module by described connection;
F) inquiry is from the message of described session management module;
G) when being in connection status, then inquire about message from described session management module with being connected of remote terminal;
H) when described message is disconnection, then stops being connected, and forward step a) to the network of remote terminal;
I) when described message is cancellation, then stops being connected, and stop described graphical window module with the network of remote terminal;
J) be when switching session, then the control that is connected with remote terminal to be given the described graphical window module of appointment in the message, and stop described graphical window module in described message;
K) when the message of not receiving from described session management module, then detect and being connected of remote terminal;
L) when disconnecting, then send disconnection message, and forward step a) to session management module with being connected of remote terminal;
M) when being in connection status with being connected of remote terminal, then use remote graphics subscriber interface protocol transmission of graphical user interface, receive keyboard and mouse event, and forward step a) to.
According to a further aspect of the invention, the method for described automatic establishment and management remote terminal graphical user interface is utilized a data block, so that store the session attribute of current all described graphical window modules.
According to a further aspect of the invention, described data block comprises and shows numbering and graphical window module status.
According to a further aspect of the invention, described data block also comprises process number, session number, and graphical window module title, remote terminal IP address, graphical window module end slogan, trip time last time, tie-time last time, width, highly, color depth.
According to a further aspect of the invention, described session management step comprises:
A) query messages periodically;
B) when receiving the message of described conversational services monitoring module, then be described data block of described graphical window module assignment, the graphical window module status field in the setting data piece is a waiting status, for one of described graphical window module assignment shows numbering; And with the described graphical window module of described demonstration numbering startup;
C) receiving that from the message of described graphical window module the graphical window module status field of then setting described data block is an off-state, and forwards step a) to when disconnecting;
D) when receiving, then send and disconnect message, and the graphical window module status field of setting in the described data block is off-state, and forward step a) to described graphical window from the disconnection message except described graphical window session disconnects module;
E) in the message of receiving when being ready, the graphical window module status field of then setting described data block is a ready state, and sends the demonstration numbering of described graphical window module to described conversational services monitoring module;
F) when the message of receiving is the queued session tabulation, then inquiry disconnects session list according to the user name in the message, and disconnects session list to the continuous gang mould piece transmission of graphical user interface;
G) when the message of receiving connects certain session for continuing, then the graphical window mode field according to the described data block of the numbering of the demonstration in message setting is ready, and sends the switching conversation message to described graphical window module;
H) when the message of receiving is login failure, then deletion is the described data block of described graphical window module assignment; And send logout message to described graphical window;
I) when the message of receiving is cancellation, delete described data block into described graphical window module assignment; And send logout message, end session to described graphical window.
According to a further aspect of the invention, the continuous step that connects of described graphical user interface session comprises:
A) when receiving from the matching result of described authenticating user identification module, then send login failure message, and stop the continuous gang mould piece of described graphical user's session to described session management module to failure;
B) receiving that matching result from described authenticating user identification module is successfully the time, then sends the queued session list message to described session management module, and reads the disconnection session list;
C) when the disconnection session list is sky, then for the active user reads personal configuration file, initialization running environment, and create session;
D) when the disconnection session list is not sky, show then to disconnect session list that reception is used to select the user of session to import;
E) send continuous even conversation message according to user's input to described session management module, and switch to the session that the user selects;
F) stop the continuous operation that connects conversation module of described graphical user interface.
According to a further aspect of the invention, described graphical user interface session break step comprises:
Send disconnection message to described session management module, to disconnect current sessions.
According to a further aspect of the invention, described graphical user interface session is nullified step and is comprised:
Send logout message to described session management module, to nullify current sessions.
According to a further aspect of the invention, the system of a kind of automatic establishment and the session of management remote terminal graphical user interface, the remote session that is used for remote terminal and host computer system, this system comprises the remote terminal that is connected with the host computer system by network, and host computer system, wherein said remote terminal comprises a session display module, described host computer system comprises a conversational services monitoring module, an authenticating user identification module, a session management module, a graphical window module, the continuous gang mould piece of graphical user interface session, a graphical user interface session disconnects module and a graphical user interface session cancellation module, wherein
Described session display module is used for connecting with the host computer system, and the session of long-range display graphics user interface;
Described conversational services monitoring module is used to manage the remote graphics subscriber interface protocol request from remote terminal, comprises display properties message, user identity message, reinitialization messages in the wherein said graphical user interface agreement;
Described authenticating user identification module is used to authenticate the user identity of the remote terminal that the remote graphics subscriber interface protocol comprises;
Described session management module, the graphical window module that is used for managing the host computer system;
Described graphical window module is used for sending graphical user interface to remote terminal, and the management of the administration module that accepts session;
Described graphical user interface session continues the gang mould piece, is used for the continuous session that connects;
Described graphical user interface session disconnects module, is used for sending message so that disconnect current sessions to session management module;
Module is nullified in described graphical user interface session, is used for sending message so that nullify current sessions to session management module.
Therefore, the present invention can be so that the session of remote terminal graphical user interface passes through to use the authenticating user identification mechanism of operating system, automatically create and the session of management remote terminal graphical user interface, keep compatible with the user management mechanism and the user individual configuration of host operating system, to simplify the user management of remote terminal graphical user interface session;
The present invention also allows remote terminal and host computer system negotiates display capabilities, comprises the resolution and the color depth of demonstration, thereby has solved the problem that the remote terminal display device is restricted, and has increased the kind of the remote terminal of supporting;
In addition, the invention solves the establishment problem of remote terminal graphical user interface session, when the session of remote terminal requests remote terminal graphical user interface, start the graphical window module automatically; But also allow the session of user log off remote terminal graphical user interface, in case the user sends de-registration request, graphical window module and shared CPU and the memory source of application program that the user uses just are released, and have improved efficiency of resource.
The problem of application program and loss of data when the present invention has also solved the network disconnection, even network breaks down, user's remote terminal graphical user interface session also can keep operation, can not lose, the user can reconnect to the session of maintenance from any remote terminal, proceed to have improved the availability of remote graphics user interface significantly alternately.
Description of drawings
Above-mentioned purpose of the present invention and feature thereof will become more obvious by the explanation of with reference to accompanying drawing preferred embodiment being done subsequently, wherein:
Fig. 1 is explanation is used for the system of establishment automatically and the session of management remote terminal graphical user interface according to the present invention a theory diagram;
Fig. 2 is used for the process flow diagram that remote terminal session shows in the key diagram 1;
Fig. 3 is the process flow diagram that is used for the conversational services monitoring in the key diagram 1;
Fig. 4 is the process flow diagram that is used for authenticating user identification in the key diagram 1;
Fig. 5 is used for the process flow diagram that the graphical window module accepts session and manages in the key diagram 1;
Fig. 6 is the process flow diagram that is used for session management in the key diagram 1;
Fig. 7 is used for the continuous process flow diagram that connects of graphical user interface session in the key diagram 1;
Fig. 8 is used for the process flow diagram that the graphical user interface session disconnects in the key diagram 1;
Fig. 9 is used for the process flow diagram that the graphical user interface session is nullified in the key diagram 1;
Figure 10 is the block scheme according to the system that is used for the session management between remote terminal and the host computer system of prior art.
Embodiment
The present invention is directed to (SuSE) Linux OS and the RFB agreement has been done concrete enforcement, describe in detail below in conjunction with accompanying drawing.
Figure 10 is the block scheme according to the system 1000 that is used for the session management between remote terminal and the host computer system of prior art.This system 1000 comprises 1021, one host computer systems 1041 of a remote terminal, and remote terminal 1021 links to each other with host computer system 1041 by LAN (Local Area Network) 1031.This remote terminal comprises a session display module 1011, and this host computer system 1041 comprises 1051, one authenticating user identification modules 1052 of 1050, one graphical window modules of an operating system, and a plurality of X application 1053.
Fig. 1 is explanation is used for the system of establishment automatically and the session of management remote terminal graphical user interface according to the present invention a theory diagram, and this system comprises the remote terminal 101 that is connected with the host computer system by network, and host computer system 102.Wherein, conversational services monitoring module 120 is used to finish with session display module 110 and connects, carrying out version number judges, licence is checked, and after finishing initialization, to the idle session of session management module 150 request, be connected and pass to graphical window module 140 with the network of described session display module 110 foundation, control is given authenticating user identification module 130 then; Described authenticating user identification module 130 identifications are finished the authentication of user identity from the user identity that described conversational services monitoring module transmits; Described session management module 150 according to from the message of each module to session create/distribute/delete, and the state of managing conversation, wherein said session management module 150 utilizes a data block, so that store the session attribute of current all described graphical window modules, this data block comprises demonstration numbering and graphical window module status, process number, session number, graphical window module title, remote terminal IP address, graphical window module end slogan, trip time last time, tie-time last time, width, highly, color depth etc.; Described graphical window module 140 is being received from other module with after the network of session display module 110 is connected, send the user interface of application software to session display module 110, and handle the keyboard and mouse incident that session display module 110 sends over, and the request that sends according to described session management module 150, disconnect and being connected with the network of session display module, perhaps stop operation, wherein, when described graphical window module 140 stops, all X applications that operate on the described graphical window module 140 all can stop conversation end; The continuous gang mould piece 160 of graphical user interface session is used for the disconnection session to described session management module 150 request active users, when the user has the session of a plurality of disconnections, the continuous gang mould piece 160 of graphical user interface session is selected to send request to described session management module 150 according to the user, so that the user switches in the session of selection; The graphical user interface session disconnects module 170 and is used for sending message to session management module 150, so that notify the active user will disconnect session; The graphical user interface session is nullified module 180 and is used for sending message to session management module 150, so that notify the active user will stop session; Described session display module 110 is used for sending request to described conversational services monitoring module 120, authentification of user is passed through in request, and and the graphical window module carry out the negotiation of screen resolution/color depth, after capability negotiation, import to the keyboard and mouse that described graphical window module 140 sends the user, receive the screen updates that described graphical window module 140 is returned.
Fig. 2 is the process flow diagram that session shows that is used in the key diagram 1.In Fig. 2, at first receive user's input in step 201, comprise data such as user name, password, display width, demonstration height, color depth, set up network by step 202 with the conversational services monitoring module 151 among Fig. 1 then and be connected, version number and user input is sent to conversational services monitoring module 151 among Fig. 1 by the RFB agreement; Check in step 203 whether the network connection disconnects, and disconnects if network connects, and then stops operation; Otherwise whether receive reinitialization messages step 204 inspection, if do not receive reinitialization messages, then execution in step 206 uses remote graphics subscriber interface protocol RFB to receive the graphic user interface data from described graphical window module, send keyboard and mouse event, and forward step 203 to; If received reinitialization messages step 204 inspection, then send and reinitialize request in step 205, execution in step 206 then, and forward step 203 to.
Fig. 3 is the process flow diagram that is used for the conversational services monitoring in the key diagram 1.In Fig. 3, at first send version number by the RFB agreement at step 301 identification session display module, if it is consistent with the version number of session display module at step 302 conversational services monitoring module, then execution in step 303 is discerned display properties and the user identity that the session display modules send by the RFB agreement, then in step 304 to the suitable graphical window module of session management module request, receive the graphical window module data that request obtains in step 305, comprise the demonstration numbering of graphical window module and the port numbers that the graphical window module is monitored, transfer the control of network connection in step 306 and give the graphical window module, and start the authenticating user identification module in step 307, and user identity is passed to the authenticating user identification module.If the version number at step 302 conversational services monitoring module and session display module is inconsistent, then stop.
Fig. 4 is the process flow diagram that is used for authenticating user identification in the key diagram 1.In Fig. 4, at first discern the user identity that the conversational services monitoring module transmits in step 401, and the user name and password in the user identity is encrypted, mate to the user ID data storehouse of step 402 and (SuSE) Linux OS then, in step 403, if the match is successful, then execution in step 406 starts the continuous gang mould piece of graphical user interface session, and the match is successful for the continuous gang mould piece of notice graphical user interface session, otherwise execution in step 404 is checked the number of times of coupling and whether is surpassed specified threshold value, if surpassed specified threshold value, then execution in step 406 starts the continuous gang mould piece of graphical user interface session, and the session of notice graphical user interface continues the gang mould piece, and it fails to match; Otherwise execution in step 405 receives user's input, and forwards step 402 to.
Fig. 5 is used for the process flow diagram that the graphical window module accepts session and manages in the key diagram 1.In Fig. 5, at first handle the request of X application in step 501, detect and the disconnection that is connected of remote terminal in step 502 then, if the disconnection that is connected with remote terminal, whether then execution in step 503 is checked has other graphical window modules to transfer the network connection requests, do not transfer the network connection requests if there are other graphical window modules, then forward step 501 to, otherwise execution in step 504, the network that reception is transmitted from other graphical window modules connects, execution in step 517 sends reinitialization messages to the session display module then, and execution in step 505 begins to monitor the message from session management module, do not disconnect if detect with being connected of remote terminal in step 502, then execution in step 505 begins to monitor the message from session management module.Step 506 inspection whether message is arranged subsequently, if do not receive message from session management module, then execution in step 513 detections and remote terminal is connected, if detect the disconnection that is connected with remote terminal in step 514, then execution in step 515 sends " disconnection " message to session management module, and forward step 501 to, do not disconnect if detect with being connected of remote terminal in step 514, then execution in step 516 uses the RFB agreement to send the user interface of graphical user's session to the session display module, receive keyboard and mouse event, and forward step 501 to; If detected message in step 506, then judge in step 507 whether the type of message is " disconnection ", if the type of message is " disconnection ", then execution in step 508, disconnection is connected with the network of remote terminal, and forwards step 501 to; Otherwise whether the type of judging message in step 509 is " cancellation ", if the type of message is " cancellation ", then disconnects in step 510 and is connected with the network of remote terminal and stops; Otherwise whether the type of judging message in step 511 is " switching session ", if the type of message is " switching session ", then transfers control and the termination that is connected with the network of remote terminal in step 512.
Fig. 6 is the process flow diagram that is used for session management in the key diagram 1, in Fig. 6, at first periodically inquire about from the described conversational services monitoring module in the host computer system in step 601, described graphical window module, described graphical user interface session disconnects module, and module is nullified in described graphical user interface session, the message of the continuous gang mould piece of described graphical user interface session, judge to check whether message is arranged,, then forward step 601 in step 602 then if do not receive message; If received message, in described message is during from described conversational services monitoring module, be described data block of graphical window module assignment, graphical window module status field in the setting data piece is a waiting status, for one of described graphical window module assignment shows numbering, and with the described graphical window module of described demonstration numbering startup; And judge in step 603 whether the type of message is " disconnection ", if the type of message is " disconnection ", then execution in step 604 checks whether the source of message is " graphical window module ", if the source of message is the graphical window module, then execution in step 606, the graphical window module status field of setting the data block of this graphical window module is " disconnection ", if the source of message is not the graphical window module, then execution in step 605, to graphical window module transmission types is the message of " disconnection ", execution in step 606 then, and forward step 601 to.If judge that in step 603 type of message is not " disconnection ", then execution in step 607 judges whether the type of message is " ready ", if the type of message is " ready ", then execution in step 608, the graphical window module status field of setting the data block of this graphical window module is " ready ", execution in step 609 then, send " showing numbering " to the conversational services monitoring module, forward step 601 then to; If judge that in step 607 type of message is not " ready ", then execution in step 614 judges whether the type of message is " queued session tabulation ", if the type of message is " queued session tabulation ", then execution in step 610, inquiry disconnects session list according to user name, execution in step 611 then, send " disconnection session list " to the continuous gang mould piece of graphical window session, forward step 601 then to; If judge that in step 614 type of message is not " queued session tabulation ", then execution in step 615 judges whether the type of message is " continuous even session ", if the type of message is " continuous even session ", then execution in step 612, the graphical window module status field of setting the data block of this graphical window module is " ready ", execution in step 613 then, send " switching session " message to the graphical window module, forward step 601 then to; If judge that in step 615 type of message is not " continuous even session ", then execution in step 616 judges whether the type of message is " login failure ", if the type of message is " login failure ", then execution in step 618, delete the data block of this graphical window module, and send " cancellation " message to the graphical window module in step 619, if judge that in step 616 type of message is not " login failure ", then execution in step 617 judges whether the type of message is " cancellation ", if the type of message is " cancellation ", then execution in step 618, delete the data block of this graphical window module, and send " cancellations " message in step 619 to the graphical window module,, then forward step 601 to if be not " cancellation " in the type of the message of step 617 judgement.
Fig. 7 is used for the continuous process flow diagram that connects of graphical user interface session in the key diagram 1, in Fig. 7, at first judge in step 701 whether the matching result from the authenticating user identification module is " success ", if the result of coupling is " failure ", then send login failure message, and stop the continuous gang mould piece of described graphical user's session to session management module.If the result of coupling is " success ", then execution in step 702 sends " queued session list message " to session management module, execution in step 703 then, read " disconnection session list " from session management module, judge in step 704 whether the disconnection session list of receiving is " sky " subsequently, if the disconnection session list of receiving is " sky ", then execution in step 707, read user profile file initialization running environment, and stop, if the disconnection session list of receiving is not " sky ", then execution in step 705 shows the disconnection session list, and receives the user's input that is used to select session, and import execution in step 706 according to the user, send " continuous even session " message to session management module, switch to the session that the user selects, and stop.
Fig. 8 is used for the process flow diagram that the graphical user interface session disconnects in the key diagram 1, in Fig. 8, at first read the demonstration numbering of current sessions in step 801, and execution in step 802 then, send " disconnection current sessions " message to session management module, and stop.
Fig. 9 is used for the process flow diagram that the graphical user interface session is nullified in the key diagram 1, in Fig. 9, at first read the demonstration numbering of current sessions in step 901, and execution in step 902 then, send " cancellation current sessions " message to session management module, and stop.
Preferential realization of the present invention is relevant with the RFB agreement with (SuSE) Linux OS, but the present invention is not limited to (SuSE) Linux OS, also is not limited to the RFB agreement.The technician can carry out the various modifications without prejudice to the spirit and scope of the present invention to this, and for example the technician can recognize that the present invention is not limited to any specific remote graphics subscriber interface protocol and any specific operating system; Also for example, the technician can carry out modification without prejudice to the spirit and scope of the present invention to the remote graphics subscriber interface protocol, for example increases the data of external units such as sound, printing in agreement.Therefore, clearly the present invention can realize that these variations do not break away from spirit of the present invention and essence according to multiple version, and all such modifications all are clearly for those skilled in the art, and will fall in the scope of claims.

Claims (17)

1. automatically create and the method for management remote terminal graphical user interface session for one kind, the remote session that is used for remote terminal and host computer system, described remote terminal and host computer system interconnect by network, wherein said remote terminal comprises a session display module, described computer system comprises a conversational services monitoring module, an authenticating user identification module, a session management module, a graphical window module, the continuous gang mould piece of graphical user interface session, a graphical user interface session disconnects module and a graphical user interface session cancellation module, and described method comprises:
System connects with host computer, and the session step display of long-range display graphics user interface session;
Management comprises display properties message, user identity message, reinitialization messages from the conversational services monitoring step of the remote graphics subscriber interface protocol request of remote terminal in the wherein said graphical user interface agreement;
Authenticate the identification step of the user identity of the remote terminal that described remote graphics subscriber interface protocol comprises;
The session management step of the graphical window module in the management host computer system;
Send graphical user interface to remote terminal, and the graphical window of the management of the administration module that accepts session is enabled step;
The continuous continuous step that connects of session that connects session;
According to the type of the message that receives, carry out one of the following step:
Send message so that disconnect the session break step of current sessions to session management module;
Send message to session management module and nullify step so that nullify the session of current sessions.
2. the method for claim 1 is characterized in that, described session step display comprises:
A) receive user's input;
B) setting up network with described conversational services monitoring module is connected;
C) user's input is sent to described conversational services monitoring module by the remote graphics subscriber interface protocol;
D) judge whether the network connection disconnects;
E) when network connects disconnection, then stop operation;
F) judge whether to receive reinitialization messages;
G) when not receiving described message, execution in step i);
H) when receiving described message, send and reinitialize request, and execution in step i);
I) use the remote graphics subscriber interface protocol to receive the graphic user interface data, send keyboard and mouse event from described graphical window module;
J) forward step d) to.
3. method as claimed in claim 2 is characterized in that the user's input in the described step a) comprises: user identity and display properties.
4. method as claimed in claim 3 is characterized in that described display properties comprises display width, shows height, the Show Color degree of depth.
5. the method for claim 1 is characterized in that, described conversational services monitoring step comprises:
A) version number of the described session display module in the identification remote graphics subscriber interface protocol;
B), then end and being connected of remote terminal in the version number of described version number and described conversational services monitoring module when inconsistent;
C) display properties and the user identity that comprises in the identification remote graphics subscriber interface protocol;
D) according to display properties to described session management module demand graph window module;
E) receive the data of described graphical window module from described session management module;
F) give described graphical window module the control that is connected with remote terminal;
G) start described authenticating user identification module, and user identity is submitted to described authenticating user identification module authenticate.
6. method as claimed in claim 5 is characterized in that the data described in the step e) comprise: the port numbers that the demonstration numbering of graphical window module and graphical window module are monitored.
7. method as claimed in claim 6 is characterized in that step f) carries out according to described port numbers.
8. the method for claim 1 is characterized in that, described authenticating user identification step comprises:
A) the user name and password in the user identity that from described conversational services monitoring module, transmits of identification;
B) the user name and password is encrypted;
C) mate with the user ID data storehouse of host computer system;
D) when the match is successful, then carry out step g);
E) when matching times surpasses predetermined threshold, then carry out step g);
F) receive user's input, and forward step c) to;
G) start the continuous gang mould piece of described graphical user interface session, and matching result is submitted to the continuous gang mould piece of described graphical user interface session.
9. the method for claim 1 is characterized in that, described graphical window is enabled step and comprised:
A) request of processing X application;
B) detect whether be in off-state with being connected of remote terminal;
C) when being in off-state, detecting whether to have and transfer the network connection requests from other graphical window modules with being connected of remote terminal;
D) when not transferring the network connection requests, then forward step a) to from described other graphical window modules;
E) existing when described other graphical window modules are transferred the network connection requests, then receive network and connect, and send reinitialization messages to described session display module by described connection;
F) inquiry is from the message of described session management module;
G) when being in connection status, then inquire about message from described session management module with being connected of remote terminal;
H) when described message is disconnection, then stops being connected, and forward step a) to the network of remote terminal;
I) when described message is cancellation, then stops being connected, and stop described graphical window module with the network of remote terminal;
J) be when switching session, then the control that is connected with remote terminal to be given the described graphical window module of appointment in the message, and stop described graphical window module in described message;
K) when the message of not receiving from described session management module, then detect and being connected of remote terminal;
L) when disconnecting, then send disconnection message, and forward step a) to session management module with being connected of remote terminal;
M) when being in connection status with being connected of remote terminal, then use remote graphics subscriber interface protocol transmission of graphical user interface, receive keyboard and mouse event, and forward step a) to.
10. the method for claim 1 is characterized in that, described method is utilized a data block, so that store the session attribute of current all described graphical window modules.
11. method as claimed in claim 10 is characterized in that, described data block comprises and shows numbering and graphical window module status.
12. method as claimed in claim 11 is characterized in that, described data block also comprises process number, session number, graphical window module title, remote terminal IP address, graphical window module end slogan, trip time last time, tie-time last time, width, highly, color depth.
13., it is characterized in that described session management step comprises as claim 11 or 12 described methods:
A) query messages periodically;
B) when receiving the message of described conversational services monitoring module, it then is described data block of graphical window module assignment, graphical window module status field in the setting data piece is a waiting status, for one of described graphical window module assignment shows numbering, and with the described graphical window module of described demonstration numbering startup;
C) receiving that from the message of described graphical window module the graphical window module status field of then setting described data block is an off-state, and forwards step a) to when disconnecting;
D) be not during in the disconnection message of receiving, then send and disconnect message, and the graphical window module status field of setting in the described data block is off-state, and forward step a) to described graphical window from described graphical window module;
E) in the message of receiving when being ready, the graphical window module status field of then setting described data block is a ready state, and sends the demonstration numbering of described graphical window module to described conversational services monitoring module;
F) when the message of receiving is the queued session tabulation, then inquiry disconnects session list according to the user name in the message, and disconnects session list to the continuous gang mould piece transmission of graphical user interface session;
G) when the message of receiving connects certain session for continuing, then the graphical window mode field according to the described data block of the numbering of the demonstration in message setting is ready, and sends the switching conversation message to described graphical window module;
H) when the message of receiving is login failure, then deletion is the described data block of described graphical window module assignment; And send logout message to described graphical window;
I) when the message of receiving is cancellation, delete described data block into described graphical window module assignment; And send logout message, end session to described graphical window.
14. the method for claim 1 is characterized in that, the continuous step that connects of described graphical user interface session comprises:
A) when receiving from the matching result of described authenticating user identification module, then send login failure message, and stop the continuous gang mould piece of described graphical user's session to described session management module to failure;
B) receiving that matching result from described authenticating user identification module is successfully the time, then sends the queued session list message to described session management module, and reads the disconnection session list;
C) when the disconnection session list is sky, then for the active user reads personal configuration file, initialization running environment, and create session;
D) when the disconnection session list is not sky, show then to disconnect session list that reception is used to select the user of session to import;
E) send continuous even conversation message according to user's input to described session management module, and switch to the session that the user selects;
F) stop the continuous operation that connects conversation module of described graphical user interface.
15. the method for claim 1 is characterized in that, described graphical user interface session break step comprises:
Send disconnection message to described session management module, to disconnect current sessions.
16. the method for claim 1 is characterized in that, described graphical user interface session is nullified step and is comprised:
Send logout message to described session management module, to nullify current sessions.
17. system of creating and manage the session of remote terminal graphical user interface automatically, the remote session that is used for remote terminal and host computer system, this system comprises the remote terminal that is connected with the host computer system by network, and host computer system, wherein said remote terminal comprises a session display module, described host computer system comprises a conversational services monitoring module, an authenticating user identification module, a session management module, a graphical window module, the continuous gang mould piece of graphical user interface session, a graphical user interface session disconnects module and a graphical user interface session cancellation module, wherein
Described session display module is used for connecting with the host computer system, and the session of long-range display graphics user interface;
Described conversational services monitoring module is used to manage the remote graphics subscriber interface protocol request from remote terminal, comprises display properties message, user identity message, reinitialization messages in the wherein said graphical user interface agreement;
Described authenticating user identification module is used to authenticate the user identity of the remote terminal that the remote graphics subscriber interface protocol comprises;
Described session management module, the graphical window module that is used for managing the host computer system;
Described graphical window module is used for sending graphical user interface to remote terminal, and the management of the administration module that accepts session;
Described graphical user interface session continues the gang mould piece, is used for the continuous session that connects;
Described graphical user interface session disconnects module, is used for sending message so that disconnect current sessions to session management module;
Module is nullified in described graphical user interface session, is used for sending message so that nullify current sessions to session management module.
CNB2003101169108A 2003-11-28 2003-11-28 Method and system for automatically creating and managing graphical user interface session of remote terminal Expired - Fee Related CN1304984C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101169108A CN1304984C (en) 2003-11-28 2003-11-28 Method and system for automatically creating and managing graphical user interface session of remote terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101169108A CN1304984C (en) 2003-11-28 2003-11-28 Method and system for automatically creating and managing graphical user interface session of remote terminal

Publications (2)

Publication Number Publication Date
CN1622077A CN1622077A (en) 2005-06-01
CN1304984C true CN1304984C (en) 2007-03-14

Family

ID=34760820

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101169108A Expired - Fee Related CN1304984C (en) 2003-11-28 2003-11-28 Method and system for automatically creating and managing graphical user interface session of remote terminal

Country Status (1)

Country Link
CN (1) CN1304984C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7596701B2 (en) * 2004-07-07 2009-09-29 Oracle International Corporation Online data encryption and decryption
CN109491715B (en) * 2018-11-06 2021-10-22 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN113138806B (en) * 2021-03-25 2023-11-07 车智互联(北京)科技有限公司 Processing method and device for mobile application running environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1162780A (en) * 1996-03-18 1997-10-22 国际商业机器公司 Graphic user interface apparatus and method for computer networking
WO2002029548A2 (en) * 2000-10-03 2002-04-11 Sun Microsystems, Inc. Http transaction monitor with capacity to replay in debugging session
CN1346564A (en) * 1998-04-20 2002-04-24 太阳微系统公司 Method and apparatus for providing virtual desktop system architecture
CN1372664A (en) * 1999-11-24 2002-10-02 肯纳米亚公司 Method and system for continuous interactive communication in an electronic network
US6654784B1 (en) * 2000-01-14 2003-11-25 Nexaweb Technologies, Inc Computing architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1162780A (en) * 1996-03-18 1997-10-22 国际商业机器公司 Graphic user interface apparatus and method for computer networking
CN1346564A (en) * 1998-04-20 2002-04-24 太阳微系统公司 Method and apparatus for providing virtual desktop system architecture
CN1372664A (en) * 1999-11-24 2002-10-02 肯纳米亚公司 Method and system for continuous interactive communication in an electronic network
US6654784B1 (en) * 2000-01-14 2003-11-25 Nexaweb Technologies, Inc Computing architecture
WO2002029548A2 (en) * 2000-10-03 2002-04-11 Sun Microsystems, Inc. Http transaction monitor with capacity to replay in debugging session

Also Published As

Publication number Publication date
CN1622077A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
CN100344102C (en) Presence information sharing method and system
US9483223B2 (en) Image forming apparatus supporting Wi-Fi direct and method of activating Wi-Fi direct
CN1197363C (en) Radio control system and method for projector
CN101035039A (en) USB mapping method
CN1293467C (en) Environment setting device, environment setting programme storage medium, information processing device and environment setting method
CN1993961A (en) Method and device for session control in hybrid telecommunication networks
CN102368231B (en) Method and system for redirecting USB (universal serial bus) devices
CN1672143A (en) System and method for communicating images between intercommunicating users
CN1853436A (en) Handoffs between wireless WAN and wireless LAN
CN1790998A (en) Integrated presence management system, presence server and presence information management program
CN1492656A (en) Method, device and system for sharing applied program conversation information on multichannels
CN1851657A (en) Dual-machine back-up realizing method and system
CN1835441A (en) Communication apparatus and its control method
CN1757218A (en) System and method for publish/subscribe messaging
CN1492637A (en) Meta service selector, meta service selector protocol, network access server and system
JP2010218347A (en) Thin client server system and method of managing driver of usb device
CN1917482A (en) Method for providing information service and push-model service
EP3917109A1 (en) Computer program for first terminal device performing a dpp provisioning of a communication device
CN1662010A (en) Group network system using bluetooth and generating method thereof
CN1722663A (en) A proxy server system and method for realizing proxy communication thereof
JP2008113384A (en) Communication system
CN1841285A (en) Remote monitoring method for network computer
CN1304984C (en) Method and system for automatically creating and managing graphical user interface session of remote terminal
CN1745592A (en) System and method for selection of a communication network by a terminal
CN1183732C (en) Service system in network

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070314

Termination date: 20131128