CN115878138A - Application pre-downloading method and device, computer and storage medium - Google Patents

Application pre-downloading method and device, computer and storage medium Download PDF

Info

Publication number
CN115878138A
CN115878138A CN202310198269.4A CN202310198269A CN115878138A CN 115878138 A CN115878138 A CN 115878138A CN 202310198269 A CN202310198269 A CN 202310198269A CN 115878138 A CN115878138 A CN 115878138A
Authority
CN
China
Prior art keywords
application
target application
download
installation
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310198269.4A
Other languages
Chinese (zh)
Other versions
CN115878138B (en
Inventor
赵佳宁
高丽娜
刘思亮
洪楷
徐士立
申家忠
张迪
王振兴
蔡文杰
刘专
孙逊
王基宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202310198269.4A priority Critical patent/CN115878138B/en
Priority to CN202311304064.6A priority patent/CN117331576A/en
Publication of CN115878138A publication Critical patent/CN115878138A/en
Application granted granted Critical
Publication of CN115878138B publication Critical patent/CN115878138B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application discloses an application pre-downloading method, an application pre-downloading device, a computer and a storage medium, which are suitable for the technical field of cloud, and the method comprises the following steps: when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected; when the equipment state of the business equipment is the equipment idle state, downloading a pre-download file of the target application to a pre-download management position; and when the target application is on line, decrypting and transferring the pre-downloaded file from the pre-download management position to the application management position of the target application, and installing the target application. By the method and the device, application and installation efficiency can be improved.

Description

Application pre-downloading method and device, computer and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application pre-downloading method and apparatus, a computer, and a storage medium.
Background
With the development of the internet, application programs are more and more diversified, and more application programs exist, which requires a larger space, and is particularly important in the installation of the application programs. At present, after a game is online, a user can install a required application program through an application center and the like in equipment, and when the application program is in a new version, the user either directly downloads the application program in the new version or needs to enter the application program and then updates resources. In this way, the user needs to pay attention to the online time of the application program all the time to install the application program in time, so that the application program may be forgotten before being online, and the conversion rate of the early-stage propaganda resource of the application program is low. In addition, since many applications require a large space, it takes a long time to install or update the applications for the first time, and in this process, once the installation or update page is cut out, the process is easily interrupted, thereby reducing the efficiency of application installation.
Disclosure of Invention
The embodiment of the application pre-downloading method and device, the computer and the storage medium can improve the application installation efficiency.
An aspect of the present application provides an application pre-download method, including:
when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected;
when the equipment state of the business equipment is the equipment idle state, downloading a pre-download file of the target application to a pre-download management position;
and when the target application is on line, the pre-downloaded file is moved to the application management position of the target application from the pre-download management position, and the target application is installed.
An embodiment of the present application provides an application pre-download apparatus, including:
the device detection module is used for detecting the device state of the service device if the service device detects application pre-download reservation information aiming at the target application when the pre-download aiming at the target application is started;
the file downloading module is used for downloading the pre-downloaded file of the target application to a pre-download management position when the equipment state of the business equipment is the equipment idle state;
and the application installation module is used for moving the pre-downloaded file from the pre-download management position to the application management position of the target application when the target application is on line, and installing the target application.
Wherein, the device still includes:
the release detection module is used for displaying the pre-download function aiming at the target application in the application service center, responding to the reservation operation aiming at the pre-download function of the target application and acquiring the application release state of the target application;
the reservation generation module is used for generating application pre-download reservation information aiming at the target application if the application release state of the target application is a new application state; the new application state is used for representing that the target application is released for the first time;
the installation detection module is used for detecting the application installation state of the target application in the business equipment if the application release state of the target application is the application update state; the application updating state is used for representing that the target application is not released for the first time;
the reservation generation module is also used for generating application pre-download reservation information aiming at the target application if the application installation state of the target application is the application installed state;
and the installation prompting module is used for displaying an application installation preparation message if the application installation state of the target application is the application uninstalling state, and generating application pre-download reservation information for the target application after the target application is installed based on the application installation preparation message.
Wherein, this equipment detection module includes:
the pre-download prompting unit is used for outputting an application pre-download prompting message if the service equipment detects application pre-download reservation information aiming at the target application when the pre-download aiming at the target application is started;
the device detection unit is used for detecting the device state of the service device when the download confirmation operation aiming at the application pre-download prompting message is detected;
the device also includes:
and the pre-download waiting module is used for suspending a pre-download task aiming at the target application if the equipment state of the business equipment is an equipment busy state, and triggering the process of downloading the pre-download file of the target application to the pre-download management position when the equipment state of the business equipment is an equipment idle state.
Wherein, this file download module includes:
a download request unit, configured to send a pre-download request to an application server of a target application when a device state of a service device is a device idle state;
the information receiving unit is used for receiving the pre-download configuration information and the result status code of the target application, which are sent by the application server based on the pre-download request; the result status code is used for indicating the integrity of the pre-download configuration information;
and the file downloading unit is used for downloading the pre-download file of the target application to the pre-download management position based on the pre-download configuration information if the result status code indicates that the pre-download configuration information is complete.
Wherein, the device still includes:
the result feedback module is used for sending a pre-download result to an application server of the target application when the pre-download file of the target application is downloaded to the pre-download management position;
the re-downloading module is used for returning to the process of executing the equipment state of the service equipment if the pre-downloading result is a pre-downloading failure result;
and the task marking module is used for marking the pre-downloading task aiming at the target application as a completion state if the pre-downloading result is a pre-downloading success result.
If the application release state of the target application is a new application state, the application installation module includes:
the type acquisition unit is used for acquiring the file type of the pre-downloaded file at the pre-download management position when the target application is online;
and the application installation unit is used for moving the pre-downloaded file to an application management position of the target application based on the file type of the pre-downloaded file and installing the target application.
Wherein, this application installation unit includes:
the application installation subunit is used for calling the application management component toolkit if the file type of the pre-downloaded file is the installation type, decrypting the pre-downloaded file, installing the pre-downloaded file to the application management position of the target application, and outputting an application trigger component of the target application in the service equipment; the installation type is used for indicating that the pre-downloaded file comprises an application installation package;
and the resource loading subunit is used for loading the application installation resource of the target application when the target application is started based on the application trigger component.
Wherein, the device includes:
the installation calling module is used for outputting a first application installation prompting message, and executing a process of calling an application management component toolkit if an installation confirmation operation aiming at the first application installation prompting message is detected;
the installation confirming module is used for periodically outputting the first application installation prompting message if the installation canceling operation aiming at the first application installation prompting message is detected, and stopping outputting the first application installation prompting message until the installation confirming operation aiming at the first application installation prompting message is detected or the canceling frequency of the detected installation canceling operation is more than or equal to an installation canceling threshold value;
and the file deleting module is used for deleting the pre-downloaded file if the detected canceling times of the installation canceling operation is greater than or equal to the installation canceling threshold.
Wherein, this application installation unit includes:
the initial installation subunit is used for responding to an installation request aiming at the target application and installing the target application if the file type of the pre-downloaded file is the resource type; the resource type is used for indicating that the pre-downloaded file comprises an application resource package;
the resource loading subunit is further configured to, when the target application is started, perform initialization processing on the target application, call an application update component in the target application, decrypt and move the application resource package to an application management location of the target application, load the application to the target application, and enter the target application when the pre-downloaded file is moved.
Wherein, this application installation unit includes:
the installation loading subunit is used for loading the application installation package in the pre-downloaded file and installing the target application if the file type of the pre-downloaded file is the whole package type; the whole package type is used for representing that the pre-downloaded files comprise an application installation package and an application resource package;
the resource loading subunit is further configured to, when the target application is started, perform initialization processing on the target application, call an application update component in the target application, decrypt and move the application resource package to an application management location of the target application, load the target application based on the application resource package, and enter the target application when the application resource package is successfully loaded.
If the application release state of the target application is the application update state, the application installation module installs the target application, including:
the information acquisition unit is used for acquiring the pre-download configuration information of the target application when the target application is started when the target application is online;
the file relocation unit is used for carrying out decryption relocation on the pre-downloaded file from the pre-download management position to the application management position of the target application based on the pre-download configuration information, and synchronizing the decryption relocation progress of the pre-downloaded file to the target application in the decryption relocation process;
and the application updating unit is used for calling an application updating component of the target application when the pre-downloaded file is decrypted and moved, loading the pre-downloaded file based on the application updating component and updating and installing the target application.
Wherein, the device still includes:
the information calling module is used for detecting the application installation state of the target application, and if the application installation state is the application installed state, executing the process of acquiring the pre-download configuration information of the target application when the target application is started;
the application installation module is further configured to output a second application installation prompt message if the application installation state is the application uninstalled state, and install the target application in response to a confirmation operation for the second application installation prompt message.
In one aspect, an embodiment of the present application provides a computer device, including a processor, a memory, and an input/output interface;
the processor is respectively connected with the memory and the input/output interface, wherein the input/output interface is used for receiving data and outputting data, the memory is used for storing a computer program, and the processor is used for calling the computer program so as to enable the computer device comprising the processor to execute the application pre-downloading method in one aspect of the embodiment of the application.
An aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program is adapted to be loaded and executed by a processor, so that a computer device having the processor executes an application pre-download method in an aspect of the embodiments of the present application.
An aspect of an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternatives in one aspect of the embodiments of the application. In other words, the computer instructions, when executed by a processor, implement the methods provided in the various alternatives in one aspect of the embodiments of the subject application.
The embodiment of the application has the following beneficial effects:
in the embodiment of the application, when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected; when the equipment state of the service equipment is the equipment idle state, downloading the pre-download file of the target application to a pre-download management position; and when the target application is on line, decrypting and transferring the pre-downloaded file from the pre-download management position to the application management position of the target application, and installing the target application. Through the process, the target application can be subjected to pre-downloading treatment when the target application is not on line, namely, a file (namely, a pre-downloading file) required by target application installation is downloaded in advance, and the target application can be directly installed on the basis of the pre-downloading file when the target application is on line. And the pre-downloading file of the target application is carried out when the service equipment is idle, namely, the pre-downloading file does not conflict with the use of the service equipment by a user, so that the idle time of the service equipment can be reasonably utilized, the utilization rate of the equipment is improved, and the user experience is optimized. In addition, a pre-download function is provided, so that a user can directly reserve the pre-download function when needed, pre-download processing can be performed when the pre-download is started, the user does not need to pay attention to the on-line time and the like of the target application, and the early-stage propaganda conversion rate of the target application can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a diagram of a network interaction architecture for application pre-download according to an embodiment of the present application;
fig. 2 is a schematic diagram of an application pre-download scenario provided in an embodiment of the present application;
fig. 3 is a flowchart of a method for pre-downloading an application according to an embodiment of the present application;
FIG. 4 is a flowchart of an application installation method provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a pre-download scenario provided in an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an application pre-download interaction flow according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an application update interaction flow provided by an embodiment of the present application;
fig. 8 is a schematic diagram of an application pre-download apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
If data of an object (such as a user) needs to be collected in the application, a prompt interface or a popup window is displayed before and during collection, the prompt interface or the popup window is used for prompting the user to collect the XXXXXX data currently, and relevant steps of data acquisition are started only after a confirmation operation of the user on the prompt interface or the popup window is acquired, otherwise, the data acquisition is ended. The acquired user data is used in a reasonable and legitimate scene, application, and the like. Optionally, in some scenarios that require user data to be used but are not authorized by the user, authorization may also be requested from the user, and when authorization passes, the user data is reused.
In the embodiment of the present application, please refer to fig. 1, and fig. 1 is a network interaction architecture diagram for application pre-download provided in the embodiment of the present application, as shown in fig. 1, a service device may reserve a pre-download function for a target application, and when the pre-download of the target application is started, a pre-download file of the target application may be downloaded through an application server 101. When the target application is online, the target application may be installed based on the pre-downloaded file of the target application. The service device may be any device that can install an application, such as the service device 102a, the service device 102b, or the service device 102c shown in fig. 1. The target application may be any application program, such as a game application, a video application, a communication application, or a social media application, and is not limited herein.
Specifically, please refer to fig. 2, wherein fig. 2 is a schematic diagram of an application pre-download scenario provided in an embodiment of the present application. As shown in fig. 2, when the pre-download for the target application 201 is started, if the service device 202 detects the application pre-download reservation information for the target application 201, the device state of the service device 202 is detected. When the device status of the service device 202 is the device idle status, the pre-download file of the target application 201 is downloaded to the pre-download management location 2021. The application pre-download reservation information refers to relevant information of a pre-download function reserved for the target application, and through the above processes, when the pre-download function is reserved, a user does not need to pay attention to the online time of the target application constantly, so that the pre-download of the target application can be realized, the convenience of application installation is improved, the propaganda conversion rate in the early stage of application is improved, and the user experience is improved. And moreover, a pre-downloading function is provided for a user, so that the installation of the target application can be divided into two parts, namely pre-downloading and downloading installation, the downloading of the pre-downloaded file before the application installation is realized, the data volume required to be downloaded and processed for the application installation can be shared before the application installation, and the application installation efficiency is improved. And moreover, the application pre-downloading is carried out when the service equipment is idle, so that the idle time of the service equipment is reasonably utilized, the utilization rate of the equipment is improved, the use of the service equipment by a user is not influenced, and the application pre-downloading performance is improved. Further, when the target application 201 comes online, the service device 202 may move the pre-downloaded file from the pre-download management location 2021 to the application management location 2022 of the target application 201, and install the target application 201. When the target application is installed, the pre-download file is downloaded in advance, and the pre-download file can be directly installed on the basis of the downloaded pre-download file, so that the data volume required for installing the target application is reduced, the application installation time is saved, and the application installation efficiency is improved. And because of the pre-downloading function aiming at the target application, part of users can pre-download the target application, when the target application is online, the data volume which is required to be processed by the application server and used for installing the target application is greatly reduced, and the bandwidth peak Charging (CDN) cost of the application server is reduced.
The pre-downloading means that before an application program (such as a target application) is online or application update resources of the application program (such as the target application) are officially updated and released, application resources which need to be downloaded for a long time are downloaded for service equipment in advance, and at a time node which officially uses the application resources, the application resources which are downloaded in advance can be directly processed for application installation or application update, and the application resources do not need to be downloaded any more. The pre-downloading saves the application installation time on one hand, and enables the user to use the application resource in time after the application is released or updated on the other hand, the online downloading amount after the application resource is released or updated is reduced, and the peak value of the bandwidth peak charging is reduced, so that the cost of the peak value of the bandwidth charging on the side of the application program (such as a target application) is reduced. The application resource refers to part or all of resources required for installation or update installation of an application program (such as a target application), such as an application installation package, one or more application resource packages, or any one or more of the application installation package and the one or more application resource packages. For example, when the application program is a game application, the application resource may be referred to as a game resource, and the game resource may be any one or more of a game installation package, one or more game resource packages, or a game installation package and one or more game resource packages; if the application program is a social media application, the application resource may be referred to as a social media resource, and the like, which is not described herein again.
It is understood that, the service device or the application server mentioned in the embodiment of the present application may be a computer device, and the computer device in the embodiment of the present application includes, but is not limited to, a terminal device or a server. In other words, the computer device may be a server or a terminal device, or may be a system of a server and a terminal device. The above-mentioned terminal device may be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, a palm computer, a vehicle-mounted device, an Augmented Reality/Virtual Reality (AR/VR) device, a helmet display, a smart television, a wearable device, a smart speaker, a digital camera, a camera, and other Mobile Internet Devices (MID) with network access capability, or a terminal device in a scene such as a train, a ship, or a flight, and the like. As shown in fig. 1, the terminal device may be a notebook computer (as shown by the service device 102 b), a mobile phone (as shown by the service device 102 c), or a vehicle-mounted device (as shown by the service device 102 a), and only some of the devices are illustrated in fig. 1, alternatively, the service device 102a refers to a device located in the vehicle 103, and the service device 102a may install an application program. The above-mentioned server 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 cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, vehicle-road cooperation, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Optionally, the data related to the embodiment of the present application may be stored in a computer device, or the data may be stored based on a cloud storage technology or a blockchain network, which is not limited herein.
The distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system which integrates a large number of storage devices (storage devices are also referred to as storage nodes) of various types in a network through application software or application interfaces to cooperatively work through functions such as cluster application, grid technology and distributed storage file system, and provides data storage and service access functions to the outside.
At present, a storage method of a storage system is as follows: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, stores the data on a file system, the file system divides the data into a plurality of parts, each part is an object, the object includes not only the data but also additional information such as data identification (ID, ID entry), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.
Further, please refer to fig. 3, wherein fig. 3 is a flowchart of a method for pre-downloading an application according to an embodiment of the present application. As shown in fig. 3, taking any service device as an example, the application pre-download process includes the following steps:
step S301, when the pre-download for the target application is started, if the service device detects the application pre-download reservation information for the target application, the device state of the service device is detected.
In this embodiment, the service device may respond to a reservation operation of a pre-download function for the target application, and generate application pre-download reservation information for the target application. When the pre-download of the target application is started, namely before the target application is on-line, a time node for pre-downloading the target application can be reached, if the service equipment detects application pre-download reservation information for the target application, namely the service equipment reserves the pre-download function of the target application in advance, the equipment state of the service equipment is detected. If the device state of the service device is the device idle state, executing step S302, and executing a pre-download task for the target application; if the device state of the service device is the device busy state, suspending the pre-download task for the target application until the device state of the service device is the device idle state, and executing step S302 to execute the pre-download task for the target application.
Optionally, when the pre-download for the target application is started, if the service device detects the application pre-download reservation information for the target application, the service device may output an application pre-download prompt message. Specifically, the service device may output the application pre-download prompting message in the device notification bar, so that the application pre-download prompting message does not affect normal operation of the service device, does not affect use of the service device by a user, and improves notification reliability and notification performance of the service device. Or, an application pre-download prompt message can be output in the current display interface, so that a user can timely acquire a pre-download starting message for a target application, and the timeliness of application pre-download confirmation is improved. Or, the interface type of the current display interface of the service equipment can be acquired, the message display position is determined based on the interrupt influence degree of the interface type, and an application pre-download prompt message and the like are output at the message display position, so that the flexibility of message notification can be improved; the interruption influence degree is used for representing the influence degree on the operation of the interface when the interface indicated by the corresponding interface type is interrupted and displayed; if the interface type is the game play type, the interface indicated by the interface type is interrupted to display, so that the operation of the interface is stopped, and even the game play is influenced, therefore, the interruption influence degree corresponding to the game play type is higher, and the message display position needs to avoid influencing the current display interface as much as possible; if the interface type is the device home screen type, that is, the type of the interface of the icon of the application program displayed by the service device, the interface indicated by the interface type has almost no influence on the operation of the interface when being interrupted and displayed, so that the interruption influence degree corresponding to the device home screen type is low, the message display position can be a position where the user acquires the message randomly or as timely as possible, and the like, and the method is not limited herein. The above are only a few exemplary possible message output manners, and the present application does not limit other manners of outputting the application pre-download prompting message, and is not described herein again.
Further, when a download confirmation operation for the application pre-download prompting message is detected, the device state of the service device is detected. And if the equipment state of the service equipment is the equipment busy state, suspending the pre-download task for the target application until the pre-download task for the target application is triggered when the equipment state of the service equipment is the equipment idle state, namely executing the step S302 to download the pre-download file of the target application to the pre-download management position. If the device status of the service device is the device idle status, step S302 is executed. When a download cancellation operation for the application pre-download alert message is detected, the application pre-download reservation information for the target application may be deleted. Optionally, when a download cancellation operation for the application pre-download prompting message is detected, the application pre-download prompting message may be output again after a specified prompting interval, and the application pre-download reservation information for the target application is deleted until the number of detected download cancellation operations is greater than or equal to the pre-download cancellation threshold, because the user may unintentionally trigger the download cancellation operation after the application pre-download prompting message is output, multiple times of prompting may be performed, such as 2 times or 3 times, to determine that the application pre-download reservation information is actively cancelled by the user, thereby avoiding a pre-download failure of the target application due to a false touch, and improving the security of the application pre-download.
The device idle state is used for indicating that the storage space of the service device is sufficient, that is, the pre-downloaded file of the target application is downloaded in the sufficient space, and the service device does not run a process occupying a large amount of running memory. Optionally, the device idle state may also be used to indicate a network that performs a pre-download process on the target application, and the network has sufficient network bandwidth to perform the pre-download on the target application.
Step S302, when the device state of the service device is the device idle state, the pre-download file of the target application is downloaded to the pre-download management position.
In this embodiment of the present application, when the device state of the service device is the device idle state, the service device may silently download the pre-download file of the target application to the pre-download management position according to the pre-download management position. Specifically, when the device state of the service device is the device idle state, a pre-download request is sent to the application server of the target application. Receiving pre-download configuration information and result status codes of the target application, which are sent by the application server based on the pre-download request; the result status code is used to indicate the integrity of the pre-downloaded configuration information. The pre-download configuration information may include, but is not limited to, a list of names of pre-downloaded files, a pre-download management location (i.e., a file download address for the pre-downloaded files), file summary information (e.g., message summary of the pre-downloaded files, such as MD 5), and file sizes of the pre-downloaded files. The MD5 refers to a Message Digest Algorithm, and the Message Digest Algorithm MD5 may generate a unique digital identifier for any file. Further, downloading a pre-download file of the target application to a pre-download management location based on the pre-download configuration information; or if the result status code indicates that the pre-download configuration information is complete, downloading the pre-download file of the target application to the pre-download management position based on the pre-download configuration information.
Optionally, when the downloading of the pre-download file of the target application to the pre-download management location is finished, that is, when the pre-download task for the target application is finished, the pre-download result is sent to the application server of the target application. And if the pre-downloading result is a pre-downloading failure result, returning to the process of executing the equipment state detection of the service equipment, and re-performing pre-downloading processing on the target application. Optionally, if the pre-download result is a successful pre-download result, the pre-download task for the target application may be marked as a complete state, that is, the pre-download task for the target application is ended, and optionally, the application pre-download reservation information for the target application may be deleted.
Step S303, when the target application is on line, the pre-downloaded file is moved from the pre-download management position to the application management position of the target application, and the target application is installed.
In this embodiment, when the target application is online, the service device may decrypt the pre-downloaded file from the pre-download management location to the application management location of the target application, and install the target application. Specifically, when the target application is online, the service device may decrypt the pre-downloaded file from the pre-download management location to the application management location of the target application based on the application release state of the target application, and install the target application. The application release state comprises a new application state and an application update state, wherein the new application state is used for indicating that the target application is the application program which is released for the first time, and the application update state is used for indicating that the target application is not the application program which is released for the first time.
Specifically, if the application release state of the target application is a new application state, the file type of the pre-downloaded file at the pre-download management position is acquired when the target application is online. The file type comprises an installation type, a resource type and an entire package type, the installation type is used for indicating that the corresponding pre-downloaded file comprises an application installation package, the resource type is used for indicating that the corresponding pre-downloaded file comprises an application resource package, and the entire package type is used for indicating that the corresponding pre-downloaded file comprises the application installation package and the application resource package. Further, the service device may move the pre-downloaded file to an application management location of the target application based on the file type of the pre-downloaded file, and install the target application. Optionally, the service device integrates an application management component toolkit in the application service center, where the application management component toolkit is configured to decrypt the pre-downloaded file when the pre-downloaded file includes the application installation package, to obtain the application installation package in the pre-downloaded file, and the application installation package is configured to install the target application during running.
The method comprises the steps that a pre-downloaded file is moved to an application management position of a target application based on the file type of the pre-downloaded file, when the target application is installed, under an installation condition (1), if the file type of the pre-downloaded file is the installation type, an application management component toolkit is called, the pre-downloaded file is decrypted and installed at the application management position of the target application, and an application trigger component of the target application is output in business equipment; the installation type is used for indicating that the pre-downloaded file comprises an application installation package. Specifically, in the installation situation, the pre-downloaded file is located at a pre-Download management location, such as a Download (Download) directory, and the like, when the target file is online, the service device may directly invoke the application management component toolkit to decrypt and install the application installation package in the pre-downloaded file, at this time, the service device initially installs the target application, the service device may display an application trigger component of the target application, and when the application trigger component is triggered, the target application may be started, that is, the application trigger component is used to start the target application, and the application trigger component may be an icon or the like capable of starting the target application, and installation data generated in the process of decrypting and installing the application installation package in the pre-downloaded file is stored at the application management location of the target application, so that the target application may be started by the service device. But the target application does not load the application installation resource, further, when the target application is started based on the application trigger component, the application installation resource of the target application is loaded, and after the application installation resource is loaded, the target application is installed. An Application Performance Architecture (APA) component Kit (SDK), that is, an APA component SDK refers to a functional library software development Kit integrated in an Application server of a target Application, and is used to decrypt a pre-downloaded file to obtain data that can be read and loaded by a service device, that is, to obtain an Application resource, where the Application resource includes an Application installation package under the installation condition. For example, if the target application is a Game application, the APA component SDK may also be referred to as a Game Performance Architecture (GPA) component SDK; if the target application is a social media application, the APA component SDK may also be referred to as a social media management component SDK or the like.
Optionally, the service device may output a first application installation prompting message, where the first application installation prompting message is used to prompt the user that the application installation package of the target application has been pre-downloaded, and confirm to the user whether to install the target application, for example, the first application installation prompting message may be, for example, "is the installation package of the target application pre-downloaded, does installation confirm? "and the like. And if the installation confirmation operation aiming at the first application installation prompting message is detected, executing a process of calling the application management component toolkit, namely executing the installation process of the target application. If the installation canceling operation for the first application installation prompting message is detected, the pre-downloaded file is deleted, that is, when the installation canceling operation is detected, the user is considered not to need to install the application based on the pre-download. Alternatively, if the installation cancellation operation for the first application installation prompting message is detected, the first application installation prompting message is periodically output, for example, prompting every other day, or prompting every half day, and the like, and the first application installation prompting message is stopped from being output until the installation confirmation operation for the first application installation prompting message is detected, or the number of times of cancellation of the detected installation cancellation operation is greater than or equal to the installation cancellation threshold value. At this time, when the first application installation prompting message is stopped to be output, if the installation confirmation operation aiming at the first application installation prompting message is detected, the installation process of the target application is executed; and if the detected cancellation times of the installation cancellation operation are larger than or equal to the installation cancellation threshold, deleting the pre-downloaded file. For example, assuming that the installation cancellation threshold is 5, that is, when the installation cancellation operation is detected after the first application installation prompting message is output five times, it may be considered that the user does not need to install the application based on the pre-download, at this time, the pre-download file is equivalent to an unnecessary file, and therefore, the pre-download file may be deleted, and the prompt of the first application installation prompting message is not performed any more, so as to save the storage space of the service device. In the case of deleting the pre-downloaded file, if the user needs to install the target application, the user needs to download the target application by himself, that is, if the target application needs to be installed subsequently, the service device may respond to an installation request for the target application, obtain a complete application resource of the target application, load the complete application resource, and install the target application. Optionally, the service device may respond to an installation request for the target application in the application service center, obtain a complete application resource of the target application, and install the target application. The application service center refers to a center that can provide services of an installation route of an application program (including a target application), and may be an application installation manufacturer, an application installation channel, an application installation platform, or the like, such as an application official website where each application program is located, or an application installation platform/channel carried by each business device, which is not limited herein.
Under the installation condition (2), if the file type of the pre-downloaded file is the resource type, responding to an installation request aiming at the target application, and installing the target application; the resource type is used for indicating that the pre-downloaded file comprises an application resource package, at this time, the initial installation of the target application is realized, and the service equipment can start the target application. When the target application is started, initialization processing can be carried out on the target application, an application updating component in the target application is called, the application resource package is decrypted and moved to an application management position of the target application and loaded to the target application, and when the pre-downloaded file is moved, the target application is entered. Specifically, when the target application is initialized, the application management component can be initialized, the application update component in the target application is called through the application management component, the pre-downloaded file downloaded at the pre-download management position is decrypted and moved to the application management position of the target application, the application resource package included in the pre-downloaded file is loaded and associated to the target application through the application update component, the resource loading of the target application is realized, the complete installation of the target application is completed, the application resource package is pre-downloaded in the process, the application resource package does not need to be downloaded at this moment, the loading can be directly carried out, and the application installation efficiency is improved. Optionally, in the process of decrypting and migrating the pre-downloaded file, the migration progress of the pre-downloaded file may be synchronized to the target application, and when the decryption migration of the pre-downloaded file is completed, a decryption migration process completion message of the pre-downloaded file, such as a migration success message or a migration failure message, is synchronized to the target application. Optionally, when the relocation failure message is detected, the decryption relocation process of the pre-downloaded file may be performed again. Optionally, when the process of associating the pre-downloaded file to the target application is completed, a resource loading completion message may be fed back to the application server, where the resource loading completion message may be a resource loading success message or a resource loading failure message, optionally, the resource loading failure message may include, but is not limited to, a loading failure code, a loading failure reason, and the like, and further, the service device may reload the pre-downloaded file to the target application through the application management component based on processing feedback information of the application server for the resource loading failure message. By the mode, after the business equipment is used for primarily installing the target application, the pre-downloaded file (namely the application resource package) which is pre-downloaded can be directly used for entering the target application, the downloading of the application resource package of the target application is not required to be waited for a long time, the user experience is optimized, the CDN peak value when the user centrally downloads the application resources of the target application in a large batch is reduced, the CDN cost of an application server is reduced, and the application installation efficiency is improved.
Optionally, a third application installation prompting message may be output, where the third application installation prompting message is used to prompt a user that an application resource package of a target application is already pre-downloaded, and resource loading is required after application installation, for example, the third application installation prompting message may be, for example, "after the application resource package of the target application is already pre-downloaded and needs to go to an application service center (e.g., an application service store or a browser) to search for and download an application installation package of the target application, install the target application, and then may use the pre-downloaded application resource package when entering the target application. "and the like. When an installation request for the target application is detected, a process of installing the target application in response to the installation request for the target application is performed.
In the installation condition (3), if the file type of the pre-downloaded file is an entire package type, that is, the pre-downloaded file includes an application installation package and an application resource package, that is, the pre-downloaded file includes a full amount of files required for installation of the target application, the application installation package in the pre-downloaded file is loaded, and the target application is installed. Specifically, when the application installation package in the pre-downloaded file is loaded and the target application is installed, the application management component toolkit may be called, the pre-downloaded file is decrypted and installed to the application management position of the target application, and the application trigger component of the target application is output in the service device, that is, the application management component toolkit is called, the pre-downloaded file is decrypted, the application installation package in the pre-downloaded file is obtained, the application installation package is run, the target application is installed to the application management position of the target application, and optionally, the application trigger component of the target application may be output in the service device. Specifically, the process may refer to the related description in the installation condition (1) in which the file type of the pre-downloaded file is the installation type, and is not described herein again. Further, when the target application is started, initializing the target application, calling an application updating component in the target application, decrypting and transferring the application resource package to an application management position of the target application, loading the target application based on the application resource package, and entering the target application when the application resource package is loaded successfully. Specifically, the process may refer to the related description in the installation situation (2) in which the file type of the pre-downloaded file is the resource type, and details are not described herein again. At this time, the application resource includes an application installation package and an application resource package.
Optionally, the service device may output a fourth application installation prompting message, where the fourth application installation prompting message is used to prompt that the full-size file of the target application of the user has been pre-downloaded, and may be directly installed, for example, the fourth application installation prompting message may include that "whether the application installation package and the application resource package of the target application have been pre-downloaded, and whether the installation of the game is confirmed" or not. And if the installation confirmation operation aiming at the fourth application installation prompt message is detected, executing the process of loading the application installation package in the pre-downloaded file and installing the target application. If the installation cancellation operation for the fourth application installation prompting message is detected, the fourth application installation prompting message is periodically output, for example, prompting every other day, or prompting every half day, and the fourth application installation prompting message is stopped from being output until the installation confirmation operation for the fourth application installation prompting message is detected, or the number of times of cancellation of the detected installation cancellation operation is greater than or equal to the installation cancellation threshold value. At this time, when the fourth application installation prompting message is stopped being output, if the installation confirmation operation aiming at the fourth application installation prompting message is detected, executing the installation process of the target application; and if the detected cancellation times of the installation cancellation operation are larger than or equal to the installation cancellation threshold, deleting the pre-downloaded file. For example, assuming that the installation cancellation threshold is 5, that is, when the installation cancellation operation is detected while the fourth application installation prompting message is output five times, it can be considered that the user does not need to perform application installation based on the pre-download. For details, reference may be made to the related description of the first application installation prompting message in the installation condition (1), and details are not described herein again.
Specifically, if the application release state of the target application is the application update state, when the target application is online, and the target application is started, the pre-download configuration information of the target application is obtained. And based on the pre-download configuration information, decrypting and transferring the pre-download file from the pre-download management position to the application management position of the target application, and synchronizing the decryption transfer progress of the pre-download file to the target application in the decryption transfer process. And when the pre-downloaded file is decrypted and moved, calling an application updating component of the target application, loading the pre-downloaded file based on the application updating component, and updating and installing the target application.
Optionally, the application installation state of the target application may be detected, and if the application installation state is the application installed state, a process of acquiring the pre-download configuration information of the target application when the target application is started is executed. And if the application installation state is the application uninstallation state, outputting a second application installation prompting message, responding to the confirmation operation aiming at the second application installation prompting message, and installing the target application.
The application update component is a component integrated in the target application, and is used for decrypting and loading application resources of the target application.
Further, please refer to fig. 4, where fig. 4 is a flowchart of an application installation method provided in the embodiment of the present application. As shown in fig. 4, the application installation process includes the following steps:
step S401, performs a pre-download reservation for the target application.
In this embodiment, the service device may display a pre-download function for the target application in the application service center, and generate application pre-download reservation information for the target application in response to a reservation operation for the pre-download function of the target application. Or responding to the reserved operation of the pre-downloading function of the target application, and acquiring the application release state of the target application. If the application release state of the target application is a new application state, generating application pre-download reservation information aiming at the target application; the new application state is used for representing that the target application is released for the first time; if the application release state of the target application is the application update state, detecting the application installation state of the target application in the business equipment; the application update state is used to characterize that the target application is not initially published. If the application installation state of the target application is the application installation state, generating application pre-download reservation information aiming at the target application; and if the application installation state of the target application is the application uninstalling state, displaying an application installation preparation message, wherein the application installation preparation message is used for prompting a user to reserve the pre-download aiming at the target application and needs to be carried out on the basis of installing the target application, and further, after the target application is installed on the basis of the application installation preparation message, generating application pre-download reservation information aiming at the target application. That is, the pre-download reservation can be performed for any application program; or, when the target application is released for the first time, the pre-download reservation can be directly carried out; when the target application is not released for the first time, only the service device installed with the target application can perform pre-download reservation for the target application, which is not limited herein. The application pre-download reservation information is used for indicating that the service equipment reserves the pre-download function of the target application.
For example, referring to fig. 5, fig. 5 is a schematic diagram of a pre-download scenario provided in an embodiment of the present application. As shown in fig. 5, the service device may display N applications in the application service center 501, and a pre-download function for a first application in the N applications, where N is a positive integer, and the first application refers to an application with a pre-download function, such as the pre-download functions of application 1 and application 1 shown in fig. 5, and the pre-download functions of application 2 and application 2 shown in fig. 5. Further, in response to the reservation operation of the pre-download function for the target application, the target application is an application program that triggers the pre-download function, and may be any application program among the N application programs, as shown in fig. 5, the target application is application program 2, a pre-download confirmation message 502 is displayed, and the application pre-download reservation information for the target application is generated in response to the confirmation operation for the pre-download confirmation message 502.
Step S402, when the pre-downloading aiming at the target application is started, the application pre-downloading reservation information aiming at the target application is obtained.
In this embodiment of the application, as shown in fig. 5, optionally, when the pre-download for the target application is started, that is, when the pre-download time node of the target application is reached, the service device 503 may detect application pre-download reservation information for the target application, and output a pre-download generation prompting message 504, for example, "is a pre-download file of the target application queried, and is a download performed? And so on, when the confirmation operation for the pre-download generation prompting message 504 is detected, the pre-download file of the target application is downloaded, or step S403 is performed. Specifically, reference may be made to the relevant description in step S301 in fig. 3, and details are not repeated here.
Step S403, detecting the device status of the service device.
In this embodiment of the present application, the service device may detect a device state of the service device, and if the device state is a device idle state, execute step S404; if the device status is the device busy status, step S403 is repeatedly executed, and step S404 is executed until the device status of the service device is the device idle status, that is, the pre-download task for the target application is suspended. Specifically, reference may be made to the relevant description in step S301 in fig. 3, and details are not repeated here.
Step S404, when the device state of the service device is the device idle state, downloading the pre-download file of the target application to the pre-download management position.
In this embodiment of the application, when the device state of the service device is the device idle state, the pre-download file of the target application is downloaded to the pre-download management location, which may specifically refer to the specific description of step S302 in fig. 3, and is not described herein again.
Step S405, when the target application is on-line, the pre-downloaded file is moved from the pre-download management position to the application management position of the target application, and the target application is installed.
In the embodiment of the present application, reference may be specifically made to the detailed description of step S303 in fig. 3, which is not described herein again.
As an alternative implementation process of the application pre-download process described in steps S301 to S302 in fig. 3, and steps S401 to S404 in fig. 4, reference may be made to fig. 6, where fig. 6 is a schematic diagram of an application pre-download interaction flow provided in an embodiment of the present application, and as shown in fig. 6, the process may include the following steps:
step S601, upload the pre-download file and the pre-download configuration information.
In this embodiment of the present application, an application management device (APA device) may upload a pre-download file and pre-download configuration information of a target application to an application server. Optionally, the application manager may upload the pre-download file and the pre-download configuration information through the application management device. Specifically, the application management device may upload the pre-downloaded file and the pre-downloaded configuration information of the target application to the application server of the target application before reaching a pre-download time node, which is before the target application is online and at which the pre-downloaded file of the target application can be downloaded, that is, the pre-downloaded file and the pre-downloaded configuration information are uploaded to the application server before the pre-download time node. Optionally, the application management device may obtain an application resource of the target application, where the application resource refers to a resource that can be pre-downloaded for the target application, and encrypt the application resource to obtain a pre-downloaded file. That is, the pre-downloaded file of the target application acquired by each service device is the same, and the pre-downloaded file is obtained by encryption. The pre-download configuration information may include, but is not limited to, a pre-download file name list, a pre-download management location (i.e., a file download address for the pre-download file), file summary information (e.g., MD5 of the pre-download file), and a file size of the pre-download file.
Step S602, when the device status is the device idle status, querying the pre-download configuration information.
In this embodiment, when the device state is the device idle state, the service device may query the application server for the pre-download configuration information for the target application through the application service center.
Step S603, searching for the pre-download configuration information.
In the embodiment of the application, the application server may search for the pre-download configuration information of the target application.
Step S604, the pre-download configuration information and the result status code are returned.
In this embodiment, the application server may feed back the pre-download configuration information and a result status code to the service device, where the result status code is used to indicate the integrity of the pre-download configuration information.
Step S605, when the application pre-download reservation information exists, the pre-download file is downloaded in a silent manner.
In this embodiment of the present application, when the application pre-download reservation information exists and the device state is the device idle state, the service device may perform silent downloading of the pre-download file of the target application from the application server to the pre-download management location in the pre-download configuration information, where the silent downloading refers to downloading under the condition that the operation of the service device is not affected and the service device is used by the user, where the silent downloading may be performed under the condition of a download confirmation message for the application pre-download hint message, that is, the authorization of the user is obtained, which may specifically refer to related description in step S301 in fig. 3. The pre-download management position is used for managing the pre-download file acquired through the application service center, and is not a directory where the pre-download file is located when the pre-download file is finally used by the target application.
The service device may detect application pre-download reservation information for the target application at a pre-download time node of the target application, and detect a device state of the service device if the application pre-download reservation information exists, that is, the service device reserves a pre-download function of the target application. Optionally, when the application release state of the target application is the new application state, the service device may trigger a pre-download function for the target application in the application service center, and generate application pre-download reservation information. When the application release state of the target application is the application update state, the service device may trigger a pre-download function for the target application in the application service center, and generate application pre-download reservation information. Reference may be made specifically to the relevant description in step S401 of fig. 4. Optionally, when the application release state of the target application is the application update state, the service device may respond to the update pre-download operation for the target application in the target application, and generate the application pre-download reservation information for the target application.
Specifically, reference may be made to the relevant description in step S301 to step S302 of fig. 3, and details are not repeated here.
And step S606, feeding back a pre-download result.
In the embodiment of the application, when the pre-download task for the target application is finished, the service device may feed back a pre-download result for the target application to the application server through the application service center, where the pre-download result includes a pre-download failure result or a pre-download success result. Optionally, the application server may further process the target application based on a pre-download result of the target application.
The target application may be any application program, and the pre-downloaded file is obtained by encryption, so that when the pre-downloaded file is used, the service device needs to decrypt the pre-downloaded file, and load the decrypted pre-downloaded file to the target application to install the target application. If the application release state of the target application is a new application state and the file type of the pre-downloaded file is an installation type, decrypting the pre-downloaded file by adopting an application management component toolkit; if the application release state of the target application is a new application state and the file type of the pre-downloaded file is a resource type, or the application release state of the target application is an application update state, the pre-downloaded file can be decrypted by adopting an application update component of the target application. If the application release state of the target application is a new application state and the file type of the pre-downloaded file is a whole package type, decrypting the pre-downloaded file by adopting an application management component toolkit to obtain an application installation package, decrypting the pre-downloaded file by adopting an application updating component to obtain an application resource package and the like.
Further, when the application release state of the target application is the application update state, an optional application installation process for the target application may be shown in fig. 7, where fig. 7 is a schematic view of an application update interaction flow provided in an embodiment of the present application. As shown in fig. 7, the process of integrating the application management component toolkit in the target application may include the following processes:
step S701, start the target application, and initialize the application management component toolkit.
In this embodiment of the present application, when the service device installs the target application, and the application server cooperates with the application management component side to perform the pre-download, the pre-download function is started, and the device information of the service device meets the pre-download condition, for example, when the storage space of the service device is sufficient, the running resource of a Central Processing Unit (CPU) is sufficient, and the device state is the device idle state, the service device may perform the pre-download on the pre-download file of the target application. The service equipment starts the target application and initializes the application management component toolkit.
Step S702, pull the pre-download configuration information.
In this embodiment, the service device may pull the pre-downloaded configuration information of the target application from the application server through the application management component toolkit, and specifically, may send the configuration information acquisition request to the application server through the application management component toolkit.
Step S703 returns the pre-download configuration information.
In the embodiment of the application, when receiving the configuration information acquisition request, the application server feeds back the pre-download configuration information of the target application to the service device. Optionally, the service device may obtain the pre-download configuration information of the target application through the application management component toolkit.
Step S704, a pre-download management location is obtained.
In this embodiment, the service device may obtain a pre-download management location from the application management component toolkit, where the pre-download management location refers to a directory for storing a downloaded pre-download file.
Step S705, inquiring the information of the pre-downloaded file.
In this embodiment of the present application, the service device may query, through the application management component toolkit, the application service center for information (URI) of a pre-downloaded file, that is, a URI of the pre-downloaded file. Optionally, the service device may use a content providing function (ContentProvider) to query the application service center for the URI of the pre-downloaded file through the application management component toolkit. The ContentProvider refers to a standard interface for data exchange between different application programs, and may be used for data interaction between different application programs or different processes, for example, data interaction between an application management component toolkit and an application service center. The URI of the pre-downloaded file may include, but is not limited to, content providing function information, what operation is performed on the ContentProvider, a pre-download management location (such as a device name of the service device, an access path of the pre-download management location in the service device, a pre-downloaded file identifier, and the like), and the like, and is used to assist in accessing the pre-downloaded file.
Step S706, the information of the pre-downloaded file is returned.
In the embodiment of the application, the application server returns the URI of the pre-download file to the service device.
Further, the service device may perform relocation processing on the pre-downloaded file of the target application, specifically refer to step S707 to step S708:
in step S707, the pre-downloaded file is moved.
In this embodiment, the service device may move the pre-downloaded file, specifically, move the pre-downloaded file from the download management location to the application management location of the target application. Optionally, the pre-downloaded file may be decrypted by using an application update component of the target application to obtain an application resource of the target application, and the application resource is moved to the application management location.
Step S708, the moving progress is synchronized.
In the embodiment of the application, the service device synchronizes the moving progress of the pre-downloaded file to the target application in the moving process of the pre-downloaded file. Step S707 to step S708 are continuously loaded until the pre-downloaded file is migrated, and step S709 is executed.
Step S709, synchronize the relocation process completion message.
In this embodiment, the service device synchronizes the relocation process completion message to the target application, such as a relocation success message or a relocation failure message.
The relocation and the decryption relocation in the application can be regarded as the same meaning, for example, the relocation process is a decryption relocation process, and the relocation process completion message is a decryption relocation process completion message. The above relocation process may refer to the related description in step S303 of fig. 3.
In step S710, the application management location is determined as the application installation directory.
In this embodiment of the application, the service device obtains the relocation process completion message in the target application, determines the application management location as the application installation directory, and triggers step S711.
In step S711, the target application is updated using the pre-downloaded file.
In the embodiment of the application, the service equipment calls the pre-downloaded file through the application updating component to update the target application, so that the target application is updated and installed.
Step S712, an application update result is fed back.
In the embodiment of the application, when the target application is updated, the service device feeds back the application update result to the target application through the application update component. When the application updating result is an application updating success result, successfully realizing the updating and installation of the target application; and when the application updating result is the application updating failure result, the pre-downloaded file can be called again to update and install the target application.
In the embodiment of the application, when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected; when the equipment state of the business equipment is the equipment idle state, downloading a pre-download file of the target application to a pre-download management position; and when the target application is on line, decrypting and transferring the pre-downloaded file from the pre-download management position to the application management position of the target application, and installing the target application. Through the process, the target application can be subjected to pre-downloading treatment when the target application is not on line, namely, a file (namely, a pre-downloading file) required by target application installation is downloaded in advance, and the target application can be directly installed on the basis of the pre-downloading file when the target application is on line. And the pre-downloading file of the target application is carried out when the service equipment is idle, namely, the pre-downloading file does not conflict with the use of the service equipment by a user, so that the idle time of the service equipment can be reasonably utilized, the utilization rate of the equipment is improved, and the user experience is optimized. In addition, a pre-download function is provided, so that a user can directly reserve the pre-download function when needed, pre-download processing can be performed when the pre-download is started, the user does not need to pay attention to the on-line time and the like of the target application, and the early-stage propaganda conversion rate of the target application can be improved.
Further, please refer to fig. 8, wherein fig. 8 is a schematic diagram of an application pre-download apparatus according to an embodiment of the present application. The application pre-downloading means may be a computer program (including program code, etc.) running in the computer device, for example, the application pre-downloading means may be an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. As shown in fig. 8, the application pre-downloading apparatus 800 may be used in a computer device in the embodiment corresponding to fig. 3, and specifically, the apparatus may include: the device comprises a device detection module 11, a file downloading module 12 and an application installation module 13.
The device detection module 11 is configured to, when the pre-download for the target application is started, detect a device state of the service device if the service device detects application pre-download reservation information for the target application;
the file downloading module 12 is configured to download the pre-downloaded file of the target application to a pre-download management location when the device state of the service device is the device idle state;
and the application installation module 13 is configured to decrypt and move the pre-downloaded file from the pre-download management position to an application management position of the target application when the target application is online, and install the target application.
Wherein the apparatus 800 further comprises:
the release detection module 14 is configured to display a pre-download function for the target application in the application service center, and obtain an application release state of the target application in response to a reservation operation of the pre-download function for the target application;
a reservation generation module 15, configured to generate application pre-download reservation information for the target application if the application release state of the target application is a new application state; the new application state is used for representing that the target application is released for the first time;
the installation detection module 16 is configured to detect an application installation state of the target application in the service device if the application release state of the target application is the application update state; the application update state is used for representing that the target application is not released for the first time;
the reservation generating module 15 is further configured to generate application pre-download reservation information for the target application if the application installation state of the target application is the application installed state;
and the installation prompting module 17 is configured to display an application installation preparation message if the application installation state of the target application is the application uninstallation state, and generate application pre-download reservation information for the target application after the target application is installed based on the application installation preparation message.
Wherein, this equipment detection module 11 includes:
a pre-download prompting unit 111, configured to, when pre-download for a target application is started, if service equipment detects application pre-download reservation information for the target application, output an application pre-download prompting message;
a device detection unit 112, configured to detect a device state of the service device when a download confirmation operation for the application pre-download prompting message is detected;
the apparatus 800 further comprises:
and the pre-download waiting module 18 is configured to suspend the pre-download task for the target application if the device state of the service device is a device busy state, until the device state of the service device is a device idle state, trigger a process of downloading the pre-download file of the target application to the pre-download management location.
The file downloading module 12 includes:
a download request unit 121, configured to send a pre-download request to an application server of a target application when a device state of a service device is a device idle state;
an information receiving unit 122, configured to receive the pre-download configuration information and result status code of the target application sent by the application server based on the pre-download request; the result status code is used for indicating the integrity of the pre-download configuration information;
and a file downloading unit 123, configured to download, based on the pre-download configuration information, the pre-download file of the target application to the pre-download management location if the result status code indicates that the pre-download configuration information is complete.
Wherein, the apparatus 800 further comprises:
the result feedback module 19 is used for sending the pre-download result to the application server of the target application when the pre-download file of the target application is downloaded to the pre-download management position;
the re-downloading module 20 is configured to, if the pre-downloading result is a pre-downloading failure result, return to a process of executing the device state detection of the service device;
and the task marking module 21 is configured to mark the pre-download task for the target application as a complete state if the pre-download result is a pre-download success result.
If the application release state of the target application is the new application state, the application installation module 13 includes:
a type obtaining unit 131, configured to obtain a file type of the pre-downloaded file at the pre-download management location when the target application is online;
and the application installation unit 132 is configured to decrypt and transfer the pre-downloaded file to an application management location of the target application based on the file type of the pre-downloaded file, and install the target application.
Wherein, the application installation unit 132 includes:
the application installation subunit 1321, configured to, if the file type of the pre-downloaded file is an installation type, invoke an application management component toolkit, decrypt the pre-downloaded file, install the pre-downloaded file at an application management location of the target application, and output an application trigger component of the target application in the service equipment; the installation type is used for indicating that the pre-downloaded file comprises an application installation package;
a resource loading subunit 1322 is configured to load the application installation resource of the target application when the target application is started based on the application triggering component.
Wherein the apparatus 800 comprises:
an installation calling module 22, configured to output a first application installation prompting message, and if an installation confirmation operation for the first application installation prompting message is detected, execute a process of calling an application management component toolkit;
an installation confirming module 23, configured to, if an installation cancellation operation for the first application installation prompting message is detected, periodically output the first application installation prompting message until an installation confirmation operation for the first application installation prompting message is detected or a cancellation number of the detected installation cancellation operation is greater than or equal to an installation cancellation threshold, stop outputting the first application installation prompting message;
and the file deleting module 24 is configured to delete the pre-downloaded file if the detected cancellation frequency of the installation cancellation operation is greater than or equal to the installation cancellation threshold.
Wherein, the application installation unit 132 includes:
an initial installation subunit 1323, configured to respond to an installation request for the target application and install the target application if the file type of the pre-downloaded file is a resource type; the resource type is used for indicating that the pre-downloaded file comprises an application resource package;
the resource loading subunit 1322 is further configured to, when the target application is started, perform initialization processing on the target application, call an application update component in the target application, decrypt and move the application resource package to an application management location of the target application, load the application to the target application, and enter the target application when the pre-downloaded file is moved.
Wherein, the application installation unit 132 includes:
an installation and loading subunit 1324, configured to, if the file type of the pre-downloaded file is the whole package type, load the application installation package in the pre-downloaded file, and install the target application; the whole package type is used for representing that the pre-downloaded files comprise an application installation package and an application resource package;
the resource loading subunit 1322 is further configured to, when the target application is started, perform initialization processing on the target application, call an application update component in the target application, decrypt and move the application resource package to an application management location of the target application, load the target application based on the application resource package, and enter the target application when the application resource package is successfully loaded.
If the application release state of the target application is the application update state, the application installation module 13 installs the target application, including:
an information obtaining unit 133, configured to obtain pre-download configuration information of a target application when the target application is started when the target application is online;
the file relocation unit 134 is configured to, based on the pre-download configuration information, relocate the pre-downloaded file from the pre-download management location to the application management location of the target application in a decryption manner, and synchronize the decryption relocation progress of the pre-downloaded file to the target application in the decryption relocation process;
and the application updating unit 135 is configured to, when the decryption and relocation of the pre-downloaded file are completed, invoke an application updating component of the target application, load the pre-downloaded file based on the application updating component, and update and install the target application.
Wherein, the apparatus 800 further comprises:
the information calling module 25 is configured to detect an application installation state of the target application, and if the application installation state is an application installed state, execute a process of acquiring pre-download configuration information of the target application when the target application is started;
the application installation module 13 is configured to, if the application installation state is the application uninstall state, output a second application installation prompt message, and respond to a confirmation operation for the second application installation prompt message to install the target application.
The embodiment of the application provides an application pre-downloading device, which can detect the equipment state of service equipment if service equipment detects application pre-downloading reservation information aiming at a target application when pre-downloading aiming at the target application is started; when the equipment state of the service equipment is the equipment idle state, downloading the pre-download file of the target application to a pre-download management position; and when the target application is on line, the pre-downloaded file is decrypted and moved to the application management position of the target application from the pre-download management position, and the target application is installed. Through the process, the target application can be subjected to pre-downloading treatment when the target application is not on line, namely, a file (namely, a pre-downloading file) required by target application installation is downloaded in advance, and the target application can be directly installed on the basis of the pre-downloading file when the target application is on line. The pre-downloading of the target application is carried out when the business equipment is idle, namely, the pre-downloading of the target application is not in conflict with the use of the business equipment by a user, so that the idle time of the business equipment can be reasonably utilized, the utilization rate of the equipment is improved, and the user experience is optimized. In addition, a pre-download function is provided, so that a user can directly reserve the pre-download function when needed, pre-download processing can be performed when the pre-download is started, the user does not need to pay attention to the on-line time and the like of the target application, and the early-stage propaganda conversion rate of the target application can be improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. As shown in fig. 9, the computer device in the embodiment of the present application may include: one or more processors 901, memory 902, and input-output interface 903. The processor 901, memory 902, and input/output interface 903 are connected by a bus 904. The memory 902 is used for storing a computer program, which includes program instructions, and the input/output interface 903 is used for receiving data and outputting data, for example, for data interaction between the service device and an application server, or for data interaction between various components (such as an application management component and an application update component) in the service device; the processor 901 is configured to execute program instructions stored in the memory 902.
The processor 901 may perform the following operations:
when the pre-downloading for the target application is started, if the service equipment detects the application pre-downloading reservation information for the target application, the equipment state of the service equipment is detected;
when the equipment state of the business equipment is the equipment idle state, downloading a pre-download file of the target application to a pre-download management position;
and when the target application is on line, the pre-downloaded file is moved to the application management position of the target application from the pre-download management position, and the target application is installed.
In some possible embodiments, the processor 901 may be a Central Processing Unit (CPU), and the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 902 may include a read-only memory and a random access memory, and provides instructions and data to the processor 901 and the input-output interface 903. A portion of the memory 902 may also include non-volatile random access memory. For example, memory 902 may also store device type information.
In specific implementation, the computer device may execute the implementation manner provided in each step in fig. 3 through each built-in functional module thereof, which may specifically refer to the implementation manner provided in each step in fig. 3 and is not described herein again.
The embodiment of the present application provides a computer device, including: the system comprises a processor, an input/output interface and a memory, wherein the processor acquires a computer program in the memory, executes each step of the method shown in the figure 3 and performs an application pre-downloading operation. The embodiment of the application realizes that when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected; when the equipment state of the business equipment is the equipment idle state, downloading a pre-download file of the target application to a pre-download management position; and when the target application is on line, decrypting and transferring the pre-downloaded file from the pre-download management position to the application management position of the target application, and installing the target application. Through the process, the target application can be subjected to pre-downloading treatment when the target application is not on line, namely, a file (namely, a pre-downloading file) required by target application installation is downloaded in advance, and the target application can be directly installed on the basis of the pre-downloading file when the target application is on line. The pre-downloading of the target application is carried out when the business equipment is idle, namely, the pre-downloading of the target application is not in conflict with the use of the business equipment by a user, so that the idle time of the business equipment can be reasonably utilized, the utilization rate of the equipment is improved, and the user experience is optimized. In addition, a pre-download function is provided, so that a user can directly reserve the pre-download function when needed, pre-download processing can be performed when the pre-download is started, the user does not need to pay attention to the on-line time and the like of the target application, and the early-stage propaganda conversion rate of the target application can be improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, where the computer program is suitable for being loaded by the processor and executing the application pre-download method provided in each step in fig. 3, and reference may be specifically made to implementation manners provided in each step in fig. 3, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. By way of example, a computer program can be deployed to be executed on one computer device or on multiple computer devices at one site or distributed across multiple sites and interconnected by a communication network.
The computer-readable storage medium may be the application pre-downloading apparatus provided in any of the foregoing embodiments or an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like provided on the computer device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the computer device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the computer device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the computer device executes the method provided in the various optional manners in fig. 3, thereby implementing the pre-download processing on the target application when the target application is not on line, that is, downloading the file (i.e., the pre-download file) required by the target application installation in advance, and implementing the installation of the target application directly based on the pre-download file when the target application is on line. And the pre-downloading file of the target application is carried out when the service equipment is idle, namely, the pre-downloading file does not conflict with the use of the service equipment by a user, so that the idle time of the service equipment can be reasonably utilized, the utilization rate of the equipment is improved, and the user experience is optimized. In addition, a pre-download function is provided, so that a user can directly reserve the pre-download function when needed, pre-download processing can be performed when the pre-download is started, the user does not need to pay attention to the on-line time and the like of the target application, and the early-stage propaganda conversion rate of the target application can be improved.
The terms "first," "second," and the like in the description and in the claims and drawings of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to the listed steps or modules, but may alternatively include other steps or modules not listed or inherent to such process, method, apparatus, product, or apparatus.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described herein generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable application pre-download apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable application pre-download apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable application pre-download apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable application pre-download apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (15)

1. A method for application pre-download, the method comprising:
when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, the equipment state of the service equipment is detected;
when the equipment state of the service equipment is an equipment idle state, downloading the pre-download file of the target application to a pre-download management position;
when the target application is on line, the pre-downloaded file is moved to the application management position of the target application from the pre-download management position, and the target application is installed.
2. The method of claim 1, wherein the method further comprises:
displaying a pre-download function aiming at the target application in an application service center, responding to the reservation operation aiming at the pre-download function of the target application, and acquiring an application release state of the target application;
if the application release state of the target application is a new application state, generating application pre-download reservation information aiming at the target application; the new application state is used for representing that the target application is released for the first time;
if the application release state of the target application is an application update state, detecting an application installation state of the target application in the service equipment; the application updating state is used for representing that the target application is not released for the first time;
if the application installation state of the target application is the application installation state, generating application pre-download reservation information aiming at the target application;
and if the application installation state of the target application is the application uninstallation state, displaying an application installation preparation message, and after the target application is installed based on the application installation preparation message, generating application pre-download reservation information for the target application.
3. The method of claim 1, wherein detecting the device state of the service device if the service device detects application pre-download reservation information for the target application when the pre-download for the target application is started comprises:
when the pre-download aiming at the target application is started, if the service equipment detects the application pre-download reservation information aiming at the target application, outputting an application pre-download prompt message;
when detecting a download confirmation operation aiming at the application pre-download prompting message, detecting the equipment state of the service equipment;
the method further comprises the following steps:
and if the equipment state of the service equipment is an equipment busy state, suspending the pre-download task aiming at the target application until the process of downloading the pre-download file of the target application to a pre-download management position is triggered when the equipment state of the service equipment is the equipment idle state.
4. The method of claim 1, wherein downloading the pre-download file of the target application to a pre-download management location when the device state of the service device is a device idle state comprises:
when the equipment state of the service equipment is an equipment idle state, sending a pre-downloading request to an application server of the target application;
receiving the pre-download configuration information and result status codes of the target application, which are sent by the application server based on the pre-download request; the result status code is used for indicating the integrity of the pre-download configuration information;
and if the result status code indicates that the pre-download configuration information is complete, downloading the pre-download file of the target application to a pre-download management position based on the pre-download configuration information.
5. The method of claim 1, wherein the method further comprises:
when the pre-download file of the target application is downloaded to a pre-download management position, sending a pre-download result to an application server of the target application;
if the pre-download result is a pre-download failure result, returning to execute the process of detecting the equipment state of the service equipment;
and if the pre-downloading result is a pre-downloading success result, marking the pre-downloading task aiming at the target application as a completion state.
6. The method according to claim 1, wherein if the application release status of the target application is a new application status, when the target application is online, the pre-downloaded file is moved from the pre-download management location to an application management location of the target application, and the target application is installed, including:
when the target application is online, acquiring the file type of the pre-downloaded file at the pre-download management position;
and migrating the pre-downloaded file to an application management position of the target application based on the file type of the pre-downloaded file, and installing the target application.
7. The method of claim 6, wherein the moving the pre-downloaded file to an application management location of the target application based on the file type of the pre-downloaded file, and installing the target application comprises:
if the file type of the pre-downloaded file is the installation type, calling an application management component toolkit, decrypting the pre-downloaded file, installing the pre-downloaded file to the application management position of the target application, and outputting an application trigger component of the target application in the service equipment; the installation type is used for indicating that the pre-downloaded file comprises an application installation package;
and when the target application is started based on the application trigger component, loading the application installation resource of the target application.
8. The method of claim 7, wherein the method further comprises:
outputting a first application installation prompting message, and executing the process of calling the application management component toolkit if the installation confirmation operation aiming at the first application installation prompting message is detected;
if the installation cancellation operation aiming at the first application installation prompting message is detected, the first application installation prompting message is periodically output until the installation confirmation operation aiming at the first application installation prompting message is detected or the detected cancellation times of the installation cancellation operation are greater than or equal to an installation cancellation threshold value, and the first application installation prompting message is stopped to be output;
and if the detected cancellation times of the installation cancellation operation are larger than or equal to an installation cancellation threshold value, deleting the pre-downloaded file.
9. The method of claim 6, wherein the moving the pre-downloaded file to an application management location of the target application based on the file type of the pre-downloaded file, and installing the target application comprises:
if the file type of the pre-downloaded file is a resource type, responding to an installation request aiming at the target application, and installing the target application; the resource type is used for indicating that the pre-downloaded file comprises an application resource packet;
when the target application is started, initializing the target application, calling an application updating component in the target application, decrypting and transferring the application resource package to an application management position of the target application, loading the application resource package to the target application, and entering the target application when the pre-downloaded file is transferred.
10. The method of claim 6, wherein the moving the pre-downloaded file to an application management location of the target application based on the file type of the pre-downloaded file, and installing the target application comprises:
if the file type of the pre-downloaded file is the whole package type, loading an application installation package in the pre-downloaded file, and installing the target application; the whole package type is used for representing that the pre-downloaded file comprises the application installation package and the application resource package;
when the target application is started, initializing the target application, calling an application updating component in the target application, decrypting and transferring the application resource package to an application management position of the target application, loading the target application based on the application resource package, and entering the target application when the application resource package is loaded successfully.
11. The method according to claim 1, wherein if the application release status of the target application is an application update status, when the target application is online, the pre-downloaded file is moved from the pre-download management location to an application management location of the target application, and the target application is installed, including:
when the target application is online, acquiring pre-download configuration information of the target application when the target application is started;
decrypting and transferring the pre-downloaded file from the pre-download management position to an application management position of the target application based on the pre-download configuration information, and synchronizing the decryption transfer progress of the pre-downloaded file to the target application in the decryption transfer process;
and when the pre-downloaded file is decrypted and moved, calling an application updating component of the target application, loading the pre-downloaded file based on the application updating component, and updating and installing the target application.
12. The method of claim 11, wherein the method further comprises:
detecting the application installation state of the target application, and if the application installation state is the application installed state, executing the process of acquiring the pre-download configuration information of the target application when the target application is started;
and if the application installation state is the application uninstalling state, outputting a second application installation prompt message, responding to the confirmation operation aiming at the second application installation prompt message, and installing the target application.
13. An application pre-download apparatus, the apparatus comprising:
the device detection module is used for detecting the device state of the service device if the service device detects application pre-download reservation information aiming at the target application when the pre-download aiming at the target application is started;
the file downloading module is used for downloading the pre-downloaded file of the target application to a pre-download management position when the equipment state of the service equipment is an equipment idle state;
and the application installation module is used for moving the pre-downloaded file from the pre-download management position to the application management position of the target application when the target application is on line, and installing the target application.
14. A computer device comprising a processor, a memory, an input output interface;
the processor is connected to the memory and the input/output interface respectively, wherein the input/output interface is used for receiving data and outputting data, the memory is used for storing a computer program, and the processor is used for calling the computer program to enable the computer device to execute the method of any one of claims 1-12.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-12.
CN202310198269.4A 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium Active CN115878138B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310198269.4A CN115878138B (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium
CN202311304064.6A CN117331576A (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310198269.4A CN115878138B (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311304064.6A Division CN117331576A (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium

Publications (2)

Publication Number Publication Date
CN115878138A true CN115878138A (en) 2023-03-31
CN115878138B CN115878138B (en) 2023-08-15

Family

ID=85761929

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311304064.6A Pending CN117331576A (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium
CN202310198269.4A Active CN115878138B (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311304064.6A Pending CN117331576A (en) 2023-03-03 2023-03-03 Application pre-download method, device, computer and storage medium

Country Status (1)

Country Link
CN (2) CN117331576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116405540A (en) * 2023-06-02 2023-07-07 腾讯科技(深圳)有限公司 Resource pre-downloading method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713407A (en) * 2016-06-29 2017-05-24 腾讯科技(深圳)有限公司 Pre-downloading method and pre-downloading device
CN111199295A (en) * 2018-11-16 2020-05-26 北京奇虎科技有限公司 Product reservation method and device
CN111459511A (en) * 2020-03-31 2020-07-28 北京百度网讯科技有限公司 Application program downloading method and device and electronic equipment
CN112764772A (en) * 2019-11-06 2021-05-07 腾讯科技(深圳)有限公司 Pre-downloading method, loading method, device, equipment and medium for updating file
US20210211522A1 (en) * 2020-06-30 2021-07-08 Beijing Baidu Netcom Science and Technology Co., Ltd Mini app processing method, server, device and storage medium
CN114553858A (en) * 2022-02-15 2022-05-27 支付宝(杭州)信息技术有限公司 Resource pre-downloading method, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713407A (en) * 2016-06-29 2017-05-24 腾讯科技(深圳)有限公司 Pre-downloading method and pre-downloading device
CN111199295A (en) * 2018-11-16 2020-05-26 北京奇虎科技有限公司 Product reservation method and device
CN112764772A (en) * 2019-11-06 2021-05-07 腾讯科技(深圳)有限公司 Pre-downloading method, loading method, device, equipment and medium for updating file
CN111459511A (en) * 2020-03-31 2020-07-28 北京百度网讯科技有限公司 Application program downloading method and device and electronic equipment
US20210211522A1 (en) * 2020-06-30 2021-07-08 Beijing Baidu Netcom Science and Technology Co., Ltd Mini app processing method, server, device and storage medium
CN114553858A (en) * 2022-02-15 2022-05-27 支付宝(杭州)信息技术有限公司 Resource pre-downloading method, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116405540A (en) * 2023-06-02 2023-07-07 腾讯科技(深圳)有限公司 Resource pre-downloading method and device, electronic equipment and storage medium
CN116405540B (en) * 2023-06-02 2023-08-04 腾讯科技(深圳)有限公司 Resource pre-downloading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115878138B (en) 2023-08-15
CN117331576A (en) 2024-01-02

Similar Documents

Publication Publication Date Title
US10943272B2 (en) Smart broadcasting device
JP6795684B2 (en) Malware detection and content item restoration
EP2682863B1 (en) Installing applications remotely
EP2919440B1 (en) Advertisement processing method and device
CN110096302B (en) Software data storage and upgrading method, device, equipment and storage medium
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN110389935B (en) Method, equipment and computer storage medium for starting small program
CN110968331B (en) Method and device for running application program
JP2007528064A (en) Running unverified programs in a wireless device operating environment
CN112860282B (en) Cluster plug-in upgrading method, device and server
CN114125028A (en) Running method, device, equipment, storage medium and program product of micro application
US20170048271A1 (en) Random identifier generation for offline database
CN106534280B (en) Data sharing method and device
CN115878138B (en) Application pre-download method, device, computer and storage medium
CN114465998A (en) Multi-device file transmission method and device, terminal device and readable storage medium
CN114035830A (en) Software upgrading method and device and electronic equipment
CN114328097A (en) File monitoring method and device, electronic equipment and storage medium
KR101638689B1 (en) System and method for providing client terminal to user customized synchronization service
CN111722994A (en) Task request response method and device
JP5552720B2 (en) Storage system, storage server, user data sharing method, and program
JP2004178353A (en) Information terminal, and program for acquiring content
CN108959955B (en) File processing method and device
CN109325057B (en) Middleware management method, device, computer equipment and storage medium
CN111596933A (en) File processing method and device, electronic equipment and computer readable storage medium
CN111190637A (en) Version file release management method, device and system

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40083142

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant