Download Method and Device of Application Program, Electronic Device and Storage Medium

By analyzing the historical usage information of alternative app stores and automatically selecting the target app store, the complexity and low conversion rate problems of users when downloading applications in a multi-app store environment are solved, and the efficiency and user experience of the download process are improved.

CN114860265BActive Publication Date: 2025-05-27BEIJING SHAREIT INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210357984.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-06
Publication Date
2025-05-27
Estimated Expiration
2042-04-06

AI Technical Summary

Technical Problem

When installing multiple app stores on electronic devices, users need to manually select the app store to download the app, which is complex and has low conversion rate.

Method used

By detecting the historical usage information of the alternative app store, determining the selection policy and automatically selecting the target app store, thus enabling the download of the app.

Benefits of technology

Reduces the possibility of checkbox issues for users when using it for the first time, improves conversion rate and user experience, and simplifies the download process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860265B_ABST
    Figure CN114860265B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a method for downloading an application program, an electronic device, and a computer-readable storage medium. The method for downloading the application program includes: when a plurality of alternative application stores are installed on the electronic device and a download requirement for a target application program is detected, determining a selection strategy according to the historical usage information of the alternative application stores; selecting a target application store from the plurality of alternative application stores according to the selection strategy; and downloading the target application program from the target application store. In this way, by analyzing the actual historical usage information of each alternative application store, it is possible to obtain the store that the user is relatively more accustomed to using, so as to reduce problems such as the checkbox problem that occurs when using for the first time and the problem that it is difficult to correct after the user mistakenly checks, achieve intelligent selection of the user's habitual store, shorten the link, and increase the conversion rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer software technology, and in particular to a method for downloading an application program, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the popularity of electronic devices, various application stores emerge in an endless stream. If more than one application store is installed on the user terminal, the user needs to select an application store when jumping to the application store to download the application. Usually, a pop-up window is used to display the check box of the application store, and the application store is selected based on the user's selection operation to download the application. The process increases and the conversion rate decreases. Summary of the invention

[0003] Embodiments of the present disclosure provide a method for downloading an application program, an electronic device, and a computer-readable storage medium.

[0004] In a first aspect, the present application provides a method for downloading an application program, which can be applied to an electronic device. The method may include:

[0005] When the electronic device is installed with multiple candidate application stores and a download demand for a target application is detected, a selection strategy is determined based on historical usage information of the candidate application stores;

[0006] Selecting a target application store from multiple candidate application stores according to a selection strategy;

[0007] Download the target app from the target app store.

[0008] In some possible implementations, the selection strategy includes at least one of the following:

[0009] The first strategy is: determining the strategy of the target application store based on the user's historical behavior information and / or the user's preference information;

[0010] The second strategy is: determining the strategy of the target application store according to the manufacturer information of the electronic device and / or the information of the native application store of the electronic device;

[0011] The third strategy is: determining the strategy of the target application according to the download link type of the target application provided by the candidate application store.

[0012] In some possible implementations, the selection strategy is determined based on the historical usage information of the candidate application stores, including:

[0013] When the historical usage information of the candidate application store indicates that the number of historical usages of the candidate application store reaches a preset number, determining that the selection strategy is the first strategy;

[0014] When the historical usage information of the candidate application store indicates that the historical usage frequency of the candidate application store reaches a preset frequency, the selection strategy is determined to be the first strategy.

[0015] In some possible implementations, determining a selection strategy based on historical usage information of the candidate application store includes at least one of the following:

[0016] When the historical usage information of the candidate application store indicates that the number of historical usages of the candidate application store does not reach a preset number, determining that the selection strategy is the second strategy or the third strategy;

[0017] When the historical usage information of the candidate application store indicates that the historical usage frequency of the candidate application store does not reach the preset frequency, it is determined that the selection strategy is the second strategy or the third strategy.

[0018] In some possible implementations, the priority of the second policy is higher than the priority of the third policy.

[0019] In some possible implementations, a target application store is selected from a plurality of candidate application stores according to a selection strategy, including:

[0020] When the selection strategy is the second strategy and the built-in operating system of the electronic device is configured with a native application store, selecting the native application store as the target application store;

[0021] When the selection strategy is the second strategy and the built-in operating system of the electronic device is not configured with a native application store, the application store of the installation source of the last application installed in the electronic device is used as the target application store.

[0022] In some possible implementations, a target application store is selected from a plurality of candidate application stores according to a selection strategy, including:

[0023] When the selection strategy is the third strategy, a target application store is selected from the alternative application stores that provide deep links to the target application.

[0024] In some possible implementations, the method further includes:

[0025] When none of the alternative app stores providing downloads of the target application support deep linking, display the selection information of the alternative app stores;

