CN108681474B - Application preloading method and device, storage medium and terminal - Google Patents

Application preloading method and device, storage medium and terminal Download PDF

Info

Publication number
CN108681474B
CN108681474B CN201810489419.6A CN201810489419A CN108681474B CN 108681474 B CN108681474 B CN 108681474B CN 201810489419 A CN201810489419 A CN 201810489419A CN 108681474 B CN108681474 B CN 108681474B
Authority
CN
China
Prior art keywords
application
preloading
determining
target
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810489419.6A
Other languages
Chinese (zh)
Other versions
CN108681474A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810489419.6A priority Critical patent/CN108681474B/en
Publication of CN108681474A publication Critical patent/CN108681474A/en
Application granted granted Critical
Publication of CN108681474B publication Critical patent/CN108681474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The embodiment of the application discloses an application preloading method, an application preloading device, a storage medium and a terminal, wherein the method comprises the following steps: firstly, when a terminal is connected with an external device, acquiring a device identifier of the external device; then, determining a target application according to the equipment identifier; and finally, the target application is preloaded, so that the waiting time of a user can be reduced, the starting speed of a target application program is increased, and the utilization rate of system resources is increased.

Description

Application preloading method and device, storage medium and terminal
Technical Field
The embodiment of the application relates to the technical field of mobile terminals, in particular to an application preloading method, an application preloading device, a storage medium and a terminal.
Background
With the continuous development of mobile terminals, more and more applications are installed on the mobile terminals, and the requirements of users on the starting speed of the applications are gradually increased.
And triggering the application to start when the user clicks the application icon on the desktop. However, when the application is started, the user needs to wait for the application to be loaded, so that the user still needs to wait for a long time to enter the application interface after triggering the application to be started, and the user cannot use other system resources of the terminal during the loading of the application program, thereby causing low utilization rate of the system resources.
Disclosure of Invention
The embodiment of the application aims to provide an application preloading method, an application preloading device, a storage medium and a terminal, which can improve the application starting speed and improve the utilization rate of system resources.
In a first aspect, an embodiment of the present application provides an application preloading method, including:
when the terminal is connected with an external device, acquiring a device identifier of the external device;
determining a target application according to the equipment identifier;
preloading the target application.
In a second aspect, an embodiment of the present application provides an application preloading device, including:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the equipment identifier of external equipment when the terminal is connected with the external equipment;
the determining module is used for determining the target application according to the equipment identifier acquired by the acquiring module;
and the preloading module is used for preloading the target application determined by the determining module.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the application preloading method as shown in the first aspect.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor implements the application preloading method as shown in the first aspect when executing the computer program.
According to the application preloading scheme provided by the embodiment of the application preloading method, firstly, when the terminal is connected with the external equipment, the equipment identifier of the external equipment is obtained; then, determining a target application according to the equipment identifier; and finally, the target application is preloaded, so that the waiting time of a user can be reduced, the starting speed of a target application program is increased, and the utilization rate of system resources is increased.
Drawings
Fig. 1 is a schematic flowchart of an application preloading method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another application preloading method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another application preloading method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another application preloading method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another application preloading method provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of another application preloading method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an application preloading device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
With the continuous development of mobile terminals, more and more applications are installed on the mobile terminals, and the requirements of users on the starting speed of the applications are gradually increased. And triggering the application to start when the user clicks the application icon on the desktop. However, when the application is started, the user needs to wait for the application to be loaded, so that the user still needs to wait for a long time to enter the application interface after triggering the application to be started, and the user cannot use other system resources of the terminal during the loading of the application program, thereby causing low utilization rate of the system resources.
The embodiment of the application preloading method can determine a target application according to the equipment identifier of external equipment and preload the target application when a terminal is connected with the external equipment, so that the target application is determined and preloaded according to the equipment identifier of the external equipment before an application starting instruction is triggered by a user, and when the starting instruction is triggered by the user, the preloaded application program can be quickly started, so that the starting speed of the target application program is increased. For the user, the target application program is not loaded in the foreground, the user can perform other operations in the saved preloading time, the condition that the user waits for the foreground application to be loaded is avoided, and the utilization rate of system resources is further improved. The specific scheme is as follows:
fig. 1 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, where the method is used when a terminal starts an application, and the method may be executed by a mobile terminal having an application running function, where the mobile terminal may be a smart phone, a tablet computer, a wearable device, a notebook computer, and the like, and the method specifically includes the following steps:
and step 110, when the terminal is connected with the external equipment, acquiring the equipment identification of the external equipment.
The external device comprises a headset which is physically connected with the terminal or comprises a Bluetooth headset or other devices which are in signal connection with the terminal. And when the terminal is connected with the external equipment, accessing the external equipment to acquire the equipment identifier of the external equipment.
And step 120, determining the target application according to the device identification.
And determining the target application corresponding to the equipment identifier according to the preset corresponding relation. The corresponding target application can be configured for different types of external devices at the time of factory shipment. For example, a multimedia application is installed in the terminal when the terminal leaves a factory, and a key value pair between the external device of the earphone and the multimedia application is established. And after the device identification is obtained, judging the type of the device identification, and if the device identification is an earphone, determining the multimedia application as a target application.
And step 130, preloading the target application.
Processor resources and memory resources are allocated to perform the preloading. When the target application program is preloaded, the virtual page storage space can be generated by the memory to execute the target application program, and when the user clicks the target application program icon, the operation result of the target application program operated in the virtual page storage space is output.
According to the application preloading scheme provided by the embodiment of the application preloading method, firstly, when the terminal is connected with the external equipment, the equipment identification of the external equipment is obtained; then, determining a target application according to the equipment identifier; and finally, preloading the target application, wherein the target application can be determined according to the equipment identifier of the external equipment and preloaded when the terminal is connected with the external equipment, so that the target application is determined and preloaded according to the equipment identifier of the external equipment before the user triggers an application starting instruction, and the preloaded application program can be quickly started when the user triggers the starting instruction, so that the starting speed of the target application program is increased. For the user, the target application program is not loaded in the foreground, the user can perform other operations in the saved preloading time, the condition that the user waits for the foreground application to be loaded is avoided, and the utilization rate of system resources is further improved.
Fig. 2 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, and as a further description of the foregoing embodiment, the method includes:
step 210, when the terminal is connected to the external device, obtaining the device identifier of the external device.
Step 220, obtaining the historical operation record of the current user.
When the terminal is connected with the external equipment, the equipment identification is recorded, and the starting sequence of the application program started within the preset time is recorded. And acquiring a plurality of groups of application program starting sequences corresponding to the same equipment identification. The same application in the startup sequence is determined to be the target application. Or, the application program which is started first in the starting sequence determines the application program which is started first for a large number of times as the target application.
And step 230, determining at least one target application corresponding to the device identification according to the historical operation record of the current user.
Further, firstly, obtaining at least one historical operation record of a reference user; then, machine learning is carried out according to the historical operation records of at least one reference user to obtain a preset machine learning model; and finally, determining at least one target application corresponding to the equipment identifier according to the historical operating record of the current user and a preset machine learning model.
And searching a reference user with the same or similar application list according to the installed application list of the user. Wherein, the similar application list is an application list of the same type of applications containing the applications installed by the user. The method comprises the steps of obtaining historical operation records of at least one reference user, collecting the historical operation records of 100 reference users, inputting the historical operation records of the 100 reference users into a machine learning model for learning, and obtaining a preset machine learning model. The preset machine learning model may enable determination of a pre-launched target application based on a device identification of a connected external device. The target application may be one target application or a plurality of target applications. For example, the target application may be a multimedia application, a social application, and a mall application.
And step 240, preloading the target application.
The application preloading method provided by the embodiment of the application preloading method can determine the target application according to the historical operation record, improve the preloading accuracy and improve the utilization rate of system resources.
Fig. 3 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, which is further described in the foregoing embodiment, and includes:
and 310, acquiring the equipment identification of the external equipment when the terminal is connected with the external equipment.
And step 320, determining the target application according to the device identification.
Step 330, determining whether the current electric quantity is smaller than a preset electric quantity.
Since the preloading needs to consume additional system resources and generate power consumption, before the target application is preloaded, whether the current electric quantity of the terminal is less than the preset electric quantity is judged. The preset electric quantity may be 20% of the total electric quantity. If the current power amount is less than the preset power amount, step 340 is performed. Otherwise, if the current electric quantity is greater than or equal to the preset electric quantity, step 380 is executed.
And 340, when the current electric quantity is smaller than the preset electric quantity, acquiring the starting probability of the target application.
Further, a first starting probability of the target application when the electric quantity is larger than a preset electric quantity and a second starting probability of the target application when the electric quantity is smaller than the preset electric quantity are obtained. And if the difference value between the first starting probability and the second starting probability is smaller than the preset difference value, preloading the target application. The preset difference may be 30%. . If the difference between the first start probability and the second start probability is greater than the preset difference, step 350 is performed.
And step 350, judging whether the starting probability is greater than a preset probability threshold value.
The preset probability threshold may be 50%. The preset probability threshold value can be determined according to the current electric quantity, and the lower the current electric quantity is, the higher the preset probability threshold value is.
If the start probability is greater than the preset probability threshold, step 360 is performed. If the start probability is less than or equal to the preset probability threshold, step 370 is performed.
And step 360, if the starting probability is larger than a preset probability threshold, preloading the target application.
And step 370, if the starting probability is less than or equal to the preset probability threshold, canceling the preloading of the target application.
And 380, preloading all target applications when the current electric quantity is larger than or equal to the preset electric quantity.
The application preloading method provided by the embodiment of the application preloading method can determine whether to preload the target application according to the current electric quantity and the starting probability, reduce unnecessary preloading, improve the preloading accuracy, prolong the low-power service time of the terminal and improve the resource utilization rate.
Fig. 4 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, which is further described in the foregoing embodiment, and includes:
and step 410, when the terminal is connected with the external equipment, acquiring the equipment identification of the external equipment.
And step 420, if the equipment identifier of the external equipment is the automobile center console, acquiring the current position information and the current network connection state.
The device identification of the car center console may be preconfigured. When the device identifier of the external device is a console in the vehicle, current position information is acquired through a Global Positioning System (GPS) module. And judging whether the mobile cellular network is started currently or not, and judging whether the mobile cellular network is available or not through a communication test with a preset server. For example, the mobile cellular network sends test information to the preset server, the preset server feeds back a confirmation message when receiving the test information, and the terminal determines that the mobile cellular network is available when receiving the confirmation message, that is, the current network connection state is the connection state. Otherwise, if the terminal does not receive the confirmation message, it is determined that the mobile cellular network is unavailable, i.e., the current network connection state is a disconnected state.
And 430, if the current network connection state is the connection state, determining the navigation application as the target application.
Step 440, preloading the navigation application.
And step 450, outputting a navigation interface according to the current position information and the navigation application when the user starts the navigation application.
When the user starts the navigation application, the navigation application outputs a navigation interface. And if the navigation interface comprises the initial position and the end position, filling the initial position according to the current position information.
The application preloading method provided by the embodiment of the application can preload the navigation application when the external equipment is the automobile console, and can perform navigation according to the current position information of the user when the user starts the navigation application, so that the user operation is simplified, and the resource utilization rate is improved.
Fig. 5 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, and as a further description of the foregoing embodiment, the method includes:
step 510, when the terminal is connected to the external device, obtaining the device identifier of the external device.
And step 520, if the device identifier of the external device is a bluetooth headset, judging whether the bluetooth headset is a common headset of the current user.
And acquiring a historical connection record of the external equipment, and determining whether the currently connected external equipment is a common earphone of the user according to the historical connection record. Whether the bluetooth headset is a common headset for the user may be determined according to the frequency of use of the user. If the bluetooth headset is a commonly used headset of the current user, step 530 is performed. And if the Bluetooth headset is not a common headset of the current user, canceling the preloading.
And step 530, if the Bluetooth headset is a common headset of the current user, determining the target application according to the Bluetooth headset.
The user may have different types of bluetooth headsets, some for answering a call and answering navigation information, some for listening to music, etc. In order to distinguish the starting applications corresponding to different Bluetooth headsets, the application starting list corresponding to the current equipment identification is determined according to the application starting list corresponding to the equipment identification.
And 540, preloading the target application.
The application preloading method provided by the embodiment of the application preloading method can perform preloading according to the use frequency of the Bluetooth headset when the external device is the Bluetooth headset, improves the preloading accuracy and improves the system resource utilization rate.
Fig. 6 is a schematic flowchart of an application preloading method provided in an embodiment of the present application, which is further described in the foregoing embodiment, and includes:
step 610, when the terminal is connected with the external device, obtaining the device identifier of the external device.
And step 620, determining the target application according to the equipment identification.
Step 630, determine whether the number of target applications is greater than a preset number.
The preset number may be more than 3, preferably 5. When the number of target applications is large, for example, more than four target applications occupy more system resources during preloading. If the number of target applications is greater than the preset number, step 640 is performed. Otherwise, if the number of target applications is less than or equal to the preset number, step 670 is performed.
And step 640, when the number of the target applications is larger than the preset number, determining the main application and the auxiliary application from the target applications.
The preset number may be more than 3, optionally 5. And determining the main application and the auxiliary application according to the starting probability of the target application. And determining the application with the highest starting probability as the main application. And determining the application with the starting probability larger than a preset starting probability threshold value as the auxiliary application. The preset activation probability threshold may be 30%.
Step 650, preloading the master application.
And 660, determining whether to preload the auxiliary application according to the preset waiting time and the running state of the main application.
The preset waiting time is the conventional starting time of the main application, or the preset waiting time is preset time information, and the time information is 30 seconds. And if the main application is started within the preset waiting time, preloading the auxiliary application. And if the main application is not started within the preset waiting time, canceling the preloading of the auxiliary application.
And step 670, preloading all the target applications when the number of the target applications is less than or equal to the preset number.
The application preloading method provided by the embodiment of the application preloading method can determine whether to preload the auxiliary application according to the starting state of the main application when the number of the target applications is large, so that the preloading accuracy is improved, and the utilization rate of system resources is improved.
Fig. 7 is a schematic structural diagram of an application preloading device according to an embodiment of the present application. As shown in fig. 7, the apparatus includes: an acquisition module 710, a determination module 720, and a preload module 730.
An obtaining module 710, configured to obtain a device identifier of an external device when a terminal is connected to the external device;
a determining module 720, configured to determine a target application according to the device identifier obtained by the obtaining module 710;
a preloading module 730, configured to preload the target application determined by the determining module 720.
Further, the determining module 720 is configured to:
acquiring a historical operation record of a current user;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user.
Further, the determining module 720 is configured to:
acquiring historical operation records of at least one reference user;
performing machine learning according to the historical operation records of the at least one reference user to obtain a preset machine learning model;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user and the preset machine learning model.
Further, the preload module 730 is configured to:
when the current electric quantity is smaller than the preset electric quantity, acquiring the starting probability of the target application;
and if the starting probability is larger than a preset probability threshold, preloading the target application.
Further, the determining module 720 is configured to:
if the equipment identifier of the external equipment is the automobile center console, acquiring current position information and a current network connection state;
if the current network connection state is the connection state, determining the navigation application as a target application;
accordingly, the preload module 730 is configured to:
preloading the navigation application;
and when the user starts the navigation application, outputting a navigation interface according to the current position information and the navigation application.
Further, the determining module 720 is configured to:
if the equipment identifier of the external equipment is a Bluetooth earphone, judging whether the Bluetooth earphone is a common earphone of the current user;
and if the Bluetooth headset is a common headset of the current user, determining a target application according to the Bluetooth headset.
Further, the preload module 730 is configured to:
when the number of the target applications is larger than the preset number, determining a main application and an auxiliary application from the target applications;
preloading the primary application;
and determining whether to preload the auxiliary application according to a preset waiting time and the running state of the main application.
In the application preloading device provided in the embodiment of the present application, first, the obtaining module 710 obtains the device identifier of the external device when the terminal is connected to the external device; then, the determining module 720 determines the target application according to the device identifier; finally, the preload module 730
The target application is preloaded, when the terminal is connected with the external equipment, the target application can be determined according to the equipment identification of the external equipment, the target application is preloaded, the target application is determined according to the equipment identification of the external equipment and is preloaded before the user triggers an application starting instruction, the preloaded application program can be quickly started when the user triggers the starting instruction, and the starting speed of the target application program is improved. For the user, the target application program is not loaded in the foreground, the user can perform other operations in the saved preloading time, the condition that the user waits for the foreground application to be loaded is avoided, and the utilization rate of system resources is further improved.
The device can execute the methods provided by all the embodiments of the application, and has corresponding functional modules and beneficial effects for executing the methods. For details of the technology not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present application.
Fig. 8 is a schematic structural diagram of another terminal device provided in an embodiment of the present application. As shown in fig. 8, the terminal may include: a housing (not shown), a memory 801, a Central Processing Unit (CPU) 802 (also called a processor, hereinafter referred to as CPU), a computer program stored in the memory 801 and operable on the processor 802, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU802 and the memory 801 are provided on a circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; a memory 801 for storing executable program code; the CPU802 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 801.
The terminal further includes: peripheral interface 803, RF (Radio Frequency) circuitry 805, audio circuitry 806, speakers 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/control devices 810, and external port 804, which communicate over one or more communication buses or signal lines 807.
It should be understood that the illustrated terminal device 800 is merely one example of a terminal, and that the terminal device 800 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device provided in this embodiment, where the terminal device is a smart phone as an example.
Memory 801, memory 801 accessible by CPU802, peripheral interface 803, and the like, memory 801 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
Peripheral interface 803, peripheral interface 803 may connect input and output peripherals of the device to CPU802 and memory 801.
I/O subsystems 809, I/O subsystems 809 can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 may include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Where one or more input controllers 8092 receive electrical signals from or transmit electrical signals to other input/control devices 810, other input/control devices 810 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 8092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
The touch screen 812 may be a resistive type, a capacitive type, an infrared type, or a surface acoustic wave type, according to the operating principle of the touch screen and the classification of media for transmitting information. The touch screen 812 may be classified by installation method: external hanging, internal or integral. Classified according to technical principles, the touch screen 812 may be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen, or a surface acoustic wave technology touch screen.
Touch screen 812, touch screen 812 is an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like. Optionally, the touch screen 812 sends an electrical signal (e.g., an electrical signal of the touch surface) triggered by the user on the touch screen to the processor 802.
The display controller 8091 in the I/O subsystem 809 receives electrical signals from the touch screen 812 or sends electrical signals to the touch screen 812. The touch screen 812 detects a contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 812, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 812 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 805 is mainly used to establish communication between the smart speaker and a wireless network (i.e., a network side), and implement data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.
The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electric signal, and transmit the electric signal to the speaker 811.
Speaker 811 is used to convert the voice signals received by the smart speaker from the wireless network through RF circuit 805 into sound and play the sound to the user.
And the power management chip 808 is used for supplying power and managing power to the hardware connected with the CPU802, the I/O subsystem and the peripheral interface.
In this embodiment, the cpu802 is configured to:
when the terminal is connected with an external device, acquiring a device identifier of the external device;
determining a target application according to the equipment identifier;
preloading the target application.
Further, the determining a target application according to the device identifier includes:
acquiring a historical operation record of a current user;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user.
Further, the determining, according to the historical operation record of the current user, at least one target application corresponding to the device identifier includes:
acquiring historical operation records of at least one reference user;
performing machine learning according to the historical operation records of the at least one reference user to obtain a preset machine learning model;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user and the preset machine learning model.
Further, the preloading the target application includes:
when the current electric quantity is smaller than the preset electric quantity, acquiring the starting probability of the target application;
and if the starting probability is larger than a preset probability threshold, preloading the target application.
Further, the determining a target application according to the device identifier includes:
if the equipment identifier of the external equipment is the automobile center console, acquiring current position information and a current network connection state;
if the current network connection state is the connection state, determining the navigation application as a target application;
correspondingly, the preloading the target application comprises the following steps:
preloading the navigation application;
and when the user starts the navigation application, outputting a navigation interface according to the current position information and the navigation application.
Further, the determining a target application according to the device identifier includes:
if the equipment identifier of the external equipment is a Bluetooth earphone, judging whether the Bluetooth earphone is a common earphone of the current user;
and if the Bluetooth headset is a common headset of the current user, determining a target application according to the Bluetooth headset.
Further, the preloading the target application includes:
when the number of the target applications is larger than the preset number, determining a main application and an auxiliary application from the target applications;
preloading the primary application;
and determining whether to preload the auxiliary application according to a preset waiting time and the running state of the main application.
Embodiments of the present application further provide a storage medium containing terminal device executable instructions, which when executed by a terminal device processor, are configured to perform a method for preloading applications, where the method includes:
when the terminal is connected with an external device, acquiring a device identifier of the external device;
determining a target application according to the equipment identifier;
preloading the target application.
Further, the determining a target application according to the device identifier includes:
acquiring a historical operation record of a current user;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user.
Further, the determining, according to the historical operation record of the current user, at least one target application corresponding to the device identifier includes:
acquiring historical operation records of at least one reference user;
performing machine learning according to the historical operation records of the at least one reference user to obtain a preset machine learning model;
and determining at least one target application corresponding to the equipment identifier according to the historical operation record of the current user and the preset machine learning model.
Further, the preloading the target application includes:
when the current electric quantity is smaller than the preset electric quantity, acquiring the starting probability of the target application;
and if the starting probability is larger than a preset probability threshold, preloading the target application.
Further, the determining a target application according to the device identifier includes:
if the equipment identifier of the external equipment is the automobile center console, acquiring current position information and a current network connection state;
if the current network connection state is the connection state, determining the navigation application as a target application;
correspondingly, the preloading the target application comprises the following steps:
preloading the navigation application;
and when the user starts the navigation application, outputting a navigation interface according to the current position information and the navigation application.
Further, the determining a target application according to the device identifier includes:
if the equipment identifier of the external equipment is a Bluetooth earphone, judging whether the Bluetooth earphone is a common earphone of the current user;
and if the Bluetooth headset is a common headset of the current user, determining a target application according to the Bluetooth headset.
Further, the preloading the target application includes:
when the number of the target applications is larger than the preset number, determining a main application and an auxiliary application from the target applications;
preloading the primary application;
and determining whether to preload the auxiliary application according to a preset waiting time and the running state of the main application.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium provided in the embodiments of the present application and containing computer-executable instructions is not limited to the above-described application recommendation operation, and may also perform related operations in the application recommendation method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (7)

1. An application preloading method, comprising:
when the terminal is connected with an external device, acquiring a device identifier of the external device;
determining a target application according to the equipment identifier;
preloading the target application;
the determining the target application according to the device identifier includes:
acquiring a historical operation record of a current user;
obtaining historical operation records of at least one reference user, wherein the reference user has the same or similar application list with the current user;
performing machine learning according to the historical operation record of the at least one reference user to obtain a preset machine learning model, wherein the preset machine learning model is used for determining a target application to be started in advance according to the equipment identifier of the connected external equipment;
determining a plurality of target applications corresponding to the equipment identification according to the historical operation record of the current user and the preset machine learning model;
the preloading the target application comprises:
when the number of the target applications is larger than the preset number, determining a main application and an auxiliary application from the target applications;
preloading the primary application;
if the main application is started within a preset waiting time, preloading the auxiliary application; and if the main application is not started within the preset waiting time, canceling the preloading of the auxiliary application.
2. The application preloading method of claim 1, wherein the preloading the target application comprises:
when the current electric quantity is smaller than the preset electric quantity, acquiring the starting probability of the target application;
and if the starting probability is larger than a preset probability threshold, preloading the target application.
3. The application preloading method of claim 1, wherein the determining a target application according to the device identifier comprises:
if the equipment identifier of the external equipment is the automobile center console, acquiring current position information and a current network connection state;
if the current network connection state is the connection state, determining the navigation application as a target application;
correspondingly, the preloading the target application comprises the following steps:
preloading the navigation application;
and when the user starts the navigation application, outputting a navigation interface according to the current position information and the navigation application.
4. The application preloading method of claim 1, wherein the determining a target application according to the device identifier comprises:
if the equipment identifier of the external equipment is a Bluetooth earphone, judging whether the Bluetooth earphone is a common earphone of the current user;
and if the Bluetooth headset is a common headset of the current user, determining a target application according to the Bluetooth headset.
5. An application preloading device, comprising:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the equipment identifier of external equipment when the terminal is connected with the external equipment;
the determining module is used for determining the target application according to the equipment identifier acquired by the acquiring module;
a preloading module for preloading the target application determined by the determining module;
the determining module is used for acquiring the historical operation record of the current user;
obtaining historical operation records of at least one reference user, wherein the reference user has the same or similar application list with the current user;
performing machine learning according to the historical operation records of the at least one reference user to obtain a preset machine learning model;
determining a plurality of target applications corresponding to the equipment identification according to the historical operation record of the current user and the preset machine learning model;
the pre-loading module is used for determining a main application and an auxiliary application from the target applications when the number of the target applications is larger than the preset number;
preloading the primary application;
if the main application is started within a preset waiting time, preloading the auxiliary application; and if the main application is not started within the preset waiting time, canceling the preloading of the auxiliary application.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the application preloading method according to any one of claims 1-4.
7. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the application preloading method according to any one of claims 1-4 when executing the computer program.
CN201810489419.6A 2018-05-21 2018-05-21 Application preloading method and device, storage medium and terminal Active CN108681474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810489419.6A CN108681474B (en) 2018-05-21 2018-05-21 Application preloading method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810489419.6A CN108681474B (en) 2018-05-21 2018-05-21 Application preloading method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108681474A CN108681474A (en) 2018-10-19
CN108681474B true CN108681474B (en) 2021-12-07

Family

ID=63807099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810489419.6A Active CN108681474B (en) 2018-05-21 2018-05-21 Application preloading method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108681474B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112997151B (en) * 2018-12-29 2023-06-27 深圳市欢太科技有限公司 Application management method and device, storage medium and electronic equipment
CN110231963B (en) * 2019-06-12 2022-11-15 Oppo广东移动通信有限公司 Application control method and related device
CN114385257A (en) * 2021-12-02 2022-04-22 广州歌神信息科技有限公司 Program preheating method, device, electronic equipment and computer readable storage medium
CN114760622B (en) * 2022-04-20 2023-09-26 四川酷比通信设备有限公司 Software preloading method, terminal and preloading system based on liveness
CN114895977A (en) * 2022-05-05 2022-08-12 南京欧珀软件科技有限公司 Application preloading method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406966A (en) * 2016-10-31 2017-02-15 维沃移动通信有限公司 Preloading method for application and mobile terminal
CN107273221A (en) * 2017-05-11 2017-10-20 努比亚技术有限公司 Application activating method, terminal and computer-readable recording medium
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal
CN107944259A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the management-control method of startup, device and storage medium and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9235511B2 (en) * 2013-05-01 2016-01-12 Globalfoundries Inc. Software performance by identifying and pre-loading data pages
US20150317170A1 (en) * 2014-04-30 2015-11-05 STRATTEC Advanced Logic Modular electronics board and methods of configuring and operating the same
US9665296B2 (en) * 2014-05-07 2017-05-30 Sandisk Technologies Llc Method and computing device for using both volatile memory and non-volatile swap memory to pre-load a plurality of applications
CN104244092A (en) * 2014-08-04 2014-12-24 北京视博云科技有限公司 Method, system and device for starting application through set top box
CN104298505A (en) * 2014-09-23 2015-01-21 深圳市金立通信设备有限公司 Operation method for application program
CN106066805B (en) * 2016-05-31 2020-03-17 宇龙计算机通信科技(深圳)有限公司 Method and device for starting terminal application program and terminal
CN107885591A (en) * 2016-09-27 2018-04-06 华为技术有限公司 For the method and terminal of application distributing system resource

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406966A (en) * 2016-10-31 2017-02-15 维沃移动通信有限公司 Preloading method for application and mobile terminal
CN107273221A (en) * 2017-05-11 2017-10-20 努比亚技术有限公司 Application activating method, terminal and computer-readable recording medium
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal
CN107944259A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the management-control method of startup, device and storage medium and mobile terminal

Also Published As

Publication number Publication date
CN108681474A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108681474B (en) Application preloading method and device, storage medium and terminal
EP3567477B1 (en) Method for preloading application, storage medium, and terminal
CN108710515B (en) Application preloading method and device, storage medium and terminal
JP6671394B2 (en) Digital assistant extensibility for third party applications
EP3502879B1 (en) Method for preloading application, storage medium, and terminal device
EP3579104A1 (en) Method and apparatus for establishing an application prediction model, storage medium and terminal
US10956280B2 (en) Data backup method, electronic device, and storage medium
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
EP3502878B1 (en) Method for preloading application and terminal device
CN109429102B (en) Electronic device and server for displaying applications
EP3248114A1 (en) Contextual search using natural language
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN106502703B (en) Function calling method and device
US9565289B2 (en) Mobile terminal and method of controlling the same
KR20140030372A (en) Method for processing customized page and mobile device
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
US11048568B2 (en) Broadcast sending control method and apparatus, storage medium, and electronic device
KR20210037320A (en) Method and electronic device for executing application
KR101876394B1 (en) Method and device for playing media data on a terminal
CN108156650B (en) Control method and device of positioning module, storage medium and terminal
CN108958829B (en) Pre-loaded resource control method, device, storage medium and terminal
CN109343961B (en) Memory information processing method and device, storage medium and terminal
CN108958849B (en) Method, device, storage medium and mobile terminal for acquiring current Activity object

Legal Events

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