CN102882878B - Web-based method and Web-based system for data analysis and personalized display on client-side - Google Patents
Web-based method and Web-based system for data analysis and personalized display on client-side Download PDFInfo
- Publication number
- CN102882878B CN102882878B CN201210377855.7A CN201210377855A CN102882878B CN 102882878 B CN102882878 B CN 102882878B CN 201210377855 A CN201210377855 A CN 201210377855A CN 102882878 B CN102882878 B CN 102882878B
- Authority
- CN
- China
- Prior art keywords
- client
- page
- module
- application server
- web
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the field of computer technology and rapid software development, in particular to a Web-based method and a Web-based system for data analysis and personalized display on a client-side. The Web-based method includes reading configuration file information to generate a client-side window; creating a main window and an empty IE (Internet Explorer) browser; reading an URL (uniform resource locator) address to access an application server via the IE browser; reading page information from the application server; converting a JSP (Java server page) into a Web page via a release module after the JSP is generated; and displaying the Web page on the main window. The Web-based method and the Web-based system have the advantages that the advantages of a B/S (browser/server) architecture mode and the advantages of a C/S (client/server) architecture mode are combined, only deployment update on the server is required, but installation update is omitted; actual requirements of clients are truly met, and requirements on personalized display can be met by simple configuration; and bottom-layer codes are completely open and transparent, so that the problem of technical shielding when commercial software is used is prevented.
Description
Technical field
The present invention relates to computer technology, fast software development field, the method and system that the data analysis client personalisation particularly relating to sing on web represents.
Background technology
Data collection analysis system main contents generally comprise the client-side program that is arranged on Windows operating system, have increasing in a large number, delete, change, look into some business information administration modules of basic function, and function of statistic analysis module.Conventional data collection analysis system generally adopts C/S framework or B/S framework, has self exclusive characteristic respectively.
Traditional general mode adopting C/S framework of FTP client FTP exploitation, namely known client-server structure, its client comprises one or more program run on the computer of user.Although what traditional C/S architecture adopted is open mode, this is the opening of system development one-level, is that Client end or Server end all also need specific software support in specific applications.Due to the open environment that user could not be provided really to expect, the software of C/S structure needs the software for different operating system system development different editions, in addition the update of product is very fast, is difficult to the requirement that a large amount of dissimilar user of adaptation uses simultaneously.
The full name of B/S framework is Browser/Server, i.e. browser/server structure.Browser refers to Web browser, and only a few the affair logic realizes in front end, but major affairs logic realizes at server end, Browser client, and WebApp server end and DB end form so-called three-tier architecture.The system of B/S framework need not be installed especially, only has Web browser.The application system advantage of B/S framework is that deployment and upgrade maintenance are convenient and swift, only needs the system of update server end just passable.Shortcoming is the browser that will depend on client computer, need user manual input system address ability access system, friendly prompting cannot be carried out for cannot use the various situations of system due to network reason, using some users of client-side program especially to lead user for get used to, using inconvenient on the contrary.
Summary of the invention
The present invention overcomes above-mentioned weak point, a kind of method that object is to provide data analysis client personalisation of sing on web to represent, can efficiently, security access data storehouse, represented by the personalization that simply configuration realizes the page and the friendly prompting carried out during system cannot be used because of network reason.
Another object of the present invention is to provide the system that a kind of data analysis client personalisation of sing on web represents, can access application server safely and fast, realize the friendly visit of client.
The present invention achieves the above object by the following technical programs: the method that the data analysis client personalisation of sing on web represents, and comprises the following steps:
1) download and install client-side program and digital certificate, and set profile information in configuration file;
2) running client program, is sent to parsing module by profile information after configuration read module reading configuration file information generates client forms;
3) use Delphi6.0 developing instrument to create Main form, Main form is represented by Winform container, and Main form is embedded in client forms for display page;
4) client creates a blank IE browser, is embedded in client forms;
5) parsing module analysis configuration fileinfo, and read the IE browser access application server of URL address by embedding;
6) client transmission digital certificate and data acquisition request bag are to application server, and application server receives digital certificate and the data acquisition request bag of client;
7) whether the digital certificate of application server checking client is effectively legal, and when digital certificate is effective, page data encryption is packed and sends to client by application server;
8) client data reception module receive page data, receives successfully after transmission ACK wrap to application server; When application server does not receive ACK bag within a period of time, then resend page data;
9) page data is sent to page generation module by data reception module, and page data information is read in the deciphering of page generation module, and generates JSP according to page data information and issue;
10) JSP converts Web page to by release module, and Web page shows at Main form.
As preferably, step 1) described in profile information comprise systematic name, application server address, IE browser frame size and error message display page.
As preferably, step 8) described in the number of times resending page data be no more than 4 times.
The system that the data analysis client personalisation of sing on web represents, comprising: Winform container, configuration read module, parsing module, data reception module, page generation module, release module, application server; Parsing module and application server carry out communication, and application server and data reception module carry out transfer of data, and data reception module is connected with page generation module, and page generation module is connected with release module.
As preferably, described page generation module comprises: Html resolver, JS resolver, JSP resolver.
Beneficial effect of the present invention is: 1, client software is as a mature and stable tools production, does not need to carry out upgrading and upgrades, as long as and carry out upgrading to application server and just can access new database; 2, the actual demand of client is met, can fast and effeciently access application server, and represented by the personalization that easy configuration realizes the page; 3, access, the confidentiality of data exchange process, legitimacy, fail safe can effectively be ensured; 4, bottom code is all open transparent, has prevented and treated the technology shielding problem using business software.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the inventive method;
Fig. 2 is the client window interfaces figure of the specific embodiment of the invention;
Fig. 3 is the structural representation of present system.
Embodiment
Below in conjunction with specific embodiment, the present invention is described further, but protection scope of the present invention is not limited in this:
One, as shown in Figure 1, the method that the data analysis client personalisation of sing on web represents, its step comprises:
1) download and install client-side program and digital certificate, and set profile information in configuration file;
2) running client program, is sent to parsing module by profile information after configuration read module reading configuration file information generates client forms;
3) use Delphi6.0 developing instrument to create Main form, Main form is represented by Winform container, and Main form is embedded in client forms for display page;
4) client creates a blank IE browser, is embedded in client forms;
5) parsing module analysis configuration fileinfo, and read the IE browser access application server of URL address by embedding;
6) client transmission digital certificate and data acquisition request bag are to application server, and application server receives digital certificate and the data acquisition request bag of client;
7) whether the digital certificate of application server checking client is effectively legal, and when digital certificate is effective, page data encryption is packed and sends to client by application server;
8) client data reception module receive page data, receives successfully after transmission ACK wrap to application server; When application server does not receive ACK bag within a period of time, then resend page data;
9) page data is sent to page generation module by data reception module, and page data information is read in the deciphering of page generation module, and generates JSP according to page data information and issue;
10) JSP converts Web page to by release module, and Web page shows at Main form.
Two, the specific embodiment of the inventive method is applied:
In conjunction with the language of concrete programming, method of the present invention is described, but the present invention is not limited to following programming language and concrete citing.
1. download and install client-side program and digital certificate, and set profile information in configuration file,
The configuration of concrete configuration file is as follows:
[System]
Title=greenhouse gas client
[Option]
Max=0
Url=http://192.168.0.25:8080/wsqt/
Width=1024
Height=768
Error=error.html
2. running client program, configuration read module reading configuration file information, and generate client forms according to the content of configuration file, comprise the size of client forms, title etc.; After generating client forms, profile information is delivered to parsing module and is resolved;
3. use Delphi6.0 developing instrument to create Main form, Main form is represented by Winform container, and Main form is embedded in client forms for display page; Wherein, Winform container is the window of C/S instrument, for depositing and representing Main form;
4. the IE browser that generation one is blank in client forms, IE browser eliminates the option such as menu, toolbar;
5. parsing module analysis configuration fileinfo, concrete resolving code is as follows:
URL passes to address blank IE browser, and the corresponding controls tab of blank IE browser is defined as: WebB:TWebBrowser, using method WebB.Navigate (url) just can access the application server that this URL address connects;
6. client transmission digital certificate and data acquisition request bag are to application server, and application server receives digital certificate and the data acquisition request bag of client;
7. the digital certificate of application server checking client is effectively legal, and page data encryption is packed and send to client;
8. client receive page data, receives successfully after transmission ACK wrap to application server;
9. when application server did not receive ACK bag in 10 seconds, then resend page data, sending times is no more than 4 times;
10. page generation module reads page info from application server, page generation module comprises Html resolver, JS resolver, JSP resolver, the corresponding component definition of page generation module is: TwebBrowser, and page info generates JSP and is presented on assembly TwebBrowser after resolving;
11. JSP issued generate Web page by release module, and Web page issues the page at Main form, and display login page as shown in Figure 2.
When generation is as address configuration mistake, Network Abnormal, system server cannot be accessed, the abnormal conditions such as server system service is not activated, then access failure, the display error.html error message page, error.html can need to be customized to the different information needing display according to user.
At Delphi6.0 developing instrument inediting code project file, generate IEClient.exe application program.Just can employ as long as these three files of IEClient.exe, IEClient.ini, error.html are packaged in during client utility packing to issue together, as long as revise configuration file when use just can realize object of the present invention.
Three, device of the present invention:
As shown in Figure 3, the system that the data analysis client personalisation of sing on web represents, comprising: Winform container, configuration read module, parsing module, data reception module, page generation module, release module, application server; Described Winform container is connected with configuration read module, configuration read module is connected with parsing module, parsing module and application server carry out communication, application server and data reception module carry out transfer of data, data reception module is connected with page generation module, and page generation module is connected with release module; Described page generation module comprises: Html resolver, JS resolver, JSP resolver.
Configuration read module is used for reading configuration file information; Parsing module, for resolving profile information, reads URL address by blank IE browser access application server; After the legitimacy of application server checking client, page data is sent to data reception module, page data is sent to page generation module by data reception module, page generation module generates JSP and issues, and release module converts the JSP of issue to Web page and shows in Main form.
The know-why being specific embodiments of the invention and using described in above, if the change done according to conception of the present invention, its function produced do not exceed that specification and accompanying drawing contain yet spiritual time, must protection scope of the present invention be belonged to.
Claims (5)
1. the method that represents of the data analysis client personalisation of sing on web, is characterized in that comprising the following steps:
1) download and install client-side program and digital certificate, and set profile information in configuration file;
2) running client program, is sent to parsing module by profile information after configuration read module reading configuration file information generates client forms;
3) use Delphi6.0 developing instrument to create Main form, Main form is represented by Winform container, and Main form is embedded in client forms for display page;
4) client creates a blank IE browser, is embedded in client forms;
5) parsing module analysis configuration fileinfo, and read the IE browser access application server of URL address by embedding;
6) client transmission digital certificate and data acquisition request bag are to application server, and application server receives digital certificate and the data acquisition request bag of client;
7) whether the digital certificate of application server checking client is effectively legal, and when digital certificate is effective, page data encryption is packed and sends to client by application server;
8) client data reception module receive page data, receives successfully after transmission ACK wrap to application server; When application server does not receive ACK bag within a period of time, then resend page data;
9) page data is sent to page generation module by data reception module, and page data information is read in the deciphering of page generation module, and generates JSP according to page data information and issue;
10) JSP converts Web page to by release module, and Web page shows at Main form.
2. the method that represents of the data analysis client personalisation of sing on web according to claim 1, is characterized in that step 1) described in profile information comprise systematic name, application server address, IE browser frame size and error message display page.
3. the method that represents of the data analysis client personalisation of sing on web according to claim 1, is characterized in that step 8) described in the number of times resending page data be no more than 4 times.
4. the system that represents of the data analysis client personalisation of sing on web, is characterized in that comprising: Winform container, configuration read module, parsing module, data reception module, page generation module, release module, application server; Parsing module and application server carry out communication, and application server and data reception module carry out transfer of data, and data reception module is connected with page generation module, and page generation module is connected with release module; Winform container is used for representing Main form, and configuration read module is used for reading configuration file information; Parsing module, for resolving profile information, reads URL address by blank IE browser access application server; After the legitimacy of application server checking client, page data is sent to data reception module, page data is sent to page generation module by data reception module, page generation module generates JSP and issues, and release module converts the JSP of issue to Web page and shows in Main form.
5. the system that represents of the data analysis client personalisation of sing on web according to claim 4, is characterized in that described page generation module comprises: Html resolver, JS resolver, JSP resolver.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210377855.7A CN102882878B (en) | 2012-09-28 | 2012-09-28 | Web-based method and Web-based system for data analysis and personalized display on client-side |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210377855.7A CN102882878B (en) | 2012-09-28 | 2012-09-28 | Web-based method and Web-based system for data analysis and personalized display on client-side |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102882878A CN102882878A (en) | 2013-01-16 |
CN102882878B true CN102882878B (en) | 2015-04-08 |
Family
ID=47484021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210377855.7A Active CN102882878B (en) | 2012-09-28 | 2012-09-28 | Web-based method and Web-based system for data analysis and personalized display on client-side |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102882878B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601433B (en) * | 2013-10-30 | 2019-02-01 | 腾讯科技(深圳)有限公司 | Application message window methods of exhibiting, client, server and system |
CN109413181A (en) * | 2018-10-28 | 2019-03-01 | 广州中元软件有限公司 | A kind of double architecture mode methods for realizing application program |
CN110781226B (en) * | 2019-10-28 | 2022-08-19 | 中国建设银行股份有限公司 | Data analysis method, device, storage medium, equipment and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388911A (en) * | 2008-11-07 | 2009-03-18 | 用友软件股份有限公司 | Off-line data collecting method for network application program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7831955B2 (en) * | 2004-12-09 | 2010-11-09 | Asift Technologies, Llc | Development and execution platform |
-
2012
- 2012-09-28 CN CN201210377855.7A patent/CN102882878B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388911A (en) * | 2008-11-07 | 2009-03-18 | 用友软件股份有限公司 | Off-line data collecting method for network application program |
Also Published As
Publication number | Publication date |
---|---|
CN102882878A (en) | 2013-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8850422B2 (en) | Method for managing an application and application platform | |
JP2021051808A (en) | Method for controlling and/or monitoring at least part of process plant, device for controlling and/or monitoring at least part of process plant, and machine accessible medium | |
US6560618B1 (en) | On-demand generation, packaging, and delivery of archive files | |
US9489187B2 (en) | Adaptive deployment of applications for mobile devices | |
CN102291437A (en) | System and method for realizing application of cross-platform internet | |
CN105051685B (en) | For causing networked asset to be able to access that locally applied system and method | |
US20060136897A1 (en) | System and method for a packaging and deployment mechanism for Web service applications | |
CN102882878B (en) | Web-based method and Web-based system for data analysis and personalized display on client-side | |
CA2678737A1 (en) | System and method for controlling local computer applications using a web interface | |
CN101388771B (en) | Method and system for downloading digital certificate | |
CN103004139A (en) | Method and system for deploying saas(software as a service) service bundles | |
CN103338218A (en) | Providing client and service compatibility through cloud-hosted adapters | |
EP1360816B1 (en) | Network conduit for providing access to data services | |
US10291718B2 (en) | Method and apparatus for implementing communication from web page to client | |
US9558164B1 (en) | Methods and system for converting WSDL documents into XML schema | |
CN102023847A (en) | Method for realizing push-mode multisystem synchronous data entry based on IE browser based | |
TWI479906B (en) | Authentication method for network connection and network device and network authentication system using the same method | |
US20130268390A1 (en) | Providing a customized application to a user terminal | |
CN106506210B (en) | Method and system for integrating multiple protocols to realize interface interfacing | |
CN104361004A (en) | Browser favorite data processing method and browser | |
CN102135872A (en) | Method and device for image configuration in login area | |
US7934012B2 (en) | Automatic translation code generation | |
CN101388772B (en) | Digital signature method and system | |
CN102761547B (en) | System and method for implementing read-later clients and read-later client | |
US8959216B2 (en) | Channel manager for accessing elements for a secure web page through a non-secure channel |
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 | ||
C56 | Change in the name or address of the patentee |
Owner name: ZHEJIANG TOPINFO TECHNOLOGY CO., LTD. Free format text: FORMER NAME: ZHEJIANG TOPINFO TECHNOLOGY LTD. |
|
CP03 | Change of name, title or address |
Address after: 311121, block 168, Wuchang Road, Wuchang Street, Yuhang District, Zhejiang, Hangzhou, 2, B Patentee after: ZHEJIANG IOPINFO TECHNOLOGY CO., LTD. Address before: 310023 B building, 2F Software Park, 168 Wuchang Road, Yuhang District, Zhejiang, Hangzhou, Xixi Patentee before: Zhejiang Topinfo Technology Co., Ltd. |