[0026] A target application store is determined based on a selection operation acting on the selection information.

[0027] In some possible implementations, a target application store is selected from a plurality of candidate application stores according to a selection strategy, including:

[0028] When downloading the target application according to the first policy, identifying the application store from which each application installed in the electronic device is installed;

[0029] Identify the app store with the most app installations as the target app store.

[0030] In some possible implementations, identifying the application store from which each application installed in the electronic device is installed includes:

[0031] Obtain a list of applications installed on the electronic device, the list being a list of applications after removing built-in system applications of the electronic device;

[0032] The application list is traversed to identify the application store from which each application in the application list is installed.

[0033] In a second aspect, the present application provides an application downloading device, which can be applied to an electronic device, and includes several functional units for implementing any one of the methods of the first aspect. The application downloading device may include:

[0034] A determination module, configured to determine a selection strategy based on historical usage information of the candidate application stores when the electronic device is installed with multiple candidate application stores and a download demand for a target application is detected;

[0035] A selection module, used for selecting a target application store from multiple candidate application stores according to a selection strategy;

[0036] Download module, used to download the target application from the target application store.

[0037] In some possible implementations, the selection strategy includes at least one of the following:

[0038] The first strategy is: determining the strategy of the target application store based on the user's historical behavior information and / or the user's preference information;

[0039] The second strategy is: determining the strategy of the target application store according to the manufacturer information of the electronic device and / or the information of the native application store of the electronic device;

[0040] The third strategy is: determining the strategy of the target application according to the download link type of the target application provided by the candidate application store.

[0041] In some possible implementations, the determination module is specifically used to determine that the selection strategy is the first strategy when the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store reaches a preset number of times; when the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store reaches a preset frequency, determine that the selection strategy is the first strategy.

[0042] In some possible implementations, the determination module is also used to determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store have not reached a preset number of times; and to determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store has not reached a preset frequency.

[0043] In some possible implementations, the priority of the second policy is higher than the priority of the third policy.

[0044] In some possible implementations, the selection module is specifically used to select the native application store as the target application store when the selection strategy is the second strategy and the built-in operating system of the electronic device is configured with a native application store; when the selection strategy is the second strategy and the built-in operating system of the electronic device is not configured with a native application store, use the application store of the installation source of the last application installed in the electronic device as the target application store.

[0045] In some possible implementations, the selection module is further configured to, when the selection strategy is the third strategy, select a target application store from alternative application stores that provide deep links to the target application.

[0046] In some possible implementations, the device further includes:

[0047] An alternative information display module, used to display selection information of alternative application stores when none of the alternative application stores providing download of the target application supports deep linking;

[0048] The second determination module is used to determine a target application store according to a selection operation acting on the selection information.

[0049] In some possible implementations, the device further includes: an identification module;

[0050] an identification module, for identifying an application store of an installation source of each application installed in the electronic device when downloading the target application according to the first policy;

[0051] The selection module is also used to determine the app store with the most installed applications as the target app store.

[0052] In some possible implementations, the identification module is specifically used to obtain a list of applications installed on the electronic device, the list being a list of applications after excluding built-in system applications of the electronic device; traversing the application list and identifying the application store from which each application in the application list is installed.

[0053] In a third aspect, the present application further provides an electronic device, including:

[0054] a memory for storing processor-executable instructions;

[0055] Processor; wherein the processor is configured to: implement the method of the first aspect and its possible implementation methods when executing executable instructions.

[0056] In a fourth aspect, the present application provides a computer-readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the method of the first aspect and its possible implementation methods.

[0057] Compared with the prior art, the technical solution provided by the embodiment of the present application has the following beneficial effects:

[0058] In this application, when an electronic device is installed with multiple alternative application stores and a download demand for a target application is detected, a selection strategy is determined based on the historical usage information of the alternative application stores, and a target application store is selected from multiple alternative application stores based on the selection strategy, and the target application is downloaded from the target application store. In this way, based on the actual historical usage information of each alternative application store, the store that the user is relatively more accustomed to using can be automatically obtained to reduce the problem of checking the box when using it for the first time and the problem that it is difficult to correct after the user checks the wrong box, so as to intelligently select the user's accustomed store, shorten the link, and increase the conversion rate.

[0059] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0061] Figure 1 It is a flowchart of an embodiment of a method for downloading an application in an embodiment of the present application.

[0062] Figure 2 It is a flowchart of another method for downloading an application in an embodiment of the present application.

[0063] Figure 3 It is a flowchart of another method for downloading an application in an embodiment of the present application.

[0064] Figure 4 It is a flowchart of the application downloading method in the related scheme shown in the embodiment of the present application.

