CN108664286B - Application program preloading method and device, storage medium and mobile terminal - Google Patents

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

Info

Publication number
CN108664286B
CN108664286B CN201810444167.5A CN201810444167A CN108664286B CN 108664286 B CN108664286 B CN 108664286B CN 201810444167 A CN201810444167 A CN 201810444167A CN 108664286 B CN108664286 B CN 108664286B
Authority
CN
China
Prior art keywords
application program
preloading
application
unlocking
input
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
CN201810444167.5A
Other languages
Chinese (zh)
Other versions
CN108664286A (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 CN201810444167.5A priority Critical patent/CN108664286B/en
Publication of CN108664286A publication Critical patent/CN108664286A/en
Application granted granted Critical
Publication of CN108664286B publication Critical patent/CN108664286B/en
Expired - Fee Related 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The embodiment of the application discloses an application program preloading method, an application program preloading device, a storage medium and a mobile terminal. The method comprises the following steps: receiving an unlocking operation acting on the mobile terminal; determining a corresponding candidate application program set according to the input mode of the unlocking operation; determining a target application program to be preloaded contained in the candidate application program set; and preloading the target application program. By adopting the technical scheme, the corresponding candidate application program set can be determined by combining the input mode of the unlocking operation actively input by the user, so that the subjective intention of the user is met, the prediction range can be narrowed, the application program which the user wants to use after the mobile terminal is unlocked is accurately determined, the determined application program is preloaded, and the starting speed of the application program is increased.

Description

Application program preloading method and device, storage medium and mobile terminal
Technical Field
The embodiment of the application relates to the technical field of application program loading, in particular to an application program preloading method, an application program preloading device, a storage medium and a mobile terminal.
Background
Currently, many mobile terminals have become indispensable electronic devices in people's daily life. Along with the continuous intellectualization of the mobile terminal equipment, an operating system is loaded in most of the mobile terminal equipment, so that the mobile terminal equipment can install abundant and diversified application programs and meet different requirements of users.
With the continuous improvement of the configuration of mobile terminal devices, dozens or even hundreds of application programs can be installed in most mobile terminal devices, and with the increasing abundance of the functions of the application programs, more and more resources are needed to be loaded when the application programs run. When a user selects to start an application program, the mobile terminal loads resources required by the start of the application program, and enters an initial interface of the application program after the loading is finished, the whole process usually takes several seconds or even tens of seconds, so that the start efficiency of the application program is low, and improvement is urgently needed.
Disclosure of Invention
The embodiment of the application provides an application program preloading method, an application program preloading device, a storage medium and a mobile terminal, and can optimize an application program loading scheme.
In a first aspect, an embodiment of the present application provides an application preloading method, including:
receiving an unlocking operation acting on the mobile terminal;
determining a corresponding candidate application program set according to the input mode of the unlocking operation;
determining a target application program to be preloaded contained in the candidate application program set;
and preloading the target application program.
In a second aspect, an embodiment of the present application provides an application preloading device, including:
the unlocking operation receiving module is used for receiving unlocking operation acted on the mobile terminal;
the candidate application set determining module is used for determining a corresponding candidate application program set according to the input mode of the unlocking operation;
the target application determining module is used for determining a target application program to be preloaded contained in the candidate application program set;
and the preloading module is used for preloading the target application program.
In a third aspect, an embodiment of 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 an application preloading method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the application preloading method according to the embodiment of the present application.
The application program preloading scheme provided in the embodiment of the application program preloading method receives unlocking operation acting on the mobile terminal, determines a corresponding candidate application program set according to an input mode of the unlocking operation, determines a target application program to be preloaded contained in the candidate application program set, and preloads the target application program. By adopting the technical scheme, the corresponding candidate application program set can be determined by combining the input mode of the unlocking operation actively input by the user, so that the subjective intention of the user is met, the prediction range can be narrowed, the application program which the user wants to use after the mobile terminal is unlocked is accurately determined, the determined application program is preloaded, and the starting speed of the application program is improved.
Drawings
Fig. 1 is a schematic flowchart of an application preloading method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a relative position relationship between a preloaded active window stack and a display area of a display screen according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a relative position relationship between a preloaded active window stack and a display area of a display screen according to an embodiment of the present application;
fig. 4 is a schematic diagram of application interface migration according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating another application preloading method according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for preloading an application according to an embodiment of the present application;
fig. 7 is a block diagram illustrating an application preloading apparatus 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;
fig. 9 is a schematic structural diagram of another 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. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an application preloading method according to an embodiment of the present application, where the method may be performed by an application preloading device, where the device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, receiving an unlocking operation acting on the mobile terminal.
For example, the mobile terminal in the embodiment of the present application may include mobile devices such as a mobile phone, a tablet computer, and a notebook computer.
Due to the reasons of protecting user privacy, preventing misoperation and the like, the mobile terminal generally provides a locking function, including locking of a mobile terminal system and locking of a display screen, and the like, and specific locking objects are not limited in the application. When the mobile terminal is in a locked state, a user is required to actively input an unlocking operation for unlocking, and when the unlocking operation is correctly input, the mobile terminal can be unlocked. With the continuous development of security technologies of mobile terminals, unlocking modes are more and more abundant, for example, character string (including letters, symbols, numbers, or the like) unlocking, graphic gesture unlocking (including touch gestures, space gestures, and the like), fingerprint unlocking, iris unlocking, face unlocking, and the like may be included, and the types of unlocking operations are not limited in the present application. In this step, an unlocking operation applied to the mobile terminal is received while the mobile terminal is in the locked state.
And step 102, determining a corresponding candidate application program set according to the input mode of the unlocking operation.
For different unlocking operation types, corresponding input modes are generally different, for example, digital unlocking requires a user to input a number with preset digits, and fingerprint unlocking requires the user to input own fingerprint, so that different unlocking operation input modes in the application can include inputting different types of unlocking operations. Furthermore, there may be different input modes for the same type of unlocking operation. Taking the unlocking of the character strings as an example, a plurality of groups of character strings can be set, and each two groups of character strings are different (for example, one group of character strings is all numbers, one group of character strings is all letters, one group of character strings is all symbols, and the like), so that a plurality of input modes can be provided, and the plurality of groups of character strings can successfully unlock the mobile terminal; taking graphical gesture unlocking (including touch gestures, air separation gestures and the like) as an example, various gesture tracks can be set, the input modes of the gesture tracks are different, and the gesture tracks can successfully unlock the mobile terminal; taking fingerprint unlocking as an example, fingerprint images corresponding to a plurality of fingers of a user can be recorded in advance as unlocking templates, such as a right thumb, a right index finger, a left thumb, a left index finger and the like, and the input modes of each finger are different, so that each finger can successfully unlock the mobile terminal; taking iris unlocking as an example, the method can be divided into modes of inputting left-eye irises, inputting right-eye irises, inputting both eyes irises simultaneously and the like; taking face unlocking as an example, the input modes can be divided into an upper half part of a face, a lower half part of the face, a left half part of the face, a right half part of the face, a whole face and the like.
In the embodiment of the present application, the dividing manner of the candidate application program set is not limited. For example, the applications may be classified according to application types, that is, applications belonging to the same type are divided into a set of candidate applications corresponding to the type. The application type may be classified into social, office, game, shopping, property, photography and video, education, etc. according to the personal needs of the user or default classification in the application store. The candidate application set may also be divided according to folders, that is, the application programs belonging to the same folder are divided into the candidate application set corresponding to the folder, and the name of the folder may be used as the name of the corresponding candidate application set. The candidate application program set may also be divided in a manner of dividing a desktop interface, that is, the application programs corresponding to the application icons belonging to the same desktop interface are divided into the candidate application program set corresponding to the desktop interface, and the serial number of the desktop may be used as the name of the corresponding candidate application program set. The candidate application program set may also be divided according to a historical operation rule of the application program, for example, a plurality of frequency intervals are set, and the frequency intervals are divided into a certain frequency interval according to the use frequency of the application program in a historical period (for example, in about 1 month), and each frequency interval corresponds to one candidate application program set. In addition, the dividing mode of the candidate application program set can also be freely set by a user, for example, a dividing list is maintained in the mobile terminal, and the user can add an application program to each candidate application program set according to the actual requirement of the user.
For example, the corresponding relationship between different unlocking operation input modes and the candidate application program set can be preset. For example, a fingerprint unlocks a corresponding office class candidate application set, a face unlocks a corresponding entertainment class candidate application set, a gesture unlocks a corresponding social class candidate application set, and a graph unlocks a corresponding shopping class candidate application set; for another example, a right thumb corresponds to the first desktop interface, a right index finger corresponds to the second desktop interface, a left thumb corresponds to the third desktop interface, and a left index finger corresponds to the fourth desktop interface; for another example, the folder a corresponding to the circular input track, the folder B corresponding to the "L" -shaped input track, the folder C corresponding to the triangular input track, the folder D corresponding to the square input track, and the like, and of course, the touch gesture and the air-separating gesture (no physical contact exists between the hand and the display screen) with the same track may also correspond to different candidate application program sets respectively.
In the embodiment of the application, after the unlocking operation is received, the input mode of the unlocking operation is determined, and the candidate application program set corresponding to the current input mode is searched according to the corresponding relation between the input mode and the candidate application program set and is used for the subsequent prediction operation.
And 103, determining the target application program to be preloaded contained in the candidate application program set.
For example, the target application to be preloaded may be an application that a user may be about to open after the mobile terminal is unlocked, and may be an application predicted in a certain manner. The target application to be preloaded may comprise one or more.
Optionally, a preset prediction model may be used to predict the application to be preloaded. The prediction model may be a machine learning model, and the algorithm used may include a Recurrent Neural Networks (RNN), a Long Short-Term Memory (LSTM) network, a threshold cycle unit, a simple cycle unit, an auto-encoder, a decision tree, a random forest, a feature mean classification, a classification regression tree, a hidden markov, a K-nearest neighbor (KNN) algorithm, a logistic regression model, a bayesian model, a gaussian model, and a KL divergence (Kullback-Leibler) or the like.
Optionally, in the process that the user uses the mobile terminal, a training sample may be collected, the training sample is adopted to train the preset initial model, and finally, the preset prediction model for predicting the application program to be preloaded is obtained. For example, the elements included in the training sample may include the time, place, frequency, etc. when the application was opened; the operation state of the terminal can be included, such as the on-off state of a mobile data network, the connection state of a wireless hotspot, the identity information of the connected wireless hotspot, a foreground application program before the mobile terminal is locked, the plugging state and the charging state of an earphone jack, the battery capacity information and the like; and the data collected by sensors integrated in the mobile terminal, such as a motion sensor, a light sensor, a temperature sensor, a humidity sensor and the like, can also be included.
For example, a suitable sample element may be selected according to the selected machine learning model, the selected machine learning model may be determined according to the selected sample element, and the model and the sample element may be selected according to requirements on prediction accuracy, a preset speed, and the like, which is not limited in the embodiment of the present application.
For example, when the preset prediction model performs prediction, all application programs in the mobile terminal may be considered, a plurality of application programs to be preloaded are predicted, and then an intersection of the application programs to be preloaded and the candidate application program set is selected as a target application program to be preloaded. The advantage of this arrangement is that the model training process can be simplified and a common predictive model can be used for prediction. For example, a plurality of predicted application programs to be preloaded can be marked as application a, application b, application c and application d, and through comparison of a candidate application program set corresponding to the current input mode, if only application a and application c belong to the candidate application program set, application a and application c are determined as target application programs, and application b and application d are excluded.
In the embodiment of the application, the working time of the preset prediction model is not limited, for example, the preset prediction model can be used for predicting the application program to be preloaded in the process of receiving the unlocking operation acted on the mobile terminal; and after the candidate application program set is determined, predicting the application program to be preloaded by using a preset prediction model and the like. The specific process of predicting the application program to be preloaded by using the preset prediction model is not limited, and for example, the specific process may include collecting a current sample, inputting the current sample into the preset prediction model, and determining the predicted application program to be preloaded according to an output result of the preset prediction model.
Optionally, in this embodiment of the application, prediction models may also be set for different candidate application sets, and in the training process of a prediction model corresponding to one candidate application set, only the operation rules of the application programs included in the candidate application set may be considered, so as to improve the model training speed. Illustratively, this step may include: and determining the target application program to be preloaded contained in the candidate application program set by utilizing the prediction model corresponding to the candidate application program set. The method has the advantages that after the candidate application program set is determined, the target application program is predicted by adopting the corresponding prediction model, all prediction ranges can be realized, and the prediction speed is improved. The algorithm based on the prediction model and the selection of the sample elements can refer to the corresponding contents in the foregoing, and the details are not repeated here. In addition, aiming at different candidate application program sets, different algorithms and different sample elements can be adopted in the process of training the prediction model, so that the personalized prediction model can be set for each candidate application program set in a more targeted manner, and the pertinence and the accuracy of the prediction model are improved.
And 104, preloading the target application program.
In the embodiment of the application, when only one target application program exists, the preloading sequence of the application is not required to be considered; when there are multiple target application programs, the multiple target application programs may be determined one by one as the current application program to be preloaded, and the preloading operation is performed sequentially, or more than 2 target application programs may be determined as the current application program to be preloaded, and the preloading operation is performed simultaneously, that is, the preloading processes of the multiple application programs may be performed in parallel.
In the embodiment of the present application, the specific process of preloading and the loaded resources are not limited, for example, corresponding hardware resources may be allocated to the target application program to be preloaded, and relevant data required for starting is loaded based on the allocated hardware resources. The method comprises the following steps of starting an application process, starting an application service, allocating memory, reading file content, acquiring network data, rendering an interface and the like. Furthermore, the resources to be preloaded may be determined according to the specific type of application to be preloaded. For example, if the application to be preloaded is a social software, a start screen, a contact list, a recent message record, and the like in the application may be preloaded; if the application program to be preloaded is a game, the game background related data in the application program can be preloaded.
Optionally, after the target application program is preloaded, when an operation instruction of the target application program is received, the target application program corresponding to the operation instruction is started based on the preloaded resource.
The application program preloading method provided in the embodiment of the application program preloading method receives unlocking operation acting on the mobile terminal, determines a corresponding candidate application program set according to an input mode of the unlocking operation, determines a target application program to be preloaded contained in the candidate application program set, and preloads the target application program. By adopting the technical scheme, the corresponding candidate application program set can be determined by combining the input mode of the unlocking operation actively input by the user, so that the subjective intention of the user is met, the prediction range can be narrowed, the application program which the user wants to use after the mobile terminal is unlocked is accurately determined, the determined application program is preloaded, and the starting speed of the application program is improved.
In some embodiments, the unlock operation comprises a graphical unlock gesture. The determining a corresponding candidate application program set according to the input mode of the unlocking operation includes: and determining a corresponding candidate application program set according to the input track of the graph unlocking gesture. The advantage of this arrangement is that the input trace style of the graphical unlocking gesture is rich, and more candidate application program sets can be matched.
In some embodiments, the determining the respective set of candidate applications according to the input trajectory of the graphical unlock gesture includes: determining a target desktop entering after unlocking according to the input track of the graph unlocking gesture; and determining the application program corresponding to the application icon contained in the target desktop as a candidate application program set corresponding to the input track. The method has the advantages that the corresponding relation between the input track and the candidate application program set can be simplified, when the candidate application program set to which a certain application program belongs needs to be adjusted, the desktop icon of the application program is directly moved to the adjusted desktop interface, in addition, the corresponding relation between the input track and the desktop interface can be conveniently memorized by a user, and the corresponding target desktop can be quickly and accurately determined through the input track in the input memory. In addition, after the mobile terminal is successfully unlocked, the display screen can automatically display the target desktop instead of displaying the default desktop interface, and the time for searching the application program to be started by switching the desktop interface by the user can be further reduced.
In some embodiments, the determining a corresponding candidate application program set according to the input mode of the unlocking operation includes: and determining a corresponding candidate application program set according to the finger type of the input fingerprint unlocking operation. The advantage of this is that the user typically has 10 fingers that can match a sufficient set of candidate applications, and in addition, fingerprints are biometric, highly secure and easy to remember. In addition, the corresponding candidate application program set can be determined according to the input multiple finger categories, the input times of each finger category and the input sequence. For example, the left thumb is input first, and then the right thumb is input to correspond to the first candidate application program set; inputting a right thumb and then inputting a left thumb corresponding to a second candidate application program set; inputting the left thumb twice in succession corresponds to a third candidate application set, and so on.
Further, determining a corresponding candidate application program set according to the finger type of the input fingerprint unlocking operation includes: determining a target desktop entering after unlocking according to the finger type of the input fingerprint unlocking operation; and determining the application program corresponding to the application icon contained in the target desktop as a candidate application program set corresponding to the finger category. Similarly, the setting has the advantages that the corresponding relation between the fingers and the candidate application program set can be simplified, the application programs contained in the candidate application set can be conveniently adjusted, in addition, the corresponding relation between the fingers and the desktop interface can be further conveniently memorized by a user, and further the corresponding target desktop can be quickly and accurately determined by inputting the memorized fingers. In addition, after the mobile terminal is successfully unlocked, the display screen can automatically display the target desktop instead of displaying the default desktop interface, and the time for searching the application program to be started by switching the desktop interface by the user can be further reduced.
In some embodiments, the preloading the target application includes: and starting preloading the target application program in the process of verifying the unlocking operation. The advantage of this arrangement is that the preloading operation can be performed earlier, and the preloading completion probability or the preloading completion degree when the target application program is actually started by the user is improved. Generally, for various unlocking modes, the mobile terminal needs to verify the currently input unlocking operation, and can unlock the mobile terminal after the verification is successful, and the verification process usually takes a certain time, and generally, the more complicated the unlocking operation or the higher the security performance is, the longer the verification time needs to be taken. In the embodiment of the application, after the mobile terminal receives the unlocking operation acting on the mobile terminal, the input mode of the mobile terminal can be known, the target application program can be quickly obtained, and then the preloading operation can be immediately started, so that the target application program can be preloaded before the unlocking verification operation is completed. If the verification is successful and the preloading operation is not finished yet, the preloading can be continued, and if the preloading is finished, the user can be waited to start the application program; if the verification fails, the system resources occupied by the preloading operation can be released.
In some embodiments, the preloading the target application includes: and preloading the target application program according to the preloading strategy corresponding to the candidate application program set. The advantage of this arrangement is that it is possible to design personalized preloading strategies for different sets of candidate applications, meeting different preloading requirements. The preload policy may include which boot resources to preload, or the type of boot resources to preload. As described above, the preloading procedure may include application process starting, application service starting, memory allocation, file content reading, network data acquisition, interface rendering, and the like, some of which may not be necessary, and may be designed according to characteristics of the application programs included in each candidate application set. For example, some applications may involve less network data or frequent network side updates when starting, and may not be preloaded; for another example, some application programs do not need to play advertisement pictures when being started, and interface rendering and the like are not needed.
In some embodiments, the preloading the target application includes: and preloading an application interface corresponding to the target application program based on a pre-created pre-loaded active window stack, wherein the boundary coordinate corresponding to the pre-loaded active window stack is positioned outside the coordinate range of the display screen.
In the embodiment of the present application, the active window may be understood as a separate interface directly providing interaction and operation for a user, and different names may be used in different operating systems to name the interface. For ease of understanding, the following description will be made taking an Android (Android) operating system as an example.
In the Android system, the active window is called Activity. Activity is a component responsible for interacting with a user that provides a screen (which may be understood as a screen interface, rather than a display screen of an entity) for the user to interact to accomplish a task. In an android application, an Activity is usually a separate screen on which controls can be displayed and events of the user can be monitored and processed. In managing Activity, there are two concepts: task Stack and Stack. The Task corresponds to an application program, the Task is used for storing activities, one Task can store one or more activities, and the activities follow the principle of first-in first-out and last-in first-out. And the Stack is used for managing the Task, generally, one Stack manages the Task to which each Activity required to be shown by one screen belongs, and one Stack can manage one or more tasks, and of course, the Stack also follows the basic management principle of the Stack. The screens described herein are not necessarily completely separate display screens, and in the case of "two screens", the two screens may be only two regions of a complete display screen that independently display respective display contents. Of course, if the terminal has two or even more separate display screens, the "two screens" may also be two separate display screens.
In the Android system, multi-window modes are supported, which may include split screen mode, picture-in-picture mode, and free mode (FreeForm). In the multi-window mode, the Stack in which the application is located may have its own size (size), and may include upper, lower, left, and right coordinates in a coordinate system with the upper left corner of the terminal screen as the origin. For example, (a, b, c, d), which generally describes the boundary of a rectangle, the coordinates of the upper left corner and the coordinates of the lower right corner of the rectangle can be used for representation, i.e. the coordinates of the upper left corner of the rectangle are (a, b), and the coordinates of the lower right corner are (c, d), and such a rectangular area corresponds to the size of Stack. The in-application layout in the Stack is based on the size of the Stack, that is, the application interface corresponding to Activity is displayed within the boundary range of the size.
In the multi-window mode, multiple applications may be allowed to be visible, including both system and user visibility and system-only visibility. The system and the user can see the display on the display screen, and the user can see the display; system-only-visible means that the operating system is visible, but not the user, and may be obscured by foreground applications or displayed outside the display screen as the application is intended to implement.
In the embodiment of the application, the application interface of the target application program is preloaded outside the display screen, the preloading can be realized based on a multi-window mechanism of an operating system, and the size corresponding to the application program is set outside the display screen through the multi-window mechanism so as to achieve the purpose of being invisible to a user, so that the display of the display content of the foreground application program on the display screen is not influenced.
Generally, in the multi-window mode, there may be multiple types of stacks, for example, Home Stack represents a Stack displayed by a desktop application, App Stack represents a Stack displayed by a third-party application, and there may be other split-screen stacks, and contents contained in the three types of stacks may be displayed on a display screen, which are collectively referred to as application active window stacks in this embodiment. In the embodiment of the application, a preloaded active window Stack (preloaded Stack) is added to indicate a Stack displayed by a preloaded application, and the boundary coordinates of the preloaded Stack are set to be outside the coordinate range of a display screen, so that an application program to be preloaded can be displayed on the Stack. For the Android system, a Stack special for displaying preloaded applications can be newly built based on a multi-window mechanism of the Android system. In the embodiment of the application, the reason for newly building the Stack is that the newly built preloaded Stack can own size and visibility, so that the purpose of preloading outside a display screen is achieved.
In the embodiment of the application, the creation time of the preloaded Stack is not limited, and the preloaded Stack can be set to be in a resident state by default before the terminal leaves a factory, namely the preloaded Stack exists all the time; the method can also be established when the terminal is started or after the terminal is successfully unlocked; it may also be created after an application preload event is triggered (which may be before the target application is determined), and so on. Optionally, the preloading an application interface corresponding to the target application program based on a pre-created active window stack includes: judging whether a pre-established preloading active window stack exists or not; if not, creating a preloaded active window stack according to a preset rule; and preloading an application interface corresponding to the target application program based on the created preloading active window stack. The method has the advantages that after the target application program to be preloaded is determined, whether the preloading Stack exists or not is judged, if yes, new construction is not needed, and if not, creation is carried out, so that system resources can be saved. It can be understood that, when a plurality of target applications are included, that is, when a plurality of applications need to be continuously preloaded in a short time, the preloaded Stack is already created before the first target application starts to load, and then the preloaded Stack exists before the second target application starts to load, which may not be necessary.
In the embodiment of the application, a specific process of preloading an application interface corresponding to a target application program based on the preloaded Stack is not limited, and for example, the application interface may be drawn and displayed based on the size of the preloaded Stack.
In some embodiments, the preloading an application interface corresponding to the target application program based on a pre-created preload active window stack includes: creating a target process corresponding to the target application program; creating a task stack corresponding to the target application program in a pre-created preloading active window stack; starting an active window corresponding to the target application program in the task stack based on the target process; and drawing and displaying an application interface corresponding to the target application program based on the started active window. The advantage of setting up like this lies in, can draw and show the application interface of target application program based on the preloading activity window stack outside the screen coordinate scope, can not disturb the operation and the demonstration of foreground application program, guarantees system stability, effectively improves the speed when target application program starts simultaneously. While creating the target process, an initialization process of the target process may also be included. In the execution process of the above steps, preloading of other resources may also be involved, such as application service starting, memory allocation, file content reading, network data acquisition, and the like.
In some embodiments, further comprising: and sending a fake focus notification to the target application program, and keeping continuous drawing and display updating of an application interface corresponding to the target application program in a preset time period based on the fake focus notification. The method has the advantages that the drawing and the display of the application interface can be completed under the condition that the target application program obtains the focus and is visible to the system, the preloading completion degree is improved, and the focus of foreground application is not affected. The focus in the embodiment of the present application is also referred to as an input focus, and the fake focus is independent from the focus corresponding to the foreground application. Generally, for the current Android system, a focus is unique, for example, input operations such as touch and the like only take effect on the focus, the system end and the application end are consistent for inputting focus information, and once the system end modifies the input focus information, the system end sends information that the input focus information changes to the application, so that the method ensures that the input focus information of the system end and the application end is consistent. In the embodiment of the application, the purpose that the application end can forge the focus is achieved by separating the mode that the system end and the application end input the focus information. Specifically, in the embodiment of the application, the focus information is forged for the preloaded application, so that the preloaded application has the focus information, and the focus information of the system end is still correct, so that the preloaded application can be drawn normally, and the purpose of full loading is achieved. The focus exists in the system end and the application end, which can be regarded as a server end (server) and a client end (client), the system end records the application with the focus, and the application end stores a flag bit (flag) to identify whether the application has the focus. The time for forging the input focus can be that when a new window of the Android window system is added and the focus needs to be updated, a forged focus notification is generated and sent. The method for forging the focus may be a method for changing the focus of the window by calling the client end of the window, so that the window acquires the focus. Specifically, the forged focus notification can be sent based on a Binder mechanism, which is the most common mode of interprocess communication of the Android system and adopts a c/s architecture, i.e., a client/service architecture.
In the embodiment of the present application, the preset time period may be designed according to actual situations, and may be, for example, within a fixed time length range after the start of the preloading, or a time period from the start of the preloading to the completion of the preloading, and the like. In some embodiments, the length of the preset time period includes a playing time length of the start advertisement or start animation in the target application program. Some application programs usually play some advertisements or animations during the starting process, the playing time of the advertisements or animations usually ranges from 3 seconds to ten seconds, and during the playing of the advertisements or animations, a user may not have any operation and only wait for the completion of the playing, which wastes valuable time of the user. The method and the device have the advantages that the starting advertisement or the starting animation can be played out of the screen before the target application program is started, and when the target application program is started, the main page or other user operable interfaces of the application program can be directly accessed, so that the operable time point of the target application program is further advanced, and the waiting time is reduced.
In some embodiments, after preloading the application interface corresponding to the target application program based on the pre-created preloading active window stack, the method further includes: and when an operation instruction of the target application program is received, transferring an application interface corresponding to the target application program corresponding to the operation instruction and contained in the preloading active window stack to the display screen for displaying. The method has the advantages that when the target application program really needs to be started, the drawn application interface is directly migrated to the display screen to be displayed, the application interface can be rapidly switched, and the starting speed is improved.
In some embodiments, the migrating an application interface corresponding to a target application program corresponding to the execution instruction, which is included in the preloaded active window stack, to the display screen for displaying includes: migrating a task stack corresponding to a target application program corresponding to the running instruction and contained in the preloading active window stack to the top of an application active window stack; and updating the size information, the configuration information and the visibility of the task stack to realize that the application interface corresponding to the target application program is displayed on the display screen. The advantage that sets up like this lies in, can guarantee the stability of interface migration process, guarantees that the card screen can not appear in the recovery process, the black screen or the migration speed is slow scheduling problem.
For some terminals, especially mobile terminals such as mobile phones and tablet computers, in order to facilitate the use of users, the display modes of the display screen generally include vertical screen display and horizontal screen display, many applications display by default in the vertical screen mode, some applications display by default in the horizontal screen mode (such as some network games), and some applications switch the horizontal and vertical screen display along with the direction in which the user holds the terminal during the use of the terminal. In some embodiments of the present application, a boundary coordinate corresponding to the preloaded active window stack is (H, 0, 2H, H), a coordinate system corresponding to the boundary coordinate is a system coordinate, an origin of the system coordinate is an upper left corner of the display screen, and H is a length of a long side of a display area of the display screen. That is, the side corresponding to H is the maximum side of the display area of the display screen, and is the height of the display screen in the vertical screen display and the width of the display screen in the horizontal screen display. This is done to allow for the display of a landscape screen, pre-loaded application landscape displays, and the normal display of some applications. Fig. 2 is a schematic diagram illustrating a relative position relationship between a preloaded active window stack and a display area of a display screen according to an embodiment of the present disclosure. As shown in fig. 2, at this time, the display screen is in a vertical screen mode, the origin of the terminal system coordinates is the left vertex (0,0) of the display screen 201, the width direction of the display screen 201 is the X axis, the height direction is the Y axis, the boundary coordinates corresponding to the preloaded Stack202 are (H, 0, 2H, H), H is the screen height, that is, the area in the left solid line rectangular range is the main screen display area, and the area in the right dotted line rectangular range is the preloaded display area. Fig. 3 is a schematic diagram illustrating a relative position relationship between a preloaded active window stack and a display area of a display screen according to an embodiment of the present application. As shown in fig. 3, at this time, the display screen is in a landscape mode, the origin of the terminal system coordinates is the left vertex (0,0) of the display screen 301, the height direction of the display screen 301 is the X axis, the width direction is the Y axis, the boundary coordinates corresponding to the preloaded Stack202 are (H, 0, 2H, H), H is the screen height, that is, the area in the left solid line rectangular range is the main screen display area, and the area in the right dotted line rectangular range is the preloaded display area.
The reason why the pre-loaded Stack boundaries are so set is that:
the abscissa of the upper left corner is H, which is an interface for preventing the display screen (also referred to as a main screen) from displaying the preloaded application during the landscape screen, and since the main screen has a landscape mode in addition to the portrait mode, the abscissa of the upper left corner of the rectangular area corresponding to the preloaded Stack is set to the screen height in order to prevent the main screen display area from displaying the local part of the preloaded application during the landscape screen of the main screen.
The ordinate in the upper left corner is 0 in order for the preload application to be able to calculate the status bar height correctly. In order to better design a User Interface (UI), the Android application can customize the top status bar, and if the vertical coordinate corresponding to the upper edge is not equal to 0, the height of the status bar may be wrong.
The abscissa of the lower right corner is 2H (2 times the screen height), that is, the width of the rectangle corresponding to the preloaded Stack is equal to the screen height, so that the size of the preloaded Stack can contain the landscape application at the time of preloading (that is, the application interface is an application program in a landscape display mode).
The ordinate of the lower right corner is H, i.e. the height of the rectangle corresponding to the preloaded Stack is equal to the screen height, so as to preload the size of the Stack and be able to contain the vertical screen application at the time of preloading.
For the reasons described above, the inventors set the size of the preload Stack to (H, 0, 2H, H).
In addition, fig. 4 is a schematic application interface migration diagram provided in the embodiment of the present application, as shown in fig. 4, when an operation instruction of a target application program is received, an application interface 401 corresponding to the target application program included in a preloaded active window Stack is migrated to a display screen 201 to be displayed, specifically, a task to which the preloaded application interface belongs is migrated to the top of an application active window Stack, and size information, configuration information, and visibility of the task are updated, so that the application interface can be normally displayed on the display screen.
Fig. 5 is a schematic flowchart of another application preloading method according to an embodiment of the present application, where the method includes the following steps:
step 501, receiving a graphical unlocking gesture acting on the mobile terminal.
And 502, predicting the application program to be preloaded by adopting a preset prediction model.
Step 503, determining a target desktop entering after unlocking according to the input track of the graph unlocking gesture.
Step 504, determining the application program corresponding to the application icon included in the target desktop as a candidate application program set corresponding to the input track.
And step 505, determining the application program to be preloaded in the determined candidate application program set as a target application program.
And step 506, preloading an application interface corresponding to the target application program based on the pre-created preloading active window stack.
And the boundary coordinate corresponding to the preloading active window stack is positioned outside the coordinate range of the display screen.
And 507, migrating the application interface corresponding to the target application program A contained in the preloaded active window stack to a display screen for displaying when receiving the operation instruction of the target application program A.
According to the method and the device, when the mobile terminal is in a locked state, a graph unlocking gesture acting on the mobile terminal is received, an application prediction event is triggered at the moment, a preset prediction model is adopted to predict the application program to be preloaded, an entering target desktop is determined according to an input track of the graph unlocking gesture, the application program to be preloaded contained in the target desktop is determined to be the target application program, preloading is carried out outside a screen coordinate range, if an operation instruction of the target application program is received, a loaded interface can be directly displayed, and the starting speed of the target application program is improved.
Optionally, step 502 may not be executed, step 503 is directly executed after step 501 is executed, and step 505 is replaced with: and determining the target application program to be preloaded contained in the candidate application program set by utilizing the machine learning-based prediction model corresponding to the determined candidate application program set.
Fig. 6 is a schematic flowchart of another application preloading method according to an embodiment of the present application, where the method includes the following steps:
step 601, receiving an unlocking operation acting on the mobile terminal, and starting to verify the unlocking operation.
And step 602, determining the target desktop entering after unlocking according to the input mode of the unlocking operation.
In the embodiment of the application, a plurality of unlocking modes can be set for the mobile terminal, for example, the unlocking modes comprise digital unlocking, graphical gesture unlocking, fingerprint unlocking and human face unlocking, when the unlocking operation is input, the mobile terminal can confirm the type of the unlocking operation input by a user without verification, namely the input mode, and the target desktop is determined according to the input mode.
Step 603, determining the application program corresponding to the application icon included in the target desktop as a candidate application program set corresponding to the input mode.
And step 604, determining the target application program to be preloaded contained in the candidate application program set by using the machine learning-based prediction model corresponding to the determined candidate application program set.
Step 605, determining a corresponding preloading strategy according to the determined candidate application program set.
And step 606, preloading the target application program according to the determined preloading strategy.
Optionally, this step may be omitted, i.e. all target applications may be preloaded with the same preloading strategy.
And step 607, controlling the mobile terminal to enter a target desktop when the unlocking operation verification is detected to be successful.
It can be understood that the number of the applications included in the target desktop is limited, generally about 20, the target application can be predicted quickly by the prediction model, the target application can be predicted normally before the unlocking verification is successful, and the target application can be preloaded after the prediction is completed.
And step 608, when receiving the operation instruction of the target application program B, starting the target application program B based on the preloaded starting resource.
It can be understood that, when the operation instruction of the target application program is received, whether the preloading operation of the target application program is completed completely is not limited in the embodiment of the present application, if the preloading operation is completed, the target application program may be started by using all the preloading resources, and if the preloading operation is not completed, the target application program may be started by using a part of the starting resources that have completed preloading, and the starting speed of the target application program may still be increased.
According to the application program preloading method, after the unlocking operation acting on the mobile terminal is received, unlocking verification is started, the target desktop which is to enter is determined according to the input mode of the unlocking operation, the target application program which needs to be preloaded is predicted quickly by using the prediction model corresponding to the target desktop and is preloaded, after the unlocking is successful, if the running instruction of the target application program is received, the target application program can be started based on the preloaded starting resource, and the starting speed of the target application program is improved.
Fig. 7 is a block diagram of an application preloading device, which may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may preload an application by executing an application preloading method according to an embodiment of the present disclosure. As shown in fig. 7, the apparatus includes:
an unlocking operation receiving module 701, configured to receive an unlocking operation applied to the mobile terminal;
a candidate application set determining module 702, configured to determine a corresponding candidate application program set according to the input manner of the unlocking operation;
a target application determining module 703, configured to determine a target application to be preloaded included in the candidate application set;
a preloading module 704, configured to preload the target application.
The application program preloading device provided in the embodiment of the application program preloading device receives unlocking operation acting on the mobile terminal, determines a corresponding candidate application program set according to an input mode of the unlocking operation, determines a target application program to be preloaded contained in the candidate application program set, and preloads the target application program. By adopting the technical scheme, the corresponding candidate application program set can be determined by combining the input mode of the unlocking operation actively input by the user, so that the subjective intention of the user is met, the prediction range can be narrowed, the application program which the user wants to use after the mobile terminal is unlocked is accurately determined, the determined application program is preloaded, and the starting speed of the application program is improved.
Optionally, the determining the target application to be preloaded included in the candidate application set includes:
and determining the target application program to be preloaded contained in the candidate application program set by utilizing the prediction model corresponding to the candidate application program set.
Optionally, the unlocking operation includes a graphical unlocking gesture;
the determining a corresponding candidate application program set according to the input mode of the unlocking operation includes:
and determining a corresponding candidate application program set according to the input track of the graph unlocking gesture.
Optionally, the determining a corresponding candidate application set according to the input trajectory of the graphical unlocking gesture includes:
determining a target desktop entering after unlocking according to the input track of the graph unlocking gesture;
and determining the application program corresponding to the application icon contained in the target desktop as a candidate application program set corresponding to the input track.
Optionally, the preloading the target application includes:
and starting preloading the target application program in the process of verifying the unlocking operation.
Optionally, the preloading the target application includes:
and preloading the target application program according to the preloading strategy corresponding to the candidate application program set.
Optionally, the preloading the target application includes:
and preloading an application interface corresponding to the target application program based on a pre-created pre-loaded active window stack, wherein the boundary coordinate corresponding to the pre-loaded active window stack is positioned outside the coordinate range of the display screen.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for preloading applications, the method comprising:
receiving an unlocking operation acting on the mobile terminal;
determining a corresponding candidate application program set according to the input mode of the unlocking operation;
determining a target application program to be preloaded contained in the candidate application program set;
and preloading the target application program.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the application preloading operation described above, and may also perform related operations in the application preloading method provided in any embodiment of the present application.
The embodiment of the application provides a mobile terminal, and the mobile terminal can be integrated with the application preloading device provided by the embodiment of the application. Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 800 may include: the application preloading method comprises a memory 801, a processor 802 and a computer program which is stored on the memory 801 and can be run by the processor 802, wherein the processor 802 realizes the application preloading method according to the embodiment of the application when executing the computer program.
The mobile terminal provided by the embodiment of the application can determine the corresponding candidate application program set by combining the input mode of the unlocking operation actively input by the user, not only accords with the subjective intention of the user, but also can narrow the prediction range, further accurately determines the application program which the user wants to use after the mobile terminal is unlocked, preloads the determined application program, and improves the starting speed of the application program.
Fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application, where the mobile terminal may include: a casing (not shown), a memory 901, a Central Processing Unit (CPU) 902 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU902 and the memory 901 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 901 is used for storing executable program codes; the CPU902 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 901, so as to implement the following steps:
receiving an unlocking operation acting on the mobile terminal;
determining a corresponding candidate application program set according to the input mode of the unlocking operation;
determining a target application program to be preloaded contained in the candidate application program set;
and preloading the target application program.
The mobile terminal further includes: peripheral interface 903, RF (Radio Frequency) circuitry 905, audio circuitry 906, speakers 911, power management chip 908, input/output (I/O) subsystems 909, other input/control devices 910, touch screen 912, other input/control devices 910, and external port 904, which communicate through one or more communication buses or signal lines 907.
It should be understood that the illustrated mobile terminal 900 is merely one example of a mobile terminal and that the mobile terminal 900 may have more or fewer components than shown, 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 the mobile terminal for preloading application programs provided in this embodiment, where the mobile terminal is a mobile phone as an example.
Memory 901, the memory 901 being accessible by the CPU902, the peripheral interface 903, etc., the memory 901 may comprise high speed random access memory, and may also comprise non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 903, the peripheral interface 903 may connect input and output peripherals of the device to the CPU902 and the memory 901.
An I/O subsystem 909, which I/O subsystem 909 may connect input and output peripherals on the device, such as a touch screen 912 and other input/control devices 910, to the peripheral interface 903. The I/O subsystem 909 may include a display controller 9091 and one or more input controllers 9092 for controlling other input/control devices 910. Where one or more input controllers 9092 receive electrical signals from or send electrical signals to other input/control devices 910, the other input/control devices 910 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 9092 may be connected with any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 912, which is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 9091 in the I/O subsystem 909 receives electrical signals from the touch screen 912 or transmits electrical signals to the touch screen 912. The touch screen 912 detects a contact on the touch screen, and the display controller 9091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 912, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 912 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 905 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 905 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 905 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. The RF circuitry 905 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 906 is mainly used to receive audio data from the peripheral interface 903, convert the audio data into an electric signal, and transmit the electric signal to the speaker 911.
The speaker 911 is used to convert the voice signal received by the mobile phone from the wireless network through the RF circuit 905 into sound and play the sound to the user.
And the power management chip 908 is used for supplying power and managing power to the hardware connected with the CPU902, the I/O subsystem and the peripheral interfaces.
The application preloading device, the storage medium and the mobile terminal provided in the above embodiments can execute the application preloading method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to an application preloading 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:
receiving an unlocking operation acting on the mobile terminal; the unlocking operation types comprise character string unlocking, figure gesture unlocking, fingerprint unlocking, iris unlocking and face unlocking, the unlocking operation of the same type comprises different input modes, and the different input modes comprise different input times and different input sequences;
determining a corresponding candidate application program set according to the input type, the input times and the input sequence of the unlocking operation;
determining a target application program to be preloaded contained in the candidate application program set;
determining the length of a long edge of a main screen display area in a display screen, setting a preloading display area in an area corresponding to system coordinates based on the length of the long edge of the main screen display area, and creating a preloading application interface and preloading an active window stack in the preloading display area;
preloading an application interface corresponding to the target application program based on a pre-created preloading active window stack, wherein the boundary coordinate corresponding to the preloading active window stack is positioned outside the coordinate range of the display screen;
the determining a corresponding candidate application program set according to the input type, the input times and the input sequence of the unlocking operation includes:
determining the corresponding candidate application program set according to the input track of the graph unlocking gesture,
the method comprises the following steps:
determining a target desktop entering after unlocking according to the input track of the graph unlocking gesture;
and determining the application program corresponding to the application icon contained in the target desktop as a candidate application program set corresponding to the input track.
2. The method of claim 1, wherein the determining the target application to be preloaded included in the set of candidate applications comprises:
and determining the target application program to be preloaded contained in the candidate application program set by utilizing the prediction model corresponding to the candidate application program set.
3. The method of claim 1, wherein preloading the application interface corresponding to the target application based on the pre-created preloaded active window stack comprises:
and in the process of verifying the unlocking operation, starting to preload an application interface corresponding to the target application program based on a pre-created preloading active window stack.
4. The method of claim 1, wherein preloading the application interface corresponding to the target application based on the pre-created preloaded active window stack comprises:
and based on a pre-created pre-loading active window stack, pre-loading an application interface corresponding to the target application program according to a pre-loading strategy corresponding to the candidate application program set.
5. An application preloading device, comprising:
the unlocking operation receiving module is used for receiving unlocking operation acted on the mobile terminal; the unlocking operation types comprise character string unlocking, figure gesture unlocking, fingerprint unlocking, iris unlocking and face unlocking, the unlocking operation of the same type comprises different input modes, and the different input modes comprise different input times and different input sequences;
the candidate application set determining module is used for determining a corresponding candidate application program set according to the input type, the input times and the input sequence of the unlocking operation;
the determining a corresponding candidate application program set according to the input type, the input times and the input sequence of the unlocking operation includes:
determining the corresponding candidate application program set according to the input track of the graph unlocking gesture,
the method comprises the following steps:
determining a target desktop entering after unlocking according to the input track of the graph unlocking gesture;
determining the application program corresponding to the application icon contained in the target desktop as a candidate application program set corresponding to the input track;
the target application determining module is used for determining a target application program to be preloaded contained in the candidate application program set;
the preloading module is used for preloading an application interface corresponding to the target application program based on a pre-created preloading activity window stack, wherein the boundary coordinate corresponding to the preloading activity window stack is positioned outside the coordinate range of the display screen;
wherein the step of creating a preloaded active window stack comprises: the method comprises the steps of determining the length of a long edge of a main screen display area in a display screen, setting a preloading display area in an area corresponding to system coordinates based on the length of the long edge of the main screen display area, and creating a preloading application interface and preloading an active window stack in the preloading display area.
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 mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the application preloading method according to any one of claims 1-4 when executing the computer program.
CN201810444167.5A 2018-05-10 2018-05-10 Application program preloading method and device, storage medium and mobile terminal Expired - Fee Related CN108664286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810444167.5A CN108664286B (en) 2018-05-10 2018-05-10 Application program preloading method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810444167.5A CN108664286B (en) 2018-05-10 2018-05-10 Application program preloading method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN108664286A CN108664286A (en) 2018-10-16
CN108664286B true CN108664286B (en) 2021-07-09

Family

ID=63778251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810444167.5A Expired - Fee Related CN108664286B (en) 2018-05-10 2018-05-10 Application program preloading method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN108664286B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375860A (en) * 2018-10-31 2019-02-22 奇酷互联网络科技(深圳)有限公司 Send method, computer equipment and the storage medium of finger print information
CN109947324B (en) * 2019-03-26 2022-12-16 江苏康裕企业管理咨询有限公司 Wearable device desktop application display method, wearable device and storage medium
CN110187925B (en) * 2019-05-30 2023-10-17 努比亚技术有限公司 Desktop pre-starting control method, device and computer readable storage medium
CN110471711A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 Application program pre-add support method and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298554A (en) * 2013-07-15 2015-01-21 北京三星通信技术研究有限公司 Multi-task application program management method and device
CN105426214A (en) * 2015-12-08 2016-03-23 惠州Tcl移动通信有限公司 Application program starting method and system as well as mobile terminal
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal
CN107807935A (en) * 2016-09-09 2018-03-16 腾讯科技(深圳)有限公司 Using recommendation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541397B (en) * 2010-12-16 2014-04-16 腾讯科技(深圳)有限公司 Unlocking method and device for touch screen
CN102866853A (en) * 2012-08-23 2013-01-09 广东欧珀移动通信有限公司 Method and device for operating and controlling application program of touch screen terminal
CN103376974A (en) * 2013-06-28 2013-10-30 广州市动景计算机科技有限公司 Window switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298554A (en) * 2013-07-15 2015-01-21 北京三星通信技术研究有限公司 Multi-task application program management method and device
CN105426214A (en) * 2015-12-08 2016-03-23 惠州Tcl移动通信有限公司 Application program starting method and system as well as mobile terminal
CN107807935A (en) * 2016-09-09 2018-03-16 腾讯科技(深圳)有限公司 Using recommendation method and device
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal

Also Published As

Publication number Publication date
CN108664286A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN108762843B (en) Application program preloading method and device, storage medium and intelligent terminal
CN108614722B (en) Application program preloading method and device, storage medium and terminal
CN108647055B (en) Application program preloading method and device, storage medium and terminal
CN108363593B (en) Application program preloading method and device, storage medium and terminal
CN108647052B (en) Application program preloading method and device, storage medium and terminal
CN108595230B (en) Application program preloading method and device, storage medium and terminal
CN108710513B (en) Application program starting method and device, storage medium and terminal
CN108681475B (en) Application program preloading method and device, storage medium and mobile terminal
CN108958830B (en) Application program starting method and device, storage medium and terminal
CN108829457B (en) Application program prediction model updating method and device, storage medium and terminal
US11467855B2 (en) Application preloading method and device, storage medium and terminal
US20190370603A1 (en) Method and apparatus for establishing an application prediction model, storage medium and terminal
CN108595224B (en) Application program prompting method and device, storage medium and terminal
CN108595231B (en) Application program preloading method and device, storage medium and intelligent terminal
US11099861B2 (en) Method for preloading application, storage medium, and terminal
CN108762831B (en) Application program preloading method and device, storage medium and terminal
CN108664286B (en) Application program preloading method and device, storage medium and mobile terminal
CN108920202B (en) Application preloading management method and device, storage medium and intelligent terminal
CN108958828B (en) Application program preloading method and device, storage medium and terminal
CN108776599B (en) Management method and device for preloaded application, storage medium and intelligent terminal
CN108647056B (en) Application program preloading method and device, storage medium and terminal
CN108804153B (en) Application program preloading method and device, storage medium and terminal
CN108762844B (en) Application program preloading method and device, storage medium and terminal
WO2019228149A1 (en) Collection method and apparatus for prediction sample, and storage medium and smart terminal
CN108762836B (en) Management method and device for preloaded application, storage medium and intelligent terminal

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210709