CN103514003A - Program installation method and device - Google Patents

Program installation method and device Download PDF

Info

Publication number
CN103514003A
CN103514003A CN201210218415.7A CN201210218415A CN103514003A CN 103514003 A CN103514003 A CN 103514003A CN 201210218415 A CN201210218415 A CN 201210218415A CN 103514003 A CN103514003 A CN 103514003A
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.)
Granted
Application number
CN201210218415.7A
Other languages
Chinese (zh)
Other versions
CN103514003B (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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a program installation method and device, and belongs to the field of mobile terminals. The program installation method includes the steps of installing a first-type installation package to obtain a first-type application program, judging whether a super user right can be obtained or not, judging whether a user needs to install a second-type installation package or not if the super user right can be obtained, and conducting guiding to install the second-type installation package to obtain a second-type application program if the second type installation package needs to be installed. According to the program installation method, the user firstly obtains the first-type installation package which is relatively simple to install and is guided to install the second-type installation package when the super user right can be obtained and the user has requirements, and therefore the technical problems that the function which needs the super user right can not be achieved according to an application program of the ipa format and the obtaining process and the installation process of an application program of the deb format are complex are solved, the user can easily obtain and install the application programs, and the application programs with the function which can be achieved only with the super user right can be obtained.

Description

Program installation method and device
Technical field
The present invention relates to field of mobile terminals, particularly a kind of program installation method and device.
Background technology
Such as iphone(, be also i Phone) smart mobile phone in daily life, applied more and more extensive.And a very important advantage of smart mobile phone is exactly: various application programs can be installed and carry out expanded function.
But for the consideration to copyright and security, existing application program because issuing way and when operation the authority that has difference, there is multiple mounting modes.The set up applications in iphone of take is example, program installation method of the prior art mainly contains two kinds: the first, obtain the application program installation kit of ipa form, then user can adopt " synchronously " pattern in iTunes instrument that this application program is installed, because the application program installation kit of ipa form is essentially the compressed package of zip form, so installation process is comparatively simple, but the application program obtaining after installing only has a part of System Privileges and can only operate in sandbox, do not there is superuser right (being root authority), so this types of applications cannot realize some function that needs superuser right to realize, the second, obtain the application program installation kit of deb form, then user is by the APT(Advanced Packaging Tool such as Cydia, high-level software bag management system) management tool or order line are carried out set up applications, the application program obtaining after installing all has superuser right (being root authority), but the acquisition process of the application program installation kit of deb form and installation process are comparatively complicated, are only applicable to the user that manipulative ability is stronger.
In realizing process of the present invention, inventor finds that prior art at least exists following problem: most user's manipulative ability is poor, can only obtain and install the application program installation kit of ipa form, and cannot start to obtain and install the application program installation kit of deb form, but these users have the demand of the application program to comprising specific function equally, and these specific functions are all to need superuser right to realize.
Summary of the invention
In order to solve the application program of ipa form, can not realize the function that needs superuser right, and the problem of the acquisition process of the application program of deb form and installation process complexity, the embodiment of the present invention provides a kind of program installation method and device.Described technical scheme is as follows:
On the one hand, provide a kind of program installation method, described method comprises:
First kind installation kit is installed to obtain first kind application program, described first kind application program does not need the application program of superuser right while being operation;
Can judgement obtain superuser right;
If can, judge whether user needs to install Second Type installation kit;
When the described user of judgement need to install described Second Type installation kit, guiding is installed described Second Type installation kit to obtain Second Type application program, and described Second Type application program needs the application program of superuser right while being operation.
Further, can described judgement obtain superuser right, specifically comprises:
Judge and under specified file path, whether comprise predetermined file or file;
If described specified file comprises predetermined file or file under path, can obtain superuser right;
If described specified file does not comprise predetermined file or file under path, can not obtain superuser right.
Further, whether the described user of judgement needs Second Type installation kit is installed, and specifically comprises:
Provide and confirmation is installed to user, described installation confirmation comprises the information of described Second Type application program;
Receive the feedback command of described user to described installation confirmation, according to described feedback command, judge whether user needs to install Second Type installation kit.
Further, described guiding is installed described Second Type installation kit with after obtaining Second Type application program, also comprises:
By first kind application program, receive the operational order of user to Second Type application program;
Utilize pre-routing that described operational order is sent to described Second Type application program to carry out;
Described pre-routing is notice or the socket between process.
On the other hand, the embodiment of the present invention also provides a kind of installation device, and described device comprises:
The first installation module, for first kind installation kit being installed to obtain first kind application program, described first kind application program does not need the application program of superuser right while being operation;
Can authority judge module, obtain superuser right for judgement;
Demand estimation module, if for can, judge whether user needs to install Second Type installation kit;
The second installation module, for when the described user of judgement need to install described Second Type installation kit, guiding is installed described Second Type installation kit to obtain Second Type application program, and described Second Type application program needs the application program of superuser right while being operation.
Further, described authority judge module, specifically comprises: file judging unit, the first result unit and the second result unit;
Described file judging unit, for judging whether comprise predetermined file or file under specified file path;
Described the first result unit, if for comprising predetermined file or file under described specified file path, can obtain superuser right;
Described the second result unit, if for not comprising predetermined file or file under described specified file path, can not obtain superuser right.
Further, described demand estimation module, specifically comprises:
Information provides unit and instruction judging unit;
Described information provides unit, for providing, confirmation is installed to user, and described installation confirmation comprises the information of described Second Type application program;
Described instruction judging unit, for receiving the feedback command of described user to described installation confirmation, judges according to described feedback command whether user needs to install Second Type installation kit.
Further, described the second installation module, specifically comprises:
Guidance unit and Auto-mounting unit are installed;
Described installation guidance unit is the installation interface of described Second Type installation kit for guiding current interface;
Described Auto-mounting unit, for receive user to the installation instruction of described Second Type installation kit after, operation high-level software bag management system is installed described Second Type installation kit.
Further, described installation device, also comprises:
Command reception module and instruction sending module;
Described command reception module, for receiving the operational order of user to Second Type application program by first kind application program;
Described instruction sending module, for utilizing pre-routing that described operational order is sent to described Second Type application program to carry out;
Described pre-routing is notice or the socket between process.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By making user first obtain the comparatively easy first kind installation kit of installation, then in the time can obtaining superuser right and user and have demand, the mode of guiding user installation Second Type installation kit, the application program that has solved ipa form can not realize the function that needs superuser right, and the technical matters of the acquisition process of the application program of deb form and installation process complexity, having reached user can obtain and set up applications like a cork, and can obtain and include the application program that needs the function that superuser right could realize.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the program installation method that provides of the embodiment of the present invention one;
Fig. 2 is the method flow diagram of the program installation method that provides of the embodiment of the present invention two;
Fig. 3 is the block diagram of the installation device that provides of the embodiment of the present invention three;
Fig. 4 is the block diagram of the authority judge module that provides of the embodiment of the present invention three;
Fig. 5 is the block diagram of the demand estimation module that provides of the embodiment of the present invention three;
Fig. 6 is the block diagram of the second installation module of providing of the embodiment of the present invention three;
Fig. 7 is another block diagram of the installation device that provides of the embodiment of the present invention three.
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.
For convenience of description, first continue the application program installation kit of the application program installation kit of ipa form and deb form to be described in detail:
The installation kit of ipa form is unique official installation kit that apple incorporated company produces.The installation kit of ipa form is essentially the compressed file of zip form, similar with the "Green" software of windows platform, after decompress(ion), can use and not need traditional installation process, and when unloading also only needs delete program file, so its installation and discharging method are simple, user easily grasps.In addition, the installation kit of ipa form can not recording user authority or owner information, and decompress(ion) is arranged under a catalogue consisting of a string random code, under the catalogue that the installation kit running software that system only allows ipa form forms in this random code in (being sandbox), only have certain customers' authority and do not need superuser right.Application program installation kit corresponding to application program that does not need superuser right during herein by this type operation, is referred to as first kind installation kit.
The installation kit of deb form is a kind of operating system that Debian(adopts linux kernel) exclusive installation kit form, coordinate APT software management system to become popular a kind of installation kit under current Linux, the installation kit of deb form and APT software management system are transplanted on iPhone platform together subsequently.The installation kit of deb form depends on specified command and installs, wherein some is input command under order line, some has been to provide graphical interfaces, and it is installation method more complicated with respect to the direct decompress(ion) use of the installation kit of ipa form, needs user to have certain learning ability.In addition, because the installation kit of deb form itself can recording user authority and owner information, must need to move with superuser right, the application program of installing by deb form can operate any position of system, so can realize the irrealizable function of application program of much installing by ipa form.Application program installation kit corresponding to application program that needs superuser right during herein by this type operation, is referred to as Second Type installation kit.
Embodiment mono-
Please refer to Fig. 1, it shows the program installation method that embodiment mono-provides, and this program installation method can be in the terminal such as smart mobile phone, panel computer and desktop computer.When the function that can realize in the application program that terminal will be installed is moved according to it, the difference of required user right realizes becomes two parts, also be about in application program, during operation, do not need the function of superuser right, realize and become the first kind installation kit that installation method is simple, operation does not need superuser right; By in application program, during operation, need the function of superuser right, realize and become the Second Type installation kit that installation method is relatively complicated, operation needs superuser right.Only after first kind installation kit and the common installation of Second Type installation kit, the all functions of the obtainable application program of, if terminal can not obtain superuser right, first kind installation kit that can only set up applications, and Second Type installation kit cannot be installed, now, can only obtain the application program that comprises partial function.This program installation method can comprise:
Step 110, installs first kind installation kit to obtain first kind application program, and first kind application program does not need the application program of superuser right while being operation;
The terminal of mentioning in the present embodiment can refer to iphone/ipod touch/ipad etc.The very important advantage that terminal has is various application programs can be installed expand its application function.Wherein, the installation kit form of common application program has: ipa form and deb form, the installation kit of ipa form is that user easily obtains installation, moves the first kind installation kit that does not need superuser right.When user need to install an application program, can first obtain the application program installation kit of the ipa form of this application program, terminal is carried out and is installed it after receiving first kind installation kit.Now, terminal, by the application program obtaining after installing, only has the function that does not need superuser right just can move.
Step 120, can judgement obtain superuser right;
After the installation of first kind installation kit, can obtain and only comprise the application program that does not need the function that superuser right just can realize, can this application program can judge obtain superuser right, also judge whether terminal escapes from prison, the feature that can obtain superuser right is to comprise predetermined file or file under a certain specified path of terminal, this specified path can be the installation path of the program of escaping from prison, so only need to judge that can whether comprise predetermined file or file under specified path can judge and obtain superuser right.
Step 130, if can obtain superuser right, judges whether user needs to install Second Type installation kit;
If this application program can obtain superuser right, terminal skips to current interface to include the guiding interface whether prompting user needs to install Second Type installation kit so.Such as, the current interface of terminal will skip to one and include the guiding interface of " whether needing to install Second Type installation kit ", wherein, Second Type installation kit can be the installation kit of the deb form of this application program.
Step 140, when judgement user need to install Second Type installation kit, guiding is installed Second Type installation kit to obtain Second Type application program, and Second Type application program needs the application program of superuser right while being operation.
Terminal receives user after the feedback command that Second Type installation kit need to be installed that guides interface to make, and will by current interface, be skipped to the installation interface of Second Type installation kit, and user can select " installation " or " cancellation " on installation interface.If user selects " installation ", terminal, by Auto-mounting Second Type installation kit, after this, can obtain the application program that comprises all functions; " if cancellation ", terminal will not continue to install, and be also that terminal can not realize the function having that operation in application program needs superuser right.
In sum, the software installation method that the present embodiment one provides is by making user first obtain the comparatively easy first kind installation kit of installation, then in the time can obtaining superuser right and user and have demand, the mode of guiding user installation Second Type installation kit, the application program that has solved ipa form can not realize the function that needs superuser right, and the technical matters of the acquisition process of the application program of deb form and installation process complexity, having reached user can obtain and set up applications like a cork, and can obtain and include the application program that needs the function that superuser right could realize.
Embodiment bis-
Please refer to Fig. 2, it shows the process flow diagram of the program installation method that embodiment bis-provides, and this program installation method can be in the terminal such as mobile phone, panel computer and desktop computer.The application program that the needs of take in the present embodiment are installed is that " mobile phone house keeper " is example, first, in " mobile phone house keeper " application program, during operation, not needing the functions such as " traffic monitoring ", " the tinkle of bells management ", " wallpaper management " of superuser right to realize becomes first kind installation kit; Secondly, need the functions such as " system software unloading ", " management of process ", " incoming call is tackled " of superuser right to realize and become Second Type installation kit.Second Type installation kit will be installed by the guiding of first kind installation kit.If terminal can not obtain superuser right, first kind installation kit that can only set up applications, and Second Type installation kit cannot be installed, now, can only obtain " mobile phone house keeper " application program of functions such as comprising " traffic monitoring ", " the tinkle of bells management ", " wallpaper management ".This program installation method can comprise:
Step 210, installs first kind installation kit to obtain first kind application program, and first kind application program does not need the application program of superuser right while being operation;
The terminal of mentioning in the present embodiment refers to iphone/ipod touch/ipad etc.The installation kit of ipa form is first kind installation kit conventional in terminal.When user needs " mobile phone house keeper " application program is installed, can first obtain the application program installation kit of the ipa form of " mobile phone house keeper " application program, its obtain manner can be any one in following mode:
The first, utilize Internet resources to carry out download online;
Terminal is connected to internet by wireless or mobile network, enters special area for downloading's page of the installation kit of ipa form, selects corresponding application program to download and install.Such as, the required application program of user is " mobile phone house keeper ", user selects " mobile phone house keeper " at special area for downloading's page of the installation kit of ipa form, downloads and obtains first kind installation kit.
The second, utilize bluetooth to obtain from other-end;
If while having the other-end that uses required first kind installation kit near terminal, can obtain from other-end by bluetooth.Such as, the needed application program of user is " mobile phone house keeper ", in the smart mobile phone that his friend Xiao Ming uses, store the first kind installation kit of " mobile phone house keeper ", after the Bluetooth function of terminal and smart mobile phone being opened simultaneously and being connected, by Bluetooth transmission, obtain the first kind installation kit of " mobile phone house keeper ".
The 3rd, utilize data-interface to obtain from other-end.
In the other-end that user uses, there is the terminal that has first kind installation kit, can utilize data-interface to obtain from other-end.Such as, user's desktop computer has been loaded with down the first kind installation kit of " mobile phone house keeper ", and user's usage data line connects terminal and desktop computer, by data transmission, can obtain first kind installation kit.
Terminal is carried out and is installed first kind installation kit after getting first kind installation kit.Now, terminal, by " mobile phone house keeper " application program obtaining after installing, should " mobile phone house keeper " application program only have the function that does not need superuser right just can move.
Step 220, judges under specified file path, whether to comprise predetermined file or file;
When " mobile phone house keeper " application program is mounted and moves for the first time, can this " mobile phone house keeper " application program can judge obtain superuser right, is also whether terminal escapes from prison.Concrete deterministic process can be carried out in the following way: whether judgement comprises predetermined file or file under the file path of appointment, and the file path of this appointment can be the installation path of the program of escaping from prison.That is to say, terminal is installed after first kind installation kit, mounted " mobile phone house keeper " application program is by judging under specified file path whether comprise predetermined file or file, if comprised, mounted " mobile phone house keeper " application program will guide user installation Second Type installation kit.This Second Type installation kit can be for realizing " mobile phone house keeper " application program, needs the function of superuser right during operation.
Step 230, provides and confirmation is installed to user, and the information that confirmation comprises Second Type application program is installed;
If comprise predetermined file or file under specified file path, can obtain superuser right, whether so mounted " mobile phone house keeper " application program needs to install the guiding interface of Second Type installation kit by skipped to reminding user by current interface.Such as, specified path A: comprise predetermined file or file C under B, acquired " mobile phone house keeper " application program will skip to guiding interface by current interface.Guiding interface provides installs confirmation to user, and the information that confirmation comprises Second Type application program is installed, such as, guiding contents displayed on interface is " whether need to install incoming call interception and wait plug-in unit ".
Step 240, receives user to the feedback command of confirmation is installed, and according to feedback command, judges whether user needs to install Second Type installation kit.
Whether user need that to installation confirmation Second Type installation kit is installed at guiding interface is made feedback, if mounted " mobile phone house keeper " application program receives user's feedback command and installs for needs, provide the installation interface of Second Type installation kit; Otherwise do not provide.
Step 250, guiding current interface is the installation interface of Second Type installation kit;
If mounted " mobile phone house keeper " application program receives user's feedback command and installs for needs, mounted " mobile phone house keeper " application program will skip to the installation interface that includes Second Type installation kit by guiding interface.Such as, user selects to need to install in whether the guiding interface of terminal " need to install incoming call interception and wait plug-in unit " according to self-demand, terminal will provide the installation interface of " incoming call interception waits plug-in unit ", the online installation of the installation kit that this installation page can be deb form or download interface.
Step 260, receive user to the installation instruction of Second Type installation kit after, operation high-level software bag management system is installed Second Type installation kit.
On the installation interface that user provides in terminal, select " RUN ", terminal receive user to the installation instruction of Second Type installation kit after, operation high-level software bag management system is installed Second Type installation kit.Take APT software management system as example, and terminal is after receiving the installation instruction of user's Second Type installation kit " incoming call interception waits plug-in unit ", and operation APT software management system is carried out and installed the installation kit of " incoming call interception waits plug-in unit ".Conventional APT software management system is Cydia application program.Cydia application program can be installed voluntarily Second Type installation kit and be solved dependence etc.After this, can obtain " mobile phone house keeper " application program that comprises all functions.
Step 270, receives the operational order of user to Second Type application program by first kind application program;
After the installation of Second Type installation kit, all functions of " mobile phone house keeper " application program that terminal is installed can realize.But should " mobile phone house keeper " application program be comprised of two types of applications, first kind application program is installed and is obtained by first kind installation kit, is also the application program that ipa form is corresponding; Second Type application program install to be obtained by Second Type installation kit, be also deb form corresponding application program; This two parts application program cooperation realizes all functions of " mobile phone house keeper " application program.Specifically, in the time of can realizing with the UI interface of user interactions and operation by first kind application program, do not need the part of superuser right, can think software agent; And need the part of superuser right while realizing operation by Second Type application program, can think backstage core.If user need to use the function that needs superuser right, can receive the operational order of user to Second Type application program by first kind application program.Such as, the user interface of " mobile phone house keeper " application program is installed and is obtained by the installation kit of ipa form; " incoming call interception " functional module in " mobile phone house keeper " application program is installed and is obtained by the installation kit of deb form, and operation in back way.When user wants to use " incoming call interception " function in " mobile phone house keeper " application program in terminal, terminal will receive the operational order of user to Second Type application program (i.e. " incoming call interception " functional module) by first kind application program (i.e. the user interface of " mobile phone house keeper " application program).
Step 280, utilizes pre-routing that operational order is sent to Second Type application program to carry out;
Wherein, pre-routing is notice or the socket between process.
Terminal first kind application program receive user to the operational order of Second Type application program after, by the notice between process or socket (English full name socket), operational order is sent to Second Type application program, Second Type application program receives executable operations after operational order.Such as, user sends the operational order of " incoming call interception " to first kind application program (i.e. the user interface of " mobile phone house keeper " application program), the operational order that terminal receives first kind application program (i.e. the user interface of " mobile phone house keeper " application program) sends to Second Type application program (i.e. " incoming call interception " functional module) by predetermined way.Wherein, predetermined way can comprise any in following mode: the notice between process and socket.Notice between process refers to, a process sends message to another or another group, notifying it that a certain event has occurred, is also that Second Type application program (i.e. " incoming call interception " functional module) execution is notified in the execution instruction that first kind application program (i.e. the user interface of " mobile phone house keeper " application program) directly sends " incoming call interception ", socket refers to, communicating pair is according to the rule of communication of making an appointment, the related function calling is wherein realized the function of intercommunication mutually, that is to say the rule of communication that calls first kind application program (i.e. the user interface of " mobile phone house keeper " application program) and Second Type application program (i.e. " incoming call interception " functional module), operational order first kind application program (i.e. the user interface of " mobile phone house keeper " application program) being received according to the related function of setting sends to Second Type application program (i.e. " incoming call interception " functional module), thereby reach the object that makes Second Type application program (i.e. " incoming call interception " functional module) operation " incoming call interception ".
In sum, the program installation method that the present embodiment two provides is by making user first obtain the comparatively easy first kind installation kit of installation, then in the time can obtaining superuser right and user and have demand, the mode of guiding user installation Second Type installation kit, the application program that has solved ipa form can not realize the function that needs superuser right, and the technical matters of the acquisition process of the application program of deb form and installation process complexity, having reached user can obtain and set up applications like a cork, and can obtain and include the application program that needs the function that superuser right could realize.
Embodiment tri-
Please refer to Fig. 3, it shows the block diagram of the installation device that the embodiment of the present invention three provides, and this program installation method can be in the terminal such as smart mobile phone, panel computer and desktop computer, and this installation device can comprise:
The first installation module 310, authority judge module 320, demand estimation module 330, the second installation module 340.
The first installation module 310 is for installing first kind installation kit to obtain first kind application program, and first kind application program does not need the application program of superuser right while being operation;
Can authority judge module 320 obtain superuser right for judgement;
If demand estimation module 330 for obtaining superuser right, judges whether user needs to install Second Type installation kit;
The second installation module 340 is for when judgement user need to install Second Type installation kit, and guiding is installed Second Type installation kit to obtain Second Type application program, and Second Type application program needs the application program of superuser right while being operation.
Preferably, authority judge module 320 can specifically comprise: file judging unit 322, the first result unit 324 and the second result unit 326, as shown in Figure 4.Wherein, file judging unit 322 is for judging whether comprise predetermined file or file under specified file path; If the first result unit 324 predetermined file or file can obtain superuser right for comprising under specified file path; If the second result unit 326 predetermined file or file can not obtain superuser right for not comprising under specified file path.
More preferably, demand estimation module 330 can specifically comprise: information provides unit 332, instruction judging unit 334, as shown in Figure 5.Wherein, information provides unit 322 confirmation to be installed to user for providing, and the information that confirmation comprises Second Type application program is installed; Instruction judging unit 324, for receiving user to the feedback command of confirmation is installed, judges according to feedback command whether user needs to install Second Type installation kit.
More preferably, the second installation module 340 can specifically comprise: guidance unit 342 and Auto-mounting unit 344 are installed, as shown in Figure 6.Wherein, guidance unit 342 being installed is the installation interface of Second Type installation kit for guiding current interface; Auto-mounting unit 344 for receive user to the installation instruction of Second Type installation kit after, operation high-level software bag management system is installed Second Type installation kit.
More preferably, as shown in Figure 7, installation device can also comprise command reception module 350 and instruction sending module 360.Wherein, command reception module 350 is for receiving the operational order of user to Second Type application program by first kind application program; Instruction sending module 360 for utilizing pre-routing that operational order is sent to Second Type application program to carry out; Pre-routing is notice or the socket between process.
In sum, the installation device that the embodiment of the present invention three provides is by making user first obtain the comparatively easy first kind installation kit of installation, then in the time can obtaining superuser right and user and have demand, the mode of guiding user installation Second Type installation kit, the application program that has solved ipa form can not realize the function that needs superuser right, and the technical matters of the acquisition process of the application program of deb form and installation process complexity, having reached user can obtain and set up applications like a cork, and can obtain and include the application program that needs the function that superuser right could realize.
It should be noted that: the installation device that above-described embodiment provides is when installing installation kit, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, installation device and program installation method that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
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 modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a program installation method, is characterized in that, described method comprises:
First kind installation kit is installed to obtain first kind application program, described first kind application program does not need the application program of superuser right while being operation;
Can judgement obtain superuser right;
If can, judge whether user needs to install Second Type installation kit;
When the described user of judgement need to install described Second Type installation kit, guiding is installed described Second Type installation kit to obtain Second Type application program, and described Second Type application program needs the application program of superuser right while being operation.
2. program installation method according to claim 1, is characterized in that, can described judgement obtain superuser right, specifically comprises:
Judge and under specified file path, whether comprise predetermined file or file;
If described specified file comprises predetermined file or file under path, can obtain superuser right;
If described specified file does not comprise predetermined file or file under path, can not obtain superuser right.
3. program installation method according to claim 1, is characterized in that, whether the described user of judgement needs Second Type installation kit is installed, and specifically comprises:
Provide and confirmation is installed to user, described installation confirmation comprises the information of described Second Type application program;
Receive the feedback command of described user to described installation confirmation, according to described feedback command, judge whether user needs to install Second Type installation kit.
4. program installation method according to claim 1, is characterized in that, described guiding is installed described Second Type installation kit to obtain Second Type application program, specifically comprises:
Guiding current interface is the installation interface of described Second Type installation kit;
Receive user to the installation instruction of described Second Type installation kit after, operation high-level software bag management system is installed described Second Type installation kit.
5. program installation method according to claim 1, is characterized in that, described guiding is installed described Second Type installation kit with after obtaining Second Type application program, also comprises:
By first kind application program, receive the operational order of user to Second Type application program;
Utilize pre-routing that described operational order is sent to described Second Type application program to carry out;
Described pre-routing is notice or the socket between process.
6. an installation device, is characterized in that, described device comprises:
The first installation module, for first kind installation kit being installed to obtain first kind application program, described first kind application program does not need the application program of superuser right while being operation;
Can authority judge module, obtain superuser right for judgement;
Demand estimation module, if for can, judge whether user needs to install Second Type installation kit;
The second installation module, for when the described user of judgement need to install described Second Type installation kit, guiding is installed described Second Type installation kit to obtain Second Type application program, and described Second Type application program needs the application program of superuser right while being operation.
7. installation device according to claim 6, is characterized in that, described authority judge module, specifically comprises: file judging unit, the first result unit and the second result unit;
Described file judging unit, for judging whether comprise predetermined file or file under specified file path;
Described the first result unit, if for comprising predetermined file or file under described specified file path, can obtain superuser right;
Described the second result unit, if for not comprising predetermined file or file under described specified file path, can not obtain superuser right.
8. installation device according to claim 6, is characterized in that, described demand estimation module, specifically comprises:
Information provides unit and instruction judging unit;
Described information provides unit, for providing, confirmation is installed to user, and described installation confirmation comprises the information of described Second Type application program;
Described instruction judging unit, for receiving the feedback command of described user to described installation confirmation, judges according to described feedback command whether user needs to install Second Type installation kit.
9. installation device according to claim 6, is characterized in that, described the second installation module, specifically comprises:
Guidance unit and Auto-mounting unit are installed;
Described installation guidance unit is the installation interface of described Second Type installation kit for guiding current interface;
Described Auto-mounting unit, for receive user to the installation instruction of described Second Type installation kit after, operation high-level software bag management system is installed described Second Type installation kit.
10. installation device according to claim 6, is characterized in that, described installation device, also comprises:
Command reception module and instruction sending module;
Described command reception module, for receiving the operational order of user to Second Type application program by first kind application program;
Described instruction sending module, for utilizing pre-routing that described operational order is sent to described Second Type application program to carry out;
Described pre-routing is notice or the socket 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 true CN103514003A (en) 2014-01-15
CN103514003B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123166A (en) * 2014-08-06 2014-10-29 浪潮软件股份有限公司 Generation method for ipa installation package in non-Xcode environment
WO2015067189A1 (en) * 2013-11-07 2015-05-14 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing application
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
WO2024193231A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Application processing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143830A1 (en) * 2003-01-17 2004-07-22 Gupton Kyle P. Creation of application system installer
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143830A1 (en) * 2003-01-17 2004-07-22 Gupton Kyle P. Creation of application system installer
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015067189A1 (en) * 2013-11-07 2015-05-14 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing application
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
WO2024193231A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Application processing method and electronic device

Also Published As

Publication number Publication date
CN103514003B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN103514003A (en) Program installation method and device
US20130237152A1 (en) Methods and systems for hardware and software related to a near field communications task launcher
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN104765627A (en) Smart device, and wearable device and application program installing and uninstalling method thereof
CN105580392A (en) Seamless call transitions
CN103118048A (en) Data synchronization method, server and terminal
CN103189841A (en) Application launching in conjunction with an accessory
CN101237256A (en) Electronic device and NFC-control method based on other electronic device
CN101834887B (en) Internet-based method and system for providing remote service for mobile terminal
CN109086102A (en) Dynamic loading method, device and the storage medium of diagnostic software
CN103369037A (en) Method for automatically synchronizing data among Android intelligent equipment
CN105848117A (en) Recharging method and recharging device
CN103986824A (en) Data display method and system of electronic equipment
CN105516243A (en) Remote data transmission method, cloud data gateway and vehicle-mounted terminal
CN104038921A (en) Method and system for theme interaction between mobile terminals
CN106454541A (en) Calling method, calling device and calling system
CN104079610A (en) Cloud server, and method and system for cloud synchronization of application software
CN106453494A (en) Plug-in updating method, plug-in updating system, client and server side
CN113564865A (en) Remote control method and device for washing machine, electronic equipment and storage medium
KR102641355B1 (en) System for accumulating point using virtual account that enables point accumulation without app login, method thereof and computer readable medium having computer program recorded thereon
KR20150018709A (en) Method of sharing information of terminal and apparatus thereof
CN107682571B (en) Change the means of communication, system, equipment and the storage medium of base number
CN103067464A (en) Method and system for intelligent terminal to remotely control computer
CN103402015B (en) A kind of method and user terminal controlling user terminal application
CN102223610B (en) Method and the mobile device of exchanges data is carried out between mobile device

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