[0065] Figure 5 It is a flowchart of a method for downloading an application in an embodiment of the present application.

[0066] Figure 6 It is a structural diagram of a downloading device for an application in an embodiment of the present application.

[0067] Figure 7 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In the following description, reference is made to the drawings that form part of the present application and show specific aspects of the embodiments of the present application or specific aspects of the embodiments of the present application in an illustrative manner. It should be understood that the embodiments of the present application can be used in other aspects and may include structural or logical changes not depicted in the drawings. Therefore, the following detailed description should not be understood in a restrictive sense, and the scope of the present application is defined by the appended claims. For example, it should be understood that the disclosure in conjunction with the described method can be equally applicable to the corresponding device or apparatus for performing the method, and vice versa. For example, if one or more specific method steps are described, the corresponding device may include one or more units such as functional units to perform the one or more method steps described (for example, one unit performs one or more steps, or multiple units, each of which performs one or more of the multiple steps), even if such one or more units are not explicitly described or illustrated in the drawings. On the other hand, for example, if a specific device is described based on one or more units such as functional units, the corresponding method may include a step to perform the functionality of one or more units (for example, one step performs the functionality of one or more units, or multiple steps, each of which performs the functionality of one or more units in multiple units), even if such one or more steps are not explicitly described or illustrated in the drawings. Further, it should be understood that, unless explicitly stated otherwise, features of the various exemplary embodiments and / or aspects described herein may be combined with each other.

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] Figure 1The present invention is a flowchart of an embodiment of a method for downloading an application in an embodiment of the present application, which is applied to an electronic device. The electronic device may include a terminal device, which may also be referred to as a terminal, and may be a mobile terminal, a fixed terminal, or a portable terminal. For example, the terminal device may be a user equipment (UE), a mobile device, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.

[0071] See also Figure 1 As shown, the embodiment of the present disclosure provides a method for downloading an application program, which may include:

[0072] S101, when the electronic device is installed with multiple candidate application stores and a download demand for a target application is detected, determining a selection strategy according to historical usage information of the candidate application stores;

[0073] S102, selecting a target application store from multiple candidate application stores according to a selection strategy;

[0074] S103, downloading a target application from a target application store.

[0075] In the embodiment of the present application, the target application may be an application to be downloaded and installed in the above-mentioned terminal, and the download requirement of the target application may be an operation instruction acting on an application or page other than an application store. For example, it may be an operation instruction acting on an application download link in a text message advertisement, or an application download instruction acting on application recommendation information of other applications, or an application download instruction acting on information found in a browser, etc.

[0076] In the embodiment of the present application, the above selection strategy may include at least one of the following:

[0077] The first strategy is: determining the strategy of the target application store based on the user's historical behavior information and / or the user's preference information;

[0078] The second strategy is: determining the strategy of the target application store according to the manufacturer information of the electronic device and / or the information of the native application store of the electronic device;

[0079] The third strategy is: determining the strategy of the target application according to the download link type of the target application provided by the candidate application store.

[0080] In one embodiment, the selection strategy is determined based on historical usage information of the candidate application stores, and the selection strategy may be determined based on the number of historical usages of the application stores.

[0081] The historical usage information may be various information describing the usage of the application store installed in the electronic device, including but not limited to at least one of the following:

[0082] Frequency of use of each alternative app store;

[0083] The last time each alternative app store was used;

[0084] The application store used to download applications that are not currently uninstalled in the electronic device, etc.

[0085] Exemplarily, when the historical usage information of the application store indicates that the number of historical usages of the candidate application store reaches a preset number, the selection strategy is determined to be the first strategy.

[0086] If the total number of historical usage times of the candidate stores of the electronic device does not reach the preset number, it means that the electronic device has downloaded relatively few applications during use, and the reference of historical usage information is relatively small at this time, so it is determined that the first strategy of not determining the target application store according to the historical usage information is not determined. In another embodiment, the selection strategy is determined according to the historical usage information of the candidate application stores, and the selection strategy can also be determined according to the historical usage frequency of the application stores.

[0087] Exemplarily, when the usage frequency of the alternative application history reaches a preset frequency, the selection strategy is determined to be the first strategy.

[0088] The preset number of times can be set manually or determined based on the ratio of the number of installed applications. The historical usage count and historical usage frequency of the application store are used to characterize the frequency of downloading applications. The historical usage frequency of the application store is determined by querying which application store the application was downloaded from in the device, that is, the download source of the application. For example, the download source can be determined through the installation log information of the downloaded application, or the download source of the downloaded application can be determined through the download records of the alternative application store.

[0089] In one embodiment, when downloading the target application according to the first strategy, an application store with the most installed applications is determined as the target application store.

[0090] For example, the target application is A, and there are three alternative application stores S1, S2 and S3. When the device detects the download demand for the target application A, it obtains the historical download counts s1, s2 and s3 of the alternative application stores S1, S2 and S3 respectively, and takes the application store with the largest number of historical downloads as the target application store to download the target application A.

[0091] The number of applications installed in an application store can represent the user's usage habits. The application store with the most applications installed is selected as the target application store. The determined target application store is more in line with the user's usage habits. Based on this, Figure 2 As shown, the above-mentioned application downloading method may also include:

[0092] S201, obtaining a list of applications installed on an electronic device, the list including: identifications of applications excluding built-in system applications of the electronic device;

[0093] S202, traverse the application list, and identify the application store where each application in the application list is installed.

[0094] It is understandable that some basic built-in applications are usually pre-installed when electronic devices leave the factory. Taking mobile phones as an example, in order to support the basic use of the device, basic applications such as text messages, contacts, cameras, etc. are usually pre-installed. These applications are not downloaded by users through the app store. Therefore, the installation sources of these applications do not have the characteristics of characterizing user usage habits. Therefore, this application obtains the list of installed applications, removes the built-in applications, and the identified application installation sources are more in line with the user's actual usage habits.

[0095] In one embodiment, the device removes built-in applications based on the system type. The device removes built-in applications based on the system type, which may include: removing applications whose package names or names have strings associated with the operating system of the electronic device.

[0096] Exemplarily, the operating system of the device is Android. After obtaining the list of applications installed on the device, the built-in applications with the package name containing com.android in the list are removed, and the installation logs of each application in the application list are traversed to obtain the installation source of each application in the list.

[0097] In another embodiment, the device removes built-in applications based on the application name.

[0098] For example, the system's built-in applications are usually some applications with fixed names, such as SMS, address book, camera and other applications in the mobile phone. The names of the applications to be removed can be set in advance, and after obtaining the list of applications installed in the device, these applications can be removed.

[0099] In one embodiment, identifying an application store from which each application in the application list is installed includes:

[0100] The application store where each application in the application list is installed from is determined based on log information of applications downloaded in the device and / or historical download records of multiple candidate application stores.

[0101] In the disclosed embodiment, the log information of the application downloaded in the device may be the log information of the non-operating system built-in application downloaded in the device, or the log information of the application downloaded in the device whose update installation package is downloaded through the application store.

[0102] In one embodiment, the historical download records of the alternative application store may include historical download records of the alternative application store, and may also include historical update records of the alternative application store for applications in the device.

[0103] In this way, the download status of the application store to the application program in the device can be accurately obtained through the download record of the application store or the log information of the application, so as to more comprehensively characterize the user's device usage habits of the application store.

[0104] In one embodiment, the method further includes:

[0105] When the historical usage information of the candidate application store indicates that the historical usage times of the candidate application store does not reach the preset times, it is determined that the selection strategy is the second strategy or the third strategy.

[0106] When the historical usage information of the candidate application store indicates that the historical usage frequency of the candidate application store does not reach the preset frequency, it is determined that the selection strategy is the second strategy or the third strategy.

[0107] Among them, the second selection strategy has a higher priority than the third strategy.

[0108] In one embodiment, when the selection policy is the second policy and the built-in operating system of the electronic device is configured with a native application store, the native application store is selected as the target application store.

[0109] It should be understood that when the number of historical uses of the alternative application store is less than the preset number, or the historical use frequency is less than the preset frequency, the application in the device may not be downloaded through the alternative application store, for example, the device is a new device, or the factory settings have been restored. Or it may be that there are fewer applications downloaded through the alternative application store. In these cases, the alternative application store installed in the device downloads applications less frequently, and the historical use information samples of the alternative application store cannot support the analysis of user usage habits. The native application store of the device is relatively more adapted to the application needs of the device.

[0110] Exemplarily, when the device detects the number of historical downloads of the alternative application store, or the historical download frequency is less than a preset value, it detects whether the device is configured with a native application store. When it is detected that there is a native application store, the device native application store is used as the target application store.

[0111] In another embodiment, when the selection policy is the second policy and the built-in operating system of the electronic device is not configured with a native application store, the application store of the installation source of the last application installed in the electronic device is used as the target application store.

[0112] Exemplarily, when the device detects the number of historical downloads from an alternative app store, or the historical download frequency is less than a preset value, it detects whether the device is configured with a native app store. When it detects that the device is not configured with a native app store, it obtains the installation time of the installed applications based on the obtained application list, and uses the application store from which the last application installed in the device was installed as the target application store.

[0113] It is understandable that when the historical download count or historical download frequency of the alternative app store is less than the preset value, it indicates that the alternative app store installed in the device downloads applications at a low frequency, and the historical usage information sample of the alternative app store cannot support the analysis of user usage habits. In addition, the device is not configured with a native app store, and the app store from which the last installed application was installed represents the app store that the user used most recently, which is relatively more in line with the user's usage needs.

[0114] In the embodiment of the present application, after selecting a target application store from the candidate application stores, the target application is downloaded from the target application store.

[0115] In one embodiment, when the target application store selected according to the above selection strategy supports deep linking of the target application, the download interface of the target application store for downloading the target application is directly jumped to based on the deep linking of the application.

[0116] Deep linking, also known as deep linking technology, refers to a technology that allows users to directly jump to the specific location of the target App after clicking a link in an App / SMS / advertisement. It can also achieve a jump from multiple platforms to a specified page in the App. If the user has not installed the App, then the App will be redirected to the App download page. After the user installs and opens the App, they can still jump to the specified page. Currently, the App Store provides their own deep links. Corresponding deep link examples:

[0117] Google Play: https: / / play.google.com / store / apps / details?id=app package name;

[0118] Xiaomi App Store: https: / / app.mi.com / details?id=app package name.

[0119] After the device determines the target app store, it directly jumps to the download page of the target application based on the deep link of the app store, which can shorten the user's usage path, improve conversion rate, and reduce user churn rate.

[0120] In this application, when an electronic device is installed with multiple alternative application stores and a download demand for a target application is detected, a selection strategy is determined based on the historical usage information of the alternative application stores, and a target application store is selected from multiple alternative application stores based on the selection strategy, and the target application is downloaded from the target application store. In this way, after analyzing the actual historical usage information of each alternative application store, it is possible to obtain the store that the user is relatively more accustomed to using, so as to reduce the problem of checking the box when using it for the first time and the problem that it is difficult to correct after the user checks the wrong box, so as to intelligently select the user's accustomed store, shorten the link, and increase the conversion rate.

[0121] The deep link technology is provided by each app store, so some app stores may not support the deep link technology. When the selection strategy is the third strategy, the target app store is selected from the alternative app stores that provide deep links to the target application. Based on this, see Figure 3 As shown, the above-mentioned application downloading method may also include:

[0122] S301, when none of the candidate application stores providing download of the target application supports deep linking, displaying selection information of the candidate application stores;

[0123] S302: Determine a target application store according to the selection operation acting on the selection information.

[0124] In an embodiment of the present application, selection information of alternative application stores is displayed, and a target application store is determined based on the selection operation. When a target application is downloaded, the target application store can be successfully determined even if none of the alternative application stores support deep linking.

[0125] For example, the selection information of the candidate application store can be displayed in the form of a pop-up window on the display interface of the electronic device. When the download demand of the target application is detected and none of the application stores installed in the device supports deep linking, the device obtains all installed application stores. For example, if the electronic device is an Android phone, all installed application stores in the phone are obtained through the market protocol and displayed on the display interface of the phone for the user to choose.

[0126] In one embodiment, the selection information of the candidate application stores can be displayed in order based on the historical usage counts of the candidate application stores. When the selection information of the candidate application stores needs to be displayed, the historical usage counts of all the candidate application stores are obtained and displayed in descending or ascending order according to the historical usage counts.

[0127] In one embodiment, the selection information of the candidate application stores can also be displayed based on the historical usage frequency of the candidate application stores. When the selection information of the candidate application stores needs to be displayed, the historical usage frequencies of all the candidate application stores are obtained and displayed in descending or ascending order according to the historical usage frequencies.

[0128] In the present application, when an electronic device is installed with multiple alternative application stores and a download demand for a target application is detected, a selection strategy is determined based on the historical usage information of the alternative application stores, and based on the selection strategy, a target application store is selected from multiple alternative application stores, and the target application is downloaded from the target application store. In this way, by analyzing the actual historical usage information of each alternative application store, it is possible to obtain the store that the user is relatively more accustomed to using, thereby reducing the problem of check boxes appearing during the first use and the problem that it is difficult for the user to correct the mistaken check, so as to intelligently select the user's accustomed store, shorten the link, and increase the conversion rate. At the same time, in the case where the alternative application store does not support deep linking, the target application store can also be determined based on the selection operation to ensure that the target application store can be successfully selected and jumped to in extreme cases, thereby improving the overall fault tolerance rate.

[0129] In some embodiments, the method further comprises:

[0130] In a preset network environment, when the electronic device is installed with multiple candidate application stores and a download demand for a target application is detected, a selection strategy is determined based on historical usage information of the candidate application stores to obtain an estimated traffic consumption for downloading the target application from the candidate application stores;

[0131] According to the traffic consumption, an alternative application store with the least traffic consumption is selected as the target application store.

[0132] The preset network environment includes at least one of the following:

[0133] When there is no WiFi, electronic devices can connect to the network through a Subscriber Identity Module (SIM) card;

[0134] Detecting that the bandwidth of the network to which the electronic device is connected is less than a preset bandwidth;

[0135] It is detected that the electronic device has experienced packet loss within a preset time period within the current time.

[0136] In some embodiments, S101 may include: when the electronic device is not in a preset network environment and has multiple alternative application stores installed and a download demand for a target application is detected, determining a selection strategy based on historical usage information of the alternative application stores.

[0137] The following is a specific example to illustrate the method for downloading the above application.

[0138] Figure 4 For a flowchart of the application download method in the relevant scheme, see Figure 4 As shown, when selecting an app store to download an application, first determine whether the default app store has been selected. If the default app store has been selected, jump directly to the default app store. If the default app store has not been selected, an app store selection box pops up and jumps to the app store selected based on the selection box.

[0139] Figure 5 A schematic diagram of a method for downloading an application provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, when selecting an app store to download a target application, first find the app store that the user is accustomed to as the target app store, and directly jump to the download interface of the target application in the app store based on the deep link provided by the target app store.

[0140] In one embodiment, taking the electronic device as an Android mobile phone terminal as an example, the download method of the above application may include:

[0141] After detecting the download demand of the target application, obtain the list of installed applications in the mobile phone;

[0142] Exemplarily, obtain the list of installed applications in the phone. In Android 11 and above systems, obtain the phone's application installation list through the system application interface API function after obtaining permissions such as "android.permission.QUERY_ALL_PACKAGES". Versions below Android 11 can obtain it directly. The PackageManager class provided by Android can directly obtain the application information installed in the phone, including the application's icon, name, version, package name, whether it is a user application, and other information. Use the PackageManager getInstalledPackages() method to directly obtain the list of installed applications in the phone.

[0143] Remove the system built-in applications with the package name containing com.android from the application list;

[0144] Traverse the application list excluding the system built-in applications, and obtain the installation source application store corresponding to all the applications in the list; for example, obtain the application installation source through the PackageManager getInstallerPackageName() method.

[0145] Determine whether the number of times the application is installed from the application store with the most installation sources is greater than a preset number;

[0146] If so, the app store with the most installation sources is determined as the target app store. Otherwise, determine whether the mobile phone is configured with a native app store corresponding to the mobile phone system. If a native app store exists, the native app store corresponding to the mobile phone is determined as the target app store. Otherwise, the app store where the application was last installed in the mobile phone is determined as the target app store.

[0147] At the same time, the above method further determines whether the application store supports deep linking. If it does, the target application store determined by the above method directly jumps to the download target application program interface of the application store.

[0148] When none of the application stores installed on the terminal supports deep linking, all application stores installed on the mobile phone are obtained through the market protocol and displayed on the display interface of the mobile phone in the form of a pop-up window.

[0149] The application store selected based on the user's selection operation is used as the target application store, and the target application is downloaded by jumping to the application store.

[0150] At this point, the process of downloading the target application program by the above-mentioned application program downloading method is completed.

[0151] Based on the same inventive concept, an embodiment of the present application provides a device for downloading an application, which can be applied to an electronic device. The device for downloading the application includes several functional units for implementing the above-mentioned method for downloading the application.

[0152] Figure 6 This is a schematic diagram of the structure of a download device for an application in an embodiment of the present application, see Figure 6 As shown, the downloading device 600 of the application may include:

[0153] The determination module 601 is used to determine a selection strategy according to historical usage information of the candidate application stores when the electronic device is installed with multiple candidate application stores and a download demand for a target application is detected;

[0154] A selection module 602, configured to select a target application store from a plurality of candidate application stores according to a selection strategy;

[0155] The download module 603 is used to download the target application from the target application store.

[0156] In some possible implementations, the selection strategy includes at least one of the following:

[0157] The first strategy is: determining the strategy of the target application store based on the user's historical behavior information and / or the user's preference information;

[0158] The second strategy is: determining the strategy of the target application store according to the manufacturer information of the electronic device and / or the information of the native application store of the electronic device;

[0159] The third strategy is: determining the strategy of the target application according to the download link type of the target application provided by the candidate application store.

[0160] In some possible implementations, determination module 601 is specifically used to determine that the selection strategy is the first strategy when the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store reaches a preset number of times; and to determine that the selection strategy is the first strategy when the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store reaches a preset frequency.

[0161] In some possible implementations, determination module 601 is also used to determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store have not reached a preset number of times; and to determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store has not reached a preset frequency.

