CN111221539B - Application installation processing method and device, electronic equipment and application platform - Google Patents

Application installation processing method and device, electronic equipment and application platform Download PDF

Info

Publication number
CN111221539B
CN111221539B CN201811427814.8A CN201811427814A CN111221539B CN 111221539 B CN111221539 B CN 111221539B CN 201811427814 A CN201811427814 A CN 201811427814A CN 111221539 B CN111221539 B CN 111221539B
Authority
CN
China
Prior art keywords
installation
application
installation state
state information
target application
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
CN201811427814.8A
Other languages
Chinese (zh)
Other versions
CN111221539A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811427814.8A priority Critical patent/CN111221539B/en
Publication of CN111221539A publication Critical patent/CN111221539A/en
Application granted granted Critical
Publication of CN111221539B publication Critical patent/CN111221539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a processing method and device for application installation, electronic equipment and an application platform. The method comprises the following steps: when the start of installing the target application is detected, registering an application installation broadcast through a broadcast registration device so as to acquire first installation state information of the target application through application installation broadcast monitoring; initiating an installation event of the target application through the application installation device, and setting second installation state information of the target application acquired through the application installation device; determining the installation state of the target application according to the first installation state information and the second installation state information; and executing an installation guiding step corresponding to the installation state of the target application so as to trigger a user to implement application installation according to the installation guiding step.

Description

Application installation processing method and device, electronic equipment and application platform
Technical Field
The present invention relates to the field of application technologies, and in particular, to a processing method and apparatus for application installation, an electronic device, and an application platform.
Background
With the rapid development of internet technology and the popularization of intelligent terminals, more and more users are used to acquiring Applications (APP) which they desire to use through Application platforms (e.g., application stores, etc.) providing services of Application distribution, downloading, installation, etc., and are installed to run on terminal devices such as smartphones, palm computers, tablet computers, etc., so as to acquire corresponding Application services.
However, at present, although an application platform such as an application store can provide application installation service for applications downloaded by a user, application installation success information can only be obtained when application installation is successful, if application installation fails or the user cancels application installation, the application platform cannot obtain relevant installation state information, and cannot guide application installation behaviors of the user according to the installation state of the application, so that better application installation service cannot be provided for the user, and user experience is affected.
Disclosure of Invention
It is an object of the present invention to provide a new solution for handling application installations.
According to a first aspect of the present invention, there is provided a processing method of application installation, including:
when detecting that the target application is started to be installed, registering an application installation broadcast through a broadcast registration device so as to acquire first installation state information of the target application through application installation broadcast monitoring;
initiating an installation event of the target application through an application installation device, and setting a second installation state information of the target application acquired through the application installation device;
determining the installation state of the target application according to the first installation state information and the second installation state information;
And executing an installation guiding step corresponding to the installation state of the target application so as to trigger a user to implement application installation according to the installation guiding step.
Optionally, the step of determining the installation state of the target application according to the first installation state information and the second installation state information includes:
when the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information or the second installation state information;
and when the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information.
Further optionally, the first installation status information or the second installation status information includes at least an installation status indication, where the installation status indication is used to indicate that the application installation is successful, the application installation fails, or the application installation is cancelled; when the installation state indication is used for indicating that the application fails to be installed, the corresponding first installation state information or second installation state information further comprises an installation failure reason;
The installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the second installation state information is the same and is not used for indicating the installation failure, or the installation state indication in the first installation state information and the installation state indication in the second installation state information are both used for indicating the installation failure and are the same in reason;
the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the installation state indication in the second installation state information are different, or the installation failure reasons in the first installation state information and the second installation state information are different.
Optionally, the method further comprises:
when the first installation state information cannot be acquired, determining the installation state of the target application according to the second installation state information;
the method comprises the steps of,
and when the second installation state information cannot be acquired, determining the installation state of the target application according to the first installation state information.
Alternatively, the process may be carried out in a single-stage,
the installation state comprises a state indication for indicating that the application is successfully installed, failed in installation or cancelled in installation, and the installation state also comprises an installation failure reason when the state indication is failed in installation of the application;
when the state indication is that the application is successfully installed, the installation guiding step comprises recommending an associated application associated with the target application, so that a user can select the application from the associated application to install;
when the state indication is that the installation of the application fails, the installation guiding step comprises providing a corresponding failure processing indication according to the reason of the installation failure so as to guide a user to continuously install the target application;
and when the state indication is application installation cancellation, the installation guiding step comprises the step of providing a reinstallation prompt when the condition of meeting the preset installation prompt is detected so as to guide a user to reinstall the target application.
Further alternatively, the method may comprise, in a further alternative,
the installation failure reasons at least comprise one of insufficient memory, version conflict, signature error and no storage reading authority;
when the installation failure reason is insufficient memory, the failure processing instruction is used for guiding a user to implement memory cleaning and then continuously installing the target application; when the installation failure reason is version conflict, the failure processing instruction is used for guiding a user to uninstall the existing target application of the old version, and then continuing to install the new version of the target application; when the installation failure reason is a signature error, the failure processing instruction is used for guiding a user to download the target application with the correct signature version and then continue to install; when the installation failure reason is no storage reading authority, the failure processing instruction is used for guiding a user to apply authorization to give the storage reading authority, and then the target application is continuously installed;
And/or the number of the groups of groups,
the installation prompt condition at least comprises one of an application platform for providing the service for installing the target application, an application which is used currently by a user to exit, or an installation prompt time which is determined according to a preset installation prompt period when the current time accords with the installation prompt time.
Alternatively, the process may be carried out in a single-stage,
the application installation broadcast is an action_INSTALL_COMMIT broadcast provided by an Android operating system;
and/or the number of the groups of groups,
the application installation device comprises an intent.putExtra ();
the step of setting the application installation device to acquire the second installation state information of the target application includes:
and setting an intent. PutExtra (Intent. ExTRA_RETURN_RESULT, true) to acquire second installation state information of the target application.
According to a second aspect of the present invention, there is provided an application-installed processing apparatus, including:
a first installation state acquiring unit, configured to register an application installation broadcast by a broadcast registration device when it is detected that installation of a target application is started, so as to acquire first installation state information of the target application by the monitoring;
a second installation state obtaining unit, configured to initiate an installation event for the target application through an application installation device, and set to obtain second installation state information of the target application through the application installation device;
An installation state determining unit configured to determine an installation state of the target application according to the first installation state information and the second installation state information;
and the installation guiding unit is used for executing an installation guiding step corresponding to the installation state of the target application so as to trigger a user to implement application installation according to the installation guiding step.
According to a third aspect of the present invention, there is provided an electronic apparatus, comprising:
a memory for storing executable instructions;
a processor for executing the electronic device to execute the processing method of application installation according to any one of the second aspect of the present invention, according to the control of the executable instructions.
According to a fourth aspect of the present invention, there is provided an application platform, comprising:
an application-installed processing apparatus as described in the second aspect of the invention or an electronic device as described in the third aspect of the invention.
According to one embodiment of the present disclosure, when installing a target application, according to first installation state information of the target application acquired through application installation broadcast monitoring registered by a broadcast registration device and second installation state information of the target application acquired by a setting application installation device, an installation state of the target application is determined, and an installation guiding step corresponding to the installation state of the target application is executed, so that a user is triggered to implement application installation according to the installation guiding step, thereby realizing the installation state of the acquired accurate and reliable target application, guiding the application installation behavior of the user, providing better application installation service for the user, and improving user experience.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram showing an example of a hardware configuration of an electronic device 1000 that can be used to implement an embodiment of the present invention.
Fig. 2 shows a flow chart of a processing method of application installation implementing an embodiment of the present invention.
Fig. 3 shows a further flowchart of a processing method of application installation implementing an embodiment of the invention.
Fig. 4 shows a block diagram of an application-installed processing apparatus 3000 of an embodiment of the present invention.
Fig. 5 shows a block diagram of an electronic device 4000 of an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram showing a hardware configuration of an electronic device 1000 in which an embodiment of the present invention can be implemented.
The electronic device 1000 may be a laptop, desktop, cell phone, tablet, etc. As shown in fig. 1, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 can be capable of wired or wireless communication, and specifically can include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display, a touch display, or the like. The input device 1600 may include, for example, a touch screen, keyboard, somatosensory input, and the like. A user may input/output voice information through the speaker 1700 and microphone 1800.
The electronic device shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its application or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is configured to store instructions for controlling the processor 1100 to operate to perform any one of the application installation processing methods provided in the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of devices are shown for the electronic apparatus 1000 in fig. 1, the present invention may relate to only some of the devices thereof, for example, the electronic apparatus 1000 relates to only the processor 1100 and the storage device 1200. The skilled person can design instructions according to the disclosed solution. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
< first embodiment >
The embodiment provides a processing method for application installation. An Application (APP) is a computer program or software product that can be installed on a terminal device such as a smart phone, a palm top computer, or a tablet computer to provide specific application functions, and is available through an application platform that provides application distribution, downloading, and installation services.
The application installation processing method, as shown in fig. 2, includes: steps S2100-S2400.
In step S2100, when it is detected that the installation of the target application is started, an application installation broadcast is registered by the broadcast registration device to acquire first installation state information of the target application through application installation broadcast monitoring.
In this embodiment, by monitoring the running state of an application platform (e.g., an application store) that provides application distribution, downloading, and installation services, when an installation service function of the application platform that provides a target application is triggered (e.g., when the application store is triggered to perform downloading and then an automatic installation event is performed, or when an operation interface provided by an application commodity that triggers the installation of the target application is clicked and triggered by a user), it may be determined that the installation of the target application is detected, or it may also be desirable to install a corresponding monitoring interface provided by an operation system of a client device (e.g., a mobile phone, a tablet computer, etc.) of the target application, and when the installation event of the target application is detected, it is determined that the installation of the target application is detected.
The operating system of the client device capable of installing the application typically broadcasts corresponding event information when an application related event such as installation and uninstallation of the application occurs. The broadcast registration means is means for registering acquisition of broadcast information rights provided by the listening operation system for different events. In this embodiment, the broadcast registration device may be provided by an application platform that provides application distribution, downloading, installation services, or directly invokes an interface component provided by the operating system.
The application installation broadcast is an operating system provided broadcast receiver having a function of listening to broadcast information related to the installation state of the application. In one example, the application installation broadcast may be an action_INSTALL_COMMIT broadcast provided by the Android operating system, specifically a com.
By registering the application installation broadcast, the operating system can monitor information broadcast-transmitted according to the installation state of the target application when the target application is installed through the application installation broadcast, so as to acquire first installation state information.
The first installation state information is information broadcast-transmitted by the operating system according to the installation state of the target application. In one example, the first installation status information includes at least an installation status indication indicating that the application installation was successful, the application installation failed, or the application installation was canceled; when the installation status indication is used for indicating that the application fails to install, the first installation status information further includes an installation failure reason. The reason for the installation failure may have different reason contents according to a specific application scenario, for example, the reason for the installation failure may include one of insufficient memory, version conflict, signature error, and no storage read authority. The no-storage read right may include no-memory card read right or no-storage-area read right, and the like.
The first installation state information of the target application is obtained through application installation broadcast monitoring, the installation state of the target application can be determined by combining with other steps, and corresponding installation guiding steps are executed according to the installation state of the target application, so that the application installation behavior of a user is guided aiming at the installation state of the application, better application installation service is provided for the user, and user experience is improved.
Step S2200, initiating an installation event of the target application through the application installation device, and setting a second installation state information of the target application acquired through the application installation device.
The application installation apparatus is an apparatus for providing an application installation service, and may cause an operating system of a client device desiring to install an application to execute an installation event of an application by triggering or hosting or the like in response to an external trigger or self-trigger initiation of the installation event of the application.
And, the application installation apparatus may be configured to receive feedback information related to an installation state of the application returned by the operating system performing the installation event, thereby acquiring second installation state information of the target application.
In this embodiment, the application installation apparatus may be provided by an application platform that provides application distribution, downloading, installation services, or directly invokes an interface component provided by an operating system.
In one example, the application installation device includes an intent. The step of setting the application installation device to acquire the second installation state information of the target application includes:
and setting an intent. PutExtra (Intent. ExTRA_RETURN_RESULT, true) to acquire second installation state information of the target application.
The intent extraction () is an installation intention provided by the Android operating system, and is set to obtain feedback information related to an installation state of the application, which is returned by the operating system executing an installation event of the application, so as to obtain second installation state information of the target application.
The second installation state information is feedback information related to the installation state of the target application, which is returned by the operating system executing the installation event of the target application acquired by the application installation device. In one example, the second installation status information includes at least an installation status indication indicating that the application installation was successful, the application installation failed, or the application installation was canceled; when the installation status indication indicates that the application has failed to install, the second installation status information further includes a reason for the installation failure. The reason for the installation failure may have different reason contents according to a specific application scenario, for example, the reason for the installation failure may include one of insufficient memory, version conflict, signature error, and no storage read authority. The no-storage read right may include no-memory card read right or no-storage-area read right, and the like.
The second installation state information of the target application is obtained through the application installation device, the installation state of the target application can be determined by combining with other steps, and corresponding installation guiding steps are executed according to the installation state of the target application, so that the application installation behavior of a user is guided according to the installation state of the application, better application installation service is provided for the user, and user experience is improved.
Step S2300, determining the installation state of the target application according to the first installation state information and the second installation state information.
The first installation state information is information related to an installation state of the target application acquired through application installation broadcast monitoring, and the second installation state information is information related to an installation state of the target application acquired through the application installation device. According to the first installation state information acquired through application installation broadcast monitoring and the second installation state information acquired through application installation devices, the installation state of the target application is determined according to the information related to the installation state of the target application acquired from two sources, and the determined installation state of the target application can be more accurate and reliable.
The installation status of the target application may include a status indication indicating that the application installation was successful, the application installation failed, or the application installation was canceled, and the installation status may further include an installation failure reason when the status indication is the application installation failure. The reason for the installation failure may have different reason contents according to a specific application scenario, for example, the reason for the installation failure may include one of insufficient memory, version conflict, signature error, and no storage read authority. The no-storage read right may include no-memory card read right or no-storage-area read right, and the like.
In one example, the step of determining the installation state of the target application based on the first installation state information and the second installation state information includes: steps S2310 through S2320.
In step S2310, when the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, the installation state of the target application is determined according to the first installation state information or the second installation state information.
The first installation state information is information related to the installation state of the target application acquired through application installation broadcast monitoring, and corresponds to the installation state of the target application. The second installation state information is information on the installation state of the target application acquired by the application installation device, and also corresponds to the installation state of the target application. The installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, which means that the information related to the installation state of the target application obtained from two sources of the application installation broadcast and the application installation device is checked and matched with each other, and the determination is accurate and reliable.
Therefore, the installation state of the target application determined according to the first installation state information acquired through the application installation broadcast listening or according to the second installation state information acquired through the application installation apparatus is accurate and reliable.
For example, the first installation state information or the second installation state information includes at least an installation state indication for indicating that the application installation is successful, the application installation is failed, or the application installation is canceled; when the installation status indication is used for indicating that the application fails to install, the corresponding first installation status information or second installation status information further comprises an installation failure reason.
Correspondingly, the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the second installation state information is the same and is not used for indicating the installation failure, or the installation state indication in the first installation state information and the second installation state information is used for indicating the installation failure and is the same in reason of the installation failure.
This means that only if the installation status indications in the first installation status information and the second installation status information are used to indicate that the application installation is successful or the application installation is canceled, or the installation status indications in the first installation status information and the second installation status information are used to indicate that the application installation is failed and the corresponding installation failure reasons are the same, the information about the installation status of the target application acquired from the two sources of the application installation broadcast and the application installation device can be determined accurately and reliably.
Step S2320, determining, when the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, the installation state of the target application according to the first installation state information.
When the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, the deviation exists in the information related to the installation state of the target application, which is acquired from two sources of the application installation broadcast and the application installation device, and the information related to the installation state of the target application, which is acquired from one source, is necessarily not accurate and reliable.
According to the inventor, through a great deal of related creative labor, it is found that in practical application, since an open-source operating system such as Android can be developed in different customizations based on different application requirements, the different customizations and different customizing functions of the operating systems supported by different client devices may cause information errors which are inconsistent with the actual information, for example, when the application installation fails, the second installation state information obtained by the application installation device indicates that the application installation is canceled.
Therefore, in this example, when the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, it is considered that the acquisition of the first installation state information from the application installation broadcast is more accurate and reliable, and the installation state of the target application is determined according to the first installation state information, so that the accuracy and reliability of acquiring the installation state of the target application can be ensured.
For example, the first installation state information or the second installation state information includes at least an installation state indication for indicating that the application installation is successful, the application installation is failed, or the application installation is canceled; when the installation status indication is used for indicating that the application fails to install, the corresponding first installation status information or second installation status information further comprises an installation failure reason.
Correspondingly, the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the second installation state information is different, or the installation failure reasons in the first installation state information and the second installation state information are different.
This means that if the installation status indications in the first installation status information and the second installation status information are different, or if the reason for the installation failure in the first installation status information and the second installation status information is different (even if the installation status indications are the same), it is considered that there is a deviation in the information about the installation status of the target application acquired from the two sources of the application installation broadcast and the application installation apparatus, and the second installation status information acquired from the application installation apparatus is inaccurate and unreliable.
In practical applications, there may be a case where the application installation broadcast cannot be registered by the broadcast registration device due to the fact that the system version of the operating system of the client device for installing the target application is not supported, or the like, and correspondingly, the first installation state information cannot be acquired by the application installation broadcast, or the application installation broadcast cannot monitor and acquire the first installation state information due to the fact that the system error or the like. For such a case, the processing method of application installation in the present embodiment further includes:
and when the first installation state information cannot be acquired, determining the installation state of the target application according to the second installation state information.
And, in the actual application, the operating system may not support the acquisition of the second installation state information by the application installation apparatus due to the highly customized reason of the operating system of the client device installing the target application, or the application installation apparatus may fail to acquire the second installation state information due to a system error or the like. For such a case, the processing method of application installation in the present embodiment further includes:
and when the second installation state information cannot be acquired, determining the installation state of the target application according to the first installation state information.
When the first installation state information or the second installation state information cannot be acquired, the installation state of the target application is determined in time according to the acquired information related to the installation state of the target application, so that the processing efficiency of application installation is ensured, and the influence on user experience is avoided.
Step S2400, executing an installation guiding step corresponding to the installation state of the target application, to trigger the user to implement the application installation according to the installation guiding step.
In this embodiment, according to the installation states of different target applications, corresponding different installation guiding steps are executed, and the user is triggered to implement application installation according to the installation guiding steps, so that the application installation behavior of the user can be guided according to the installation states of the applications, better application installation service is provided for the user, and user experience is improved.
For example, the installation status may include a status indication indicating that the application installation was successful, the application installation failed, or the application installation was canceled, and when the status indication in the installation status is the application installation failure, the installation status also includes the cause of the installation failure.
Correspondingly, step S2400 may include steps S2410-S2430 as shown in fig. 3.
In step S2410, when the status indication in the installed status is that the application installation is successful, the installation guiding step includes recommending an associated application with which the target application exists for the user to select an application from the associated applications for installation.
The associated application may be an application of the same type as the target application, an application which is obtained according to the statistical overall preference of the user on the application platform and is generally installed by the user who installs the target application, or an application which is determined according to the overall preference of the user and the personal preference of the user who installs the target application at the time and is considered to be installed with a higher probability by the user who installs the target application.
In step S2420, when the status indication in the installation status is an application installation failure, the installation guiding step includes providing a corresponding failure processing indication according to the cause of the installation failure to guide the user to continue installing the target application.
According to different installation failure reasons, corresponding different failure processing instructions are provided to guide a user to continuously install the target application, so that the application installation behavior of the user can be guided according to the installation state of the application, better application installation service is provided for the user, and user experience is improved.
Specifically, the reason for the installation failure at least includes one of insufficient memory, version conflict, signature error and no storage read authority. The no storage read rights may include no memory card read rights or no storage area read rights.
When the reason of the installation failure is insufficient memory, the failure processing instruction is used for guiding the user to implement memory cleaning and then continuously installing the target application; when the installation failure reason is version conflict, after failure processing indicates the target application for guiding a user to uninstall the existing old version, continuing to install the new version of the target application; when the reason of the installation failure is a signature error, the failure processing instruction is used for guiding the user to download the target application with the correct signature version and then continue to install; when the reason of the installation failure is no storage read right, the failure processing instruction is used for guiding the user to apply authorization to give the storage read right, and then the target application is continuously installed.
The failure processing instruction may be implemented by popping up an operation frame or an operation interface including the corresponding prompt content and a man-machine interaction icon for guiding implementation of the corresponding processing operation, which is not particularly limited herein.
In step S2430, when the status indication is the application installation cancellation, the installation guiding step includes providing a reinstallation prompt to guide the user to reinstall the target application when the preset installation prompt condition is detected to be met.
The installation prompting condition is a condition for prompting the user to reinstall the target application at an appropriate time, and can be set according to a specific application scenario or application requirement.
Specifically, the installation prompting condition may at least include one of the user starting an application platform providing the installation target application service, the user exiting the currently used application, or the current time conforming to the installation prompting time determined according to the preset installation prompting period.
In practical applications, the user cancels the application installation usually because other more urgent events need to be processed currently, for example, a prompt message popped up by other applications is received in the installation process of the target application, and clicking the application to enter for viewing causes the installation cancellation of the target application, so when the user exits the currently used application, a reinstallation prompt can be provided to guide the user to reinstall the target application. In this example, whether the user exits the currently used application may be detected through an open related system interface of the operating system in which the target application is installed.
Alternatively, the user starts an application platform that provides the installation target application service, meaning that the user may have a need to install the application. Upon detecting that the user has launched an application platform that provides the installation target application service, a reinstallation prompt may be provided to guide the user in reinstalling the target application.
Or, the installation prompt period may be preset according to the requirement of the user or the current application scenario, and when the current time accords with the installation prompt time determined according to the preset installation prompt period, a reinstallation prompt may be provided to guide the user to reinstall the target application.
The reinstallation prompt may be implemented by popping up an operation box or an operation interface including the corresponding prompt content and a man-machine interactive icon for guiding the implementation of the corresponding reinstallation operation, which is not particularly limited herein.
< processing apparatus for application installation >
In this embodiment, there is also provided an application-installed processing apparatus 3000, as shown in fig. 4, including: the first installation state acquiring unit 3100, the second installation state acquiring unit 3200, the installation state determining unit 3300, and the installation guiding unit 3400 are used to implement the processing method of application installation provided in the present embodiment, and are not described herein.
A first installation state obtaining unit 3100, configured to register, by a broadcast registration device, an application installation broadcast when it is detected that installation of a target application is started, so as to obtain first installation state information of the target application through the listening.
Optionally, the application installation broadcast is an action_INSTALL_COMMIT broadcast provided by the Android operating system.
A second installation state obtaining unit 3200, configured to initiate an installation event on the target application through an application installation device, and set to obtain second installation state information of the target application through the application installation device.
Optionally, the application installation device includes an intent. PutExtra ();
the second installation state obtaining unit 3200 is further configured to:
and setting an intent. PutExtra (Intent. ExTRA_RETURN_RESULT, true) to acquire second installation state information of the target application.
An installation state determining unit 3300, configured to determine an installation state of the target application according to the first installation state information and the second installation state information.
Optionally, the installation state determining unit 3300 is further configured to:
when the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information or the second installation state information;
and when the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information.
Further optionally, the first installation status information or the second installation status information includes at least an installation status indication, where the installation status indication is used to indicate that the application installation is successful, the application installation fails, or the application installation is cancelled; when the installation state indication is used for indicating that the application fails to be installed, the corresponding first installation state information or second installation state information further comprises an installation failure reason;
the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the second installation state information is the same and is not used for indicating the installation failure, or the installation state indication in the first installation state information and the installation state indication in the second installation state information are both used for indicating the installation failure and are the same in reason;
the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the installation state indication in the second installation state information are different, or the installation failure reasons in the first installation state information and the second installation state information are different.
An installation guiding unit 3400 for performing an installation guiding step corresponding to an installation state of the target application to trigger a user to implement application installation according to the installation guiding step.
Optionally, the installation state includes a state indication for indicating that the application installation is successful, the application installation fails, or the application installation is cancelled, and when the state indication is that the application installation fails, the installation state further includes an installation failure reason;
when the state indication is that the application is successfully installed, the installation guiding step comprises recommending an associated application associated with the target application, so that a user can select the application from the associated application to install;
when the state indication is that the installation of the application fails, the installation guiding step comprises providing a corresponding failure processing indication according to the reason of the installation failure so as to guide a user to continuously install the target application;
and when the state indication is application installation cancellation, the installation guiding step comprises the step of providing a reinstallation prompt when the condition of meeting the preset installation prompt is detected so as to guide a user to reinstall the target application.
Further optionally, the installation failure cause at least includes one of insufficient memory, version conflict, signature error, and no stored read authority;
When the installation failure reason is insufficient memory, the failure processing instruction is used for guiding a user to implement memory cleaning and then continuously installing the target application; when the installation failure reason is version conflict, the failure processing instruction is used for guiding a user to uninstall the existing target application of the old version, and then continuing to install the new version of the target application; when the installation failure reason is a signature error, the failure processing instruction is used for guiding a user to download the target application with the correct signature version and then continue to install; when the installation failure reason is no storage reading authority, the failure processing instruction is used for guiding a user to apply authorization to give the storage reading authority, and then the target application is continuously installed;
and/or the number of the groups of groups,
the installation prompt condition at least comprises one of an application platform for providing the service for installing the target application, an application which is used currently by a user to exit, or an installation prompt time which is determined according to a preset installation prompt period when the current time accords with the installation prompt time.
Optionally, the application-installed processing apparatus 3000 further includes:
means for determining an installation state of the target application according to the second installation state information when the first installation state information cannot be acquired;
The method comprises the steps of,
and the device is used for determining the installation state of the target application according to the first installation state information when the second installation state information cannot be acquired.
It should be appreciated by those skilled in the art that the application-installed processing device 3000 may be implemented in a variety of ways. For example, the processor 3000 of application installation may be implemented by an instruction configuration processor. For example, instructions may be stored in a ROM, and when the device is started, the instructions are read from the ROM into a programmable device to implement the processing apparatus 3000 for application installation. For example, the application-installed processing apparatus 3000 may be solidified into a dedicated device (e.g., ASIC). The application-installed processing apparatus 3000 may be divided into units independent of each other, or they may be implemented by being combined together. The application-installed processing apparatus 3000 may be implemented by one of the above-described various implementations, or may be implemented by a combination of two or more of the above-described various implementations.
In this embodiment, the processing device 3000 for application installation may be a module provided in an application platform for providing application distribution, download, and installation services, or may be a plug-in, an insert, a patch, or the like for implementing a processing method for corresponding application installation, which can interact with the application platform for providing application distribution, download, or installation services.
< electronic device >
In this embodiment, there is also provided an electronic device 4000, as shown in fig. 5, including:
a memory 4100 for storing executable instructions;
a processor 4200 for executing the processing method of application installation of any one of the items as provided in the present embodiment by the electronic device 4000 according to control of the executable instructions.
In this embodiment, the electronic device 4000 may have various physical forms, for example, the electronic device 4000 may be a cellular phone installed with an application platform providing application distribution, installation, or download services. Electronic device 4000 may also include other hardware devices, such as, for example, electronic device 1000 shown in fig. 1.
< application platform >
In the present embodiment, there is also provided an application platform 5000 including the processing apparatus 3000 or the electronic device 4000 for application installation provided in the present embodiment.
The application platform 5000 may be any application program or software product that provides services such as application distribution, downloading or installation, for example, the application platform 5000 may be an application store or the like.
The application installation processing method, the device, the electronic equipment and the application platform provided in this embodiment have been described above with reference to the accompanying drawings, when installing a target application, according to the first installation state information of the target application acquired by the application installation broadcast monitoring registered by the broadcast registration device and the second installation state information of the target application acquired by the application installation device, the installation state of the target application is determined, and an installation guiding step corresponding to the installation state of the target application is executed, so that a user is triggered to implement application installation according to the installation guiding step, the installation state of the acquired accurate and reliable target application is realized, the application installation behavior of the user is guided, better application installation service is provided for the user, and user experience is improved.
The present invention may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (9)

1. A method of processing application installation, comprising:
when detecting that the target application is started to be installed, registering an application installation broadcast through a broadcast registration device so as to acquire first installation state information of the target application through application installation broadcast monitoring;
initiating an installation event of the target application through an application installation device, and setting a second installation state information of the target application acquired through the application installation device;
determining the installation state of the target application according to the first installation state information and the second installation state information;
Executing an installation guiding step corresponding to the installation state of the target application so as to trigger a user to implement application installation according to the installation guiding step;
the application installation broadcast is an action_INSTALL_COMMIT broadcast provided by an Android operating system; and/or the application installation device comprises an intent. PutExtra ();
the step of setting the application installation device to acquire the second installation state information of the target application includes: and setting an intent. PutExtra (Intent. ExTRA_RETURN_RESULT, true) to acquire second installation state information of the target application.
2. The method of claim 1, wherein,
the step of determining the installation state of the target application according to the first installation state information and the second installation state information includes:
when the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information or the second installation state information;
and when the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, determining the installation state of the target application according to the first installation state information.
3. The method of claim 2, wherein,
the first installation state information or the second installation state information at least comprises an installation state indication, wherein the installation state indication is used for indicating that the application installation is successful, the application installation fails or the application installation is cancelled; when the installation state indication is used for indicating that the application fails to be installed, the corresponding first installation state information or second installation state information further comprises an installation failure reason;
the installation state corresponding to the first installation state information is the same as the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the second installation state information is the same and is not used for indicating the installation failure, or the installation state indication in the first installation state information and the installation state indication in the second installation state information are both used for indicating the installation failure and are the same in reason;
the installation state corresponding to the first installation state information is different from the installation state corresponding to the second installation state information, and the installation state indication in the first installation state information and the installation state indication in the second installation state information are different, or the installation failure reasons in the first installation state information and the second installation state information are different.
4. The method of claim 1, further comprising:
when the first installation state information cannot be acquired, determining the installation state of the target application according to the second installation state information;
the method comprises the steps of,
and when the second installation state information cannot be acquired, determining the installation state of the target application according to the first installation state information.
5. The method of claim 1, wherein,
the installation state comprises a state indication for indicating that the application is successfully installed, failed in installation or cancelled in installation, and the installation state also comprises an installation failure reason when the state indication is failed in installation of the application;
when the state indication is that the application is successfully installed, the installation guiding step comprises recommending an associated application associated with the target application, so that a user can select the application from the associated application to install;
when the state indication is that the installation of the application fails, the installation guiding step comprises providing a corresponding failure processing indication according to the reason of the installation failure so as to guide a user to continuously install the target application;
and when the state indication is application installation cancellation, the installation guiding step comprises the step of providing a reinstallation prompt when the condition of meeting the preset installation prompt is detected so as to guide a user to reinstall the target application.
6. The method of claim 5, wherein,
the installation failure reasons at least comprise one of insufficient memory, version conflict, signature error and no storage reading authority;
when the installation failure reason is insufficient memory, the failure processing instruction is used for guiding a user to implement memory cleaning and then continuously installing the target application; when the installation failure reason is version conflict, the failure processing instruction is used for guiding a user to uninstall the existing target application of the old version, and then continuing to install the new version of the target application; when the installation failure reason is a signature error, the failure processing instruction is used for guiding a user to download the target application with the correct signature version and then continue to install; when the installation failure reason is no storage reading authority, the failure processing instruction is used for guiding a user to apply authorization to give the storage reading authority, and then the target application is continuously installed;
and/or the number of the groups of groups,
the installation prompt condition at least comprises one of an application platform for providing the service for installing the target application, an application which is used currently by a user to exit, or an installation prompt time which is determined according to a preset installation prompt period when the current time accords with the installation prompt time.
7. An application-installed processing apparatus, comprising:
a first installation state acquiring unit, configured to register an application installation broadcast by a broadcast registration device when it is detected that installation of a target application is started, so as to acquire first installation state information of the target application through monitoring of the application installation broadcast;
a second installation state obtaining unit, configured to initiate an installation event for the target application through an application installation device, and set to obtain second installation state information of the target application through the application installation device;
an installation state determining unit configured to determine an installation state of the target application according to the first installation state information and the second installation state information;
an installation guiding unit, configured to execute an installation guiding step corresponding to an installation state of the target application, so as to trigger a user to implement application installation according to the installation guiding step;
the application installation broadcast is an action_INSTALL_COMMIT broadcast provided by an Android operating system;
and/or the number of the groups of groups,
the application installation device comprises an intent.putExtra ();
the step of setting the application installation device to acquire the second installation state information of the target application includes:
And setting an intent. PutExtra (Intent. ExTRA_RETURN_RESULT, true) to acquire second installation state information of the target application.
8. An electronic device, comprising:
a memory for storing executable instructions;
a processor for executing the electronic device to perform the processing method of application installation according to any one of claims 1-6, according to control of the executable instructions.
9. An application platform, comprising:
an application-installed processing device as claimed in claim 7 or an electronic apparatus as claimed in claim 8.
CN201811427814.8A 2018-11-27 2018-11-27 Application installation processing method and device, electronic equipment and application platform Active CN111221539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811427814.8A CN111221539B (en) 2018-11-27 2018-11-27 Application installation processing method and device, electronic equipment and application platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811427814.8A CN111221539B (en) 2018-11-27 2018-11-27 Application installation processing method and device, electronic equipment and application platform

Publications (2)

Publication Number Publication Date
CN111221539A CN111221539A (en) 2020-06-02
CN111221539B true CN111221539B (en) 2023-05-05

Family

ID=70808720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811427814.8A Active CN111221539B (en) 2018-11-27 2018-11-27 Application installation processing method and device, electronic equipment and application platform

Country Status (1)

Country Link
CN (1) CN111221539B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955792A (en) * 2016-06-29 2016-09-21 北京金山安全软件有限公司 Start control method, device and equipment
CN106406956A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 An application program installing method and device
CN106681737A (en) * 2017-01-05 2017-05-17 武汉斗鱼网络科技有限公司 Application state saving method and device based on Android system
WO2018054026A1 (en) * 2016-09-21 2018-03-29 广州爱九游信息技术有限公司 Electronic terminal, and device and method for managing application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140494B2 (en) * 2008-01-21 2012-03-20 International Business Machines Corporation Providing collection transparency information to an end user to achieve a guaranteed quality document search and production in electronic data discovery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955792A (en) * 2016-06-29 2016-09-21 北京金山安全软件有限公司 Start control method, device and equipment
WO2018054026A1 (en) * 2016-09-21 2018-03-29 广州爱九游信息技术有限公司 Electronic terminal, and device and method for managing application program
CN106406956A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 An application program installing method and device
CN106681737A (en) * 2017-01-05 2017-05-17 武汉斗鱼网络科技有限公司 Application state saving method and device based on Android system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mark Guido等."Automated identification of installed malicious Android applications".《Digital Investigation》.2013,第10卷第S96-S104页. *
鲁晓天等."Android中的BroadcastReceiver注册方式研究".《电脑知识与技术》.2015,第11卷(第10期),第41-42、46页. *

Also Published As

Publication number Publication date
CN111221539A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
US10509644B2 (en) Method and system for controlling integrated software components
EP3418885B1 (en) Method and device for calling software development kit
EP2945058A1 (en) Processing method and device for application program
CN105988836B (en) Application recommendation method and device
US10802674B2 (en) Method and apparatus for displaying function interface
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
CN111221559A (en) Application updating method and device, storage medium, terminal and server
US20140289761A1 (en) Systems and Methods of Processing Data Involving Presentation of Information on Android Devices
CN104881304B (en) Resource downloading method and device
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
CN108874399B (en) Method and device for installing plug-in and terminal
CN110209401B (en) Application program loading method and device
CN111221539B (en) Application installation processing method and device, electronic equipment and application platform
CN112286414A (en) Information display method and device, electronic equipment and storage medium
US10067752B1 (en) Application install notification
CN111124627B (en) Method and device for determining call initiator of application program, terminal and storage medium
CN111435328B (en) Application testing method and device, electronic equipment and readable storage medium
CN111221593A (en) Dynamic loading method and device
CN107861666B (en) Desktop application installation method and device
CN110580221A (en) Control testing method and device, storage medium and electronic equipment
CN107391196B (en) Application program updating method and mobile terminal
US20170277528A1 (en) Application installation system and method for handheld devices
CN114296757A (en) Software upgrading method and device for wearable equipment, wearable equipment and medium
CN111158678B (en) Video playing method and device, client device and electronic device

Legal Events

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