CN102736924B - Software installation method and device - Google Patents

Software installation method and device Download PDF

Info

Publication number
CN102736924B
CN102736924B CN201110085218.8A CN201110085218A CN102736924B CN 102736924 B CN102736924 B CN 102736924B CN 201110085218 A CN201110085218 A CN 201110085218A CN 102736924 B CN102736924 B CN 102736924B
Authority
CN
China
Prior art keywords
installation
installation kit
software
creation function
caller
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
Application number
CN201110085218.8A
Other languages
Chinese (zh)
Other versions
CN102736924A (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110085218.8A priority Critical patent/CN102736924B/en
Publication of CN102736924A publication Critical patent/CN102736924A/en
Application granted granted Critical
Publication of CN102736924B publication Critical patent/CN102736924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a software installation method and a software installation device and belongs to the field of computers. The software installation method comprises the following steps of: acquiring silent installation parameters corresponding to an installation package of software to be installed according to a corresponding relationship between a pre-stored installation package of software and the silent installation parameters; and operating the installation package of the software to be installed according to the acquired silent installation parameters. The software installation device comprises an acquisition module and an installation module. Due to the scheme, manual intervention of a user is not required, and the software is automatically installed.

Description

The method and apparatus that software is installed
Technical field
The present invention relates to computer realm, the method and apparatus that particularly a kind of software is installed.
Background technology
In various operating system platforms, for example windows platform, user often need to install the installation kit of various application programs, so that the function that uses this application program to provide.For example, various chat tools are installed, so that realize the instant communication function between other users.
At present, the installation kit of application program is generally user Setup Wizard is provided, and user progressively completes installation according to the prompting of Setup Wizard.For example, in the time that user clicks the executable file of installation kit, first the Setup Wizard of this application program points out user whether to agree to some specifications, if user clicks agreement and carries out next step again, also can point out user whether some plug-in unit is installed, or no by webpage book mark etc., user need to progressively confirm to select, through after several operations, finally just can complete installation.
Realizing in process of the present invention, inventor finds that above-mentioned prior art at least has following shortcoming:
Prior art needs user according to Setup Wizard, and progressively manual confirmation selects just can complete installation.For the user who is unfamiliar with software installation, possibly cannot complete smoothly and install or install and make mistakes, affect user and use software.
Summary of the invention
Just need user's manual intervention can complete the present situation of installation in order to change software, realize the Auto-mounting of software, the method and apparatus that the embodiment of the present invention provides a kind of software to install.Described technical scheme is as follows:
The method that software is installed, described method comprises:
Corresponding relation according to the installation kit of the software prestoring with the installation parameter of mourning in silence, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
According to the installation parameter of mourning in silence described in obtaining, move the installation kit of described wish mounting software;
Wherein, described method also comprises:
Global hook is installed, in the process of installation kit of moving described wish mounting software, described global hook judges whether the caller of process creation function belongs to described installation kit, if so, judges whether the process that described process creation function will create is illegal process; If not illegal process, allow the creation operation of described process creation function; If illegal process, tackle the creation operation of described process creation function.
Described method also comprises:
The process that described installation kit has been created and subprocess thereof add in monitor task;
Described global hook judges that whether the caller of process creation function belongs to described installation kit, comprising:
Described global hook judges that the caller of described process creation function is whether in described monitor task, if in described monitor task, the caller of described process creation function belongs to described installation kit, if not in described monitor task, the caller of described process creation function does not belong to described installation kit.
Described illegal process comprises rogue's plug-in unit, wooden horse, virus or suspicious program.
The device that software is installed, described device comprises:
Acquisition module, for the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
Installation module, for according to the installation parameter of mourning in silence described in obtaining, moves the installation kit of described wish mounting software.
Wherein, described device also comprises:
Global hook, for move the process of the installation kit of described wish mounting software at described installation module, whether the caller that judges process creation function belongs to described installation kit, if so, judges whether the process that described process creation function will create is illegal process; If not illegal process, allow the creation operation of described process creation function; If illegal process, tackle the creation operation of described process creation function.
Described device also comprises: monitoring module, adds monitor task to for process and subprocess thereof that described installation kit has been created;
Described global hook, for judging whether the caller of process creation function belongs to described installation kit, comprise: judge that the caller of described process creation function is whether in described monitor task, if in described monitor task, the caller of described process creation function belongs to described installation kit, if not in described monitor task, the caller of described process creation function does not belong to described installation kit.
Described illegal process comprises rogue's plug-in unit, wooden horse, virus or suspicious program.
The present embodiment is the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtain the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software, according to the installation parameter of mourning in silence described in obtaining, moving the installation kit of described wish mounting software installs to complete software, need not user's manual intervention, realize the Auto-mounting of software.
Brief description of the drawings
Fig. 1 is the method flow diagram that a kind of software that the present embodiment 1 provides is installed;
Fig. 2 is the method flow diagram that a kind of software that the present embodiment 2 provides is installed;
Fig. 3 is the device schematic diagram that a kind of software that the present embodiment 3 provides is installed;
Fig. 4 is another device schematic diagram that a kind of software that the present embodiment 3 provides is installed.
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 1
Referring to Fig. 1, a kind of method that the present embodiment provides software to install, comprising:
101: the corresponding relation according to the installation kit of the software prestoring with the installation parameter of mourning in silence, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
102: according to the installation parameter of mourning in silence obtaining, the installation kit of mounting software is wanted in operation.
The present embodiment is the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtain the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software, according to the installation parameter of mourning in silence described in obtaining, moving the installation kit of described wish mounting software installs to complete software, need not user's manual intervention, realize the Auto-mounting of software.
Referring to Fig. 2, lower mask body is introduced the method that above-mentioned software is installed.
201: obtain the installation kit of wanting mounting software;
Concrete, can enter the installation kit that obtains wish mounting software queue from installation kit.Wherein, installation kit enters queue and can comprise installation kit corresponding to one or more wish mounting softwares.
202: the corresponding relation according to the installation kit of the software prestoring with the installation parameter of mourning in silence, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
Wherein, the installation kit of software can pre-storedly be mourned in silence in installation parameter module at one with the corresponding relation of the installation parameter of mourning in silence.
203: according to this obtaining installation parameter of mourning in silence, operation is wanted the installation kit of mounting software to complete the installation of software;
Concrete, according to this obtaining installation parameter of mourning in silence, by process creation function CreateProcess API(Application Programming Interface, application programming interface), create corresponding process and the subprocess thereof of installation kit of this wish mounting software.Process and the subprocess thereof that further, installation kit can have been created add in monitor task.
Further, in the process of operation installation kit, in order to filter illegal process, can also carry out following operation:
204: global hook HOOK judges whether the caller (being parent process) of process creation function belongs to installation kit, if so, judge whether the process (being subprocess) that process creation function will create is illegal process; If not illegal process, allow the creation operation of process creation function; If when illegal process, the creation operation of interception process creation function.
Wherein, global hook judges that whether the caller of process creation function belongs to installation kit, comprising:
Whether the caller that global hook judges process creation function is in monitor task, if in monitor task, the caller of process creation function belongs to installation kit, if not in monitor task, the caller of process creation function does not belong to installation kit.Wherein, the mode that monitor task can watch-list realizes, and the present embodiment does not limit the implementation of monitor task.
It should be noted that, first process (being erection schedule) that installation kit creates does not have parent process, and global hook default installation process is legal process, allows its creation operation.Erection schedule is added erection schedule in monitor task to after creating.
Wherein, illegal process comprises rogue's plug-in unit, wooden horse, virus or other suspicious programs etc., and the present embodiment does not limit.
As can be seen here, the relation of erection schedule and its subprocess, and the relation of subprocess and Sun Jincheng is all set memberships, the two processing procedure for illegal process is substantially identical, those skilled in the art according to foregoing description be appreciated that there is the process of set membership can be with reference to the disposal route of above-mentioned subprocess for the disposal route of illegal process.
The present embodiment is the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtain the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software, according to this obtaining installation parameter of mourning in silence, operation is wanted the installation kit of mounting software to complete the installation of software, need not user's manual intervention, realize the Auto-mounting of software.Meanwhile, can identify and tackle the creation operation of illegal process (such as rogue's plug-in unit etc.) by global hook.
Embodiment 3
As shown in Figure 3, the device that the embodiment of the present invention provides a kind of software to install, comprising:
Acquisition module 301, for the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
Installation module 302, for according to the installation parameter of mourning in silence obtaining, moves the installation kit of wanting mounting software.
Referring to Fig. 4, this device also comprises:
Whether global hook 303, belong to installation kit for the caller that judges process creation function, if so, judges whether the process that process creation function will create is illegal process; If not illegal process, allow the creation operation of process creation function.
This device also comprises: monitoring module 304, adds monitor task to for process and subprocess thereof that installation kit has been created;
Global hook 303, for judging whether the caller of process creation function belongs to installation kit, comprise: judge that the caller of process creation function is whether in monitor task, if in monitor task, the caller of process creation function belongs to installation kit, if not in monitor task, the caller of process creation function does not belong to installation kit.
Further, global hook 303, while being also illegal process for the process that will create when process creation function, the creation operation of interception process creation function.
Wherein, illegal process comprises rogue's plug-in unit, wooden horse, virus or suspicious program etc., and the present embodiment does not limit.
The apparatus and method embodiment that the present embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The present embodiment is the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtain the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software, according to this obtaining installation parameter of mourning in silence, operation is wanted the installation kit of mounting software to complete the installation of software, need not user's manual intervention, realize the Auto-mounting of software.Meanwhile, can identify and tackle the creation operation of illegal process (such as rogue's plug-in unit etc.) by global hook.
Finally it should be noted that, one of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (ROM) or random store-memory body (RAM) etc.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Above-mentioned each device or system, can carry out the method in correlation method embodiment.
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 (6)

