Movatterモバイル変換


[0]ホーム

URL:


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
CN108681474BCN201810489419.6ACN201810489419ACN108681474BCN 108681474 BCN108681474 BCN 108681474BCN 201810489419 ACN201810489419 ACN 201810489419ACN 108681474 BCN108681474 BCN 108681474B
Authority
CN
China
Prior art keywords
application
preloading
target
preset
user
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.)
Expired - Fee Related
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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810489419.6ApriorityCriticalpatent/CN108681474B/en
Publication of CN108681474ApublicationCriticalpatent/CN108681474A/en
Application grantedgrantedCritical
Publication of CN108681474BpublicationCriticalpatent/CN108681474B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

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:
andstep 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.
Andstep 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.
Andstep 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: anacquisition module 710, adetermination module 720, and apreload module 730.
An obtainingmodule 710, configured to obtain a device identifier of an external device when a terminal is connected to the external device;
a determiningmodule 720, configured to determine a target application according to the device identifier obtained by the obtainingmodule 710;
apreloading module 730, configured to preload the target application determined by the determiningmodule 720.
Further, the determiningmodule 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 determiningmodule 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, thepreload 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 determiningmodule 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, thepreload 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 determiningmodule 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, thepreload 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 obtainingmodule 710 obtains the device identifier of the external device when the terminal is connected to the external device; then, the determiningmodule 720 determines the target application according to the device identifier; finally, thepreload 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), amemory 801, a Central Processing Unit (CPU) 802 (also called a processor, hereinafter referred to as CPU), a computer program stored in thememory 801 and operable on theprocessor 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 thememory 801 are provided on a circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; amemory 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 thememory 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, andexternal port 804, which communicate over one or more communication buses orsignal lines 807.
It should be understood that the illustratedterminal device 800 is merely one example of a terminal, and that theterminal 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 andmemory 801.
I/O subsystems 809, I/O subsystems 809 can connect input and output peripherals on the device, such astouch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 may include adisplay 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.
Thetouch 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. Thetouch screen 812 may be classified by installation method: external hanging, internal or integral. Classified according to technical principles, thetouch 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, thetouch screen 812 sends an electrical signal (e.g., an electrical signal of the touch surface) triggered by the user on the touch screen to theprocessor 802.
Thedisplay controller 8091 in the I/O subsystem 809 receives electrical signals from thetouch screen 812 or sends electrical signals to thetouch screen 812. Thetouch screen 812 detects a contact on the touch screen, and thedisplay controller 8091 converts the detected contact into an interaction with a user interface object displayed on thetouch screen 812, that is, implements a human-computer interaction, and the user interface object displayed on thetouch 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.
TheRF 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.
Theaudio 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 thespeaker 811.
Speaker 811 is used to convert the voice signals received by the smart speaker from the wireless network throughRF circuit 805 into sound and play the sound to the user.
And thepower 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)

Translated fromChinese
1.一种应用预加载方法,其特征在于,包括:1. an application preloading method, is characterized in that, comprises:当终端与外部设备连接时,获取所述外部设备的设备标识;When the terminal is connected to an external device, obtain the device identification of the external device;根据所述设备标识确定目标应用;Determine the target application according to the device identification;预加载所述目标应用;preloading the target application;所述根据所述设备标识确定目标应用,包括:The determining of the target application according to the device identification includes:获取当前用户的历史操作记录;Get the historical operation records of the current user;获取至少一个参考用户的历史操作记录,所述参考用户具有与所述当前用户相同或类似应用列表;obtaining historical operation records of at least one reference user, the reference user having the same or similar application list as the current user;根据所述至少一个参考用户的历史操作记录进行机器学习,得到预设机器学习模型,所述预设机器学习模型用于实现根据连接的外部设备的设备标识确定预启动的目标应用;Carry out machine learning according to the historical operation record of the at least one reference user to obtain a preset machine learning model, where the preset machine learning model is used to determine the pre-launched target application according to the device identifier of the connected external device;根据所述当前用户的历史操作记录和所述预设机器学习模型,确定所述设备标识对应的多个目标应用;determining a plurality of target applications corresponding to the device identifier according to the current user's historical operation record and the preset machine learning model;所述预加载所述目标应用,包括:The preloading of the target application includes:当所述目标应用的数量大于预设数量时,从所述目标应用中确定主应用和辅应用;When the number of the target applications is greater than the preset number, determining the main application and the auxiliary application from the target applications;对所述主应用进行预加载;preloading the main application;如果在预设等待时长内所述主应用被启动,则预加载所述辅应用;如果预设等待时长内所述主应用未被启动,则取消预加载所述辅应用。If the main application is started within the preset waiting time period, the auxiliary application is preloaded; if the main application is not started within the preset waiting time period, the preloading of the auxiliary application is canceled.2.根据权利要求1所述的应用预加载方法,其特征在于,所述预加载所述目标应用,包括:2. The application preloading method according to claim 1, wherein the preloading the target application comprises:当当前电量小于预设电量时,获取所述目标应用的启动概率;When the current power level is less than the preset power level, acquiring the startup probability of the target application;如果所述启动概率大于预设概率阈值,则预加载所述目标应用。If the startup probability is greater than a preset probability threshold, the target application is preloaded.3.根据权利要求1所述的应用预加载方法,其特征在于,所述根据所述设备标识确定目标应用,包括:3. The application preloading method according to claim 1, wherein the determining the target application according to the device identifier comprises:如果所述外部设备的设备标识为汽车中控台,则获取当前位置信息和当前网络连接状态;If the device identification of the external device is the car center console, obtain the current location information and the current network connection state;如果所述当前网络连接状态为连接状态,则将导航应用确定为目标应用;If the current network connection state is the connection state, determining the navigation application as the target application;相应的,所述预加载所述目标应用,包括:Correspondingly, the preloading of the target application includes:预加载所述导航应用;preloading the navigation application;当用户启动所述导航应用时,根据所述当前位置信息和所述导航应用输出导航界面。When the user starts the navigation application, a navigation interface is output according to the current location information and the navigation application.4.根据权利要求1所述的应用预加载方法,其特征在于,所述根据所述设备标识确定目标应用,包括:4. The application preloading method according to claim 1, wherein the determining the target application according to the device identifier comprises:如果所述外部设备的设备标识为蓝牙耳机,则判断所述蓝牙耳机是否为当前用户的常用耳机;If the device identification of the external device is a Bluetooth headset, then determine whether the Bluetooth headset is a commonly used headset of the current user;如果所述蓝牙耳机为当前用户的常用耳机,则根据所述蓝牙耳机确定目标应用。If the Bluetooth headset is a commonly used headset of the current user, the target application is determined according to the Bluetooth headset.5.一种应用预加载装置,其特征在于,包括:5. An application preloading device, characterized in that, comprising:获取模块,用于当终端与外部设备连接时,获取所述外部设备的设备标识;an acquisition module, configured to acquire the device identifier of the external device when the terminal is connected to the external device;确定模块,用于根据所述获取模块获取的所述设备标识确定目标应用;a determining module, configured to determine a target application according to the device identification acquired by the acquiring module;预加载模块,用于预加载所述确定模块确定的所述目标应用;a preloading module for preloading the target application determined by the determining module;确定模块用于,获取当前用户的历史操作记录;The determination module is used to obtain the historical operation record of the current user;获取至少一个参考用户的历史操作记录,所述参考用户具有与所述当前用户相同或类似应用列表;acquiring historical operation records of at least one reference user, the reference user having the same or similar application list as the current user;根据所述至少一个参考用户的历史操作记录进行机器学习,得到预设机器学习模型;Perform machine learning according to the historical operation record of the at least one reference user to obtain a preset machine learning model;根据所述当前用户的历史操作记录和所述预设机器学习模型,确定所述设备标识对应的多个目标应用;determining a plurality of target applications corresponding to the device identifier according to the current user's historical operation record and the preset machine learning model;预加载模块用于,当所述目标应用的数量大于预设数量时,从所述目标应用中确定主应用和辅应用;The preloading module is configured to, when the number of the target applications is greater than a preset number, determine the main application and the auxiliary application from the target applications;对所述主应用进行预加载;preloading the main application;如果在预设等待时长内所述主应用被启动,则预加载所述辅应用;如果预设等待时长内所述主应用未被启动,则取消预加载所述辅应用。If the main application is started within the preset waiting time period, the auxiliary application is preloaded; if the main application is not started within the preset waiting time period, the preloading of the auxiliary application is canceled.6.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-4中任一所述的应用预加载方法。6. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the application preloading method according to any one of claims 1-4 is implemented.7.一种终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-4任一所述的应用预加载方法。7. A terminal comprising a memory, a processor and a computer program that is stored on the memory and can run on the processor, characterized in that, when the processor executes the computer program, any one of claims 1-4 is realized. The application preloading method described above.
CN201810489419.6A2018-05-212018-05-21Application preloading method and device, storage medium and terminalExpired - Fee RelatedCN108681474B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810489419.6ACN108681474B (en)2018-05-212018-05-21Application preloading method and device, storage medium and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810489419.6ACN108681474B (en)2018-05-212018-05-21Application preloading method and device, storage medium and terminal

Publications (2)

Publication NumberPublication Date
CN108681474A CN108681474A (en)2018-10-19
CN108681474Btrue CN108681474B (en)2021-12-07

Family

ID=63807099

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810489419.6AExpired - Fee RelatedCN108681474B (en)2018-05-212018-05-21Application preloading method and device, storage medium and terminal

Country Status (1)

CountryLink
CN (1)CN108681474B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112997151B (en)*2018-12-292023-06-27深圳市欢太科技有限公司Application management method and device, storage medium and electronic equipment
CN110231963B (en)*2019-06-122022-11-15Oppo广东移动通信有限公司 Application control method and related device
CN114385257A (en)*2021-12-022022-04-22广州歌神信息科技有限公司 Program preheating method, apparatus, electronic device, and computer-readable storage medium
CN114461897B (en)*2021-12-212024-09-20北京达佳互联信息技术有限公司Information processing method, information processing device, electronic equipment and storage medium
CN114760622B (en)*2022-04-202023-09-26四川酷比通信设备有限公司Software preloading method, terminal and preloading system based on liveness
CN114895977B (en)*2022-05-052024-05-10南京欧珀软件科技有限公司Application preloading method, device, equipment and storage medium
CN114895979A (en)*2022-05-072022-08-12展讯通信(上海)有限公司Application program preloading method, communication device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106406966A (en)*2016-10-312017-02-15维沃移动通信有限公司Preloading method for application and mobile terminal
CN107273221A (en)*2017-05-112017-10-20努比亚技术有限公司Application activating method, terminal and computer-readable recording medium
CN107783801A (en)*2017-11-062018-03-09广东欧珀移动通信有限公司Application program forecast model is established, preloads method, apparatus, medium and terminal
CN107944259A (en)*2017-11-212018-04-20广东欧珀移动通信有限公司Application starting control method and device, storage medium and mobile terminal

Family Cites Families (7)

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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106406966A (en)*2016-10-312017-02-15维沃移动通信有限公司Preloading method for application and mobile terminal
CN107273221A (en)*2017-05-112017-10-20努比亚技术有限公司Application activating method, terminal and computer-readable recording medium
CN107783801A (en)*2017-11-062018-03-09广东欧珀移动通信有限公司Application program forecast model is established, preloads method, apparatus, medium and terminal
CN107944259A (en)*2017-11-212018-04-20广东欧珀移动通信有限公司Application starting control method and device, storage medium and mobile terminal

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN108681474B (en)Application preloading method and device, storage medium and terminal
CN108710515B (en) Application preloading method, 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
CN107209781B (en)Contextual search using natural language
CN108076507B (en) Positioning mode control method, device, storage medium and mobile terminal
CN108108142A (en)Voice information processing method and device, terminal equipment and storage medium
CN106502703B (en)Function calling method and device
CN107635078B (en) Game control method and device
CN108111974A (en)Control method and device of positioning module, storage medium and terminal
CN115454286A (en)Application data processing method and device and terminal equipment
CN107423064A (en) Message processing method, device, terminal device and storage medium
CN109656719B (en)Algorithm processing method and device, storage medium and terminal equipment
CN108072885A (en)Collocation method, device, storage medium and the terminal of locating module
CN108156650B (en)Control method and device of positioning module, storage medium and terminal
CN108731666A (en)Processing method, device, storage medium and the terminal of Geomagnetism Information
KR20160048968A (en)Method and device for playing media data on a terminal
CN107930126B (en)Game reservation data processing method and device and mobile terminal
CN108958829B (en) Preloaded resource control method, device, storage medium and terminal
CN108647060A (en)Using preloading method, apparatus, storage medium and terminal
CN108924308A (en)Camera calling method and device, storage medium and terminal
CN109343961B (en) Memory information processing method, device, storage medium and terminal
CN108093363A (en)Control method and device of positioning module, storage medium and terminal
CN108958849B (en)Method, device, storage medium and mobile terminal for acquiring current Activity object
CN108733814B (en) Search engine preloading method, device, storage medium and terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20211207


[8]ページ先頭

©2009-2025 Movatter.jp