[go: up one dir, main page]

CN101650659B - Device and method for automatically installing and saving Activex control in XPe operating system - Google Patents

Device and method for automatically installing and saving Activex control in XPe operating system Download PDF

Info

Publication number
CN101650659B
CN101650659B CN 200910112509 CN200910112509A CN101650659B CN 101650659 B CN101650659 B CN 101650659B CN 200910112509 CN200910112509 CN 200910112509 CN 200910112509 A CN200910112509 A CN 200910112509A CN 101650659 B CN101650659 B CN 101650659B
Authority
CN
China
Prior art keywords
activex
monitoring module
backstage service
ocx
dll
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
CN 200910112509
Other languages
Chinese (zh)
Other versions
CN101650659A (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.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information Co Ltd
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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN 200910112509 priority Critical patent/CN101650659B/en
Publication of CN101650659A publication Critical patent/CN101650659A/en
Application granted granted Critical
Publication of CN101650659B publication Critical patent/CN101650659B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a device and a method for automatically installing and saving an Activex control in an XPe operating system. The device comprises a configuration interface module, an IE monitoring module and a background service module, wherein the background service module provides a background service program of Windows; and the IE monitoring module and the background service module communicated with background services to finish final operation by a pipeline communication means and a document share mode. The invention can ensure that users having no right install ActiveX in sites designed by managers and save the operation by the background service program, thereby reducing the burden of the managers and the tediousness for the users to operate.

Description

The devices and methods therefor of automatically installing and saving Activex control in the XPe operating system
[technical field]
The invention belongs to computer software fields, specifically refer to the devices and methods therefor of automatically installing and saving Activex control in Windows XP Embedded (XPe) operating system.
[background technology]
In Windows XP Embedded (XPe) system, Ewf disk filtration drive all is installed carries out the protection of disk.The user usually needs to install or the upgrading ActiveX control according to the demand of oneself when using IE (Internet Explorer) browsing page.The general user does not install the right of these controls, even and after the user have the ability to install these softwares, but the authority of the Ewf protective seam of total system not being submitted to perhaps forgets and submits to, will cause and restart the back loss of data.
Therefore need a mechanism to guarantee after the user downloads ActiveX; can help him to carry out the installation of ActiveX; and the file protection layer of the Ewf of total system carried out submit operation one time, also can filter out the use of control of the ActiveX of illegal website simultaneously.
[summary of the invention]
One of technical matters to be solved by this invention is to provide the device of automatically installing and saving Activex control in a kind of XPe operating system.
Two of technical matters to be solved by this invention is to provide the method for automatically installing and saving Activex control in a kind of XPe operating system.
The present invention one of solves the problems of the technologies described above by the following technical solutions:
The device of automatically installing and saving Activex control in the XPe operating system comprises:
The configuration interface module: use Web mode provides the control to the network address of legal installation ActiveX, and the user can dispose the agreement that trusted is installed ActiveX, IP address and visit domain name;
The IE monitoring module: provide a browser to help object, the behavior of using API Hook technology IE to install ActiveX is tackled and is monitored, and the ActiveX that download needs to install is to local;
The backstage service module: the backstage service routine of a Windows is provided, and described configuration interface module and IE monitoring module carry out communication by pipe-line communication means and file-sharing mode and backstage service and finish final operation; This backstage service module comprises:
1) domain name analysis module: whether the data that the IE monitoring module sends over, detecting is the secure site that disposes if being mated;
2) ActiveX installs module: analyze the type of the ActiveX control that needs installation, use different modes that the ActiveX control that form has nothing in common with each other is installed;
3) configuration module: communicate with the configuration interface module, the result who arranges is preserved for the domain name analysis module use.
The present invention solve the problems of the technologies described above by the following technical solutions two:
The method of automatically installing and saving Activex control in the XPe operating system comprises following steps:
Step 100: user's accessed web page;
Step 101:IE monitoring module monitors needs to install ActiveX control;
Step 102:IE monitoring module obtains the URL information that ActiveX installs;
Step 103:IE monitoring module sends to the backstage service module with the address, and whether backstage service module analysis is legal website, and the result is returned to the IE monitoring module;
Step 104:IE monitoring module obtains the result, if the ActiveX address of unsanctioned checking is used the mounting means of acquiescence and withdrawed from processing.Otherwise eject prompting forms prompting user whether the execution in step 105 if user selects to install is installed;
Step 105:IE monitoring module calls installation api function CoGetClassObjectFromURL and installs, return results is analyzed, install, can not install, reach the result except rreturn value is MK_S_ASYNCHRONOUS and 0x80070005 if return, do not do any operation, withdraw from processing; Otherwise execution in step 106;
Step 106:IE monitoring module obtains download address and calls api function URLDownloadToFile execution down operation to the backstage service module, and the state that download is finished is sent to the backstage service module by pipeline;
Step 107: the backstage service module gets access to ActiveX and has downloaded the state of finishing, and carries out the type analysis of ActiveX earlier, and whether be installable type, be respectively the Cab type if analyzing it, OCX type, the ActiveX control of DLL type and INF type;
Step 108: corresponding to the ActiveX control of Cab type, the backstage service module calls the Cab of Expand.exe and carries out decompress(ion), mount message file INF behind the decompress(ion) is resolved, obtain its DLL that need register and OCX listed files, calling api function InstallHinfSection again will need the operation to registration table carries out to import in the system among the INF, and copies corresponding DLL or OCX file in system; Carry out the registration function among DLL and the OCX at last, finish final installation process;
Step 109: corresponding to the ActiveX plug-in unit of DLL and OCX, it is copied in the ActiveX storing directory of system, carry out the registration function among DLL and the OCX again, can finish installation;
Step 110: corresponding to the ActiveX plug-in unit of INF form, it is copied in the ActiveX storing directory of system, carry out api function InstallHinfSection again and can finish installation;
Step 111: whether the backstage service routine detects to install and completes successfully, if complete successfully, whether be WindowsXP Embeded Ewf memory protect version, if then promote the process authority and restart, otherwise withdraw from this time processing if then detecting; , installation points out the user installation failure if failing.
The advantage of the devices and methods therefor of automatically installing and saving Activex control is in the XPe operating system of the present invention: can make the user who does not have authority that ActiveX is installed in the website of keeper's appointment and preserve this time operation by the backstage service routine, reduce keeper's burden and the loaded down with trivial details property of general user's operation.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is structural representation of the present invention.
[embodiment]
See also shown in Figure 1ly, the device of automatically installing and saving Activex control in the XPe operating system comprises:
The configuration interface module: use Web mode provides the control to the network address of legal installation ActiveX, and the user can dispose the agreement that trusted is installed ActiveX, IP address and visit domain name;
The IE monitoring module: provide a browser to help object, the behavior of using API Hook technology IE to install ActiveX is tackled and is monitored, and the ActiveX that download needs to install is to local;
The backstage service module: the backstage service routine of a Windows is provided, and described configuration interface module and IE monitoring module carry out communication by pipe-line communication means and file-sharing mode and backstage service and finish final operation; This backstage service module comprises:
1) domain name analysis module: whether the data that the IE monitoring module sends over, detecting is the secure site that disposes if being mated;
2) ActiveX installs module: analyze the type of the ActiveX control that needs installation, use different modes that the ActiveX control that form has nothing in common with each other is installed;
3) configuration module: communicate with the configuration interface module, the result who arranges is preserved for the domain name analysis module use.
Use said apparatus, the administrator need install the CMS2009 terminal management system.The administrator is configured the website that this terminal can be installed ActiveX on server Web interface.Domestic consumer's visit associated stations selects whether to carry out the installation of ActiveX according to prompting.
The concrete operations step is as follows:
Step 100: user's accessed web page;
Step 101:IE monitoring module monitors needs to install ActiveX control;
Step 102:IE monitoring module obtains the URL information that ActiveX installs;
Step 103:IE monitoring module sends to the backstage service module with the address, and whether backstage service module analysis is legal website, and the result is returned to the IE monitoring module;
Step 104:IE monitoring module obtains the result, if the ActiveX address of unsanctioned checking is used the mounting means of acquiescence and withdrawed from processing.Otherwise eject prompting forms prompting user whether the execution in step 105 if user selects to install is installed;
Step 105:IE monitoring module calls installation api function CoGetClassObjectFromURL and installs, return results is analyzed, install, can not install, reach the result except rreturn value is MK_S_ASYNCHRONOUS and 0x80070005 if return, do not do any operation, withdraw from processing; Otherwise execution in step 106;
Step 106:IE monitoring module obtains download address and calls api function URLDownloadToFile execution down operation to the backstage service module, and the state that download is finished is sent to the backstage service module by pipeline;
Step 107: the backstage service module gets access to ActiveX and has downloaded the state of finishing, and carries out the type analysis of ActiveX earlier, and whether be installable type, be respectively the Cab type if analyzing it, OCX type, the ActiveX control of DLL type and INF type;
Step 108: corresponding to the ActiveX control of Cab type, the backstage service module calls the Cab of Expand.exe and carries out decompress(ion), mount message file INF behind the decompress(ion) is resolved, obtain its DLL that need register and OCX listed files, calling api function InstallHinfSection again will need the operation to registration table carries out to import in the system among the INF, and copies corresponding DLL or OCX file in system; Carry out the registration function among DLL and the OCX at last, finish final installation process;
Step 109: corresponding to the ActiveX plug-in unit of DLL and OCX, it is copied in the ActiveX storing directory of system, carry out the registration function among DLL and the OCX again, can finish installation;
Step 110: corresponding to the ActiveX plug-in unit of INF form, it is copied in the ActiveX storing directory of system, carry out api function InstallHinfSection again and can finish installation;
Step 111: whether the backstage service routine detects to install and completes successfully, if complete successfully, whether be WindowsXP Embeded Ewf memory protect version, if then promote the process authority and restart, otherwise withdraw from this time processing if then detecting; , installation points out the user installation failure if failing.
The present invention can make the user who does not have authority that ActiveX is installed in the website of keeper's appointment and preserve this time operation by the backstage service routine, has reduced keeper's burden and the loaded down with trivial details property of general user's operation.