[0162] In some possible implementations, the selection module 602 is specifically used to select the native application store as the target application store when the selection strategy is the second strategy and the built-in operating system of the electronic device is configured with a native application store; when the selection strategy is the second strategy and the built-in operating system of the electronic device is not configured with a native application store, use the application store of the installation source of the last application installed in the electronic device as the target application store.

[0163] In some possible implementations, the selection module 602 is further configured to select a target application store from alternative application stores that provide deep links to the target application when the selection strategy is the third strategy.

[0164] In some possible embodiments, the application downloading device 600 further includes:

[0165] An alternative information display module, used to display selection information of alternative application stores when none of the alternative application stores providing download of the target application supports deep linking;

[0166] The second determination module is used to determine a target application store according to a selection operation acting on the selection information.

[0167] In some possible embodiments, the application downloading device 600 further includes: an identification module;

[0168] an identification module, for identifying an application store of an installation source of each application installed in the electronic device when downloading the target application according to the first policy;

[0169] The selection module 602 is further used to determine the application store with the most installed applications as the target application store.

[0170] In some possible implementations, the identification module is specifically used to obtain a list of applications installed on the electronic device, the list being a list of applications after excluding built-in system applications of the electronic device; traversing the application list and identifying the application store from which each application in the application list is installed.

[0171] It should be noted that the specific implementation process of the determination module 601, the selection module 602 and the download module 603 can be referred to Figures 1 to 5 For the sake of brevity, the detailed description of the embodiments will not be repeated here.

[0172] Based on the same inventive concept, an embodiment of the present application provides an electronic device, which may be consistent with the account registration method described in one or more of the above embodiments. Figure 7 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application, see Figure 7 As shown, the electronic device 700 may adopt general computer hardware, including a processor 701 and a memory 702 .

[0173] In some possible implementations, at least one processor may constitute any physical device having a circuit that performs a logical operation on one or more inputs. For example, at least one processor may include one or more integrated circuits (ICs), including application specific integrated circuits (ASICs), microchips, microcontrollers, microprocessors, all or part of a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or other circuits suitable for executing instructions or performing logical operations. The instructions executed by at least one processor may be preloaded, for example, into a memory integrated with or embedded in a controller, or may be stored in a separate memory. The memory may include a random access memory (RAM), a read-only memory (ROM), a hard disk, an optical disk, a magnetic medium, a flash memory, other permanent, fixed or volatile memory, or any other mechanism capable of storing instructions. In some embodiments, at least one processor may include more than one processor. Each processor may have a similar structure, or the processor may have different configurations that are electrically connected or disconnected from each other. For example, the processor may be a separate circuit or integrated in a single circuit. When more than one processor is used, the processor may be configured to operate independently or collaboratively. The processors may be coupled electrically, magnetically, optically, acoustically, mechanically, or by other means that allow them to interact.

[0174] Based on the same inventive concept, the present application provides a computer storage medium, which stores computer executable instructions. After the computer executable instructions are executed by a processor, the account registration method described in one or more of the above embodiments can be implemented.

[0175] Those skilled in the art will appreciate that the sequence numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0176] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for downloading an application program, characterized in that, applied to an electronic device, the method includes: When the electronic device installs multiple alternative application stores and detects a download requirement for a target application program, determine a selection strategy according to the historical usage information of the alternative application stores; Select a target application store from multiple alternative application stores according to the selection strategy; The determining the selection strategy according to the historical usage information of the alternative application stores includes at least one of the following: When the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store have not reached the preset times, determine the selection strategy as the second strategy or the third strategy; When the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store has not reached the preset frequency, determine the selection strategy as the second strategy or the third strategy; Wherein, the selection strategy includes the second strategy and / or the third strategy. The second strategy is: determine the strategy of the target application store according to the manufacturer information of the electronic device and / or the information of the native application store of the electronic device; the third strategy is: determine the strategy of the target application store according to the download link type of the target application program provided by the alternative application store; Download the target application program from the target application store.

2. The method according to claim 1, characterized in that, The selection strategy further includes: The first strategy is: determine the strategy of the target application store according to the user historical behavior information and / or the user preference information.

3. The method according to claim 2, characterized in that, The determining the selection strategy according to the historical usage information of the alternative application stores includes: When the historical usage information of the alternative application store indicates that the historical usage times of the alternative application store have reached the preset times, determine the selection strategy as the first strategy; When the historical usage information of the alternative application store indicates that the historical usage frequency of the alternative application store has reached the preset frequency, determine the selection strategy as the first strategy.

4. The method according to claim 1, characterized in that, The priority of the second strategy is higher than the priority of the third strategy.