1. the method that software is installed, is characterized in that, described method comprises:
Corresponding relation according to the installation kit of the software prestoring with the installation parameter of mourning in silence, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
According to the installation parameter of mourning in silence described in obtaining, move the installation kit of described wish mounting software;
Wherein, described method also comprises:
Global hook is installed, in the process of installation kit of moving described wish mounting software, described global hook judges whether the caller of process creation function belongs to described installation kit, if so, judges whether the process that described process creation function will create is illegal process; If not illegal process, allow the creation operation of described process creation function; If illegal process, tackle the creation operation of described process creation function.
2. method according to claim 1, is characterized in that, described method also comprises:
The process that described installation kit has been created and subprocess thereof add in monitor task;
Described global hook judges that whether the caller of process creation function belongs to described installation kit, comprising:
Described global hook judges that the caller of described process creation function is whether in described monitor task, if in described monitor task, the caller of described process creation function belongs to described installation kit, if not in described monitor task, the caller of described process creation function does not belong to described installation kit.
3. method according to claim 1, is characterized in that, described illegal process comprises rogue's plug-in unit, wooden horse, virus or suspicious program.
4. the device that software is installed, is characterized in that, described device comprises:
Acquisition module, for the corresponding relation with the installation parameter of mourning in silence according to the installation kit of the software prestoring, obtains the installation parameter of mourning in silence corresponding to installation kit of wanting mounting software;
Installation module, for according to the installation parameter of mourning in silence described in obtaining, moves the installation kit of described wish mounting software;
Wherein, described device also comprises:
Global hook, for move the process of the installation kit of described wish mounting software at described installation module, whether the caller that judges process creation function belongs to described installation kit, if so, judges whether the process that described process creation function will create is illegal process; If not illegal process, allow the creation operation of described process creation function; If illegal process, tackle the creation operation of described process creation function.
5. device according to claim 4, is characterized in that, described device also comprises: monitoring module, adds monitor task to for process and subprocess thereof that described installation kit has been created;
Described global hook, for judging whether the caller of process creation function belongs to described installation kit, comprise: judge that the caller of described process creation function is whether in described monitor task, if in described monitor task, the caller of described process creation function belongs to described installation kit, if not in described monitor task, the caller of described process creation function does not belong to described installation kit.
6. device according to claim 4, is characterized in that, described illegal process comprises rogue's plug-in unit, wooden horse, virus or suspicious program.
CN201110085218.8A 2011-04-06 2011-04-06 Software installation method and device Active CN102736924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110085218.8A CN102736924B (en) 2011-04-06 2011-04-06 Software installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110085218.8A CN102736924B (en) 2011-04-06 2011-04-06 Software installation method and device

Publications (2)

Publication Number Publication Date
CN102736924A CN102736924A (en) 2012-10-17
CN102736924B true CN102736924B (en) 2014-09-03

Family

ID=46992481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110085218.8A Active CN102736924B (en) 2011-04-06 2011-04-06 Software installation method and device

Country Status (1)

Country Link
CN (1) CN102736924B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572151B (en) * 2013-10-22 2018-09-28 华为技术有限公司 The processing method of anomalous event, apparatus and system
CN104199703A (en) * 2014-09-05 2014-12-10 北京奇虎科技有限公司 Unattended setup management method and device
CN105138902B (en) * 2015-08-21 2018-05-08 安一恒通(北京)科技有限公司 For the method and apparatus that treatment progress creates behavior in the installation process of application
CN105843647A (en) * 2016-03-28 2016-08-10 上海斐讯数据通信技术有限公司 Application installation method and device
CN106648651B (en) * 2016-12-15 2019-11-08 广州视源电子科技股份有限公司 A kind of production method and device of installation kit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025689A (en) * 2006-02-20 2007-08-29 联想(北京)有限公司 Method for automatically installing operating system
CN101650659A (en) * 2009-09-15 2010-02-17 福建升腾资讯有限公司 Device and method for automatically installing and saving Activex control in XPe operating system
CN101901313A (en) * 2010-06-10 2010-12-01 中科方德软件有限公司 Linux file protection system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050437A2 (en) * 2003-11-21 2005-06-02 Peter Neswal Method for the installation and configuration of software components

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025689A (en) * 2006-02-20 2007-08-29 联想(北京)有限公司 Method for automatically installing operating system
CN101650659A (en) * 2009-09-15 2010-02-17 福建升腾资讯有限公司 Device and method for automatically installing and saving Activex control in XPe operating system
CN101901313A (en) * 2010-06-10 2010-12-01 中科方德软件有限公司 Linux file protection system and method

