CN101222371A - Client Component Operations Management System - Google Patents
Client Component Operations Management System Download PDFInfo
- Publication number
- CN101222371A CN101222371A CNA2008100139659A CN200810013965A CN101222371A CN 101222371 A CN101222371 A CN 101222371A CN A2008100139659 A CNA2008100139659 A CN A2008100139659A CN 200810013965 A CN200810013965 A CN 200810013965A CN 101222371 A CN101222371 A CN 101222371A
- Authority
- CN
- China
- Prior art keywords
- component
- assembly
- client
- module
- management system
- 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
- 238000012795 verification Methods 0.000 claims abstract description 13
- 230000000977 initiatory effect Effects 0.000 claims 2
- 238000000034 method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
本发明公开了一种客户端组件运行管理系统,可以解决现有客户端webstart环境中存在的组件界面表现力差、不能对加载的组件进行安全校验的问题。本发明以.net为基础平台构造windows平台下的客户端组件运行环境,形成客户端组件运行管理系统,所述客户端内置有组件获取模块、组件加载模块、组件验证模块和组件管理模块。本发明一方面支持客户端从互联网或者本地动态的按需加载指定组件;另一方面,加载的组件根据客户端运行环境传来的初始化参数初始化自身,减少了网络、磁盘的访问次数,优化了组件性能;再一方面,通过将用户信息传递给组件执行安全校验,使用户只访问自己能够访问的业务组件,有效避免了信息的泄露。
The invention discloses a client component operation management system, which can solve the problems of poor component interface expression and inability to perform security check on loaded components existing in the existing client webstart environment. The invention uses .net as the basic platform to construct a client component operating environment under the windows platform to form a client component operation management system. The client is built with a component acquisition module, a component loading module, a component verification module and a component management module. On the one hand, the present invention supports the client to dynamically load specified components on demand from the Internet or locally; Component performance; on the other hand, by passing user information to components to perform security verification, users can only access business components that they can access, effectively avoiding information leakage.
Description
技术领域technical field
本发明涉及一种客户端系统,,具体地说,是涉及一种客户端组件运行管理系统,属于计算机应用技术领域。The invention relates to a client system, in particular to a client component operation management system, which belongs to the technical field of computer applications.
背景技术Background technique
目前的网络应用一般都采用客户端/服务器端模式的分布式计算机体系结构。多个客户端可以从同一个服务器端加载组件,然后在客户端的运行环境下运行加载的组件,满足客户的需求。组件通常是指业务组件,如微软的COM组件、SUN的EJB组件,不同的组件体系依赖不同的组件运行环境。随着计算机的发展及客户需求的提高,现有的组件运行环境逐渐呈现出其自身的弊端,例如,运行于Java的webstart环境上的组件的界面亲和力、可操作性及性能和windows系统原生程序有很大的距离;另一方面,webstart环境对加载的组件没有进行安全校验,不能得知用户是否能够加载该组件,用户可任意访问业务组件,存在信息泄露的隐患;再一方面,webstart环境不能对加载运行的组件进行初始化,组件运行所需要的数据完全由组件自身从其他系统中获得,无形中增加了网络和磁盘的访问次数。Current network applications generally adopt the distributed computer architecture of client/server mode. Multiple clients can load components from the same server, and then run the loaded components in the client's operating environment to meet customer needs. Components usually refer to business components, such as Microsoft's COM components and SUN's EJB components. Different component systems depend on different component operating environments. With the development of computers and the improvement of customer needs, the existing component operating environment gradually presents its own disadvantages, for example, the interface affinity, operability and performance of the components running on the Java webstart environment and the native programs of the windows system There is a large distance; on the other hand, the webstart environment does not perform security checks on the loaded components, and it is impossible to know whether the user can load the component, and the user can access the business components at will, which has hidden dangers of information leakage; The environment cannot initialize the loaded and running components, and the data required by the components to run is completely obtained by the components themselves from other systems, which virtually increases the number of network and disk accesses.
.net是微软推出的开发平台,该平台支持多种语言。.net平台的winform是基于windows本地程序的界面,有众多的界面组件支持,界面美观性和用户可操作性相对非本地程序的swing框架来说有很大的优势。.net is a development platform launched by Microsoft, which supports multiple languages. The winform of the .net platform is based on the interface of the windows local program, supported by many interface components, the interface aesthetics and user operability have great advantages compared with the swing framework of the non-local program.
发明内容Contents of the invention
本发明为解决现有技术中存在的webstart环境上的组件的界面亲和力差、对加载的组件没有进行安全校验的问题,以.net为基础构造windows平台下的客户端组件运行管理系统,提供组件热插拔、动态部署的运行管理系统。The present invention solves the problem of poor interface affinity of components on the webstart environment existing in the prior art and no safety verification of loaded components, and constructs a client component operation management system under the windows platform based on .net, providing Component hot-swappable, dynamic deployment operation management system.
为解决上述技术问题,本发明采用以下技术方案予以实现:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions to achieve:
包括客户端和服务器端,客户端从服务器端加载组件并在客户端相应的运行环境中运行组件,其特征在于,所述客户端内置有下述模块:It includes a client and a server. The client loads components from the server and runs the components in the corresponding operating environment of the client. It is characterized in that the client has the following built-in modules:
A1、组件获取模块:获取服务器端传来的配置文件,所述配置文件包含有组件的属性参数;A1, component acquisition module: acquire the configuration file transmitted from the server, the configuration file contains the attribute parameters of the component;
A2、组件加载模块:加载客户端需要的组件;A2. Component loading module: load the components required by the client;
A3、组件验证模块:对客户端用户的身份和权限进行校验;A3. Component verification module: verify the identity and authority of the client user;
A4、组件管理模块:管理组件的加载和运行过程。A4. Component management module: manage the loading and running process of components.
在本发明的技术方案中,还具有以下技术特征:所述属性参数包括服务器地址、组件名称和组件主引导程序名,组件获取模块根据这些参数获取要加载的模块信息,并将模块存入到运行环境程序所在的目录。In the technical solution of the present invention, it also has the following technical features: the attribute parameters include server address, component name and component main boot program name, and the component acquisition module obtains the module information to be loaded according to these parameters, and stores the module in The directory where the running environment program is located.
在本发明的技术方案中,还具有以下技术特征:所述组件加载模块根据服务器端传来的组件名称和组件主引导程序名,访问运行环境所在的目录,寻找和组件名称对应的组件,加载该组件中和主引导程序名相同的代码段;组件加载模块加载组件后,将获得的初始化参数传给所述组件,所述组件根据传入的参数进行初始化;所述初始化参数包括运行环境自身的参数,用户录入的参数,以及配置文件中指定的参数。In the technical solution of the present invention, it also has the following technical features: the component loading module accesses the directory where the operating environment is located according to the component name and the component main boot program name transmitted from the server, searches for the component corresponding to the component name, and loads The code segment with the same name as the main boot program in this component; after the component loading module loads the component, the obtained initialization parameter is passed to the component, and the component is initialized according to the incoming parameter; the initialization parameter includes the operating environment itself parameters, parameters entered by the user, and parameters specified in the configuration file.
在本发明的技术方案中,还具有以下技术特征:所述组件验证模块将用户身份和权限信息传递给初始化成功的组件,所述组件根据用户信息校验用户是否能够访问该组件。In the technical solution of the present invention, it also has the following technical features: the component verification module transmits the user identity and authority information to the successfully initialized component, and the component checks whether the user can access the component according to the user information.
在本发明的技术方案中,还具有以下技术特征:所述组件管理模块将验证后的组件显示在计算机屏幕上,并在组件关闭后将组件清除。In the technical solution of the present invention, it also has the following technical features: the component management module displays the verified component on the computer screen, and clears the component after the component is closed.
在本发明的技术方案中,还具有以下技术特征:所述服务器地址包括本地文件路径和网络文件路径。In the technical solution of the present invention, it also has the following technical features: the server address includes a local file path and a network file path.
在本发明的技术方案中,还具有以下技术特征:所述组件在运行环境中运行的形式包括非模式运行和模式运行。In the technical solution of the present invention, it also has the following technical features: the running forms of the components in the running environment include non-mode running and mode running.
在本发明的技术方案中,还具有以下技术特征:所述客户端组件运行环境基于.net平台。In the technical solution of the present invention, it also has the following technical features: the running environment of the client component is based on the .net platform.
与现有技术相比,本发明的优点和积极效果如下:本发明以.net构架客户端组件运行环境RCMR(Rich Client Module Runtime),形成客户端组件运行管理系统,本系统支持windows 2000以上的windows系统和.net 2.0以上的环境,支持指定组件从互联网或者本地动态的按需加载;另一方面,加载组件后,组件根据客户端运行环境自身的参数、用户录入的参数以及配置文件中指定的参数来初始化自身,减少了网络、磁盘的访问次数,优化了组件性能;再一方面,将操作RCMR的用户信息传递给组件执行安全校验,使用户只访问自己能够访问的业务组件,有效避免了信息的泄露。Compared with the prior art, the advantages and positive effects of the present invention are as follows: the present invention forms the client component operation management system with the . The windows system and the environment above .net 2.0 support the dynamic on-demand loading of specified components from the Internet or locally; on the other hand, after loading the components, the components are specified according to the parameters of the client's operating environment, the parameters entered by the user, and the configuration file. parameters to initialize itself, reducing the number of accesses to the network and disk, and optimizing component performance; on the other hand, the user information for operating RCMR is passed to the component to perform security verification, so that users can only access the business components that they can access, effectively Information leakage is avoided.
附图说明Description of drawings
图1为客户端组件运行管理系统中客户端加载运行组件的流程框图。FIG. 1 is a flow chart of loading and running components by a client in the client component operation management system.
具体实施方式Detailed ways
下面结合附图对本发明作进一步详细的说明。The present invention will be described in further detail below in conjunction with the accompanying drawings.
首先介绍一下本发明的基本原理:客户端内置四个主要的模块,各模块的名称、功能及工作过程详述如下:First introduce the basic principle of the present invention: the client has four main modules built in, and the name, function and working process of each module are described in detail as follows:
A1、组件获取模块A1. Component acquisition module
该模块根据传入的配置文件中的服务器地址属性参数获取对应的文件。服务器地址包括两种形式的文件路径,本地文件路径如“D:/fileName”和网络文件路径如“http://192.168.0.1:8082/fileName”,其中,网络文件路径是基于HTTP协议的。配置文件中还包含有组件名称和组件主引导程序名等属性参数,组件获取模块根据这些参数获取要加载的模块信息,并将模块存入到运行环境程序所在的目录。This module obtains the corresponding file according to the server address attribute parameter in the incoming configuration file. The server address includes two forms of file paths, the local file path such as "D:/fileName" and the network file path such as "http://192.168.0.1:8082/fileName", wherein the network file path is based on the HTTP protocol. The configuration file also includes attribute parameters such as component name and component main boot program name, and the component obtaining module obtains the module information to be loaded according to these parameters, and stores the module into the directory where the operating environment program is located.
A2、组件加载模块:组件加载模块按以下步骤加载组件:A2. Component loading module: The component loading module loads components according to the following steps:
1、将从组件获取模块中获得的二进制代码文件存入到运行环境程序所在的目录中。1. Store the binary code file obtained from the component acquisition module into the directory where the running environment program is located.
2、将需要加载的组件名称,组件主引导程序传入组件加载模块中,组件加载模块根据传入的组件名称,组件主引导程序名,从本目录中寻找和组件名称对应的组件,加载该组件中和主引导程序名相同的代码段,此处是调用.net框架的系统功能。2. Pass the name of the component to be loaded and the main bootloader of the component into the component loading module. The component loading module searches for the component corresponding to the component name from this directory according to the name of the incoming component and the main bootloader of the component, and loads the component. The code segment with the same name as the main boot program in the component, here is to call the system function of the .net framework.
3、运行环境获取加载的组件,并将获得的参数传给该组件,初始化该组件。这些参数包括运行环境自身的参数、用户录入的参数以及配置文件中指定的参数等。3. The running environment obtains the loaded component, and passes the obtained parameters to the component to initialize the component. These parameters include the parameters of the running environment itself, the parameters entered by the user, and the parameters specified in the configuration file.
组件加载模块可以根据从组件获取模块中获得的组件文件加载组件,该模块调用.net的动态加载功能。所有可以被加载的模块都需要是一个.net的标准组件,且该组件必须实现动态加载组件接口,所述接口包括初始化组件、安全校验、以模式对话框显示组件、关闭组件等功能函数,运行环境通过该接口传入XML格式的参数。The component loading module can load the component according to the component file obtained from the component obtaining module, and the module calls the dynamic loading function of .net. All modules that can be loaded need to be a .net standard component, and the component must implement the dynamic loading component interface, which includes functions such as initializing the component, security verification, displaying the component in a modal dialog box, closing the component, etc. The runtime environment passes in parameters in XML format through this interface.
A3、组件验证模块A3. Component Verification Module
组件初始化完成后,组件验证模块将用户身份和权限信息传递给初始化成功的组件,该组件根据用户信息校验用户是否能够访问该组件。如果用户不能使用该组件,则组件抛出异常,运行环境将卸载该模块。After the component initialization is completed, the component verification module passes the user identity and authority information to the successfully initialized component, and the component verifies whether the user can access the component according to the user information. If the user cannot use the component, the component throws an exception, and the runtime environment will unload the module.
A4、组件管理模块A4, component management module
组件加载验证完毕后,组件管理模块调用相关函数,将组件显示在计算机屏幕上。After the components are loaded and verified, the component management module calls related functions to display the components on the computer screen.
组件关闭后,组件管理模块调用相关函数清除组件自身维护的资源,然后清除组件。After the component is closed, the component management module calls related functions to clear the resources maintained by the component itself, and then clears the component.
图1所示为基于.net的客户端加载运行组件的流程框图,具体执行过程如下:Figure 1 shows the flow chart of the .net-based client loading and running components. The specific execution process is as follows:
S01:RCMR获得要加载的程序组件信息,此信息通过用户申请由应用系统自动生成。S01: The RCMR obtains the information of the program components to be loaded, and the information is automatically generated by the application system through the application of the user.
S02:访问互联网或者本地,获得要加载的组件。本步骤通过组件获取模块获得加载组件,组件获取模块可以访问本地文件路径或网络文件路径。S02: Access the Internet or locally to obtain the components to be loaded. In this step, the loading component is obtained through the component acquisition module, and the component acquisition module can access the local file path or the network file path.
S03:RCMR加载程序组件,调用组件的初始化函数。RCMR将环境自身和用户录入的参数,或者从服务器端传来的配置文件中指定的参数信息传入到组件中,这些参数必须是XML格式的参数。S03: RCMR loads the program component, and calls the initialization function of the component. RCMR passes the environment itself and the parameters entered by the user, or the parameter information specified in the configuration file transmitted from the server to the component. These parameters must be parameters in XML format.
S04:程序组件根据传入的初始化参数,初始化自身。S04: The program component initializes itself according to the input initialization parameters.
S05:RCMR调用组件的check函数传入用户信息执行权限校验,用户信息包括用户编码、用户角色及用户权限等。S05: RCMR invokes the check function of the component to pass in user information to perform authority verification. User information includes user code, user role, and user authority.
S06:程序组件根据传入的用户信息校验该用户是否能够访问该组件,如果用户不能访问该组件,则抛出异常,运行环境将卸载该组件;如果能访问,组件管理模块调用系统函数,将组件显示在计算机屏幕上,并进行步骤S07。S06: The program component checks whether the user can access the component according to the incoming user information. If the user cannot access the component, an exception will be thrown, and the operating environment will uninstall the component; if it can be accessed, the component management module calls the system function, Display the components on the computer screen, and proceed to step S07.
S07:RCMR运行用户组件,RCMR支持非模式运行和模式运行两种运行模式。在模式窗口下,该窗口的父窗口不能编辑,非模式窗口下该窗口的父窗口还可以进行编辑。S07: The RCMR runs the user component, and the RCMR supports two running modes: non-mode running and mode running. In a modal window, the parent window of the window cannot be edited, and in a non-modal window, the parent window of the window can also be edited.
S08:用户操作组件,处理信息;处理完毕关闭组件。S08: The user operates the component, processes the information; closes the component after processing.
S09:RCMR清理组件数据,组件关闭后,组件管理模块将组件清除。S09: RCMR cleans up component data, and after the component is closed, the component management module clears the component.
以上所述,仅是本发明的较佳实施例而已,并非是对本发明作其它形式的限制,任何熟悉本专业的技术人员可能利用上述揭示的技术内容加以变更或改型为等同变化的等效实施例。但是凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与改型,仍属于本发明技术方案的保护范围。The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention to other forms. Any skilled person who is familiar with this profession may use the technical content disclosed above to change or modify the equivalent of equivalent changes. Example. However, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still belong to the protection scope of the technical solution of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100139659A CN101222371B (en) | 2008-01-24 | 2008-01-24 | Client terminal component operation management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100139659A CN101222371B (en) | 2008-01-24 | 2008-01-24 | Client terminal component operation management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101222371A true CN101222371A (en) | 2008-07-16 |
CN101222371B CN101222371B (en) | 2012-08-22 |
Family
ID=39631962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100139659A Expired - Fee Related CN101222371B (en) | 2008-01-24 | 2008-01-24 | Client terminal component operation management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101222371B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004640A (en) * | 2010-11-11 | 2011-04-06 | 深圳市文鼎创数据科技有限公司 | Method and device for rapidly providing customized software package |
CN102226888A (en) * | 2011-05-23 | 2011-10-26 | 成都市华为赛门铁克科技有限公司 | Framework loading method and device |
CN102999352A (en) * | 2012-11-15 | 2013-03-27 | 中国科学院声学研究所 | Embedded system assembly loading method |
CN103095490A (en) * | 2011-12-16 | 2013-05-08 | 微软公司 | Discovery and mining of performance information of a device for anticipatorily sending updates to the device |
CN108600309A (en) * | 2018-03-21 | 2018-09-28 | 浙江佳乐科仪股份有限公司 | A kind of PLC device operational system based on DTU transparent transmissions |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003527704A (en) * | 1999-12-24 | 2003-09-16 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Apparatus and method for displaying scene |
GB0225097D0 (en) * | 2002-10-29 | 2002-12-11 | Koninkl Philips Electronics Nv | Creating software applications |
CN1954627B (en) * | 2004-05-18 | 2010-10-13 | 京瓷无线公司 | Modular data components for wireless communication devices |
CN1848760A (en) * | 2005-08-30 | 2006-10-18 | 华为技术有限公司 | Software assembly parameter configuration method, and system and terminal equipment thereof |
-
2008
- 2008-01-24 CN CN2008100139659A patent/CN101222371B/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004640A (en) * | 2010-11-11 | 2011-04-06 | 深圳市文鼎创数据科技有限公司 | Method and device for rapidly providing customized software package |
CN102004640B (en) * | 2010-11-11 | 2013-05-08 | 深圳市文鼎创数据科技有限公司 | Method and device for rapidly providing customized software package |
CN102226888A (en) * | 2011-05-23 | 2011-10-26 | 成都市华为赛门铁克科技有限公司 | Framework loading method and device |
CN102226888B (en) * | 2011-05-23 | 2014-10-08 | 华为数字技术(成都)有限公司 | Framework loading method and device |
CN103095490A (en) * | 2011-12-16 | 2013-05-08 | 微软公司 | Discovery and mining of performance information of a device for anticipatorily sending updates to the device |
CN103095490B (en) * | 2011-12-16 | 2016-06-22 | 微软技术许可有限责任公司 | Find and the performance information of excavating equipment is used for sending updates to equipment in advance |
US9531588B2 (en) | 2011-12-16 | 2016-12-27 | Microsoft Technology Licensing, Llc | Discovery and mining of performance information of a device for anticipatorily sending updates to the device |
US10979290B2 (en) | 2011-12-16 | 2021-04-13 | Microsoft Technology Licensing, Llc | Discovery and mining of performance information of a device for anticipatorily sending updates to the device |
CN102999352A (en) * | 2012-11-15 | 2013-03-27 | 中国科学院声学研究所 | Embedded system assembly loading method |
CN108600309A (en) * | 2018-03-21 | 2018-09-28 | 浙江佳乐科仪股份有限公司 | A kind of PLC device operational system based on DTU transparent transmissions |
Also Published As
Publication number | Publication date |
---|---|
CN101222371B (en) | 2012-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9332063B2 (en) | Versatile application configuration for deployable computing environments | |
US9152446B2 (en) | System and method for on-demand cloning of virtual machines | |
CN110187910B (en) | Thermal updating method, device, equipment and computer readable storage medium | |
US8412797B2 (en) | Platform for development and deployment of system administration solutions | |
US20100306773A1 (en) | Instant on Platform | |
US8683459B2 (en) | Automated virtual appliance sizing | |
US6108779A (en) | Server and computer network that permit a client to be easily introduced into the computer network | |
US9436482B2 (en) | Input content to application via web browser | |
CN110908753B (en) | Intelligent fusion cloud desktop server, client and system | |
US20090013165A1 (en) | Portable usb device that boots a computer as a server | |
US9898270B2 (en) | Multi-environment configuration of data integration projects | |
CA2298003A1 (en) | Scripting task-level user interfaces | |
US20080005732A1 (en) | Method and System for Integrating Software Update Services with Software Applications | |
CN101222371A (en) | Client Component Operations Management System | |
US7765254B2 (en) | Integration of legacy applications | |
US7930378B2 (en) | Method to support XML-based consoles in pre-boot and post operating system execution environments | |
US20030055936A1 (en) | Dynamic attributes for distributed test framework | |
EP2558930B1 (en) | Platform independent presentation composition | |
Pavlov et al. | Windows embedded CE 6.0 fundamentals | |
US9912553B1 (en) | Method for provisioning domain model of applications resources using semantic analysis of links | |
US9804872B1 (en) | Method for emulation of a virtual OS bookmark on a host desktop | |
Khare | Apache Tomcat 7 Essentials | |
US20160313990A1 (en) | Extensibility bundles for a cloud and devices suite | |
Cisco | Cisco IP Manager 2.0(40) Release Notes | |
Revett et al. | Network computing: a tutorial review |
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: 20120822 Termination date: 20140124 |