Claims (1)

1.XPe the method for preserving ActiveX control is installed in the operating system automatically, it is characterized in that: comprise following steps:
Step 100: user's accessed web page;
Step 101:IE monitoring module monitors needs to install ActiveX control;
Step 102:IE monitoring module obtains the URL information that ActiveX installs;
Step 103:IE monitoring module sends to the backstage service module with the address, and whether backstage service module analysis is legal website, and the result is returned to the IE monitoring module;
Step 104:IE monitoring module obtains the result, if the ActiveX address of unsanctioned checking is used the mounting means of acquiescence and withdrawed from processing, otherwise eject prompting forms prompting user whether the execution in step 105 if user selects to install is installed;
Step 105:IE monitoring module calls installation api function CoGetClassObjectFromURL and installs, return results is analyzed, install, can not install, reach the result except rreturn value is MK_S_ASYNCHRONOUS and 0x80070005 if return, do not do any operation, withdraw from processing; Otherwise execution in step 106;
Step 106:IE monitoring module obtains download address and calls api function URLDownloadToFile execution down operation to the backstage service module, and the state that download is finished is sent to the backstage service module by pipeline;
Step 107: the backstage service module gets access to ActiveX and has downloaded the state of finishing, and carries out the type analysis of ActiveX earlier, and whether be installable type, be respectively the Cab type if analyzing it, OCX type, the ActiveX control of DLL type and INF type;
Step 108: corresponding to the ActiveX control of Cab type, the backstage service module calls the Cab of Expand.exe and carries out decompress(ion), mount message file INF behind the decompress(ion) is resolved, obtain its DLL that need register and OCX listed files, calling api function InstallHinfSection again will need the operation to registration table carries out to import in the system among the INF, and copies corresponding DLL or OCX file in system; Carry out the registration function among DLL and the OCX at last, finish final installation process;
Step 109: corresponding to the ActiveX control of DLL and OCX, it is copied in the ActiveX storing directory of system, carry out the registration function among DLL and the OCX again, can finish installation;
Step 110: corresponding to the ActiveX control of INF form, it is copied in the ActiveX storing directory of system, carry out api function InstallHinfSection again and can finish installation;
Step 111: whether the backstage service routine detects to install and completes successfully, if complete successfully, whether be WindowsXPEmbededEwf memory protect version, if then promote the process authority and restart, otherwise withdraw from this time processing if then detecting; , installation points out the user installation failure if failing.
CN 200910112509 2009-09-15 2009-09-15 Device and method for automatically installing and saving Activex control in XPe operating system Expired - Fee Related CN101650659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910112509 CN101650659B (en) 2009-09-15 2009-09-15 Device and method for automatically installing and saving Activex control in XPe operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910112509 CN101650659B (en) 2009-09-15 2009-09-15 Device and method for automatically installing and saving Activex control in XPe operating system

Publications (2)

Publication Number Publication Date
CN101650659A CN101650659A (en) 2010-02-17
CN101650659B true CN101650659B (en) 2013-07-03

Family

ID=41672902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910112509 Expired - Fee Related CN101650659B (en) 2009-09-15 2009-09-15 Device and method for automatically installing and saving Activex control in XPe operating system

Country Status (1)

Country Link
CN (1) CN101650659B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9397723B2 (en) 2014-08-26 2016-07-19 Microsoft Technology Licensing, Llc Spread spectrum wireless over non-contiguous channels
US9513671B2 (en) 2014-08-01 2016-12-06 Microsoft Technology Licensing, Llc Peripheral retention device
CN109582393A (en) * 2018-12-06 2019-04-05 国家电网有限公司 Based courseware makes plug-in unit, based courseware production method and device

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479227B (en) * 2010-11-26 2013-11-27 北大方正集团有限公司 A method and device for displaying Mongolian information based on controls
US20120192155A1 (en) * 2011-01-20 2012-07-26 Microsoft Corporation Code advisor for web compatibility and interoperability
CN102736924B (en) * 2011-04-06 2014-09-03 腾讯科技(深圳)有限公司 Software installation method and device
US10140106B2 (en) * 2012-01-13 2018-11-27 Siemens Aktiengesellschaft Method, computer readable medium and system for deploying and merging release independent applications
CN103365694A (en) * 2013-07-31 2013-10-23 北京金和软件股份有限公司 Method for setting IE (internet explorer) environment during primary operation of B/S (browser/server) system
CN103747367B (en) * 2014-01-22 2017-02-08 苏州科达科技股份有限公司 Video terminal control method and system based on ActiveX polling
US10191986B2 (en) 2014-08-11 2019-01-29 Microsoft Technology Licensing, Llc Web resource compatibility with web applications
US9705637B2 (en) 2014-08-19 2017-07-11 Microsoft Technology Licensing, Llc Guard band utilization for wireless data communication
US9424048B2 (en) 2014-09-15 2016-08-23 Microsoft Technology Licensing, Llc Inductive peripheral retention device
CN106201747B (en) * 2016-07-22 2019-04-23 浪潮软件集团有限公司 Method for accessing intelligent password equipment under limited user of WINDOWS system
CN106407797B (en) * 2016-09-08 2020-01-07 努比亚技术有限公司 Application authority control device and method
CN109829126A (en) * 2017-08-18 2019-05-31 北京国双科技有限公司 Trust the adding method and relevant apparatus of website
CN108279888A (en) * 2017-12-19 2018-07-13 中国电子科技集团公司第三十研究所 A kind of plug-in implement method for supporting more money browsers
CN108111547B (en) * 2018-03-06 2021-03-19 深圳互联先锋科技有限公司 Domain name health monitoring method and system
CN112307467B (en) * 2020-11-03 2024-11-05 珠海格力电器股份有限公司 Method for enabling components of HMI configuration software, and computer readable storage medium
CN114201169A (en) * 2021-12-14 2022-03-18 鼎道智联(北京)科技有限公司 Realizing operating system interface by combining web technology and network communication technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713573A (en) * 2004-06-22 2005-12-28 腾讯科技(深圳)有限公司 Realization and realizing device for selective download from webpage inserted piece
CN101483658A (en) * 2009-01-09 2009-07-15 招商银行股份有限公司 System and method for input content protection of browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713573A (en) * 2004-06-22 2005-12-28 腾讯科技(深圳)有限公司 Realization and realizing device for selective download from webpage inserted piece
CN100385852C (en) * 2004-06-22 2008-04-30 腾讯科技(深圳)有限公司 Realization and realizing device for selective download from webpage inserted piece
CN101483658A (en) * 2009-01-09 2009-07-15 招商银行股份有限公司 System and method for input content protection of browser

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9513671B2 (en) 2014-08-01 2016-12-06 Microsoft Technology Licensing, Llc Peripheral retention device
US9397723B2 (en) 2014-08-26 2016-07-19 Microsoft Technology Licensing, Llc Spread spectrum wireless over non-contiguous channels
CN109582393A (en) * 2018-12-06 2019-04-05 国家电网有限公司 Based courseware makes plug-in unit, based courseware production method and device
CN109582393B (en) * 2018-12-06 2022-03-15 国家电网有限公司 Method and device for making network courseware