Also Published As

Publication number Publication date
CN102736924A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US10656917B2 (en) Generation of a device application
CN102736924B (en) Software installation method and device
CN102981835B (en) Android application program permanent Root permission acquiring method
US10817819B2 (en) Workflow compilation
CN102790961A (en) Update method of application program, mobile terminal and server
CN102254113A (en) Method and system for detecting and intercepting malicious code of mobile terminal
CN104461746B (en) A kind of memory headroom optimization method and system based on android system
US11650888B2 (en) Workflow error handling for device driven management
KR20140076918A (en) User interface technology for the vehicle communication traffic simulation
CA2862046C (en) Method and device for prompting program uninstallation
CN105468674A (en) Window interception method and device and terminal equipment
CN104134036A (en) Method and device for obtaining Root permission
US10521199B2 (en) System and method for developing mobile based applications using model driven development
CN107291460B (en) Television terminal, compiling server code control method and storage medium
CN102681861A (en) Method and device for installing software
CN107590062B (en) Multi-client interaction testing method and device
EP3188071B1 (en) Application accessing control method and device
CN103186388B (en) Software installation method and device
CN104978190A (en) Application program generation method and system
US20140258973A1 (en) Systems And Methods For Automatically Generating Applications
CN104378144A (en) Bluetooth equipment software installing method and system
Bryksin et al. Ubiq Mobile+ QReal a Technology for Development of Distributed Mobile Services
CN103391528B (en) A kind of method and related device automatically configuring MTU value in end side
CN111045711A (en) MCU software program upgrading method and system based on USBCAN
KR101196838B1 (en) Common Communication Manager Corded in Source Code of Android Layer Architecture

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151228

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518057 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.