5. The method according to any one of claims 1 to 4, characterized in that, The selecting a target application store from multiple alternative application stores according to the selection strategy includes: When the selection strategy is the second strategy and the built-in operating system of the electronic device is configured with a native application store, select the native application store as the target application store; When the selection strategy is the second strategy and the built-in operating system of the electronic device is not configured with a native application store, use the application store at the installation source of the last installed application program in the electronic device as the target application store.

6. The method according to any one of claims 1 to 4, characterized in that, The selecting a target application store from multiple alternative application stores according to the selection strategy includes: When the selection strategy is the third strategy, select the target app store from the alternative app stores that provide the deep link of the target application.

7. The method according to claim 6, wherein, the method further includes: when none of the alternative app stores that provide the download of the target application support the deep link, display the selection information of the alternative app stores; determine the target app store according to the selection operation acting on the selection information.

8. The method according to claim 2 or 3, wherein, the selecting the target app store from multiple alternative app stores according to the selection strategy includes: when downloading the target application according to the first strategy, identify the app store of the installation source of each installed application in the electronic device; determine the app store with the most installed applications as the target app store.

9. The method according to claim 8, wherein, the identifying the app store of the installation source of each installed application in the electronic device includes: obtain a list of installed applications in the electronic device, and the list is a list of applications after excluding the built-in system applications of the electronic device; traverse the application list to identify the app store of the installation source of each application in the application list.

10. A download device for an application, wherein, applied to an electronic device, the device includes: a determination module, configured to determine a selection strategy according to the historical usage information of the alternative app stores when the electronic device installs multiple alternative app stores and detects a download requirement for a target application; a selection module, configured to select a target app store from multiple alternative app stores according to the selection strategy; the determination module is configured to determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative app stores indicates that the historical usage times of the alternative app stores do not reach a preset number of times; determine that the selection strategy is the second strategy or the third strategy when the historical usage information of the alternative app stores indicates that the historical usage frequency of the alternative app stores does not reach a preset frequency; wherein, the selection strategy includes the second strategy and / or the third strategy, the second strategy is: a strategy for determining the target app store according to the manufacturer information of the electronic device and / or the information of the native app store of the electronic device; the third strategy is: a strategy for determining the target app store according to the download link type of the target application provided by the alternative app store; a download module, configured to download the target application from the target app store.

11. The device according to claim 10, wherein, the selection strategy further includes: the first strategy is: a strategy for determining the target app store according to user historical behavior information and / or user preference information.

12. The device according to claim 11, wherein, The determining module is configured to determine the selection strategy as the first strategy when the historical usage information of the alternative app store indicates that the historical usage times of the alternative app store reach a preset number of times; When the historical usage information of the alternative app store indicates that the historical usage frequency of the alternative app store reaches a preset frequency, determine the selection strategy as the first strategy.

13. The device according to claim 10, wherein, The priority of the second strategy is higher than the priority of the third strategy.

14. The device according to any one of claims 10 to 13, wherein, The selection module is configured to, when the selection strategy is the second strategy and the built-in operating system of the electronic device is configured with a native app store, select the native app store as the target app store; when the selection strategy is the second strategy and the built-in operating system of the electronic device is not configured with a native app store, use the app store at the installation source of the last installed application in the electronic device as the target app store.

15. The device according to any one of claims 10 to 13, wherein, The selection module is configured to, when the selection strategy is the third strategy, select the target app store from the alternative app stores that provide the deep link of the target application.

16. The device according to claim 15, wherein, The device further includes: an alternative information display module; The alternative information display module is configured to display the selection information of the alternative app store when none of the alternative app stores that provide the download of the target application support the deep link; The second determining module is configured to determine the target app store according to the selection operation on the selection information.

17. The device according to claim 11 or 12, wherein, The device further includes: an identification module; The identification module is configured to, when downloading the target application according to the first strategy, identify the app store at the installation source of each installed application in the electronic device; The selection module is specifically configured to determine the app store with the most installed applications as the target app store.

18. The device according to claim 17, wherein, The identification module is specifically configured to obtain a list of installed applications in the electronic device, and the list is a list of application programs after excluding the built-in system application programs of the electronic device; traverse the list of application programs to identify the app store at the installation source of each application program in the list of application programs.

19. An electronic device, wherein, includes: A memory for storing processor-executable instructions; A processor; wherein, the processor is configured to: when executing the executable instructions, implement the method according to any one of claims 1 to 9.

20. A computer-readable storage medium, wherein, The readable storage medium stores an executable program, wherein when the executable program is executed by a processor, it implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Application market skipping method and system based on mobile equipment identification

    CN110489677A

  • Application downloading method and device, electronic equipment and storage medium

    CN114942772A