CN112230944A - Application installation method and device, electronic equipment and computer readable medium - Google Patents

Application installation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN112230944A
CN112230944A CN202011241116.6A CN202011241116A CN112230944A CN 112230944 A CN112230944 A CN 112230944A CN 202011241116 A CN202011241116 A CN 202011241116A CN 112230944 A CN112230944 A CN 112230944A
Authority
CN
China
Prior art keywords
application
installation
software management
downloading
interface
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.)
Pending
Application number
CN202011241116.6A
Other languages
Chinese (zh)
Inventor
杨学营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011241116.6A priority Critical patent/CN112230944A/en
Publication of CN112230944A publication Critical patent/CN112230944A/en
Pending legal-status Critical Current

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 embodiment of the application provides an application installation method, an application installation device, electronic equipment and a computer readable medium. The application installation method in the embodiment of the application comprises the steps that a software management process monitors download progress information generated by an application download process when a target application is downloaded, and if a download completion event generated by the application download process when the target application is downloaded is monitored, a simulated operation interface for simulating the operation of the software management application in a foreground is created; generating an application installation request for installing the target application based on the created simulation operation interface; sending an application installation request to the application installation process so that the application installation process installs the target application based on the application installation request. According to the technical scheme of the embodiment of the application, the downloaded application can be installed without the need of software management application running in the foreground, and the efficiency of installing the downloaded application is improved.

Description