Also Published As

Publication number Publication date
CN101650659A (en) 2010-02-17

Similar Documents

Publication Publication Date Title
CN101650659B (en) Device and method for automatically installing and saving Activex control in XPe operating system
JP5475743B2 (en) Persistence service provider
EP2973147B1 (en) Policy-based secure web boot
CN103744686B (en) Control method and the system of installation is applied in intelligent terminal
CN109241731B (en) Privacy information protection method and device based on virtual application and storage medium
CN101751593B (en) Smart card and backup, recovering method and system thereof
CN110764846B (en) A method for realizing cross-browser invoking computer external devices based on local proxy service
US20140007084A1 (en) Method and system for synchronizing application programs across devices
CN103714287B (en) Method and device for obtaining temporary Root authority
CN111079091A (en) Software security management method and device, terminal and server
WO2007130594A2 (en) Techniques to perform gradual upgrades
AU2007235540A1 (en) Creating templates of offline resources
JP2009507270A (en) A validated computing environment for personal Internet communicators
CN101313298A (en) Enforcing subscription validity
CN102043635A (en) Method and system for customizing installation of computer software
CN105528205A (en) Update control method and update control system
WO2014117652A1 (en) Method and device for preventing application in an operating system from being uninstalled
CN105897902B (en) It is a kind of to start locally applied method and system by browser
US8127033B1 (en) Method and apparatus for accessing local computer system resources from a browser
KR101233934B1 (en) Integrated Intelligent Security Management System and Method
JP2009077031A (en) Portable communication device, mobile computer, system in organization, program, external communication connection control system, and external communication connection control method
JP2001273135A (en) Method and device for individual authentication by using portable telephone
US9348849B1 (en) Backup client zero-management
TWI690820B (en) System for using embedded browser module to manage certificate and method thereof
CN108885651A (en) Credentials Licensing Service

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

Granted publication date: 20130703