CN103514003B - Program installation method and device - Google Patents

Program installation method and device Download PDF

Info

Publication number
CN103514003B
CN103514003B CN201210218415.7A CN201210218415A CN103514003B CN 103514003 B CN103514003 B CN 103514003B CN 201210218415 A CN201210218415 A CN 201210218415A CN 103514003 B CN103514003 B CN 103514003B
Authority
CN
China
Prior art keywords
application program
installation
type
installation kit
user
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
CN201210218415.7A
Other languages
Chinese (zh)
Other versions
CN103514003A (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.)
Tencent Technology Shenzhen 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 CN201210218415.7A priority Critical patent/CN103514003B/en
Publication of CN103514003A publication Critical patent/CN103514003A/en
Application granted granted Critical
Publication of CN103514003B publication Critical patent/CN103514003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses program installation method and device, belongs to field of mobile terminals.Methods described includes:First kind installation kit is installed to obtain first kind application program;Can judgement obtain superuser right;If it can, then judging whether user needs to install Second Type installation kit;If necessary to install Second Type installation kit, then guiding installs the Second Type installation kit to obtain Second Type application program.By the present invention in that user first obtains the more easy first kind installation kit of installation, when superuser right can be obtained and user has demand, guide the mode of user installation Second Type installation kit, the application program for solving ipa forms can not realize the function of needing superuser right, and the technical problem of acquisition process and the installation process complexity of the application program of deb forms, having reached user easily can obtain and install application program, and can obtain the application program for the function of needing superuser right to realize.

Description

