Application management subsystem and method in the multi-node intelligent network application service system
Technical field
The present invention relates to the network application service field, specially refer to the application management in the multi-node intelligent network application service system.
Background technology
Development and maturation along with the Internet and mobile communication technology, people for the demand of mobile office and amusement in continuous increase, resource on the network is enriched constantly, network has become people and obtained information and carry out mutual main path in work, life, amusement and study, and is very general to the visit and the use of the application service on the remote node.In the present network application service, the application service of visit and use remote service node has following several method:
1) based on the mode (Brower-based computing) of browser, this mode can provide application services such as information service, mail service, but the html language interface of customer end adopted standard, limited the range of application of client, and the gui interface support to complexity is limited, and interaction capabilities is poor.
2) distributed component mode, as modes such as Corba, Enterprise JavaBeans, COM, DCOM, this mode is more suitable for setting up new distributed application program, and when providing traditional desktop figure interactive application to serve, need make amendment and encapsulate corresponding code, just can be used in the network environment.
3) based on the mode (server-based computing) of server, this mode is supported the desktop figure interactive application that remote access is traditional, without any need for modification, all application programs are all in the server end installation and maintenance, and client is provided by the various application programs of simple terminal equipment by providing on the network access server.Existing agreement based on server mode has Citrix ICA, Microsoft RDP, Sun Ray, VNC etc., but in these agreements, application service provides by whole desktop environment, just the whole remote desktop on the remote server will be delivered in face of the user, and the user can only use the application program of being logined that service node provided.From user's use angle, prior art has following deficiency:
A, terminal use's computing environment is confined on the service node, when the user need visit application program on other service nodes, need repeatedly login, manually between different service nodes, switch, can not manage and control simultaneously the application on a plurality of nodes pellucidly, bring a lot of inconvenience to user's operation, user experience is relatively poor;
Behind b, the user login services node, application program in the computing environment that the user uses is limited, can not dynamically increase according to user's demand or reduce, when the user needs new application program, can only stop current sessions, the announcement server manager installs new application program then, after the new application program successful installation, the user logins again, starts this application program, does the various demands that are difficult to satisfy the user like this.
Aspect traditional desktop figure interactive application service, bigger superiority is arranged based on server mode based on the mode and the distributed component mode of browser, can make full use of existing a large amount of software facility, and meet the existing access habits of user.But be based on server mode and also exist above-mentioned deficiency, be unfavorable for the seamless access of the interactive application on a plurality of remote nodes in network service and make full use of.
The multi-node intelligent network application service system mainly provides traditional desktop interactive application service, it is the distributed network system (DNS) that constitutes by terminal equipment and service node, each service node in the system is reciprocity, the user can visit the application program that is distributed on a plurality of service nodes pellucidly, and can dynamically adjust the pool of applications that comprises in the user computing environment.Adopt and existingly realize the application program on the multinode used and visit the requirement that obviously can not satisfy the multi-node intelligent network application service system based on server mode.
Summary of the invention
An object of the present invention is to provide the application management subsystem in a kind of multi-node intelligent network application service system, user computing environment is expanded on a plurality of nodes, and once login can realize the visit to the desktop figure interactive application on the different nodes.
Another object of the present invention provides the application management method in a kind of multi-node intelligent network application service system, and this method has remedied existing deficiency based on server mode, provides more powerful computing environment and favorable user experience to the user.
To achieve these goals, the invention provides the application management subsystem in a kind of multi-node intelligent network application service system, this subsystem comprises each service node that application program is installed in the multi-node intelligent network application service system, the application register list that the application service information of record multi-node intelligent network application service system is arranged on the service node, also have the application issue configuration file of minute book ground node application service configuration information on the service node, on each service node, also comprise:
Use release module, be used to read the application issue configuration file of local node, the application service message of other service node issue local nodes in system;
Use Registering modules, be used to receive application service message, upgrade the application register list on the service node of place from other service nodes;
The application controls module is used to realize the visit and the control of application programs, and this module is divided into three unit according to function, comprising:
The management of process unit is used to realize the establishment of user conversation process, window management process and user conversation agent process and cancel;
The application program update unit is used to read the application register list of node, according to the application menu on the content update graphical user interactive interface of using register list;
The application program control unit is used to control and is distributed in the implementation that belongs to the application program of a user conversation process on a plurality of nodes.
In the technique scheme, described application service message comprises the unique identification of application program on node, address of node information, the title of application program, the access parameter of application program and the path of using the executable file place.
A kind of application management method that is applicable to the multi-node intelligent network application service system, this method comprises:
1) uses issuing steps: read the application issue configuration file of service node, periodically issue application service message to other nodes of system;
2) use registration step: intercept and receive application service message, application service information is registered to the application register list that this node is safeguarded from other nodes of system;
3) user's login step: the user login services node, on service node, create corresponding user conversation process and window management process, be user's distribution-virtual desktop;
4) application program update step:, upgrade the application menu on the virtual desktop according to the application register list that local node is safeguarded;
5) user launches application step: the user starts application program by menu, and the user conversation process reads the application access control information, and realization is connected with application program place node, and sends application controls message to application program place node;
6) user conversation agent process foundation step: application program place node judges according to application controls message whether local node has session proxy, if do not have, creates the user conversation agent process, and node is given the user conversation agent process with the application controls forwards;
7) the user conversation agent process starts the application program step: the user conversation agent process starts the application controls message institute application requested that receives, and application window is sent on the virtual desktop that distributes into the user;
8) user's end session step: user's end session, user conversation place node sends application controls message other nodes in the system, other nodes stop the execution of the local application relevant with this user conversation, cancel the user conversation agent process on the node simultaneously
In the technique scheme, described user conversation process is unique to the user, is used for the application program from a plurality of nodes in the leading subscriber computing environment.
In the technique scheme, described window management process is distributed a virtual desktop for the user, and the user visits application program on the multinode by virtual desktop.
In the technique scheme, comprised the node identification and the address of application program place node in the described application access control information.
In the technique scheme, described application controls message comprises user session information, application information and control information; User session information comprises sign, the user ID of user conversation process place node, the sign of user conversation process; Application information comprises application program identification and application name; Control information comprises the operation information to institute's application requested.
In the technique scheme, in the described application issuing steps, periodically read service node and use the issue configuration file, use the issue configuration file using to read after the issue configuration file changes, maybe will use and read after the issue configuration file changes and periodicity reads and combines.
The invention has the advantages that:
1, the present invention has adopted based on the ways of services supplied of using, user's computing environment is expanded on a plurality of service nodes, the user only needs once to login the visit that just can realize a plurality of nodes, and enable seamless access and use be distributed in the conventional desktop graphic interaction application service of carrying out on a plurality of nodes, provides more powerful computing environment and favorable user experience to the user.
2, the application service that comprises in the user computing environment can dynamically be adjusted, and has both improved the utilization ratio of the application service resource of sharing in the network, can satisfy the demand of user individual again.
Description of drawings
Fig. 1 is the structure chart of the application management subsystem of intelligent network application service system of the present invention;
Fig. 2 is the workflow diagram of the application management subsystem of intelligent network application service system of the present invention.
Embodiment
The present invention will be further described below in conjunction with the drawings and specific embodiments.
Application management subsystem in the multi-node intelligent network application service system of the present invention is used for realizing the management to the application program of multi-node intelligent network application service system, as shown in Figure 1, this subsystem comprises each service node in the multi-node intelligent network, the application issue configuration file of minute book ground node application service configuration information and the application register list of the application service information of record multi-node intelligent network application service system are arranged on the service node, on each service node, also comprise:
Use release module, be used to read the application issue configuration file of local node, to the application service message of other service node issue place nodes;
Use Registering modules, be used to receive application service message, upgrade the application register list of place service node from other service nodes;
The application controls module is used to realize the visit and the control of application programs, and this module can further be divided into a plurality of unit, comprising: management of process unit, application program update unit, application program control unit.The management of process unit be used to realize to the establishment of user conversation process, window management process and user conversation agent process with cancel; The application program update unit is used to read the application register list of node, regularly upgrades the application menu on the graphical user interactive interface; The application process control unit is used to control and is distributed in the implementation that belongs to the application program of a user conversation process on a plurality of nodes.
In the application management subsystem, as shown in Figure 2, the workflow of above-mentioned module is as follows:
Use issuing steps: the purpose of using issuing steps is that information such as the title, kind, memory location of application program that each service node is comprised is informed other nodes by network.Service node itself comprises one and uses the issue configuration file, and this document has been put down in writing the configuration information of the application service that local node comprised.Each service node on the multi-node intelligent network has different application programs, so the application of each service node issue configuration file also has nothing in common with each other.The implementation procedure of using issue is: the issue configuration file changes or mutually at regular intervals, the application release module in the service node reads the application issue configuration file of this node when using, and other node issue application service message in network.Comprise the unique identification of application program on node in the application service message, address of node information, the title of application program, the access parameter of application program and the path of using the executable file place.
Use registration step: the application service message from other nodes is intercepted and received to the application Registering modules in the service node, and the application information of the node that comprises in the application service message is registered to the application register list that this node is safeguarded.
User's login step: the user is by terminal login service node, and user conversation process and window management process are created for the user in the management of process unit in the application controls module.The user conversation process is unique to each user, is used for the application program from a plurality of nodes in the leading subscriber session-context; The window management process provides interactive graphics (IG) interface service to user terminal, and for the user distributes a virtual desktop, the user visits application program on the multinode by virtual desktop.
Application program is step of updating regularly: the application program update unit in the application controls module regularly reads the content in the application register list of this node, according to the application menu on the content update virtual desktop in the tabulation.
The user launches application step: the user starts remote application by the desktop menu in session, the user conversation process reads the application access control information of using the corresponding program in the register list, the node identification and the address that have comprised application program place node in the application access control messages, utilize the node at application access control information and application program place to connect, send the application program control unit of application controls message in the application controls module of application program place node then.Wherein, application controls message comprises user session information, application information and control information.User session information comprises sign, the user ID of user conversation process place node, the sign of user conversation process.Application information comprises application program identification and application name.Control information comprises the operation information to institute's application requested, as starting or closing etc.
User conversation agent process foundation step: the application program control unit in the application controls module on the service node of application program place is according to the user session information in the application controls message, judge whether this node has had this user's session proxy process, if no, then the calling process administrative unit is created this user conversation agent process; After including the user conversation agent process in the service node, the application program control unit is given the user conversation agent process with the application controls forwards.
The user conversation agent process starts the application program step: the user conversation agent process starts the application controls message institute application requested that receives, and application window is sent on the graphical interfaces of user conversation process place node.
User's end session step: when user's end session, application program control unit in the application controls module on the node of user conversation place sends the application controls module of application controls message to other nodes, by the execution of the termination of the application program control unit on other nodes local application relevant with this user conversation, and the calling process administrative unit is cancelled the user conversation agent process on the node.
In above-mentioned workflow, the application management subsystem has been realized the graphic interaction application program in long-range a plurality of service nodes transparent used and visit, when the application program that will visit on the node that the user logined, the visit of application programs is simple relatively, can realize in the prior art, no longer describe in detail at this.
Application management subsystem of the present invention has overcome the existing in prior technology defective effectively at the service of the conventional desktop interactive application on a plurality of service nodes of remote access.
In prior art, the user once can only login a service node, can not visit the defective of the application program on the different nodes simultaneously, and application controls module of the present invention and user conversation process are worked in coordination, and can realize the visit of using on the different nodes.
When the user on the node login after, on this node, create this user's session process, the user conversation process is corresponding one by one with the user, when the user will start application program on other nodes, the user conversation process only need read the application access control information of using the corresponding program in the register list, utilize the node at application access control information and application program place to connect, send the application controls module of application controls message then to application program place node.The user conversation agent process is created according to the user session information in the application controls message in management of process unit in the application controls module on the service node of application program place, starts corresponding application by the user conversation agent process.When the user started application program on other nodes, implementation procedure was roughly the same, and is irrelevant on which node with want application program started.
For another defective of prior art, behind the user login services node, in user's computing environment, can not increase or reduce application program.Application management subsystem of the present invention cooperatively interacts by application controls, issue and Registering modules, has solved above-mentioned defective.
Certain node in the intelligent network application service system is by revising the application issue configuration file of this node, increase or reduce the application program that this node is issued, the application release module of this node periodically reads uses the issue configuration file, other node issue application service message in system, after the application Registering modules of other nodes receives application service message in the system, upgrade local application register list, the application controls module regularly reads the content in the application register list of this node, according to the application menu on the content update virtual desktop in the tabulation, thereby the variation of application service in the system is embodied to the user, can dynamically adjust the application program that comprises in the user computing environment in this way and need not to interrupt present user conversation, remedy existing deficiency based on server mode.