Application installation method and device, electronic equipment and computer readable medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application installation method, an application installation apparatus, an electronic device, and a computer-readable medium.
Background
In a use scene of the mobile intelligent terminal, a user can manage other applications in the mobile intelligent terminal through software management applications in the mobile intelligent terminal, for example, multiple permissions of the other applications in the mobile intelligent terminal are set, so that the user can conveniently manage or maintain the other applications in the mobile intelligent terminal.
In the related art, when the downloaded application is installed to the mobile intelligent terminal through the software management application, due to the limitation of the system authority of the mobile intelligent terminal, the downloaded application cannot be installed to the mobile intelligent terminal through the software management application under the condition that the software management application is in a background running state, so that the authority of the software management application to install the downloaded application is greatly limited, and the downloaded application is not installed timely.
Disclosure of Invention
Embodiments of the present application provide an application installation method, an application installation device, an electronic device, and a computer-readable medium, which can solve the technical problem that the installation of a downloaded application cannot be completed when a software management application is in a background running state.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided an application installation method including: monitoring downloading progress information generated when an application downloading progress downloads a target application by a software management progress, wherein the software management progress is a progress corresponding to the software management application, and the software management application is an application in a background running state; if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored, a simulation operation interface for simulating the software management application to operate in a foreground is created; generating an application installation request for installing the target application based on the created simulation operation interface; sending the application installation request to an application installation process so that the application installation process installs the target application based on the application installation request.
According to an aspect of an embodiment of the present application, there is provided an application installation apparatus including: the software management system comprises a first monitoring unit, a second monitoring unit and a third monitoring unit, wherein the first monitoring unit is used for monitoring downloading progress information generated by an application downloading progress when a target application is downloaded by the application downloading progress, the software management progress is a progress corresponding to the software management application, and the software management application is an application in a background running state; the creating unit is used for creating a simulation running interface for simulating the software management application to run in the foreground if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored; the generating unit is used for generating an application installation request for installing the target application based on the created simulation running interface; a sending unit, configured to send the application installation request to an application installation process, so that the application installation process installs the target application based on the application installation request.
In some embodiments of the present application, based on the foregoing scheme, the creating unit is configured to: the extracting subunit is configured to, if a download completion event generated when the target application is downloaded in the application download process is monitored, extract application name information of the target application from the download completion event of the target application; the display subunit is used for displaying the installation notification information aiming at the target application in a notification bar display interface based on the application name information of the target application; the first creating subunit is configured to create a simulation running interface for simulating the foreground running of the software management application if a click operation on the installation notification information displayed in the notification bar display interface is detected.
In some embodiments of the present application, based on the foregoing scheme, the first creating subunit is configured to: if the click operation of the installation notification information displayed in the notification bar display interface is detected and the auxiliary function of the system is in an open state, generating a simulated click event for performing auxiliary click on the installation notification information of the target application displayed in the notification bar display interface; and executing click operation on the installation notification information displayed on the notification bar display interface based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
In some embodiments of the present application, based on the foregoing scheme, the first creating subunit is configured to: detecting a position area displayed on the display interface of the notification bar by the installation notification information; detecting click installation controls in the location area; and executing the click operation on the click installation control based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
In some embodiments of the present application, based on the foregoing scheme, the creating unit is configured to: a pop-up subunit, configured to pop up a dialog box in a floating window style if a download completion event generated when the target application is downloaded in the application download process is monitored; and the second creating subunit is used for creating a simulation running interface for simulating the foreground running of the software management application based on the popped dialog box.
In some embodiments of the present application, based on the foregoing solution, the pop-up subunit is configured to: and if a downloading completion event generated when the application downloading process downloads the target application is monitored and the floating window function of the system is in an open state, popping up a dialog box of the floating window style.
In some embodiments of the present application, based on the foregoing solution, the application installation apparatus further includes: and the closing unit is used for closing the simulation running interface if the installation event which is generated by the application installation process and used for executing the installation of the target application is monitored.
According to an aspect of embodiments of the present application, there is provided a computer-readable medium on which a computer program is stored, the computer program, when executed by a processor, implementing the application installation method as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the application installation method as described in the above embodiments.
In the technical solutions provided in some embodiments of the present application, a software management application is in a background running state, a software management process corresponding to the software management application monitors download progress information generated when an application download process downloads a target application, and a simulation running interface simulating the software management application to run in a foreground is created, so that a system of a mobile intelligent terminal considers that the software management application is in the foreground running state, thereby avoiding a defect that the software management application cannot complete installation of the downloaded application when the software management application is in the background running state due to limitation of system authority of the mobile intelligent terminal, so that the downloaded application can also be installed in the mobile intelligent terminal when the software management application is in the background running state, and improving the efficiency of installing the downloaded application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
Fig. 2 shows a schematic structural diagram of functional modules included in the mobile intelligent terminal in the embodiment of the present application.
FIG. 3 shows a flow diagram of an application installation method according to one embodiment of the present application.
Fig. 4 shows a detailed flowchart of step S320 of the application installation method according to an embodiment of the present application.
FIG. 5 illustrates an interface diagram of a notification bar presentation interface in one embodiment in accordance with the application.
FIG. 6 shows a flow diagram of an application installation method according to one embodiment of the present application.
Fig. 7 shows a detailed flowchart of step S3205 of the application installation method according to an embodiment of the application.
FIG. 8 shows a flow diagram of an application installation method according to one embodiment of the present application.
FIG. 9 shows a flow diagram of an application installation method according to one embodiment of the present application.
FIG. 10 shows a block diagram of an application installation apparatus according to one embodiment of the present application.
FIG. 11 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
As shown in fig. 1, the system architecture may include a server 101, a network 102, and a mobile intelligent terminal 103, the network 102 being used to provide communication services between the server 101 and the mobile intelligent terminal 103, and the network may include various connection types, such as wired communication links, wireless communication links, and so on.
It should be understood that the number of servers 101, networks 102, and mobile intelligent terminals 103 in fig. 1 is merely illustrative. There may be any number of servers 101, networks 102, and mobile intelligent terminals 103 according to implementation requirements, for example, the server 101 may be a server cluster composed of a plurality of servers. The server 101 is a server providing an application download service, and optionally may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud database, a cloud storage, a network service, and the like. The mobile smart terminal 103 may be a smart phone, a tablet computer, etc., but is not limited thereto.
Fig. 2 shows a schematic structural diagram of functional modules included in the mobile intelligent terminal in the embodiment of the present application.
As shown in fig. 2, the mobile intelligent terminal 103 may include a plurality of functional modules for implementing different functions, and specifically may include an application download module 201, a software management module 202, and an application installation module 203, where the application download module 201 is a functional module for implementing downloading of a required application in the mobile intelligent terminal, and downloads software to be installed from the server 101 through an application download process corresponding to the module; the software management module 202 is a software management application installed in the mobile intelligent terminal 103, the software management application can manage other applications in the mobile intelligent terminal 103, and a software management process corresponding to the software management application manages the authority of the application when the application downloading module 201 finishes downloading the application; the application installation module 203 is a functional module in the mobile intelligent terminal 103 for executing installation of the downloaded application, and installs the downloaded application to the mobile intelligent terminal 103 through an application installation process corresponding to the module.
The method comprises the steps that the mobile intelligent terminal 103 downloads an installation package of a target application from a server 101, a software management process monitors downloading progress information generated by an application downloading process when the target application is downloaded, and if a downloading completion event generated by the application downloading process when the target application is downloaded is monitored, a simulated operation interface simulating the operation of the software management application in a foreground is created, the software management process is a process corresponding to the software management application, and the software management application is an application in a background operation state; generating an application installation request for installing the target application based on the created simulation operation interface; the method comprises the steps of sending an application installation request to an application installation process to enable the application installation process to install a target application based on the application installation request, enabling a system of the mobile intelligent terminal to consider that the software management application is in a foreground running state by creating a simulation running interface for simulating the software management application to run in the foreground, avoiding the defect that the software management application cannot finish installing the downloaded application when running in the background due to the limitation of the system authority of the mobile intelligent terminal, enabling the software management application to be installed in the mobile intelligent terminal under the condition that the software management application is in the background running state, and improving the efficiency of installing the downloaded application.
It should be noted that the application installation method provided in the embodiment of the present application is generally executed by the mobile intelligent terminal 103, and accordingly, the application installation apparatus is generally disposed in the mobile intelligent terminal 103.
The details of implementation of the technical solution of the embodiments of the present application are set forth in the following.
Fig. 3 shows a flowchart of an application installation method according to an embodiment of the present application, which may be performed by a mobile intelligent terminal, which may be the mobile intelligent terminal 103 shown in fig. 1. Referring to fig. 3, the application installation method includes steps S310 to S330, which are described in detail below.
In step S310, the software management process monitors download progress information generated by the application download process when downloading the target application, where the software management process is a process corresponding to the software management application, and the software management application is an application in a background running state.
In one embodiment, the application in the foreground running state is an application which is started in the mobile intelligent terminal and is currently running on the foreground interface, and the application in the background running state is an application which is started in the mobile intelligent terminal and is not currently running on the foreground interface. If the user starts the software management application in the mobile intelligent terminal, but the user is currently browsing the video or shopping application in the mobile intelligent terminal to browse the commodity display page, the software management application is the application in the background running state, and the video or shopping application is the application in the foreground running state.
In one embodiment, the target application refers to an application which needs to be downloaded and installed, and the user can input a download request to the mobile intelligent terminal so that the mobile intelligent terminal can download the target application from the corresponding resource server. When the software management application is in a background running state, the software management process corresponding to the software management application can only execute part of functions, the part of functions can include functions of detecting whether the installation package corresponding to the target application is downloaded and displaying notification messages on a notification bar display interface corresponding to the software management application, and the other part of functions of the software management application can be realized when the software management application is in a foreground running state.
In one embodiment, the application downloading process is used as a process for executing an application downloading task in the mobile intelligent terminal, and the process can download the required installation package of the target application from the resource server so as to realize the downloading of the target application into the mobile intelligent terminal.
It can be understood that the application downloading process may determine the downloading progress information of the target application according to the total data size of the installation package of the target application and the data size of the downloaded installation package, and when the application downloading process detects that the downloading progress of the target application is one hundred percent, it may be determined that the downloading of the installation package corresponding to the target application is completed, at this time, the application downloading process may generate a downloading completion event for the target application, so as to notify the system that the downloading of the installation package of the target application is completed.
The software management process can determine whether the installation package corresponding to the target application is completely downloaded by monitoring the downloading progress information generated by the application downloading process when the target application is downloaded, so that the target application can be installed in a background running state. When the software management process monitors a download completion event generated when the application download process downloads the target application, the software management process can acquire the information that the installation package corresponding to the target application is downloaded.
In step S320, if a download completion event generated when the application download process downloads the target application is monitored, a simulation running interface for simulating the software management application to run in the foreground is created.
In one embodiment, the simulated operation interface refers to a user interface for simulating the software management application to operate in the foreground, the simulated operation interface is similar to a user function interface displayed when the software management application operates in the foreground, the simulated operation interface is used for enabling a system of the mobile intelligent terminal to consider that the software management application is currently in a foreground operation state, and the simulated operation interface is different from the user function interface displayed when the software management application operates in the foreground in that the user function interface displayed when the software management application operates in the foreground can realize multiple functions of the software management application, and the simulated operation interface cannot realize the multiple functions of the software management application.
Optionally, the simulation operation interface may be a transparent user interface, that is, the user cannot view the simulation operation interface on the display interface of the intelligent mobile terminal and cannot input a corresponding instruction in the simulation operation interface.
There are various methods for generating a simulation running interface for the software management application corresponding to the simulation software management process to run in the foreground.
Referring to fig. 4, fig. 4 shows a specific flowchart of step S320 of the application installation method according to an embodiment of the present application, in which embodiment, step S320 may specifically include step S3201 to step S3203, which are described in detail below.
In step S3201, if a download completion event generated when the application download process downloads the target application is monitored, the application name information of the target application is extracted from the download completion event of the target application.
In one embodiment, when detecting that the installation package of the target application is downloaded, the application downloading process generates a downloading completion event for the target application, where the downloading completion event carries application name information of the target application. It can be understood that the download completion event may further include storage address information of the mobile intelligent terminal when the installation package corresponding to the target application is stored.
If the software management process monitors a download completion event generated by the application download process when the target application is downloaded, the application name information of the target application can be extracted from the monitored download completion event.
In step S3202, installation notification information for the target application is presented in the notification bar presentation interface based on the application name information of the target application.
In one embodiment, the notification bar display interface is used as a function page for displaying the preset notification message by the software management application, and after acquiring the application name information, the software management process may display the installation notification information for the target application in the notification bar display interface based on the application name information.
In one embodiment, when the simulation running interface is generated, a preset user interface carrier may be generated first, and the generation of the corresponding simulation running interface is triggered by a preset operation initiated by a user in the preset user interface carrier. The preset user interface carrier can be a notification bar display interface, and the preset operation can be a click operation of clicking the installation notification information displayed on the notification bar display interface by a user.
In step S3203, if a click operation on the installation notification information displayed in the notification bar display interface is detected, a simulation run interface in which the simulation software management application runs in the foreground is created.
In one embodiment, the installation notification information may be a notification information for prompting the user to initiate installation of the target application, where the notification information may include a click installation control, and the user triggers an operation of creating a simulation running interface for simulating the software management application to run in the foreground by clicking the click installation control, so that the software management process creates the simulation running interface for simulating the software management application to run in the foreground.
Fig. 5 shows an interface schematic diagram of a notification bar display interface in an embodiment according to the present application, as shown in fig. 5, 501 is a notification bar display interface displayed in a mobile intelligent terminal, 502 is installation notification information for a target application displayed in the notification bar display interface, 503 is a click installation control in the installation notification information, and a user can click the click installation control 503 in the installation notification information to trigger an operation of creating a simulated running interface in which a simulated software management application runs in a foreground, so that a software management process creates the simulated running interface in which the simulated software management application runs in the foreground.
Referring to fig. 6, fig. 6 shows a flowchart of an application installation method according to an embodiment of the present application, in which, after step S3202, step S320 may specifically include step S3204 to step S3205, which are described in detail below.
In step S3204, if the click operation on the installation notification information displayed on the notification bar display interface is not detected within the preset time period after the installation notification information is displayed and it is detected that the auxiliary function of the system is in the on state, a simulated click event for performing auxiliary click on the installation notification information of the target application displayed on the notification bar display interface is generated.
In one embodiment, when the simulated operation interface is created, a situation that a user does not initiate a preset operation exists, in order to create the simulated operation interface without user participation, a click operation of installation notification information displayed in the notification bar display interface can be detected within a preset time period after the installation notification information is displayed, if the click operation of the installation notification information displayed in the notification bar display interface is not detected within the preset time period after the installation notification information is displayed, the simulated operation interface of the simulated software management application running in the foreground can be automatically created through an auxiliary function of the system, the auxiliary function of the system serves as a function for assisting a special user to use, and various operation instructions manually input by the user can be simulated, so that the operation of the user participating in the mobile intelligent terminal is reduced.
When the auxiliary function of the system is used, whether the auxiliary function of the system is in an open state needs to be determined firstly, so that when the click operation on the installation notification information displayed in the notification bar display interface is not detected in a preset time period after the installation notification information is displayed, whether the auxiliary function of the system is open needs to be further detected, and the auxiliary function of the system can be set in the mobile intelligent terminal by a user in advance. If the software management process detects that the auxiliary function of the system is in an open state, the auxiliary function of the system can be called, a simulated click event for performing auxiliary click on the installation notification information of the target application displayed on the notification bar display interface is generated, the simulated click event can execute click operation on the installation notification information displayed on the notification bar display interface, and the function is the same as that of click operation of a user on the installation notification information displayed on the notification bar display interface.
In step S3205, a click operation is performed on the installation notification information displayed on the notification bar display interface based on the generated simulated click event, and a simulated operation interface in which the simulated software management application runs in the foreground is created.
In one embodiment, the simulated click event has the same function as a click operation of a user on the installation notification information displayed in the notification bar display interface, and the software management process executes the click operation on the installation notification information displayed in the notification bar display interface based on the simulated click event, so as to create a simulated running interface for the simulated software management application to run in the foreground.
Specifically, referring to fig. 7, fig. 7 shows a specific flowchart of step S3205 of the application installation method according to an embodiment of the present application, and step S3205 may specifically include step S710 to step S730, which are described in detail below.
In step S710, a position area where the installation notification information is displayed on the notification bar display interface is detected.
In an embodiment, when a click operation of installation notification information displayed on a notification bar display interface is performed based on a simulated click event to generate a simulated operation interface, which runs in a foreground, of a software management application corresponding to a simulated software management process, a position region, displayed on the notification bar display interface, of the installation notification information needs to be detected, so that the click operation initiated on the installation notification information is found.
In step S720, a click to install the control is detected in the location area.
In one embodiment, after detecting that the installation notification information is in the position area displayed on the notification bar display interface, a click installation control used for initiating a click operation can be detected in the detected position area.
In step S730, a click operation is performed on the click installation control based on the generated simulated click event, and a simulated operation interface for simulating the software management application to run in the foreground is created.
In one embodiment, a click operation is started on the detected click installation control point based on the simulated click event, and a simulated operation interface for the software management application corresponding to the simulated software management process to run in the foreground is further created.
In the technical solutions of the embodiments shown in fig. 6 and 7, a simulated click event for performing auxiliary click on the installation notification information of the target application displayed on the notification bar display interface is generated by using an auxiliary function of the system, a click operation on the installation notification information displayed on the notification bar display interface is performed based on the simulated click event, and a simulated operation interface for operating the software management application corresponding to the simulated software management process in the foreground is created.
Referring to fig. 8, fig. 8 shows a flowchart of an application installation method according to an embodiment of the present application, in which step S320 may specifically include step S3211 to step S3212, which are described in detail below.
In step S3211, if a download completion event generated when the application download process downloads the target application is monitored, a dialog box in a floating window style pops up.
In one embodiment, when creating the simulation run interface, the generated preset user interface carrier may also be a floating window style dialog box, the floating window style dialog box is similar to a floating window corresponding to the software management application, and functions as the preset user interface carrier to further create the simulation run interface for simulating the software management application to run in the foreground, and the floating window corresponding to the software management application is different from the floating window corresponding to the software management application in that the user cannot jump to a user function interface displayed when the software management application runs in the foreground by clicking the floating window style dialog box.
Optionally, the floating dialog box may be a transparent dialog box, which cannot be viewed on the display interface of the smart mobile terminal by the user and corresponding instructions cannot be input into the dialog box.
Optionally, step S3211 may specifically include: and if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored and the floating window function of the system is in an open state, popping up a dialog box in the form of a floating window.
In an embodiment, when detecting that the installation package corresponding to the application is completely downloaded, the software management process further needs to detect that the floating window function of the system is in an open state, and only when the floating window function of the system is in the open state, a dialog box in a floating window style can be popped up. If the floating window function of the system is detected to be in a closed state, a notification message for prompting a user to open the floating window function of the system can be generated, so that the user can conveniently open the floating window function of the system, and further a dialog box of a floating window style can be conveniently opened.
In step S3212, a simulation run interface is created in which the simulation software management application runs in the foreground based on the popped up dialog box.
In one embodiment, the software management process generates a page transfer instruction for jumping to the simulated operation interface based on the popped dialog box, and then creates the simulated operation interface of the simulated software management application running in the foreground through the page transfer instruction.
Still referring to fig. 3, in step S330, an application installation request for installing the target application is generated based on the created simulation run interface.
In an embodiment, after the software management process creates the simulation running interface, an application installation request for installing the target application may be triggered and generated in the simulation running interface, where the application installation request carries storage address information of the mobile intelligent terminal when storing the installation package corresponding to the target application.
In step S340, an application installation request is sent to the application installation process, so that the application installation process installs the target application based on the application installation request.
In an embodiment, the software management process sends the generated application installation request to the application installation process, and the application installation process may find the installation package corresponding to the target application according to the storage address information of the mobile intelligent terminal carried in the installation request when storing the installation package corresponding to the target application, and then install the target application into the intelligent terminal device.
The software management application is in the background running state, the software management process corresponding to the software management application monitors the downloading progress information generated when the application downloading process downloads the target application, and the software management application is in the foreground running state through creating the simulation running interface simulating the software management application to run in the foreground, so that the defect that the software management application cannot finish installing the downloaded application when running in the background due to the limitation of the system authority of the mobile intelligent terminal is avoided, the downloaded application can be installed in the mobile intelligent terminal under the condition that the software management application is in the background running state, and the efficiency of installing the downloaded application is improved.
Referring to fig. 9, fig. 9 shows a flowchart of an application installation method according to an embodiment of the present application, and the application installation method in this embodiment may further include a step S350, which is described in detail below.
In step S350, if an installation event generated by the application installation process for executing the installation target application is monitored, the simulation running interface is closed.
In one embodiment, when the application installation process executes installation of the target application, an installation event for executing installation of the target application is generally generated, so that the target application is installed in the mobile intelligent terminal through the installation event. The software management process can monitor installation events which are generated by the application installation process and used for executing installation of the target application, and when the software management process monitors the installation events which are generated by the application installation process and used for executing installation of the target application, the simulation running interface can be closed, so that the target application can be ensured to be installed sequentially, and meanwhile, the occupation of system resources is reduced.
Embodiments of the apparatus of the present application are described below, which may be used to perform the application installation methods of the above-described embodiments of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the application installation method described above in the present application.
FIG. 10 shows a block diagram of an application installation apparatus according to one embodiment of the present application.
Referring to fig. 10, an application installation apparatus 1000 according to an embodiment of the present application includes: a first listening unit 1010, a creating unit 1020, a generating unit 1030, and a transmitting unit 1040. The first monitoring unit 1010 is configured to monitor, by a software management process, download progress information generated when a target application is downloaded by an application download process, where the software management process is a process corresponding to the software management application, and the software management application is an application in a background running state; a creating unit 1020, configured to create a simulation running interface for simulating the foreground running of the software management application if a download completion event generated when the target application is downloaded in the application download process is monitored; a generating unit 1030, configured to generate an application installation request for installing the target application based on the created simulation running interface; a sending unit 1040, configured to send the application installation request to an application installation process, so that the application installation process installs the target application based on the application installation request.
In some embodiments of the present application, based on the foregoing scheme, the creating unit 1020 is configured to: the extracting subunit is configured to, if a download completion event generated when the target application is downloaded in the application download process is monitored, extract application name information of the target application from the download completion event of the target application; the display subunit is used for displaying the installation notification information aiming at the target application in a notification bar display interface based on the application name information of the target application; the first creating subunit is configured to create a simulation running interface for simulating the foreground running of the software management application if a click operation on the installation notification information displayed in the notification bar display interface is detected.
In some embodiments of the present application, based on the foregoing scheme, the first creating subunit is configured to: if the click operation of the installation notification information displayed in the notification bar display interface is detected and the auxiliary function of the system is in an open state, generating a simulated click event for performing auxiliary click on the installation notification information of the target application displayed in the notification bar display interface; and executing click operation on the installation notification information displayed on the notification bar display interface based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
In some embodiments of the present application, based on the foregoing scheme, the first creating subunit is configured to: detecting a position area displayed on the display interface of the notification bar by the installation notification information; detecting click installation controls in the location area; and executing the click operation on the click installation control based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
In some embodiments of the present application, based on the foregoing scheme, the creating unit is configured to: a pop-up subunit, configured to pop up a dialog box in a floating window style if a download completion event generated when the target application is downloaded in the application download process is monitored; and the second creating subunit is used for creating a simulation running interface for simulating the foreground running of the software management application based on the popped dialog box.
In some embodiments of the present application, based on the foregoing solution, the pop-up subunit is configured to: and if a downloading completion event generated when the application downloading process downloads the target application is monitored and the floating window function of the system is in an open state, popping up a dialog box of the floating window style.
In some embodiments of the present application, based on the foregoing solution, the application installation apparatus further includes: and the closing unit is used for closing the simulation running interface if the installation event which is generated by the application installation process and used for executing the installation of the target application is monitored.
FIG. 11 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 1100 of the electronic device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 10, a computer system 1110 includes a Central Processing Unit (CPU)1101, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for system operation are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An Input/Output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105: an input portion 1106 including a keyboard, mouse, and the like; an output section 1107 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1108 including a hard disk and the like; and a communication section 1109 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. A driver 1110 is also connected to the I/O interface 1105 as necessary. A removable medium 1110 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1110 as necessary, so that a computer program read out therefrom is mounted into the storage section 1108 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the removable medium 1111. When the computer program is executed by a Central Processing Unit (CPU)1101, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart 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 application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, 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 or flowchart illustration, and combinations of blocks in the block diagrams 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.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. An application installation method, comprising:
monitoring downloading progress information generated when an application downloading progress downloads a target application by a software management progress, wherein the software management progress is a progress corresponding to the software management application, and the software management application is an application in a background running state;
if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored, a simulation operation interface for simulating the software management application to operate in a foreground is created;
generating an application installation request for installing the target application based on the created simulation operation interface;
sending the application installation request to an application installation process so that the application installation process installs the target application based on the application installation request.
2. The application installation method according to claim 1, wherein if a download completion event generated by the application download process when downloading the target application is monitored, creating a simulation running interface for simulating the software management application to run in a foreground, includes:
if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored, extracting application name information of the target application from the downloading completion event of the target application;
displaying installation notification information aiming at the target application in a notification bar display interface based on the application name information of the target application;
and if the click operation of the installation notification information displayed in the notification bar display interface is detected, creating a simulation operation interface for simulating the software management application to operate in the foreground.
3. The application installation method according to claim 2, wherein after the installation notification information for the target application is displayed in a notification bar display interface based on the application name information of the target application, if a download completion event generated when the application download process downloads the target application is monitored, a simulated operation interface simulating a foreground operation of the software management application is created, further comprising:
if the click operation on the installation notification information displayed in the notification bar display interface is not detected within a preset time period after the installation notification information is displayed, and the auxiliary function of the system is detected to be in an open state, generating a simulated click event for performing auxiliary click on the installation notification information of the target application displayed on the notification bar display interface;
and executing click operation on the installation notification information displayed on the notification bar display interface based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
4. The application installation method according to claim 3, wherein the executing, based on the generated simulated click event, a click operation on the installation notification information displayed on the notification bar display interface to create a simulated running interface simulating the software management application to run in the foreground comprises:
detecting a position area displayed on the display interface of the notification bar by the installation notification information;
detecting click installation controls in the location area;
and executing the click operation on the click installation control based on the generated simulated click event, and creating a simulated operation interface for simulating the software management application to operate in the foreground.
5. The application installation method according to claim 1, wherein if a download completion event generated by the application download process when downloading the target application is monitored, creating a simulation running interface for simulating the software management application to run in a foreground, includes:
if a downloading completion event generated when the application downloading process downloads the target application is monitored, popping up a dialog box in a floating window style;
and creating a simulation operation interface for simulating the software management application to operate in the foreground based on the popped dialog box.
6. The application installation method according to claim 5, wherein if a download completion event generated by the application download process when downloading the target application is monitored, popping up a dialog box in a floating window style, comprising:
and if a downloading completion event generated when the application downloading process downloads the target application is monitored and the floating window function of the system is in an open state, popping up a dialog box of the floating window style.
7. The application installation method according to claim 1, further comprising:
and if the installation event which is generated by the application installation process and used for executing the installation of the target application is monitored, closing the simulation running interface.
8. An application installation apparatus, comprising:
the software management system comprises a first monitoring unit, a second monitoring unit and a third monitoring unit, wherein the first monitoring unit is used for monitoring downloading progress information generated by an application downloading progress when a target application is downloaded by the application downloading progress, the software management progress is a progress corresponding to the software management application, and the software management application is an application in a background running state;
the creating unit is used for creating a simulation running interface for simulating the software management application to run in the foreground if a downloading completion event generated when the target application is downloaded in the application downloading process is monitored;
the generating unit is used for generating an application installation request for installing the target application based on the created simulation running interface;
a sending unit, configured to send the application installation request to an application installation process, so that the application installation process installs the target application based on the application installation request.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the application installation method of any one of claims 1 to 7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the application installation method of any one of claims 1 to 7.
CN202011241116.6A 2020-11-09 2020-11-09 Application installation method and device, electronic equipment and computer readable medium Pending CN112230944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241116.6A CN112230944A (en) 2020-11-09 2020-11-09 Application installation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241116.6A CN112230944A (en) 2020-11-09 2020-11-09 Application installation method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112230944A true CN112230944A (en) 2021-01-15

Family

ID=74122322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241116.6A Pending CN112230944A (en) 2020-11-09 2020-11-09 Application installation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112230944A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703878A (en) * 2021-10-29 2021-11-26 腾讯科技(深圳)有限公司 Component starting method and device, storage medium and electronic equipment
CN113885755A (en) * 2021-09-30 2022-01-04 北京达佳互联信息技术有限公司 Application processing prompting method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127170A1 (en) * 2006-08-29 2008-05-29 Oliver Goldman Software installation and support
US20130326502A1 (en) * 2012-05-30 2013-12-05 Google Inc. Installing applications remotely
CN106020893A (en) * 2016-05-26 2016-10-12 北京小米移动软件有限公司 Application installation method and device
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN108170438A (en) * 2017-11-27 2018-06-15 深圳市金立通信设备有限公司 A kind of application program automatic installation method, terminal and computer-readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127170A1 (en) * 2006-08-29 2008-05-29 Oliver Goldman Software installation and support
US20130326502A1 (en) * 2012-05-30 2013-12-05 Google Inc. Installing applications remotely
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN106020893A (en) * 2016-05-26 2016-10-12 北京小米移动软件有限公司 Application installation method and device
CN108170438A (en) * 2017-11-27 2018-06-15 深圳市金立通信设备有限公司 A kind of application program automatic installation method, terminal and computer-readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
半分清醒半分醉: "使用DownloadManager 下载完 apk 自动提示安装", Retrieved from the Internet <URL:https://www.cnblogs.com/alone-01/p/5941155.html> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885755A (en) * 2021-09-30 2022-01-04 北京达佳互联信息技术有限公司 Application processing prompting method and device, electronic equipment and storage medium
CN113703878A (en) * 2021-10-29 2021-11-26 腾讯科技(深圳)有限公司 Component starting method and device, storage medium and electronic equipment
CN113703878B (en) * 2021-10-29 2022-02-22 腾讯科技(深圳)有限公司 Component starting method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107391114B (en) Page visual rendering method and device
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN108509333A (en) Adjustment method and device
WO2023040443A1 (en) Method and device for drawing canvas
CN109582317B (en) Method and apparatus for debugging hosted applications
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN109597623A (en) A kind of plug-in management method, device, equipment and storage medium
CN112230944A (en) Application installation method and device, electronic equipment and computer readable medium
CN114036439A (en) Website building method, device, medium and electronic equipment
CN110928571A (en) Business program development method and device
CN110868324A (en) Service configuration method, device, equipment and storage medium
CN112416455B (en) Data processing method, device, terminal and storage medium
CN111295648A (en) Job management in a data processing system
CN110674426B (en) Webpage behavior reporting method and device
CN111382058B (en) Service testing method and device, server and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN112379973B (en) Heavy load method and device
CN112052224B (en) File export method and device
CN111367799B (en) Method, device, medium and electronic equipment for locating source code breakdown position
CN111382057B (en) Test case generation method, test method and device, server and storage medium
CN109245938B (en) Method and equipment for executing resource configuration operation of user
CN113791944A (en) Monitoring method and device of page timer, medium and electronic equipment
CN112084115B (en) Method and device for flowsheet operation of software defects
CN114006812B (en) Configuration method and device of network equipment
CN111209064B (en) Resource display method and device and electronic equipment

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