Program installation method and device
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of program installation method and device.
Background technology
Such as iphone(Namely iPhone)Etc smart mobile phone applied in daily life more Come more extensive.And one of smart mobile phone it is particularly important the advantages of be exactly:Various application programs can be installed to extend Function.
But the consideration to copyright and security is in order at, is possessed when existing application program is because of issuing way and operation , multiple mounting modes be present in the difference of authority.Exemplified by application program to be installed in iphone, program installation of the prior art Method mainly has two kinds:The first, obtains the application program installation kit of ipa forms, and then user can use iTunes instruments In " synchronization " pattern the application program is installed, because the application program installation kit of ipa forms is essentially the pressure of zip forms Contracting bag, so installation process is relatively simple, but the application program obtained after installing only possesses a part of System Privileges and can only Operate in sandbox, and do not have superuser right(That is root authority), so this types of applications can not realize it is some The function of needing superuser right to realize;Second, the application program installation kit of deb forms is obtained, then user is led to Cross such as Cydia APT(Advanced Packaging Tool, high-level software bag management system)Management tool or order Go to install application program, the application program obtained after installation is all owned by superuser right(That is root authority), still The acquisition process and installation process of the application program installation kit of deb forms are complex, are only applicable to the stronger use of manipulative ability Family.
During the present invention is realized, inventor has found that prior art at least has problems with:Most user Manipulative ability is poor, can only obtain and install the application program installation kit of ipa forms, and can not start to obtain and install deb lattice The application program installation kit of formula, but these users equally have a demand to the application program comprising specific function, and these Specific function is all to need superuser right to realize.
The content of the invention
Can not realize to solve the application program of ipa forms needs the function of superuser right, and deb forms should The problem of with the acquisition process and installation process complexity of program, the embodiments of the invention provide a kind of program installation method and dress Put.The technical scheme is as follows:
On the one hand, there is provided a kind of program installation method, methods described include:
Installation first kind installation kit is to obtain first kind application program, when the first kind application program is runs The application program of superuser right is not needed;
Can judgement obtain superuser right;
If it can, then judging whether user needs to install Second Type installation kit;
When judging that the user needs to install the Second Type installation kit, the Second Type installation kit is installed in guiding To obtain Second Type application program, the Second Type application program is that the application journey of superuser right is needed during operation Sequence.
Further, can the judgement obtain superuser right, specifically include:
Judge whether include predetermined file or file under specified file path;
If including predetermined file or file under the specified file path, superuser right can be obtained;
If not including predetermined file or file under the specified file path, power user's power can not be obtained Limit.
Further, it is described to judge whether user needs to install Second Type installation kit, specifically include:
There is provided installation confirmation includes the letter of the Second Type application program to user, the installation confirmation Breath;
Feedback command of the user to the installation confirmation is received, is to judge user according to the feedback command It is no to need that Second Type installation kit is installed.
Further, after the guiding installs the Second Type installation kit to obtain Second Type application program, also Including:
Operational order of the user to Second Type application program is received by first kind application program;
The operational order is sent to the Second Type application program to perform using pre- routing;
Notice or socket of the pre- routing between process.
On the other hand, the embodiment of the present invention additionally provides a kind of program erecting device, and described device includes:
First installation module, for installing first kind installation kit to obtain first kind application program, the first kind The application program of superuser right is not needed when type application program is runs;
Authority judge module, for judging that superuser right can be obtained;
Demand estimation module, for if it can, then judging whether user needs to install Second Type installation kit;
Second installation module, for when judging that the user needs to install the Second Type installation kit, guiding to be installed To obtain Second Type application program, the Second Type application program needs super the Second Type installation kit when being operation The application program of user right.
Further, the authority judge module, is specifically included:File judging unit, the first result unit and the second knot Fruit unit;
The file judging unit, for judging whether include predetermined file or file under specified file path;
The first result unit, if for including predetermined file or file under the specified file path, Superuser right can be obtained;
The second result unit, if for not including predetermined file or file under the specified file path, Superuser right can not then be obtained.
Further, the demand estimation module, is specifically included:
Information provider unit and instruction judging unit;
Described information provides unit, includes described to user, the installation confirmation for providing installation confirmation The information of Second Type application program;
The instruction judging unit, for receiving feedback command of the user to the installation confirmation, according to institute Feedback command is stated to judge whether user needs to install Second Type installation kit.
Further, the second installation module, is specifically included:
Guidance unit and automatic installation unit are installed;
The installation guidance unit, for guiding the installation interface that current interface is the Second Type installation kit;
The automatic installation unit, for after user is received to the installation instruction of the Second Type installation kit, transporting Row high-level software bag management system installs the Second Type installation kit.
Further, described program erecting device, in addition to:
Command reception module and instruction sending module;
The command reception module, for receiving user to Second Type application program by first kind application program Operational order;
The instruction sending module, for the operational order to be sent into the Second Type application using pre- routing Program is to perform;
Notice or socket of the pre- routing between process.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The more easy first kind installation kit of installation is first obtained by using family, then can obtain power user's power When limit and user have demand, the mode of user installation Second Type installation kit is guided, solves the application program of ipa forms not The function of needing superuser right, and the skill of the acquisition process of the application program of deb forms and installation process complexity can be realized Art problem, having reached user easily can obtain and install application program, and can obtain including power user in need The application program for the function that authority could be realized.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method flow diagram for the program installation method that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram for the program installation method that the embodiment of the present invention two provides;
Fig. 3 is the block diagram for the program erecting device that the embodiment of the present invention three provides;
Fig. 4 is the block diagram for the authority judge module that the embodiment of the present invention three provides;
Fig. 5 is the block diagram for the demand estimation module that the embodiment of the present invention three provides;
Fig. 6 is the block diagram for the second installation module that the embodiment of the present invention three provides;
Fig. 7 is another block diagram for the program erecting device that the embodiment of the present invention three provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
For the ease of description, continue that the application program installation kit of ipa forms and the application program of deb forms are installed first Bag is described in detail:
The installation kit of ipa forms is unique official's installation kit that apple limited company produces.The installation kit of ipa forms Be essentially the compressed file of zip forms, it is similar with the "Green" software of windows platforms, after decompression i.e. can be used without Traditional installation process, and also only need to delete program file when unloading, thus its to install and uninstall method simple, use Family is easily mastered.In addition, the installation kit of ipa forms can not record user right or owner information, and decompress and be arranged on Under one catalogue being made up of a string of random codes, system only allows the installation kit running software of ipa forms to be formed in the random code Catalogue under(That is sandbox)In, only possess certain customers' authority without superuser right.This type is run herein When do not need superuser right application program corresponding to application program installation kit, referred to as first kind installation kit.
The installation kit of deb forms is Debian(Using a kind of operating system of linux kernel)Exclusive installation kit form, Coordinate APT software management systems to turn into popular a kind of installation kit under current Linux, the installation kits of subsequent deb forms with And APT software management systems are transplanted on iPhone platforms together.The installation kit of deb forms is pacified dependent on specified order Dress, some of which be under order line input order, some there is provided graphical interfaces, it relative to ipa forms installation kit Direct decompression use for installation method it is more complicated, it is necessary to which user has certain learning ability.Further, since deb lattice The installation kit of formula can record user right and owner information in itself, it is necessary to which needs are run with superuser right, can be with Any position of system is operated, much pacified so the application program installed by deb forms can be realized by ipa forms The irrealizable function of application program of dress.Need the application program of superuser right corresponding when this type is run herein Application program installation kit, referred to as Second Type installation kit.
Embodiment one
Fig. 1 is refer to, it illustrates the program installation method that embodiment one provides, the program installation method can be used for all As smart mobile phone, tablet personal computer and desktop computer etc terminal in.It can be realized in terminal institute application to be installed program Function when being run according to it difference of required user right be implemented as two parts, also i.e. by application program, during operation not The function of superuser right is needed, is implemented as the first kind that installation method is simple, operation does not need superuser right Installation kit;The function of superuser right is needed by application program, during operation, it is relatively multiple to be implemented as installation method Miscellaneous, operation needs the Second Type installation kit of superuser right.Only in first kind installation kit and Second Type installation kit After common installation, just the institute of obtainable application program is functional, if terminal can not obtain superuser right, can only pacify The first kind installation kit of application program is filled, and Second Type installation kit can not be installed, now, can only be obtained comprising partial function Application program.The program installation method can include:
Step 110, first kind installation kit is installed to obtain first kind application program, first kind application program is fortune The application program of superuser right is not needed during row;
The terminal being previously mentioned in the present embodiment can refer to iphone/ipod touch/ipad etc..Terminal has extremely Important advantage is that can install various application programs to extend its application function.Wherein, common application program Installation kit form has:Ipa forms and deb forms, the installation kit of ipa forms is that user easily obtains installation, operation does not need The first kind installation kit of superuser right.When user needs to install an application program, the application can be obtained first The application program installation kit of the ipa forms of program, terminal perform installation after receiving first kind installation kit to it.Now, Terminal only has the function of not needing superuser right just to run by the application program obtained after installation.
Step 120, can judgement obtain superuser right;
After first kind installation kit installation, it can obtain only comprising the work(for not needing superuser right can be achieved with The application program of energy, can the application program may determine that obtain superuser right, namely judge whether terminal has escaped from prison, The characteristics of superuser right can be obtained is to include predetermined file or file under a certain specified path of terminal, and this is specified Path can be the installation path of program of escaping from prison, so only needing to judge whether include predetermined file or text under specified path Can part folder can determine whether obtain superuser right.
Step 130, if it is possible to obtain superuser right, then judge whether user needs to install Second Type installation Bag;
If the application program can obtain superuser right, then terminal, which skips to current interface, includes prompting use Whether family needs to install the guiding interface of Second Type installation kit.For example the current interface of terminal will skip to one and include and " be It is no to need that Second Type installation kit is installed " guiding interface, wherein, Second Type installation kit can be the deb of the application program The installation kit of form.
Step 140, when judging that user needs to install Second Type installation kit, guiding installs Second Type installation kit to obtain Second Type application program is obtained, Second Type application program is that the application program of superuser right is needed during operation.
, will be by after what terminal received that user makes at guiding interface needs to install the feedback command of Second Type installation kit Current interface skips to the installation interface of Second Type installation kit, and user can select " installation " on installation interface or " take Disappear ".If user selects " installation ", terminal will install Second Type installation kit automatically, hereafter, can obtain active comprising institute The application program of energy;Terminal will not continue to install if " cancellation ", namely terminal can not realize operation needs in application program The possessed function of superuser right.
In summary, the software installation method that the present embodiment one provides first obtains installation more easy the by using family One type installation kit, then when superuser right can be obtained and user has demand, guide user installation Second Type The mode of installation kit, the function of needing superuser right, and deb forms can not be realized by solving the application program of ipa forms Application program acquisition process and the complicated technical problem of installation process, reached user and easily can obtain and install and answered With program, and the application program for the function that could be realized including superuser right in need can be obtained.
Embodiment two
Fig. 2 is refer to, the flow chart of the program installation method provided it illustrates embodiment two, the program installation method can In terminal for such as mobile phone, tablet personal computer and desktop computer etc.With need application program to be mounted in the present embodiment Exemplified by being " mobile phone house keeper ", first, do not needed in " mobile phone house keeper " application program, during operation superuser right " flow is supervised The function such as control ", " the tinkle of bells management ", " wallpaper management " is implemented as first kind installation kit;Secondly, it is necessary to superuser right The function such as " system software unloading ", " management of process ", " call blocking " is then implemented as Second Type installation kit.Second Type is pacified Installation will be guided by first kind installation kit by filling bag.If terminal can not obtain superuser right, can only install using journey The first kind installation kit of sequence, and Second Type installation kit can not be installed, now, " traffic monitoring ", " the tinkle of bells can only be included " mobile phone house keeper " application program of the function such as management ", " wallpaper management ".The program installation method can include:
Step 210, first kind installation kit is installed to obtain first kind application program, first kind application program is fortune The application program of superuser right is not needed during row;
The terminal mentioned in the present embodiment refers to iphone/ipod touch/ipad etc..The installation kit of ipa forms is eventually The first kind installation kit commonly used in end.When user needs to install " mobile phone house keeper " application program, " mobile phone can be obtained first The application program installation kit of the ipa forms of house keeper " application program, its acquisition modes can be any one in the following manner:
First, carry out download online using Internet resources;
Terminal is connected to internet by wireless or mobile network, into special area for downloading's page of the installation kit of ipa forms Face, corresponding application program is selected to be downloaded installation.For example the application program needed for user is " mobile phone house keeper ", then user In special area for downloading's page selection " mobile phone house keeper " of the installation kit of ipa forms, download and obtain first kind installation kit.
Second, obtained using bluetooth from other-end;
If terminal is nearby when having the other-end of first kind installation kit needed for use, can by bluetooth from other Terminal obtains.For example the application program required for user is " mobile phone house keeper ", in smart mobile phone used in his friend Xiao Ming The first kind installation kit of " mobile phone house keeper " is stored with, then the Bluetooth function of terminal and smart mobile phone is opened and the company of foundation simultaneously After connecing, the first kind installation kit of " mobile phone house keeper " is obtained by Bluetooth transmission.
3rd, obtained using data-interface from other-end.
Have the terminal for having first kind installation kit in the other-end that user uses, then can utilize data-interface from its He obtains terminal.For example the desktop computer of user is loaded with down the first kind installation kit of " mobile phone house keeper ", then user uses Data wire connects terminal and desktop computer, and first kind installation kit can be obtained by data transfer.
Terminal performs installation after getting first kind installation kit to first kind installation kit.Now, terminal passes through peace " mobile phone house keeper " application program obtained after dress, " mobile phone house keeper " application program, which only has, does not need superuser right with regard to energy The function of enough running.
Step 220, judge whether include predetermined file or file under specified file path;
When " mobile phone house keeper " application program is mounted and is run for the first time, it is somebody's turn to do " mobile phone house keeper " application program and may determine that energy Whether no acquisition superuser right, namely terminal have escaped from prison.Specific deterministic process can be carried out in the following way:Sentence Whether under specified file path include predetermined file or file, the file path specified can be program of escaping from prison if breaking Installation path.That is, after terminal installation first kind installation kit, mounted " mobile phone house keeper " application program will determine that Whether include predetermined file or file under specified file path, if including mounted " mobile phone house keeper " applies journey Sequence will guide user installation Second Type installation kit.The Second Type installation kit can be used to realize that " mobile phone house keeper " applies journey The function of superuser right is needed in sequence, during operation.
Step 230, there is provided installation confirmation includes the letter of Second Type application program to user, installation confirmation Breath;
If including predetermined file or file under specified file path, i.e., it can obtain superuser right, then Mounted " mobile phone house keeper " application program will be skipped to by current interface reminds whether user needs to install Second Type installation kit Guiding interface.Such as in specified path A:Predetermined file or file C, then acquired " mobile phone house keeper " are included under B Application program will be skipped to guiding interface by current interface.Guide interface to provide installation confirmation to user, confirmation is installed Include the information of Second Type application program, such as, whether guiding contents displayed on interface is " to need installation call blocking etc. to insert Part ".
Step 240, receive user to install confirmation feedback command, according to feedback command come judge user whether need Second Type installation kit is installed.
Whether user needs installation Second Type installation kit to make feedback installation confirmation at guiding interface, if Mounted " mobile phone house keeper " application program receives the feedback command of user to need to install, then provides Second Type installation kit Installation interface;Otherwise do not provide.
Step 250, the installation interface that current interface is Second Type installation kit is guided;
If mounted " mobile phone house keeper " application program receives the feedback command of user to need to install, install " mobile phone house keeper " application program will include the installation interface of Second Type installation kit by guiding interface skip to.Such as user It is whether in " needing to install the plug-in units such as call blocking " selection needs to install at the guiding interface of terminal according to self-demand, then eventually End will provide the installation interface of " plug-in unit such as call blocking ", and the installation page can be the online installation of the installation kit of deb forms Or download interface.
Step 260, after user is received to the installation instruction of Second Type installation kit, operation high-level software assures reason system System installation Second Type installation kit.
User selects " RUN " on the installation interface that terminal provides, then terminal is receiving user to Second Type installation After the installation instruction of bag, operation high-level software bag management system installation Second Type installation kit.Using APT software management systems as Example, terminal run APT software pipes after the installation instruction of the Second Type installation kit of user " plug-in unit such as call blocking " is received Reason system performs installation to the installation kit of " plug-in unit such as call blocking ".Conventional APT software management systems are Cydia application journeys Sequence.Cydia application programs can voluntarily install Second Type installation kit and solve dependence etc..Hereafter, can be included Institute's functional " mobile phone house keeper " application program.
Step 270, operational order of the user to Second Type application program is received by first kind application program;
After Second Type installation kit installation, the institute of " mobile phone house keeper " application program of terminal installation is functional all may be used To realize.But should " mobile phone house keeper " application program be made up of two types of applications, first kind application program be by The installation of first kind installation kit obtains, namely application program corresponding to ipa forms;Second Type application program is by the second class The installation of type installation kit obtains, namely the application program corresponding to deb forms;" mobile phone is realized in the cooperation of this two parts application program The institute of house keeper " application program is functional.Specifically, the UI interfaces with user mutual can be realized by first kind application program With the part that superuser right is not needed during operation, it is believed that be software agent;And realized by Second Type application program The part of superuser right is needed during operation, it is believed that be backstage core.If user, which needs to use, needs power user The function of authority, then operational order of the user to Second Type application program can be received by first kind application program.Than Such as, the user interface of " mobile phone house keeper " application program is installed by the installation kit of ipa forms and obtained;In " mobile phone house keeper " application program " call blocking " functional module installed and obtain by the installation kit of deb forms, and run in back way.When user was wanted at end When " call blocking " function in " mobile phone house keeper " application program is used on end, terminal will be by first kind application program(I.e. The user interface of " mobile phone house keeper " application program)To receive user to Second Type application program(That is " call blocking " function mould Block)Operational order.
Step 280, operational order is sent to Second Type application program to perform using pre- routing;
Wherein, notice or socket of the pre- routing between process.
Terminal is after first kind application program receives user to the operational order of Second Type application program, by entering Notice or socket between journey(English full name socket)Operational order is sent to Second Type application program, Second Type Application program performs operation after receiving operational order.For example user is to first kind application program(I.e. " mobile phone house keeper " applies The user interface of program)The operational order of " call blocking " is sent, terminal is by first kind application program(I.e. " mobile phone house keeper " should With the user interface of program)The operational order received is sent to Second Type application program by predetermined way(I.e. " incoming call blocks Cut " functional module).Wherein, predetermined way can include any of in the following manner:Notice and socket between process.Enter Notice between journey refers to, a process notifies it that there occurs a certain event, namely first to another or another group of transmission message Types of applications(That is the user interface of " mobile phone house keeper " application program)Directly transmit the execute instruction of one " call blocking " To notify Second Type application program(That is " call blocking " functional module)Perform;Socket refers to that communicating pair is according in advance The rule of communication appointed, correlation function therein is called to realize the function being in communication with each other, that is to say, that call the first kind Application program(That is the user interface of " mobile phone house keeper " application program)With Second Type application program(That is " call blocking " function mould Block)Rule of communication, according to the correlation function of setting by first kind application program(That is the user of " mobile phone house keeper " application program Interface)The operational order received is sent to Second Type application program(That is " call blocking " functional module), make so as to reach Second Type application program(That is " call blocking " functional module)Run the purpose of " call blocking ".
In summary, the program installation method that the present embodiment two provides first obtains installation more easy the by using family One type installation kit, then when superuser right can be obtained and user has demand, guide user installation Second Type The mode of installation kit, the function of needing superuser right, and deb forms can not be realized by solving the application program of ipa forms Application program acquisition process and the complicated technical problem of installation process, reached user and easily can obtain and install and answered With program, and the application program for the function that could be realized including superuser right in need can be obtained.
Embodiment three
Fig. 3 is refer to, the block diagram of the program erecting device provided it illustrates the embodiment of the present invention three, the program Installation method can be used in the terminal of such as smart mobile phone, tablet personal computer and desktop computer etc, and the program erecting device can With including:
First installation module 310, authority judge module 320, demand estimation module 330, second install module 340.
First installation module 310 is used to install first kind installation kit to obtain first kind application program, the first kind The application program of superuser right is not needed when application program is runs;
Can authority judge module 320 is used for judgement obtain superuser right;
If demand estimation module 330 is used to that superuser right can be obtained, judge whether user needs installation the Two type installation kits;
Second installation module 340 is used for when judging that user needs to install Second Type installation kit, guiding the second class of installation For type installation kit to obtain Second Type application program, Second Type application program is that the application of superuser right is needed during operation Program.
Preferably, authority judge module 320 can specifically include:File judging unit 322, the and of the first result unit 324 Second result unit 326, as shown in Figure 4.Wherein, file judging unit 322 is used to judge whether include under specified file path Predetermined file or file;If the first result unit 324 is used to include predetermined file or file under specified file path Folder, then can obtain superuser right;If the second result unit 326 is used to not include predetermined file under specified file path Or file, then it can not obtain superuser right.
It is further preferable that demand estimation module 330 can specifically include:Information provider unit 332, instruction judging unit 334, as shown in Figure 5.Wherein, information provider unit 322 is used to provide installation confirmation to user, and installing confirmation includes The information of Second Type application program;Instruction judging unit 324 is used to receive feedback command of the user to installing confirmation, root Judge whether user needs to install Second Type installation kit according to feedback command.
It is further preferable that the second installation module 340 can specifically include:Guidance unit 342 and automatic installation unit are installed 344, as shown in Figure 6.Wherein, the installation interface that guidance unit 342 is used to guide current interface to be Second Type installation kit is installed; Automatic installation unit 344 is used for after user is received to the installation instruction of Second Type installation kit, and operation high-level software assures Reason system installs Second Type installation kit.
It is further preferable that as shown in fig. 7, program erecting device can also include command reception module 350 and instruction is sent Module 360.Wherein, command reception module 350 is used to receive user to Second Type application journey by first kind application program The operational order of sequence;Instruction sending module 360 is used to operational order is sent into Second Type application program using pre- routing To perform;Notice or socket of the pre- routing between process.
In summary, it is more simple that the program erecting device that the embodiment of the present invention three provides first obtains installation by using family First kind installation kit, then when superuser right can be obtained and user has demand, guide user installation second The mode of type installation kit, the function of needing superuser right, and deb can not be realized by solving the application program of ipa forms The complicated technical problem of the acquisition process and installation process of the application program of form, having reached user easily can obtain and pacify Application program is filled, and the application program for the function that could be realized including superuser right in need can be obtained.
It should be noted that:The program erecting device that above-described embodiment provides is when installing installation kit, only with above-mentioned each work( Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of device is divided into different functional modules, described above all or part of to complete Function.In addition, program erecting device and program installation method that above-described embodiment provides belong to same design, it was implemented Journey refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (6)

1. a kind of program installation method, it is characterised in that methods described includes:
To obtain first kind application program, the first kind application program is not required to the installation first kind installation kit when being operation Want the application program of superuser right;
Judge whether include predetermined file or file under specified file path by the first kind application program;If Include predetermined file or file under the specified file path, then can obtain superuser right;If described specify Do not include predetermined file or file under file path, then can not obtain superuser right;
If superuser right can be obtained, current interface is skipped to include by the first kind application program carried Show the guiding interface for whether installing Second Type installation kit, the guiding interface is used to provide installation confirmation to user, institute Stating installation confirmation includes the information of Second Type application program;Receive feedback of the user to the installation confirmation Instruction, judges whether user needs to install the Second Type installation kit according to the feedback command;
When judging that the user needs to install the Second Type installation kit, guided and pacified by the first kind application program The Second Type installation kit is filled to obtain Second Type application program, is needed when the Second Type application program is runs super The application program of level user right.
2. program installation method according to claim 1, it is characterised in that described to pass through the first kind application program Guiding installs the Second Type installation kit to obtain Second Type application program, specifically includes:
Guide the installation interface that current interface is the Second Type installation kit;
After user is received to the installation instruction of the Second Type installation kit, bag management system installation institute of operation high-level software State Second Type installation kit.
3. program installation method according to claim 1, it is characterised in that described to pass through the first kind application program After guiding installs the Second Type installation kit to obtain Second Type application program, in addition to:
Operational order of the user to Second Type application program is received by the first kind application program;
The operational order is sent to the Second Type application program to perform using pre- routing;
Notice or socket of the pre- routing between process.
4. a kind of program erecting device, it is characterised in that described device includes:
First installation module, for installing first kind installation kit to obtain first kind application program, the first kind should It is that the application program of superuser right is not needed when running with program;
Authority judge module, for judging that superuser right can be obtained by the first kind application program;
Demand estimation module, if for superuser right can be obtained, judged by the first kind application program Whether user needs to install Second Type installation kit;
Second installation module, for when judging that the user needs to install the Second Type installation kit, passing through described first Types of applications guiding installs the Second Type installation kit to obtain Second Type application program, the Second Type application Program is that the application program of superuser right is needed during operation;
The authority judge module, is specifically included:File judging unit, the first result unit and the second result unit;
The file judging unit, for judging whether include in advance under specified file path by the first kind application program Determine file or file;
The first result unit, if for including predetermined file or file under the specified file path, can Obtain superuser right;
The second result unit, if for not including predetermined file or file under the specified file path, no Superuser right can be obtained;
The demand estimation module, is specifically included:
Information provider unit and instruction judging unit;
Described information provides unit, whether includes prompting for skipping to current interface by the first kind application program The guiding interface of Second Type installation kit is installed, the guiding interface is used to provide installation confirmation to user, the installation Confirmation includes the information of the Second Type application program;
The instruction judging unit, for receiving feedback command of the user to the installation confirmation, according to described anti- Feedback is instructed to judge whether user needs to install the Second Type installation kit.
5. program erecting device according to claim 4, it is characterised in that the second installation module, specifically include:
Guidance unit and automatic installation unit are installed;
The installation guidance unit, for guiding the installation interface that current interface is the Second Type installation kit;
The automatic installation unit, for after user is received to the installation instruction of the Second Type installation kit, operation to be high Level software package management system installs the Second Type installation kit.
6. program erecting device according to claim 4, it is characterised in that described program erecting device, in addition to:
Command reception module and instruction sending module;
The command reception module, for receiving user to Second Type application program by the first kind application program Operational order;
The instruction sending module, for the operational order to be sent into the Second Type application program using pre- routing To perform;
Notice or socket of the pre- routing between process.
CN201210218415.7A 2012-06-28 2012-06-28 Program installation method and device Active CN103514003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210218415.7A CN103514003B (en) 2012-06-28 2012-06-28 Program installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210218415.7A CN103514003B (en) 2012-06-28 2012-06-28 Program installation method and device

Publications (2)

Publication Number Publication Date
CN103514003A CN103514003A (en) 2014-01-15
CN103514003B true CN103514003B (en) 2018-02-13

Family

ID=49896783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210218415.7A Active CN103514003B (en) 2012-06-28 2012-06-28 Program installation method and device

Country Status (1)

Country Link
CN (1) CN103514003B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636154B (en) * 2013-11-07 2019-02-26 腾讯科技(深圳)有限公司 Application program installation method and device
CN104123166A (en) * 2014-08-06 2014-10-29 浪潮软件股份有限公司 Generation method for ipa installation package in non-Xcode environment
CN105335650A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Electronic device and software installing/uninstalling system and method thereof
CN105867966A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Application software installation method and apparatus
CN107944272A (en) * 2017-12-12 2018-04-20 福建中金在线信息科技有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of APK safety tests

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886747A (en) * 2003-11-07 2006-12-27 诺基亚有限公司 Method and device for controlling installation of applications using operator root certificates
CN1963791A (en) * 2006-11-30 2007-05-16 北京飞天诚信科技有限公司 Method and system for accessing storage device by non-super user
CN101403973A (en) * 2006-12-05 2009-04-08 三星电子株式会社 Application program launching method and system for improving security of embedded Linux kernel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7228541B2 (en) * 2003-01-17 2007-06-05 National Instruments Corporation Creation of application system installer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886747A (en) * 2003-11-07 2006-12-27 诺基亚有限公司 Method and device for controlling installation of applications using operator root certificates
CN1963791A (en) * 2006-11-30 2007-05-16 北京飞天诚信科技有限公司 Method and system for accessing storage device by non-super user
CN101403973A (en) * 2006-12-05 2009-04-08 三星电子株式会社 Application program launching method and system for improving security of embedded Linux kernel

Also Published As

Publication number Publication date
CN103514003A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103514003B (en) Program installation method and device
CN104183250B (en) Method and system for synchronizing function of music player of intelligent device and Bluetooth headset
US20130316647A1 (en) Device, system, and method for logging near field communications tag interactions
CN107179697A (en) A kind of intelligent home equipment control method, apparatus and system
CN104063225B (en) Screen locking theme development method and device
CN105814591A (en) Verification information transmission method and terminal
CN104424241B (en) Web site url processing method based on two dimensional code, apparatus and system
CN101119522A (en) Method for simulating AT command report
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN104158908B (en) Method and system based on WiFi equipment transmission file
US20140316826A1 (en) Wireless carrier platform for service applications
CN103795445B (en) Method and system for transferring address book information based on blue tooth
CN107426800A (en) Reduce the method, apparatus and smart card of power consumption of terminal
CN104035783A (en) Platform integrating method and platform integrating system matched with third party web page in application program
CN101834887A (en) Internet-based method and system for providing remote service for mobile terminal
CN110225510A (en) Method and apparatus for burning embedded SIM card
CN103577180A (en) Data processing method and data processing device
CN102571826B (en) The method and system applied from the network platform to client push
KR101943430B1 (en) User Device, Driving Method of User Device, Apparatus for Providing Service and Driving Method of Apparatus for Providing Service
CN104244171A (en) Data transmission system and method on basis of NFC (near field communication) connection
CN108664799A (en) The authority setting method and device of device management application
CN104243680A (en) Information processing method and electronic devices
CN108306768A (en) Collaboration upgrade method, device and the storage medium of gateway and its coordinator
CN105722244A (en) Information processing method and electronic device
CN104301419A (en) Non-local-machine remote download control system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant