CN104102496A - Development method for bank self-service system cross-browser plugin based on WINDOWS platform - Google Patents
Development method for bank self-service system cross-browser plugin based on WINDOWS platform Download PDFInfo
- Publication number
- CN104102496A CN104102496A CN201410384263.7A CN201410384263A CN104102496A CN 104102496 A CN104102496 A CN 104102496A CN 201410384263 A CN201410384263 A CN 201410384263A CN 104102496 A CN104102496 A CN 104102496A
- Authority
- CN
- China
- Prior art keywords
- plug
- unit
- generation
- browser
- atl
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000011161 development Methods 0.000 title claims abstract description 20
- 238000013459 approach Methods 0.000 claims description 11
- 238000013507 mapping Methods 0.000 claims description 3
- 230000010354 integration Effects 0.000 claims description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of a system plugin development method, in particular to a development method for a bank self-service system cross-browser plugin based on a WINDOWS platform. The development method is a technical method which comprises the following steps: realizing a COM (component object model) plugin according to an IE-type browser, realizing a similar Netscapes browser on the basis of a NPAPI (Netscape plugin application programming interface) standard, and integrating the COM plugin with the similar Netscapes browser plugin. The invention provides the development method for the bank self-service system cross-browser plugin based on the WINDOWS platform, the development workload of a middleware can be lightened, development efficiency is improved, and plugin compatibility and stability can be improved.
Description
Technical field
The present invention relates to system plugin development approach technical field, particularly a kind of development approach of the bank self-help system browser-cross plug-in unit based on WINDOWS platform.
Background technology
The front-end equipment overwhelming majority domestic and global each financial institution is all based on windows platform at present, and browser is developed so far, and two kinds of browsers of IE class and class Netscapes occupy absolute status; Financial industry application is at present all that and mutual with each components/devices because of needs for the application on FEP, need in the middle of application and equipment, fill each equipment plug-in unit carries out adaptation based on C/S and the exploitation of B/S framework; Upper layer application substantially all can use IE kernel at present, and this need to develop according to IE browser standard middle plug-in unit; But because of the variety of issue of IE browser existence, and class Netscapes browser just in time solves these problems, so deposit at present the trend of application migration from IE kernel to Netscapes browser in the bank.
ATL, Active Template Library ATL, is a kind of Microsoft routine library, supports to utilize C Plus Plus to write ASP code and other ActiveX program.By ATL, can set up com component, then by the script in asp page face, com object is called.This com component can comprise the control such as property pages, dialog box.
NPAPI(Netscape Plugin Application Programming Interface, Netscape plug-in applications interface) be the general-purpose interface for carry out external application at browser, with the ActiveX of Microsoft be competition technology.
And for the plug-in unit of comprehensive above-mentioned two kinds of technology, there is no at present the development approach of this type of plug-in unit.
Summary of the invention
In order to solve the problem of prior art, the invention provides a kind of development approach of the bank self-help system browser-cross plug-in unit based on WINDOWS platform, it can reduce middle developing plug workload, improves development efficiency, promotes plug-in unit compatibility and stability.
The technical solution adopted in the present invention is as follows:
A development approach for bank self-help system browser-cross plug-in unit based on WINDOWS platform, comprises the following steps:
A, the plug-in unit of generation based on ATL programming technique;
B, the plug-in unit of generation based on NPAPI standard;
The plug-in unit of realizing according to two kinds of technical standards in C, integration step A and step B, integrates the intersection in two kinds of plug-in units.
Steps A specifically comprises the following steps:
A1, set up ATL COM engineering based on ATL programming technique;
A2, in engineering, add com component object;
A3, the mode requiring according to COM in engineering, add interface method, attribute and event.
Step B comprises the step that realizes interpolation interface method, attribute and event according to NPAPI interface standard.
Step C specifically comprises:
C1, realize intermediary operation class, by interface mappings of the same name in the plug-in unit based on ATL programming technique of described generation and the plug-in unit based on NPAPI standard of generation in same class of operation;
Interface in the plug-in unit based on ATL programming technique of generation and the plug-in unit based on NPAPI standard of generation described in C2, foundation is associated with intermediary operation class;
C3, comprehensive two kinds of plug-in units that require generation to specify;
C4, the plug-in unit of generation is deployed to the correspondence position on PC according to request for utilization.
Technical scheme of the present invention comprises following content:
1, use ATL COM programming technique to realize IE class plug-in unit;
2, use the ATL/COM programming technique having existed, according to requirement the bonding apparatus own characteristic of bank self-help application, realize each interface method, attribute and event, normal mutual between the plug-in unit that guarantee generates and IE class browser kernel.
3, follow NPAPI interface standard and realize class Netscapes plug-in unit.
NPAPI is the technical standard of class Netscapes browser plug-in exploitation, and this standard has specified method and the attribute that plug-in unit must be realized, and the Naming conventions of plug-in unit, deposit position and call method etc.
4, by two kinds of plug-in units comprehensively in a plug-in unit
According to ATL COM technology and NPAPI interface standard, bonding apparatus situation, two kinds of plug-in units are accomplished to one, be plug-in unit according to ATL COM technical requirement to IE class browser open interface, require to class Netscapes browser open interface according to NPAPI, and press equipment actual conditions and fill specified file attribute, and generate the file of specified file name.
The beneficial effect that technical scheme provided by the invention is brought is:
Through repeatedly test and for a long time observation, the plug-in unit across two class browsers of realizing according to this method, in two class browser application, operation is efficient good; In addition, because having reduced repeated work, improve development efficiency on stream, and the version management of equipment plug-in unit has been provided convenience.
Brief description of the drawings
The structural drawing of the plug-in unit that Fig. 1 generates for the development approach of a kind of bank self-help system browser-cross plug-in unit based on WINDOWS platform of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The present embodiment can launch in the following manner:
1, use IDE developing instrument, for example VS2010, sets up ATL COM engineering.
2, in engineering, add com component object.
3, the mode requiring according to COM in engineering, adds interface method, attribute and event.
4, in engineering, realize according to NPAPI interface standard interface method, attribute and the event of adding.
First, each file that NP mode need to be needed adds in engineering, and these files can be downloaded from FireFox official website.
After respective file is imported in engineering, in header file, carry out the loading of interface method, in the HasMethod in cpp file, add the judgement to new method, as Print method; Can define unified macro definition herein, facilitate the judgement of additive method.
Add determined property, for example StDeviceStatus judges in HasProperty, same, can use unified macro definition, facilitates the interpolation of other attributes.
For obtaining of attribute information, be put in GetProperty method.
5, realize intermediary operation class
Intermediary operation class, function be by the interface mappings of the same name of ATL COM and NPAPI in same class of operation, comprise method, attribute and event etc., the each function of this type of specific implementation.
6, set up two class interfaces associated with intermediary operation class:
Use self-defining method, for example macrodefined mode, shines upon ATL com interface and NPAPI interface.
7, comprehensive two kinds require to generate the plug-in unit of specifying:
NPAPI standard has requirement to the dynamic library file property value generating, need to change, and be mainly the maintenance of MIMEType value.
8, the plug-in unit of generation is deployed to the correspondence position on PC according to request for utilization.
If used according to ATL COM mode, control dll can be put under any path of system, before application is used, need to register dll with regsvr32 instrument, user can carry out the access of control by the clsid of dll control or progid.
If need to be deployed on class netscape browser, different browsers has different requirements to card address, for example FireFox requires plug-in unit to be put under the plugins file under installation path, and for Chrome browser, only need to, in registration table, the path of control be configured.
9, so far, the developing plug of the present embodiment is complete.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (4)
1. a development approach for the bank self-help system browser-cross plug-in unit based on WINDOWS platform, comprises the following steps:
A, the plug-in unit of generation based on ATL programming technique;
B, the plug-in unit of generation based on NPAPI standard;
The plug-in unit of realizing according to two kinds of technical standards in C, integration step A and step B, integrates the intersection in two kinds of plug-in units.
2. the development approach of a kind of bank self-help system browser-cross plug-in unit based on WINDOWS platform according to claim 1, is characterized in that, described steps A specifically comprises the following steps:
A1, set up ATL COM engineering based on ATL programming technique;
A2, in engineering, add com component object;
A3, the mode requiring according to COM in engineering, add interface method, attribute and event.
3. the development approach of a kind of bank self-help system browser-cross plug-in unit based on WINDOWS platform according to claim 1, is characterized in that, described step B comprises the step that realizes interpolation interface method, attribute and event according to NPAPI interface standard.
4. the development approach of a kind of bank self-help system browser-cross plug-in unit based on WINDOWS platform according to claim 1, is characterized in that, described step C specifically comprises:
C1, realize intermediary operation class, by interface mappings of the same name in the plug-in unit based on ATL programming technique of described generation and the plug-in unit based on NPAPI standard of generation in same class of operation;
Interface in the plug-in unit based on ATL programming technique of generation and the plug-in unit based on NPAPI standard of generation described in C2, foundation is associated with intermediary operation class;
C3, comprehensive two kinds of plug-in units that require generation to specify;
C4, the plug-in unit of generation is deployed to the correspondence position on PC according to request for utilization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410384263.7A CN104102496A (en) | 2014-08-06 | 2014-08-06 | Development method for bank self-service system cross-browser plugin based on WINDOWS platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410384263.7A CN104102496A (en) | 2014-08-06 | 2014-08-06 | Development method for bank self-service system cross-browser plugin based on WINDOWS platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104102496A true CN104102496A (en) | 2014-10-15 |
Family
ID=51670674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410384263.7A Pending CN104102496A (en) | 2014-08-06 | 2014-08-06 | Development method for bank self-service system cross-browser plugin based on WINDOWS platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104102496A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528184A (en) * | 2016-12-29 | 2017-03-22 | 山东浪潮商用系统有限公司 | App development method based on cordova platform |
CN108279888A (en) * | 2017-12-19 | 2018-07-13 | 中国电子科技集团公司第三十研究所 | A kind of plug-in implement method for supporting more money browsers |
CN109558181A (en) * | 2018-11-26 | 2019-04-02 | 高新兴国迈科技有限公司 | Method, computer storage medium and the equipment of the compatible OCX control of non-IE browser |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040221261A1 (en) * | 2002-05-01 | 2004-11-04 | Mike Blevins | Collaborative business plug-in framework |
CN103001960A (en) * | 2012-11-30 | 2013-03-27 | 北京奇虎科技有限公司 | Browser and internet banking login method |
CN103064886A (en) * | 2012-12-07 | 2013-04-24 | 百度在线网络技术(北京)有限公司 | Method for supporting multiple browsers and plug-in |
CN103885777A (en) * | 2014-03-25 | 2014-06-25 | 浪潮(山东)电子信息有限公司 | Development method of bank self-service system cross-browser insert |
-
2014
- 2014-08-06 CN CN201410384263.7A patent/CN104102496A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040221261A1 (en) * | 2002-05-01 | 2004-11-04 | Mike Blevins | Collaborative business plug-in framework |
CN103001960A (en) * | 2012-11-30 | 2013-03-27 | 北京奇虎科技有限公司 | Browser and internet banking login method |
CN103064886A (en) * | 2012-12-07 | 2013-04-24 | 百度在线网络技术(北京)有限公司 | Method for supporting multiple browsers and plug-in |
CN103885777A (en) * | 2014-03-25 | 2014-06-25 | 浪潮(山东)电子信息有限公司 | Development method of bank self-service system cross-browser insert |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528184A (en) * | 2016-12-29 | 2017-03-22 | 山东浪潮商用系统有限公司 | App development method based on cordova platform |
CN108279888A (en) * | 2017-12-19 | 2018-07-13 | 中国电子科技集团公司第三十研究所 | A kind of plug-in implement method for supporting more money browsers |
CN109558181A (en) * | 2018-11-26 | 2019-04-02 | 高新兴国迈科技有限公司 | Method, computer storage medium and the equipment of the compatible OCX control of non-IE browser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101697139B (en) | Method, device and registry for remote procedure call | |
CN104407976B (en) | A kind of interface robustness testing case generation method and device | |
CN110377283B (en) | Method for realizing and synchronizing front-end effective data during Web front-end and back-end separation development | |
CN103136201A (en) | Page information display method and page information display device | |
CN106990960A (en) | Code dispositions method and device | |
CN103279846A (en) | Project acceptance method and system based on BIM model | |
CN102063368B (en) | On-line real-time debugging method for panoramic data on basis of denomination variation | |
CN102866950A (en) | Performance testing method and testing tool for virtual server | |
CN105653268A (en) | Rule engine debugging method and rule engine debugging system | |
CN105630563A (en) | Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language) | |
CN104102496A (en) | Development method for bank self-service system cross-browser plugin based on WINDOWS platform | |
US8667261B2 (en) | Systems, methods, and apparatus for utility meter configuration | |
CN105824647A (en) | Form page generating method and device | |
CN112926109B (en) | Visual modeling method for virtual operating environment of complex embedded system | |
CN103051728A (en) | Remote-procedure calling method | |
CN112667219A (en) | Code generation method and device, equipment and computer readable storage medium | |
US10606569B2 (en) | Declarative configuration elements | |
CN103885777A (en) | Development method of bank self-service system cross-browser insert | |
CN104461557B (en) | The processing method and processing device of Puppet configuration datas | |
US10649743B2 (en) | Application developing method and system | |
Muli et al. | Virtual validation-a new paradigm in controls engineering | |
US9910834B2 (en) | Converting terminal-based legacy applications to web-based applications | |
CN113391903A (en) | Method and device for establishing schedulability model, electronic equipment and storage medium | |
JP2012048329A (en) | Object oriented program generating device, method therefor and program | |
CN106815003A (en) | The interactive system and exchange method of a kind of computer language |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141015 |