CN104239106B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104239106B
CN104239106B CN201410487333.1A CN201410487333A CN104239106B CN 104239106 B CN104239106 B CN 104239106B CN 201410487333 A CN201410487333 A CN 201410487333A CN 104239106 B CN104239106 B CN 104239106B
Authority
CN
China
Prior art keywords
application
installation
judging result
result shows
prompt message
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
CN201410487333.1A
Other languages
Chinese (zh)
Other versions
CN104239106A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410487333.1A priority Critical patent/CN104239106B/en
Publication of CN104239106A publication Critical patent/CN104239106A/en
Application granted granted Critical
Publication of CN104239106B publication Critical patent/CN104239106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of information processing methods, applied in electronic equipment, the electronic equipment can install the first application, first application can generate the first prompt message when the second application starts installation, and continue that second application is installed after receiving in response to the input of first prompt message, wherein, first prompt message is used to prompt second application to start to install, the method includes:It has detected whether that second application starts to install, has obtained the first judging result;When first judging result shows to have second application to start installation, detects whether the installation condition of second application during the installation process meets predetermined condition, obtain the second judging result;When second judging result shows that the installation condition meets the predetermined condition, control first application does not show first prompt message.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to the method and electronic equipment of a kind of information processing.
Background technology
With the development of science and technology, in order to meet the needs of users, the application for mobile phone development is more and more, user The application for the either needs oneself liked can be selected to be downloaded or to having pacified in application shop according to the demand of oneself The application of dress is upgraded.
Most users selection installs third party's tool software such as 360 mobile phone assistant, Tencent mobile phone manager etc. to manage hand Application in machine, but these third party's tool software pop up the garbage of interference user sometimes.For example, when user is answering When downloading application or upgrade application with shop, the installation of application or upgrading are confirmed, but in the peace of application During dress, tool software still can pop up the interface that prompt user confirms application installation, after user selects to confirm installation, Using could continue to install.Be to avoid the confirmation installation that user repeated in the prior art, using in installation in application, calling Kill-9 orders stop the operation of tool software by force.
Present inventor at least has found the above-mentioned prior art during technical solution in realizing the embodiment of the present application In have the following technical problems:
Since third party's tool software still can pop up the interface of prompt user's confirmation application installation in the prior art, and adopt Call kill-9 orders third party's tool software can be caused data occur when stopping tool software by force when being applied used in installation Mistake, situations such as being not normally functioning, so, it exists in the prior art and how to avoid the need for the confirmation installation that user is repeated The technical issues of.
Invention content
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve to exist in the prior art how The technical issues of confirmation installation that user is repeated is avoided the need for, realizes in the case that guarantee system is stablized and avoids the need for using Family carries out the technique effect of duplicate acknowledgment installation.
The embodiment of the present application provides a kind of information processing method, is applied in electronic equipment, the electronic equipment can be installed First application, first application can generate the first prompt message when the second application starts installation, and receive in response to institute After stating the input of the first prompt message continue that second application is installed, wherein first prompt message is described for prompting Second application starts to install, the method includes:
It has detected whether that second application starts to install, has obtained the first judging result;
When first judging result shows to have second application to start installation, detection is in the second application installation Whether installation condition in the process meets predetermined condition, obtains the second judging result;
When second judging result shows that the installation condition meets the predetermined condition, control first application First prompt message is not shown.
Optionally, described when first judging result shows to have second application to start installation, it detects described Whether installation condition meets predetermined condition in second application installation process, obtains the second judging result, specifically includes:
When first judging result shows to have second application to start installation, determination is answered for preserving described second First file of installation file;
It detects and whether creates predetermined file folder under first file, obtain third judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When the third judging result shows to have created the predetermined file folder under first file, control First application does not show first prompt message.
Optionally, described when first judging result shows to have second application to start installation, it detects described Whether installation condition meets predetermined condition in second application installation process, obtains the second judging result, the method further includes:
The safety of second application is detected, and detects whether create the predetermined file under first file Folder obtains the 4th judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When the 4th judging result shows that second application is safe, and created under first file When the predetermined file folder, control first application does not show first prompt message.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, closes described first and answer With.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, it closes First application, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, obtained from first server The first application message, first application message is taken to be used to record the information of first application;
According to first application message, the first application corresponding with first application message is closed.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, it closes First application, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, the first instruction is generated;Its In, first instruction is used to indicate the operation that the electronic equipment stops first application by force;
First instruction is responded, first application is closed.
Optionally, it described when second judging result shows that the installation condition meets the predetermined condition, closes It closes after first application, the method further includes:
It detects whether described second complete using installation, obtains the 5th judging result;
When the 5th judging result show it is described second application installation is complete when, start it is described first application.
Optionally, whether the detection described second is completed using installation, obtains the 5th judging result, specifically includes:
It detects whether to receive the second prompt message, obtains the 6th judging result;Second prompt message is for characterizing institute Stating the second application, installation is complete;
Correspondingly, it is described when the 5th judging result show it is described second application installation is complete when, start described first Using specifically including:
When the 6th judging result shows to receive second prompt message, the second instruction is generated, described second refers to Order is used to indicate the electronic equipment and starts first application;
Second instruction is responded, first application is started.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment can install the first application, and described first answers With when the second application starts installation the first prompt message can be generated, and receiving the input in response to first prompt message After continue to install second application, wherein first prompt message is described for prompting second application to start to install Electronic equipment includes:
First judgment module obtains the first judging result for detecting whether there is second application to start to install;
Second judgment module, for when first judging result shows to have second application to start installation, detecting Whether the installation condition in the second application installation process meets predetermined condition, obtains the second judging result;
First control module shows that the installation condition meets the predetermined condition for working as second judging result When, control first application does not show first prompt message.
Optionally, second judgment module further includes:
First detection sub-module, for when first judging result shows to have second application to start installation, really Fixed the first file for preserving the installation file of second application;
Whether the first judging submodule creates predetermined file folder for detecting, obtains third under first file Judging result;
Correspondingly, first control module further includes:
First control submodule shows to have created institute under first file for working as the third judging result When stating predetermined file folder, control first application does not show first prompt message.
Optionally, second judgment module further includes:
Second judgment submodule, the safety for detecting second application, and detect under first file and be It is no to create the predetermined file folder, obtain the 4th judging result;
Correspondingly, first control module further includes:
Second control submodule, for showing that second application is safe when the 4th judging result, and it is described When having created the predetermined file folder under the first file, control first application does not show the first prompt letter Breath.
Optionally, first control module further includes:
First implementation sub-module shows that the installation condition meets the predetermined condition for working as second judging result When, close first application.
Optionally, first implementation sub-module further includes:
First acquisition unit shows that the installation condition meets the predetermined condition for working as second judging result When, the first application message is obtained from first server, first application message is used to record the information of first application;
First execution unit, for according to first application message, closing corresponding with first application message First application.
Optionally, first implementation sub-module further includes:
First generation unit shows that the installation condition meets the predetermined condition for working as second judging result When, generate the first instruction;Wherein, first instruction is used to indicate the fortune that the electronic equipment stops first application by force Row;
Second execution unit closes first application for responding first instruction.
Optionally, the electronic equipment further includes:
Third judgment module obtains the 5th judging result for detecting whether described second complete using installation;
First execution module, for when the 5th judging result show it is described second application installation is complete when, start institute State the first application.
Optionally, the third judgment module further includes:
Third judging submodule obtains the 6th judging result for detecting whether receiving the second prompt message;Described second Installation is complete for characterizing second application for prompt message;
Correspondingly, first execution module further includes:
First generates submodule, for when the 6th judging result shows to receive second prompt message, generating Second instruction, second instruction are used to indicate the electronic equipment and start first application;
Second implementation sub-module starts first application for responding second instruction.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
One, the scheme of the embodiment of the present application is by when detecting that preparation starts installation or upgrade application, controlling third party Display reminding user does not confirm the information installed to tool software, to avoid the confirmation installation for needing user to be repeated, due to this There is no the method using kill-9 in the prior art in application to stop third party's tool software, and can lead to the using kill-9 There is situations such as error in data, be not normally functioning in tripartite's tool software, therefore the technical solution in the embodiment of the present application is effective Solve the technical issues of how avoiding the need for confirmation installation that user repeated exists in the prior art, realize guarantee System avoids the need for the technique effect that user carries out duplicate acknowledgment installation in the case of stablizing.
Two, the scheme of the embodiment of the present application when detecting that preparation starts installation or upgrade application by just controlling third party Display reminding user does not confirm the information installed to tool software, therefore user only needs when application shop is downloaded and applied to installation Or upgrade application is confirmed, the message without being popped up to third party's tool software carries out secondary-confirmation, it is seen then that the application is real It applies the technical solution effective solution in example and exists in the prior art how to avoid the need for the confirmation installation that user is repeated The technical issues of, realize the technology effect that the confirmation installation that user is repeated is avoided the need in the case that guarantee system is stablized Fruit.
Further, the scheme of the embodiment of the present application is by when detecting that preparation starts installation or upgrade application, calling System forceStopPackage () interface stops the operation of third party's tool software in electronic equipment, to avoid user is needed The confirmation installation repeated, stops third party's tool due to not having the method using kill-9 in the prior art in the application Software, and third party's tool software can be caused situations such as error in data, be not normally functioning, therefore this Shen occur using kill-9 Technical solution effective solution that please be in embodiment exists in the prior art how to avoid the need for the confirmation that user is repeated The technical issues of installation, realizes and avoids the need for the confirmation installation that user is repeated in the case that guarantee system is stablized, reduces User's repetitive operation, and then promote the technique effect of user experience.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Apply embodiment, for those of ordinary skill in the art, without creative efforts, can also basis carry The attached drawing of confession obtains other attached drawings.
Fig. 1 is a kind of flow chart for information processing method that the embodiment of the present application one provides;
Fig. 2 is the first realization method of step S102 in a kind of information processing method that the embodiment of the present application one provides;
Fig. 3 is the block diagram for a kind of electronic equipment that the embodiment of the present application two provides.
Specific implementation mode
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve to exist in the prior art how The technical issues of confirmation installation that user is repeated is avoided the need for, realizes in the case that guarantee system is stablized and avoids the need for using The technique effect for the confirmation installation that family is repeated.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
A kind of information processing method is provided, is applied in electronic equipment, electronic equipment can install the first application, the first application The first prompt message can be generated when the second application starts installation, and is continued after receiving in response to the input of the first prompt message The second application of installation, wherein for prompting the second application to start to install, method includes the first prompt message:It detects whether It states the second application to start to install, obtains the first judging result;When first judging result shows to have the second application to start installation, detection Whether meet predetermined state in the second application installation process, obtains the second judging result;When the second judging result shows to install When state meets predetermined condition, the first application of control does not show the first prompt message.
In the above-mentioned technical solutions, electronic equipment passes through calling system in installation or upgrade application ForceStopPackage () interface stops the operation of third party's tool software in electronic equipment, soft to avoid third party's tool Part pops up prompt message, and it is soft to stop third party's tool due to not having the method using kill-9 in the prior art in the application Part, and third party's tool software can be caused situations such as error in data, be not normally functioning, therefore the application occur using kill-9 Technical solution effective solution in embodiment exists in the prior art how to avoid the need for the confirmation peace that user is repeated The technical issues of dress, realizes the technology effect that the confirmation installation that user is repeated is avoided the need in the case that guarantee system is stablized Fruit.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than to the restriction of technical solution of the present invention, in the absence of conflict, the embodiment of the present application and embodiment In technical characteristic can be combined with each other.
Embodiment one
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, it is applied in electronic equipment, the electronics Equipment can install the first application, and first application can generate the first prompt message when the second application starts installation, and connect It receives in response to continuing to install second application after the input of first prompt message, wherein first prompt message is used Start to install in prompt second application, the method includes:
S101:It has detected whether that second application starts to install, has obtained the first judging result;
S102:When first judging result shows to have second application to start installation, detection is answered described second Whether meet predetermined condition with the installation condition in installation process, obtains the second judging result;
S103:When second judging result shows that the installation condition meets the predetermined condition, control described the One application does not show first prompt message.
In specific implementation process, the electronic equipment can be the electronic equipments such as mobile phone, tablet computer, in the application reality It applies in example, it will be by taking electronic equipment be mobile phone as an example, the realization process of the scheme in the embodiment of the present application to be described in detail.
When needing in mobile phone installation or when upgrade application, corresponding application shop can be arrived and be downloaded, the present embodiment By taking the mobile phone of Android operation system as an example, third parties' tool software such as 360 mobile phone assistant, Tencent mobile phone manager for being installed in mobile phone Correspond to the electronic equipment it is installable first application, application shop select download or upgrading such as Netease's news, Baidu The application such as map is corresponding second application, when the second application starts installation, by taking Netease's news as an example, and third party's tool software A prompting interface, such as " whether Netease's news is installed " will be popped up, and user is needed to carry out confirmation operation, is confirmed when receiving Netease's news can just continue to install after operation.
For step S101, specific implementation is to detect whether to download in application shop or upgraded mobile phone application, when It determines after mobile phone application is downloaded or upgraded to application shop, executes step S102.
In the embodiment of the present application, step S102 specifically includes two kinds of realization methods:
First way, referring to FIG. 2, detect whether second application to be installed generates installation folder, at this point, Step S102's the specific implementation process is as follows:
S1021:When first judging result shows to have second application to start installation, determine described for preserving First file of the installation file of the second application;
S1022:It detects and whether creates predetermined file folder under first file, obtain third judging result.
Still by taking the mobile phone of Android operation system as an example, when user starts to install or upgrade mobile phone application or passes through application shop Installation or upgrading mobile phone are confirmed in application, being carried out to application installation directory using the monitor FileObserver in Android system Monitor, whether create lib files in file packet to be installed under monitoring/data/data/ catalogues, if lib files by It creates, then shows that application to be installed proceeds by and be mounted with.
The second way detects the safety of second application to be installed and whether generates installation folder, this When, the specific implementation process of step S102 is:
Detect the safety of second application;
It detects and whether creates the predetermined file folder under first file, obtain the 4th judging result.
Above example is continued to use, in order to ensure the safety of mobile phone, the specific implementation of the second way of step S102 Cheng Wei:The safety that application is first detected in downloading application process, that is, detect whether software to be installed is wooden horse or carries Monitor is arranged when determining that software to be installed is security application and after being safe from harm to cell phone system in virus FileObserver detects whether to create lib files to monitoring using installation directory.
Correspondingly, for two kinds of realization methods of step S102, step S103, i.e.,:When second judging result shows When the installation condition meets the predetermined condition, control first application does not show first prompt message, also has pair The two kinds of realization methods answered:
First way:When the third judging result shows to have created the predetermined text under first file When part presss from both sides, control first application does not show first prompt message.
Above example is continued to use, in specific implementation process, when monitor FileObserver has detected lib files Through creating, show that application to be installed has begun to be installed, at this point, control third party's tool software does not pop up and confirms installation Reminder message, therefore, user eliminate unnecessary operation without confirmation operation is carried out to the prompting of pop-up again.
The second way:When the 4th judging result shows that second application is safe, and first file When having created the predetermined file folder under folder, control first application does not show first prompt message.
Continue to use above example, in specific implementation process, the application of mobile phone-downloaded there may be security risk, download Using being likely to be trojan horse program or carrying virus, cell phone system can be caused very serious destruction by installing this application, In order to ensure that the application downloaded to being safe from harm property of mobile phone, will carry out security inspection, security inspection can pass through to application Auxiliary testing tool software detects, can also be realized by be analyzed the code for downloading application, is downloaded when confirming Using to be complete, mobile phone is not encroached on, lib files under monitor FileObserver detection specified directories can be set Establishment situation control third party's tool software if lib files have created and do not pop up reminder message.
The application implementation in, above-mentioned control third party tool software do not pop up reminder message can with through the following steps that It realizes, but is not limited only to step:When second judging result shows that the installation condition meets the predetermined condition, First application is closed, or when second judging result shows that the installation condition meets the predetermined condition, shielding The prompting message of the first application pop-up.
In specific implementation process, still by taking the mobile phone of above-mentioned Android operation system as an example, when lib files have created, Then show that the mobile phone application downloaded starts to install, at this point, in order to avoid third party's tool software pops up reminder message, then controls hand Installed third party's tool software executes shutoff operation in machine.
Usually, user can install many application software in mobile phone, and in these mounted applications, some are meetings Reminder message is popped up in installation or upgrade application, some then will not pop up reminder message in installation or upgrade application, because This, it is thus necessary to determine that the above-mentioned application that can pop up reminder message is simultaneously turned off, in the embodiment of the present application, by following steps come It realizes:
When second judging result shows that the installation condition meets the predetermined condition, obtained from first server The first application message, first application message is taken to be used to record the information of first application;
According to first application message, the first application corresponding with first application message is closed.
Specifically, the list of a set of third party's tool software, the application in list are preserved in the server end of mobile phone Software is all possible to the pop-up reminder message when mobile phone is installed and applied, during user installation or upgrade application, when Detect that lib files have created, then by the application in already existing application software information in mobile phone and server list Software information is compared one by one, if there is the application software consistent with information in list in mobile phone, which is closed, In this way, no matter being mounted with how much pop up the application software of reminder message in installing or upgrading mobile phone application process in mobile phone, all It can be found according to the list of server end and carry out shutoff operation.
After third party's tool software that closing to be executed is determined, following steps is taken to close third party's tool software:When When second judging result shows that the installation condition meets the predetermined condition, the first instruction is generated;Wherein, described first Instruction is used to indicate the operation that the electronic equipment stops first application by force;It responds described first to instruct, described in closing First application.
In specific implementation process, when user selects to download or the application of upgrading starts installation, i.e., lib files are created After building, by reflecting forceStopPackage () interface of calling system ActivityManager, to stop third party's work Has the operation of software.
After closing first application, continue following steps:
S104:It detects whether described second complete using installation, obtains the 5th judging result;
S105:When the 5th judging result show it is described second application installation is complete when, start it is described first application.
During specific implementation, step S104 is specifically included:It detects whether to receive the second prompt message, obtains the 6th and sentence Disconnected result;Installation is complete for characterizing second application for second prompt message.
Correspondingly, step S105 is specifically included:When the 6th judging result shows to receive second prompt message, The second instruction is generated, second instruction is used to indicate the electronic equipment and starts first application;Described second is responded to refer to It enables, starts first application.
The example for continuing to continue to use Android operation system mobile phone above, when detect it is to be installed or upgrading application pacified After the completion of dress or upgrading, the PackageManagerService of system will be sent " androidintent.action.PACKAGE_ADDED " message, this message indicate that application is already assembled as work(, After " androidintent.action.PACKAGE_ADDED " message is sent out, third party's tool software can receive " BOOT_ COMPLETE " system broadcasts, the system broadcasts are for restarting third party's tool software, after the reception of third party's tool software just Execute reboot operation.
Embodiment two
Based on inventive concept same as information processing method in the embodiment of the present application one, the embodiment of the present application provides a kind of Electronic equipment, referring to FIG. 3, the electronic equipment can install the first application, first application can start to pacify in the second application It generates the first prompt message when dress, and continues after receiving in response to the input of first prompt message to install described second and answer With, wherein for prompting second application to start to install, the electronic equipment includes first prompt message:
First judgment module 301 obtains the first judging result for detecting whether there is second application to start to install;
Second judgment module 302, for when first judging result shows to have second application to start installation, examining It surveys whether the installation condition of second application during the installation process meets predetermined condition, obtains the second judging result;
First control module 303 shows that the installation condition meets the predetermined item for working as second judging result When part, control first application does not show first prompt message.
In order to detect whether the second application has begun to install, second judgment module 302 further includes:
First detection sub-module, for when first judging result shows to have second application to start installation, really Fixed the first file for preserving the installation file of second application;
Whether the first judging submodule creates predetermined file folder for detecting, obtains third under first file Judging result;
Correspondingly, first control module 303 further includes:
First control submodule shows to have created institute under first file for working as the third judging result When stating predetermined file folder, control first application does not show first prompt message.
In order to ensure that the safety of the second application, second judgment module 302 further include:
Second judgment submodule, the safety for detecting second application, and detect under first file and be It is no to create the predetermined file folder, obtain the 4th judging result;
Correspondingly, first control module 303 further includes:
Second control submodule, for showing that second application is safe when the 4th judging result, and it is described When having created the predetermined file folder under the first file, control first application does not show the first prompt letter Breath.
In order to make third party's tool software not generate prompting message, first control module 303 further includes:
First implementation sub-module shows that the installation condition meets the predetermined condition for working as second judging result When, close first application.
For the third party's tool software to be closed of determination, first implementation sub-module further includes:
First acquisition unit shows that the installation condition meets the predetermined condition for working as second judging result When, the first application message is obtained from first server, first application message is used to record the information of first application;
First execution unit, for according to first application message, closing corresponding with first application message First application.
In order to close third party's tool software, first implementation sub-module further includes:
First generation unit shows that the installation condition meets the predetermined condition for working as second judging result When, generate the first instruction;Wherein, first instruction is used to indicate the fortune that the electronic equipment stops first application by force Row;
Second execution unit closes first application for responding first instruction.
In order to restart third party's tool software after installation is complete in application software, the electronic equipment further includes:
Third judgment module 304 obtains the 5th judging result for detecting whether described second complete using installation;
First execution module 305, for when the 5th judging result show it is described second application installation is complete when, start First application.
Wherein, the third judgment module 304 further includes:
Third judging submodule obtains the 6th judging result for detecting whether receiving the second prompt message;Described second Installation is complete for characterizing second application for prompt message;
Correspondingly, first execution module further includes:
First generates submodule, for when the 6th judging result shows to receive second prompt message, generating Second instruction, second instruction are used to indicate the electronic equipment and start first application;
Second implementation sub-module starts first application for responding second instruction.
By one or more of the embodiment of the present application technical solution, following one or more technology effects may be implemented Fruit:
One, the scheme of the embodiment of the present application is by when detecting that preparation starts installation or upgrade application, controlling third party Display reminding user does not confirm the information installed to tool software, to avoid the confirmation installation for needing user to be repeated, due to this There is no the method using kill-9 in the prior art in application to stop third party's tool software, and can lead to the using kill-9 There is situations such as error in data, be not normally functioning in tripartite's tool software, therefore the technical solution in the embodiment of the present application is effective Solve the technical issues of how avoiding the need for confirmation installation that user repeated exists in the prior art, realize guarantee System avoids the need for the technique effect that user carries out duplicate acknowledgment installation in the case of stablizing.
Two, the scheme of the embodiment of the present application when detecting that preparation starts installation or upgrade application by just controlling third party Display reminding user does not confirm the information installed to tool software, therefore user only needs when application shop is downloaded and applied to installation Or upgrade application is confirmed, the message without being popped up to third party's tool software carries out secondary-confirmation, it is seen then that the application is real It applies the technical solution effective solution in example and exists in the prior art how to avoid the need for the confirmation installation that user is repeated The technical issues of, realize the technology effect that the confirmation installation that user is repeated is avoided the need in the case that guarantee system is stablized Fruit.
Further, the scheme of the embodiment of the present application is by when detecting that preparation starts installation or upgrade application, calling System forceStopPackage () interface stops the operation of third party's tool software in electronic equipment, to avoid user is needed The confirmation installation repeated, stops third party's tool due to not having the method using kill-9 in the prior art in the application Software, and third party's tool software can be caused situations such as error in data, be not normally functioning, therefore this Shen occur using kill-9 Technical solution effective solution that please be in embodiment exists in the prior art how to avoid the need for the confirmation that user is repeated The technical issues of installation, realizes and avoids the need for the confirmation installation that user is repeated in the case that guarantee system is stablized, reduces User's repetitive operation, and then promote the technique effect of user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of a kind of information processing method in the embodiment of the present application can be deposited It stores up on CD, hard disk, the storage mediums such as USB flash disk, when computer program corresponding with information processing method refers in storage medium It enables and is read or be performed by an electronic equipment, include the following steps:
It has detected whether that second application starts to install, has obtained the first judging result;
When first judging result shows to have second application to start installation, detection is applied described second to be pacified Whether the installation condition during dress meets predetermined condition, obtains the second judging result;
When second judging result shows that the installation condition meets the predetermined condition, control first application First prompt message is not shown.
Optionally, described when first judging result shows to have second application to start installation, it detects described Whether installation condition meets predetermined condition in second application installation process, obtains the second judging result, specifically includes:
When first judging result shows to have second application to start installation, determination is answered for preserving described second First file of installation file;
It detects and whether creates predetermined file folder under first file, obtain third judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When the third judging result shows to have created the predetermined file folder under first file, control First application does not show first prompt message.
Optionally, described when first judging result shows to have second application to start installation, it detects described Whether installation condition meets predetermined condition in second application installation process, obtains the second judging result, the method further includes:
The safety of second application is detected, and detects whether create the predetermined file under first file Folder obtains the 4th judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When the 4th judging result shows that second application is safe, and created under first file When the predetermined file folder, control first application does not show first prompt message.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, control First application does not show first prompt message, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, closes described first and answer With.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, it closes First application, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, obtained from first server The first application message, first application message is taken to be used to record the information of first application;
According to first application message, the first application corresponding with first application message is closed.
Optionally, described when second judging result shows that the installation condition meets the predetermined condition, it closes First application, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, the first instruction is generated;Its In, first instruction is used to indicate the operation that the electronic equipment stops first application by force;
First instruction is responded, first application is closed.
Optionally, it described when second judging result shows that the installation condition meets the predetermined condition, closes It closes after first application, the method further includes:
It detects whether described second complete using installation, obtains the 5th judging result;
When the 5th judging result show it is described second application installation is complete when, start it is described first application.
Optionally, whether the detection described second is completed using installation, obtains the 5th judging result, specifically includes:
It detects whether to receive the second prompt message, obtains the 6th judging result;Second prompt message is for characterizing institute Stating the second application, installation is complete;
Correspondingly, it is described when the 5th judging result show it is described second application installation is complete when, start described first Using specifically including:
When the 6th judging result shows to receive second prompt message, the second instruction is generated, described second refers to Order is used to indicate the electronic equipment and starts first application;
Second instruction is responded, first application is started.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. a kind of information processing method is applied in electronic equipment, the electronic equipment can install the first application, and described first answers With when the second application starts installation the first prompt message can be generated, and receiving the input in response to first prompt message After continue to install second application, wherein first prompt message is described for prompting second application to start to install Method includes:
It has detected whether that second application starts to install, has obtained the first judging result;
When first judging result shows to have second application to start installation, detection applies installation process described second In installation condition whether meet predetermined condition, obtain the second judging result;
When second judging result shows that the installation condition meets the predetermined condition, by reflecting calling system interface Come stop it is described first application operation, with control it is described first application do not show first prompt message.
2. the method as described in claim 1, which is characterized in that described when first judging result shows have described second to answer When with starting installation, whether the installation condition detected in the second application installation process meets predetermined condition, obtains second Judging result specifically includes:
When first judging result shows to have second application to start installation, determine for preserving second application First file of installation file;
It detects and whether creates predetermined file folder under first file, obtain third judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, described in control First application does not show first prompt message, specifically includes:
When the third judging result shows to have created the predetermined file folder under first file, described in control First application does not show first prompt message.
3. method as claimed in claim 2, which is characterized in that described when first judging result shows have described second to answer When with starting installation, whether the installation condition detected in the second application installation process meets predetermined condition, obtains second Judging result further includes specifically:
The safety of second application is detected, and detects and whether creates the predetermined file folder under first file, Obtain the 4th judging result;
Correspondingly, described when second judging result shows that the installation condition meets the predetermined condition, described in control First application does not show first prompt message, specifically includes:
When the 4th judging result shows that second application is safe, and institute has been created under first file When stating predetermined file folder, control first application does not show first prompt message.
4. the method as described in claim 1, which is characterized in that described when second judging result shows the installation condition When meeting the predetermined condition, control first application does not show first prompt message, specifically includes:
When second judging result shows that the installation condition meets the predetermined condition, first application is closed.
5. method as claimed in claim 4, which is characterized in that described when second judging result shows the installation condition When meeting the predetermined condition, first application is closed, is specifically included:
When second judging result shows that the installation condition meets the predetermined condition, is obtained from first server One application message, first application message are used to record the information of first application;
According to first application message, the first application corresponding with first application message is closed.
6. method as claimed in claim 5, which is characterized in that described when second judging result shows the installation condition When meeting the predetermined condition, first application is closed, is specifically included:
When second judging result shows that the installation condition meets the predetermined condition, the first instruction is generated;Wherein, institute It states the first instruction and is used to indicate the electronic equipment by calling system interface to stop the operation of first application;
First instruction is responded, first application is closed.
7. such as claim 4-6 any one of them methods, which is characterized in that described when second judging result shows institute When stating installation condition and meeting the predetermined condition, close after first application, the method further includes:
It detects whether described second complete using installation, obtains the 5th judging result;
When the 5th judging result show it is described second application installation is complete when, start it is described first application.
8. the method for claim 7, which is characterized in that whether the detection described second is completed using installation, obtains 5th judging result, specifically includes:
It detects whether to receive the second prompt message, obtains the 6th judging result;Second prompt message is for characterizing described the Installation is complete for two applications;
Correspondingly, it is described when the 5th judging result show it is described second application installation is complete when, start it is described first application, It specifically includes:
When the 6th judging result shows to receive second prompt message, the second instruction is generated, second instruction is used Start first application in the instruction electronic equipment;
Second instruction is responded, first application is started.
9. a kind of electronic equipment, the electronic equipment can install the first application, and first application can start to pacify in the second application It generates the first prompt message when dress, and continues after receiving in response to the input of first prompt message to install described second and answer With, wherein for prompting second application to start to install, the electronic equipment includes first prompt message:
First judgment module obtains the first judging result for detecting whether there is second application to start to install;
Second judgment module, for when first judging result shows to have second application to start installation, detecting in institute Whether the installation condition stated in the second application installation process meets predetermined condition, obtains the second judging result;
First control module, for when second judging result shows that the installation condition meets the predetermined condition, leading to Reflection calling system interface is crossed to stop the operation of first application, control first application does not show first prompt Information.
10. electronic equipment as claimed in claim 9, which is characterized in that second judgment module further includes:
First detection sub-module, for when first judging result shows to have second application to start installation, determining and using In the first file of the installation file for preserving second application;
Whether the first judging submodule creates predetermined file folder for detecting, obtains third and judge under first file As a result;
Correspondingly, first control module further includes:
First control submodule, for work as the third judging result show to have created under first file it is described pre- When determining file, control first application does not show first prompt message.
11. electronic equipment as claimed in claim 10, which is characterized in that second judgment module further includes:
Second judgment submodule, the safety for detecting second application, and detect and whether created under first file The predetermined file folder has been built, the 4th judging result is obtained;
Correspondingly, first control module further includes:
Second control submodule, for showing that second application is safe when the 4th judging result, and described first When having created the predetermined file folder under file, control first application does not show first prompt message.
12. electronic equipment as claimed in claim 9, which is characterized in that first control module further includes:
First implementation sub-module, for when second judging result shows that the installation condition meets the predetermined condition, Close first application.
13. electronic equipment as claimed in claim 12, which is characterized in that first implementation sub-module further includes:
First acquisition unit, for when second judging result shows that the installation condition meets the predetermined condition, from The first application message is obtained in first server, first application message is used to record the information of first application;
First execution unit, for according to first application message, closing and first application message corresponding first Using.
14. electronic equipment as claimed in claim 13, which is characterized in that first implementation sub-module further includes:
First generation unit, for when second judging result shows that the installation condition meets the predetermined condition, giving birth to At the first instruction;Wherein, first instruction is used to indicate the electronic equipment by calling system interface to stop described the The operation of one application;
Second execution unit closes first application for responding first instruction.
15. such as claim 12-14 any one of them electronic equipments, which is characterized in that the electronic equipment further includes:
Third judgment module obtains the 5th judging result for detecting whether described second complete using installation;
First execution module, for when the 5th judging result shows second application installation is complete, starting described the One application.
16. electronic equipment as claimed in claim 15, which is characterized in that the third judgment module further includes:
Third judging submodule obtains the 6th judging result for detecting whether receiving the second prompt message;Second prompt Installation is complete for characterizing second application for information;
Correspondingly, first execution module further includes:
First generates submodule, for when the 6th judging result shows to receive second prompt message, generating second Instruction, second instruction are used to indicate the electronic equipment and start first application;
Second implementation sub-module starts first application for responding second instruction.
CN201410487333.1A 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment Active CN104239106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410487333.1A CN104239106B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410487333.1A CN104239106B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104239106A CN104239106A (en) 2014-12-24
CN104239106B true CN104239106B (en) 2018-08-07

Family

ID=52227241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410487333.1A Active CN104239106B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104239106B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976197A (en) * 2010-10-12 2011-02-16 彭扬 Method for automatically installing a plurality of mobile phone software
CN103279706A (en) * 2013-06-07 2013-09-04 北京奇虎科技有限公司 Method and device for intercepting installation of Android application program in mobile terminal
CN103310153A (en) * 2013-04-28 2013-09-18 中国人民解放军理工大学 Fine-grained authority control method based on Android platform
CN103744686A (en) * 2013-10-18 2014-04-23 青岛海信传媒网络技术有限公司 Control method and system for installing application in intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5550439B2 (en) * 2010-05-06 2014-07-16 キヤノン株式会社 How to install the application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976197A (en) * 2010-10-12 2011-02-16 彭扬 Method for automatically installing a plurality of mobile phone software
CN103310153A (en) * 2013-04-28 2013-09-18 中国人民解放军理工大学 Fine-grained authority control method based on Android platform
CN103279706A (en) * 2013-06-07 2013-09-04 北京奇虎科技有限公司 Method and device for intercepting installation of Android application program in mobile terminal
CN103744686A (en) * 2013-10-18 2014-04-23 青岛海信传媒网络技术有限公司 Control method and system for installing application in intelligent terminal

Also Published As

Publication number Publication date
CN104239106A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US20190073236A1 (en) Methods and apparatus to automatically configure monitoring of a virtual machine
US20200050588A1 (en) Automatic file version verification within electronic mail
US9507582B2 (en) Vertically integrated continuous delivery of an application
US10908887B2 (en) Dynamic container deployment with parallel conditional layers
US9659175B2 (en) Methods and apparatus for identifying and removing malicious applications
KR101872141B1 (en) Consistent extension points to allow an extension to extend functionality of an application to another application
JP5976221B2 (en) Information backup method and apparatus
EP2811404B1 (en) Virtual desktop implementation method, device and system
US8578376B2 (en) Automatically and securely configuring and updating virtual machines
US9059858B1 (en) User characteristic based digital signature of documents
US10025674B2 (en) Framework for running untrusted code
CN104995927B (en) System and method for building and using mobile application is mixed
US8370826B2 (en) Automatically managing versioning of mashup widgets
EP2656211B1 (en) Satisfying application dependencies
US8489708B2 (en) Virtual application extension points
US10110604B2 (en) Sandbox technology based webpage browsing method and device
EP3032418A1 (en) Permission control method and device
US9386079B2 (en) Method and system of virtual desktop infrastructure deployment studio
US9519654B2 (en) Method, device, processing center and system for desktop synchronization
WO2016109283A1 (en) Intelligent context aware user interaction for malware detection
US20140101310A1 (en) Seamless access, editing, and creation of files in a web interface or mobile interface to a collaborative cloud platform
US10540161B2 (en) Client application with embedded server
EP2682863A1 (en) Installing applications remotely
RU2575985C2 (en) Method and apparatus for vetting executable program using model
US10348861B2 (en) Software upgrade method and terminal

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