CN108804156A - Application program preloads method, apparatus, storage medium and terminal - Google Patents
Application program preloads method, apparatus, storage medium and terminal Download PDFInfo
- Publication number
- CN108804156A CN108804156A CN201810573618.5A CN201810573618A CN108804156A CN 108804156 A CN108804156 A CN 108804156A CN 201810573618 A CN201810573618 A CN 201810573618A CN 108804156 A CN108804156 A CN 108804156A
- Authority
- CN
- China
- Prior art keywords
- application
- program
- destination application
- preloaded applications
- preloaded
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses application program and preloads method, apparatus, storage medium and terminal.This method includes:It detects and is triggered using pre-loaded event;Determination waits for preloaded applications program;Wait for that preloaded applications program preloads to described, and to it is described wait for the destination application for including in preloaded applications program preload preset time period after, the destination application is forbidden to obtain GPS location fresh information, wherein, the destination application includes based on location-based service LBS applications.The application is by using above-mentioned technical proposal, it can effectively avoid and wait for occurring the case where persistently obtaining GPS location fresh information based on location-based service LBS applications in preloaded applications program, under the premise of ensureing to wait for the startup speed of preloaded applications program, power consumption of terminal can be substantially reduced.
Description
Technical field
The invention relates to application programs to preload technical field more particularly to application program pre-add support method, dress
It sets, storage medium and terminal.
Background technology
Currently, to have become people daily for the terminals such as smart mobile phone, tablet computer, laptop and intelligent appliance
Essential electronic equipment in life.As terminal device is constantly intelligent, operation is all mounted in most terminal devices
System so that terminal device can install rich and varied application program, meet the needs of user is different.
It is constantly promoted, can be installed in most terminal devices dozens or even hundreds of using journey with the configuration of terminal device
Sequence, and become increasingly abundant with the function of application program, the resource of application program required load when running is also more and more.Work as user
When selection starts an application program, terminal can load the resource needed for the application program launching, after to be loaded,
Into the initial interface of application program, whole process will usually spend the several seconds even more than ten seconds time, lead to application program
Starting efficiency is relatively low, and there is an urgent need for improve.
Invention content
The embodiment of the present application provides application program and preloads method, apparatus, storage medium and terminal, can optimize in terminal
The preloading scheme of application program.
In a first aspect, the embodiment of the present application provides a kind of application program pre-add support method, including:
It detects and is triggered using pre-loaded event;
Determination waits for preloaded applications program;
Wait for that preloaded applications program preloads to described, and to the mesh for waiting for including in preloaded applications program
After marking application program preloading preset time period, the destination application is forbidden to obtain GPS location fresh information, wherein
The destination application includes based on location-based service LBS applications.
Second aspect, the embodiment of the present application provide a kind of application program pre-load means, including:
Pre-loaded event detection module, is triggered for detecting using pre-loaded event;
Using determining module, preloaded applications program is waited for for determination;
Disabled module for waiting for that preloaded applications program preloads to described, and is waiting for preloaded applications to described
After the destination application for including in program preloads preset time period, the destination application is forbidden to obtain GPS location
Fresh information, wherein the destination application includes based on location-based service LBS applications.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the application program pre-add support method as described in the embodiment of the present application first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, including memory, and processor and storage are on a memory
And the computer program that can be run in processor, the processor realize such as the embodiment of the present application when executing the computer program
Application program pre-add support method described in first aspect.
The application program that is there is provided in the embodiment of the present application preloads scheme, detects when being triggered using pre-loaded event,
Determination waits for preloaded applications program, then waits for that preloaded applications program preloads to described, and wait preloading to described
After the destination application for including in application program preloads preset time period, the destination application is forbidden to obtain GPS
Location updating message, wherein the destination application includes based on location-based service LBS applications.By using above-mentioned technical side
Case can effectively avoid and wait for persistently obtaining GPS location fresh information based on location-based service LBS applications in preloaded applications program
It happens, under the premise of ensureing to wait for the startup speed of preloaded applications program, power consumption of terminal can be substantially reduced.
Description of the drawings
Fig. 1 is a kind of flow diagram of application program pre-add support method provided by the embodiments of the present application;
Fig. 2 is GPS icons provided by the embodiments of the present application in taskbar display schematic diagram;
Fig. 3 is the interface signal provided by the embodiments of the present application for being shown in notification bar and persistently using GPS location fresh information
Figure;
Fig. 4 is a kind of preloading active window storehouse provided by the embodiments of the present application and shows the opposite of on-screen display (osd) area
Position relationship schematic diagram;
Fig. 5 is another preloading active window storehouse provided by the embodiments of the present application and shows the phase of on-screen display (osd) area
To position relationship schematic diagram;
Fig. 6 is that a kind of application interface provided by the embodiments of the present application migrates schematic diagram;
Fig. 7 is the flow diagram of another application program pre-add support method provided by the embodiments of the present application;
Fig. 8 is the flow diagram of another application program pre-add support method provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of application program pre-load means provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application;
Figure 11 is the structural schematic diagram of another terminal provided by the embodiments of the present application.
Specific implementation mode
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating
, illustrate only for ease of description, in attached drawing and the relevant part of the application rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is the flow diagram of application program pre-add support method provided by the embodiments of the present application, and this method can be by answering
It is executed with program pre-load means, wherein the device can generally be integrated in the terminal by software and or hardware realization.Such as Fig. 1
Shown, this method includes:
Step 101 is detected and is triggered using pre-loaded event.
Illustratively, the terminal in the embodiment of the present application may include mobile phone, tablet computer, laptop and intelligent family
The terminal devices such as electricity.Operating system is mounted in terminal.
Illustratively, can be arranged according to actual conditions using the trigger condition of pre-loaded event, the embodiment of the present application is not
Make specific limit.For example, can meet preset condition in the action for detecting user (such as picks up terminal, entr screen unlock behaviour
Make or input terminal unlock operation etc.) when, pre-loaded event is applied in triggering;Or it can detect foreground application
When change, pre-loaded event is applied in triggering;Or it can be after the pre- flow gauge of preloaded applications, immediately (or by pre-
If after duration) it triggers and applies pre-loaded event;Or can be triggered with fixed time interval etc..It is triggered when using pre-loaded event
Afterwards, system can be detected by the modes such as reading flag bit or reception triggering command and has been triggered using pre-loaded event, be had
Detection mode the embodiment of the present application of body does not also limit.
Step 102, determination wait for preloaded applications program.
Illustratively, application program to be preloaded can be understood as user may the application program that will open, can be with
The fixed application program pre-set, can also be predicted by the way of certain come application program etc..It waits for pre-
The application program of load may include one or more.
Optionally, it prediction model can be used treats the application program of preloading and predicted.The prediction model can be machine
Device learning model, used algorithm may include Recognition with Recurrent Neural Network (Recurrent neural networks, RNN), length
Short-term memory (Long Short-Term Memory, LSTM) network, thresholding cycling element, simple cycle unit, autocoding
Device, decision tree, random forest, characteristic mean classification, post-class processing, Hidden Markov, K arest neighbors (k-
NearestNeighbor, KNN) algorithm, Logic Regression Models, Bayesian model, Gauss model and KL divergences (Kullback-
Leibler divergence) etc..
Optionally, training sample can be acquired during user's using terminal, using training sample to presetting introductory die
Type is trained, and finally obtains the prediction model for predicting application program to be preloaded.Illustratively, it is wrapped in training sample
The element contained may include the time series or order sequence that application program is opened;May include time that application program is opened,
Place and the frequency etc.;The operating status that may include terminal, such as the on off state of mobile data network, the connection shape of hotspot
State, the identity information of the hotspot connected, currently running application program, upper foreground application program, a current application
Program backstage stop duration, current application program the last time be switched to the time on backstage, earphone jack plug shape
State, charged state, battery level information and screen display duration etc.;It may also include the sensor integrated in terminal to collect
Data, such as motion sensor, light sensor, temperature sensor and humidity sensor.
Illustratively, suitable sample elements can be selected according to selected machine learning model, it also can be according to selected
Sample elements determine selected machine learning model, may also be combined with the demand to prediction accuracy and pre-set velocity etc.
The selection etc. of model and sample elements is carried out, the embodiment of the present application does not limit.
In the embodiment of the present application, determination waits for that preloaded applications program may include according to the output result before prediction model
Determination waits for preloaded applications program, can also be predicted including the use of prediction model, by the current output result of prediction model
Determination waits for preloaded applications program.
In the embodiment of the present application, when preloaded applications program is multiple (N number of), prediction model can export candidate and answer
With the startup probability of each candidate's set of applications in collection of programs, the higher candidate application of probability will be started and be determined as waiting preloading
Application program.Optionally, the determination waits for preloaded applications program, including:The startup probability of predicting candidate application program;It will open
The dynamic candidate application program of the higher default value of probability is determined as waiting for preloaded applications program.Illustratively, candidate to apply journey
Sequence may include all application programs installed in terminal, may also comprise certain applications program.Certain applications program can not include
System application can also not include the application program that user is rarely employed.The embodiment of the present application is to candidate application program
Method of determination and quantity do not limit.Optionally, can be made according to each application program in the preset period of time before current time
Candidate application program is determined with number and/or using duration, preset period of time is, for example, 1 month, when access times and/or use
It is long that corresponding application program is determined as candidate application program when being more than corresponding threshold value, alternatively, according to access times and/
Or each application program is ranked up using duration, application program in the top is determined as candidate application program.
Illustratively, prediction model described above can be used to determine the startup probability of each candidate application program.For example,
Training sample when being trained according to prediction model acquires current sample, and current sample is input in prediction model, obtains each time
Select the startup probability of application program.It can will come preceding N's (N is default value) to starting the sequence of probability progress from high to low
Candidate application program is determined as application program to be loaded.The advantages of this arrangement are as follows can be carried out to multiple application programs pre-
Load, and this multiple application program is determined according to probability is started, and can improve the accuracy of prediction.
Step 103 waits for that preloaded applications program preloads to described, and is waiting for preloaded applications program to described
Including destination application preload preset time period after, forbid the destination application to obtain GPS location update letter
Breath.
Wherein, the destination application includes based on location-based service LBS applications.
In the embodiment of the present application, when preloaded applications program only there are one when, without consider application preloading it is suitable
Sequence;And when preloaded applications program has multiple, it can wait for that preloaded applications program is determined as currently waiting for pre-add one by one by multiple
Carry application program, and carry out preload operation successively, also can by 2 or more to wait for that preloaded applications program is determined as currently waiting for pre-
Loading application programs, and it is carried out at the same time preload operation, that is to say, that the preloading procedure of multiple application programs can be parallel
It carries out.
The detailed process of preloading and the resource loaded are not limited in the embodiment of the present application, may be, for example, wait for it is pre-
Loading application programs distribute corresponding hardware resource, and the load of the hardware resource based on distribution starts required related data.Show
Example property, it may include application configuration information, application process startup, application service startup, Memory Allocation, file content reading, net
Network data acquisition and interface rendering etc..In addition, preload resource can according to the concrete type for waiting for preloaded applications program come
It determines.If for example, wait for that preloaded applications program is a social software, can preload start picture in the application program,
Contacts list and recent Message Record etc.;If waiting for, preloaded applications program is a game, can preload the application
Game background related data in program etc..
In the embodiment of the present application, if waited in preloaded applications program comprising based on location-based service (Location
Based Service, LBS) application program (hereinafter referred to as LBS applications) when, namely to the mistake that is preloaded of LBS applications
Cheng Zhong needs constantly to obtain global positioning system (Global Positioning System, GPS) location updating message, very
Extremely, after the completion of being preloaded to LBS applications, and within this period before starting to LBS applications, it is also desirable to constantly obtain GPS
Set fresh information.Although preload operation is invisible to user, when being preloaded to LBS applications, not only need constantly
Ground obtain GPS location fresh information, be easy to cause outside larger extra power consumption, can also on status bar continuously display GPS icons,
And show that the LBS is applied in notification bar and use GPS location fresh information lasting, it is easy that user is caused to perplex.Illustratively,
Fig. 2 is GPS icons in taskbar display schematic diagram.As shown in Fig. 2, dotted line frame 200 indicates taskbar, 201 indicate in taskbar
The GPS icons shown in 200.Fig. 3 is to show the persistently interface schematic diagram using GPS location fresh information in notification bar.Wherein,
Notification bar is to execute the drop-down menu for including notification message shown after pulling operation to taskbar to answer with LBS as described in Figure 3
It is schematically illustrated with to ooze behavior example, row continuously display can be oozed in notification bar in lasting search GPS.So
And if when carrying out preload operation to LBS applications, directly forbid LBS applications to obtain GPS location fresh information, is easy to make
Start resource using corresponding part at LBS to preload completely, when starting LBS applications, needs to reacquire
It could normally start after GPS location fresh information, it is slow to be easy to cause LBS application startup speed.Based on considerations above, the application is real
It applies example to propose to obtain the technical solution of GPS location fresh information with allowing LBS application stage property, that is, treats preloaded applications program
In include destination application preload preset time period after, forbid the destination application to obtain GPS location update
Information, wherein destination application includes LBS applications.
Illustratively, commonly used program, which is opened, takes about 2-6s, is usually no more than 10s, therefore, can be when will be default
Between section be set as 10s.It is understood that after preloading 10s to destination application, the destination application is forbidden to obtain
GPS location fresh information.Optionally, the process destination application preloaded in the preset time period
In, GPS location fresh information is obtained, and preloaded to the destination application based on the GPS location fresh information.
Illustratively, to start to preload destination application in the preset time period of initial time, to allow mesh at the time of
It marks application program and obtains GPS location fresh information, and destination application is preloaded based on GPS location fresh information.
For example, destination application is Amap, 8:00 starts to preload Amap, at eight to 8: 10 seconds this
In the section time, Amap can obtain GPS location fresh information, and the GPS location fresh information based on acquisition is to high moral
Scheme corresponding startup resource to be preloaded.8: 10 seconds to when the enabled instruction for receiving Amap this period section
It is interior, forbid Amap to obtain GPS location fresh information.The advantages of this arrangement are as follows can both have been carried out to LBS applications normal
Preload operation, and it is possible to prevente effectively from the continuously display GPS icons of status bar, show that LBS applications persistently make in notification bar
With GPS location fresh information, the puzzlement caused by user, while power consumption of terminal can also be substantially reduced, reduce the electricity of terminal
Consumption, extends the standby time of terminal.
The application program pre-add support method provided in the embodiment of the present application detects when being triggered using pre-loaded event,
Determination waits for preloaded applications program, then waits for that preloaded applications program preloads to described, and wait preloading to described
After the destination application for including in application program preloads preset time period, the destination application is forbidden to obtain GPS
Location updating message, wherein the destination application includes based on location-based service LBS applications.By using above-mentioned technical side
Case can effectively avoid and wait for persistently obtaining GPS location fresh information based on location-based service LBS applications in preloaded applications program
It happens, under the premise of ensureing to wait for the startup speed of preloaded applications program, power consumption of terminal can be substantially reduced.
In some embodiments, waiting for that the destination application for including in preloaded applications program preloading is default to described
After period, the destination application is forbidden to obtain GPS location fresh information, including:When receiving the first application program
When the location updating message of transmission obtains request, judge whether first application program belongs to described and wait for preloaded applications journey
Sequence;When first application program belongs to described when preloaded applications program, determine that first application program is answered for target
Forbid sending GPS to the destination application after preloading preset time period to the destination application with program
Location updating message, to forbid the destination application to obtain GPS location fresh information.The advantages of this arrangement are as follows both
Extra power consumption caused by GPS location fresh information can persistently be obtained to avoid preloaded applications program is waited for, but can make it is non-wait for it is pre-
Loading application programs (such as application program of current foreground operation) can normally obtain GPS location fresh information, to be carried for user
For normally servicing, user experience can be promoted.
In the embodiment of the present application, each application program can be by location management service (Location Manager
Service, LMS) send position updating request (Request Location Updates) mode, to obtain GPS location more
New information.The each application program for sending position updating request is added to a list of application (such as by location management service
Receiver list) in, after location management service, which receives GPS location, to change, include into list of application is each
Application program sends GPS location fresh information.Illustratively, when the location updating message for receiving the transmission of the first application program obtains
When taking request, judge whether the first application program belongs to and wait for preloaded applications program, when first application program belong to wait for it is pre-
When loading application programs, determine that the first application program is the destination application waited in preloaded applications program.And to target
After application program preloads preset time period, forbid sending GPS location fresh information to destination application, so as to reach
To the purpose for forbidding destination application to obtain GPS location fresh information.It is understood that destination application pre-add
It, will not be to destination application even if location management service receives after GPS location changes after carrying preset time period
Send GPS location fresh information.Optionally, to start to preload destination application as the pre- of initial time at the time of
If in the period, location management service is allowed to send GPS location fresh information to destination application, that is, allow intended application journey
Sequence obtains GPS location fresh information.
In some embodiments, when first application program belongs to described when preloaded applications program, determine described in
First application program is that destination application is forbidden after preloading preset time period to the destination application to institute
It states destination application and sends GPS location fresh information, including:Preloaded applications are waited for when first application program belongs to described
When program, determines that first application program is destination application, the preset time period is added in the management service of position
Delayed tasks, and when reaching the corresponding given time of the delayed tasks at current time, forbid to the intended application journey
Sequence sends GPS location fresh information.The advantages of this arrangement are as follows can GPS more accurately be obtained to destination application
It sets fresh information to forbid being controlled constantly, power consumption of terminal can be further decreased.
In the embodiment of the present application, when the first application program belongs to when preloaded applications program, determine that first applies journey
Sequence is destination application, and the delayed tasks of preset time period are added in the management service of position.Illustratively, preset time period
Delayed tasks may include:After preloading preset time period to destination application, forbid sending out to destination application
GPS location fresh information is sent, for example, forbidding sending GPS location to destination application after preloading 10s to destination application
Fresh information.For another example, the delayed tasks of preset time period may include:It can be sent out within a preset period of time to destination application
GPS location fresh information is sent, and after preloading preset time period to destination application, forbid sending out to destination application
Send GPS location fresh information.It is understood that delayed tasks include:In the preceding 10s preloaded to destination application,
GPS location fresh information can be sent to destination application, and forbid sending GPS to destination application after 10s
Set fresh information.Certainly, it is not to forbid sending GPS location more to destination application in institute's having time after 10s
New information, but, in this period section after 10s to before starting to destination application, forbid to intended application journey
Sequence sends GPS location fresh information.Certainly, the delayed tasks added in the management service of position in the preset time period are to make
Location management service has the corresponding function of delayed tasks.And in the corresponding given time of current time arrival delayed tasks,
The delayed tasks can be executed, that is, forbid sending GPS location fresh information to destination application.Wherein, delayed tasks pair
The given time answered may include that the arrival time of duration is corresponded to from beginning timing to preset time period.
Optionally, the delayed tasks that the preset time period is added in the management service of position, including:In Position Pipe
The delayed tasks of the preset time period are added in the asynchronous process thread being pre-created in reason service;Wherein, described asynchronous
Processing thread sends GPS location fresh information for forbidding to the destination application.It in the embodiment of the present application, can be in place
It sets and is pre-created asynchronous process thread in management service, (when usual starting up of terminal, aligned as location management service is initialized
Management service is set to be initialized) when, asynchronous process thread is created in the management service of position.Wherein, asynchronous process thread can
For deleting destination application in list of application, to forbid sending GPS location fresh information to destination application, wherein
List of application includes location management service when receiving the position updating request that each application program is sent, the list of application of establishment
(each application program for sending position updating request is contained in the list of application).It should be noted that asynchronous process thread
Addition have no effect on location management service other functions normal use.The advantages of this arrangement are as follows can both ensure
Whether the normal use of other functions of location management service can also can obtain destination application GPS location update
The opportunity of information is accurately controlled, and power consumption of terminal can be further decreased.
In some embodiments, described to wait for that preloaded applications program preloads to described, including:Based on being pre-created
Preloading active window storehouse preload described in wait for the corresponding application interface of preloaded applications program, wherein the preloading
The corresponding boundary coordinate of active window storehouse is located at except the coordinate range of display screen.The advantages of this arrangement are as follows corresponding
It is preloaded, can largely be completed using the preparation before starting, promotion waits for preloaded applications program with interface
Startup speed, and do not interfere with the display of the display content of foreground application on the display screen.
In the embodiment of the present application, active window can be regarded as one it is independent be directly facing user provide interaction and operation
Interface may name the interface in different operating system using different nouns.In order to make it easy to understand, below with Android
(Android) following explanation is carried out for operating system.
In android system, active window is referred to as Activity.Activity, which is one, to be responsible for interacting with user
Component provides screen (can be understood as screen interface, and the display screen of non-physical), certain is completed so that user interacts
Item task.In an android application program, Activity is exactly usually an individual screen, it is above can be with
Show that some controls can also be monitored and handle the event of user.In being managed to Activity, there is two such concept:
Task (task stack) and Stack (active window storehouse).Task corresponds to an application program, and Task is used to store Activity,
One or more Activity can be stored in one Task, and these Activity are followed " first-in last-out, last in, first out "
Principle.And Stack is used to be managed Task, in general, each Activity shown needed for one Stack pairs screen
Affiliated Task is managed, and a Stack can manage one or more Task, and certainly, Stack similarly follows storehouse
Basic management principle.The not necessarily complete independent display screen of screen described here, by taking " two screens " as an example, the two
Screen may be the region that two independent displays respectively show content in a full display screen.Certainly, if terminal has
Two even more than two separate display screens, then " two screens " can also be two independent display screens.
In android system, multiwindow pattern is supported, it may include span mode, picture-in-picture mode and free schema
(FreeForm).Under multiwindow pattern, the Stack where application program can have the size (size) of oneself, may include
Using the terminal screen upper left corner as the coordinate up and down in the coordinate system of origin.For example, (a, b, c, d), general description is one
The coordinate on the boundary of a rectangle, coordinate and the lower right corner that the rectangle upper left corner can be used is indicated, i.e. the top left co-ordinate of rectangle
For (a, b), bottom right angular coordinate is (c, d), and such rectangular area just corresponds to the size of Stack.The interior layout of application in Stack
It is to be subject to the size of Stack, that is to say, that the corresponding application interfaces of Activity are carried out in the bounds of size
Display.
Under multiwindow pattern, multiple application programs can be allowed to be in visible state, including system and use it is visible per family
Only system is visible.System and refer to being shown on the display screen with visible per family, and user it can be seen that;Only system
It can be seen that refer to operating system visible, and user is invisible, may be blocked by the application on foreground or as the application to be realized
Display screen outside show.
In the embodiment of the present application, the application interface that preloaded applications program is treated outside display screen is preloaded, can
It is realized with the multiwindow mechanism based on operating system, the corresponding size of application program is located at by display screen by multiwindow mechanism
Curtain is outer and reaches to the sightless purpose of user, to not interfere with the display content of foreground application on the display screen
Display.
In general, under multiwindow pattern, may exist a plurality of types of Stack, as Home Stack indicate desktop application
The Stack of display, App Stack indicate that third-party application shows can also there is other split screens Stack etc..The embodiment of the present application
In, increase preloading active window storehouse (preloading Stack), the Stack shown for indicating preloaded applications newly, and be arranged
The boundary coordinate for preloading Stack is located at except the coordinate range of display screen, and application program to be preloaded may be displayed on
The Stack.For android system, can based on the multiwindow mechanism of android system, create one dedicated for
Show the Stack of preloaded applications.In the embodiment of the present application, newly-built Stack is because newly-built preloading Stack can be allowed to gather around
There are oneself size and visibility, to realize the purpose preloaded outside display screen.
In the embodiment of the present application, the establishment opportunity to preloading Stack does not limit, and can be the acquiescence before terminal is dispatched from the factory
Setting preloads Stack and is in resident state, that is, preloads Stack and always exist;It can also be in starting up of terminal or terminal solution
It is created after locking successfully;It (can be before determination waits for preloaded applications program) can also be created after application pre-loaded event is triggered
Build etc..Optionally, it is described based on the preloading active window storehouse that is pre-created preload described in wait for preloaded applications program
Corresponding application interface, including:Judge whether the preloading active window storehouse being pre-created;If being not present, according to
Preset rules, which create, preloads active window storehouse;Based on the preloading active window storehouse that is created preload described in wait for pre-add
Carry the corresponding application interface of application program.The advantages of this arrangement are as follows to be preloaded waiting for preloaded applications program determining
Later, judge that preloading Stack whether there is, and if it exists, be then not necessarily to newly-built, if being not present, created, can save and be
System resource.It is understood that when preloaded applications program includes multiple, namely need continuous in a short time preload
When multiple application programs, before waiting for that preloaded applications program starts load at first, preloading Stack, which has been created, to be finished, then
Before second is waited for that preloaded applications program starts load, it is existing to preload Stack, it may not be necessary to carry out above-mentioned judgement.
In the embodiment of the present application, the corresponding application interface of preloaded applications program is waited for being based on preloading Stack preloadings
Detailed process do not limit, such as can based on preload Stack size carry out application interface drafting and show etc..
In some embodiments, it is described based on the preloading active window storehouse that is pre-created preload described in wait preloading
The corresponding application interface of application program, including:The corresponding target process of preloaded applications program is waited for described in establishment;It is being pre-created
Preloading active window storehouse in create described in wait for the corresponding task stack of preloaded applications program;Existed based on the target process
The corresponding active window of preloaded applications program is waited for described in starting in the task stack;It is drawn simultaneously based on the active window started
The corresponding application interface of preloaded applications program is waited for described in display.The advantages of this arrangement are as follows screen coordinate model can be based on
The application interface that preloading active window storehouse except enclosing treats preloaded applications program is drawn and is shown, will not interfere
The operation and display of foreground application ensure system stability, while effectively improving when preloaded applications program starts
Speed.While creating target process, it may also include the initialization procedure of target process.In the implementation procedure of above-mentioned steps
In, it is also possible to it is related to the preloading of other resources, such as application service startup, Memory Allocation, file content is read and network data
Obtain etc., the embodiment of the present application does not limit the preloading procedure of other resources.
In some embodiments, further include:It waits for that preloaded applications program sends forgery focus notice to described, and is based on institute
Forgery focus is stated to notify to wait for the lasting drafting of the corresponding application interface of preloaded applications program described in holding within a preset period of time
And display update.The advantages of this arrangement are as follows can wait for preloaded applications program obtain focus and to system it is visible
In the case of complete the drafting and display of application interface, improve the completeness of preloading, and shadow is not generated to the focus of foreground application
It rings.Focus in the embodiment of the present application is also known as input focus, and it is mutual indepedent to forge focus focus corresponding with foreground application.One
As, for current android system, focus is unique, such as the inputs operation focus point such as touch comes into force, right
In input focus information, system end and application end are consistent, and system end will be sent out once changing input focus information to application
It send input focus information changed information, ensures that system end is consistent with application end input focus information in this approach.This Shen
It please realize that application end can forge the mesh of focus in embodiment, by way of piece-rate system end and application end input focus information
's.Specifically, in the embodiment of the present application, focus notice is forged to preloaded applications, makes preloaded applications that there is focus information, and
The focus information of system end is still correct, and processing in this way can enable preloaded applications normally to draw, and reach all
The purpose of load.Focus is present in system end and application end, it is believed that is server-side (server) and client (client), is
System end record gathers around focal application, and application end preserves flag bit (flag) and identifies whether oneself has focus.Forge input focus
Opportunity can be when Android window system increase newly window, need update focus when, generate forge focus notify and carry out
It sends.The method for forging focus can be the method for the change window focus at the ends client for calling window so that the window obtains
Take focus.Specifically, the transmission of focus notice can be carried out forging based on Binder mechanism, Binder mechanism is android system
Interprocess communication most common mode, using c/s frameworks, i.e. client/service architecture.
In the embodiment of the present application, preset time period can be designed according to actual conditions, such as can be started after preloading
Can also be to start to be pre-loaded to the period etc. for completing to preload within the scope of fixed duration.In some embodiments, described default
The length of period includes the playing duration for waiting for starting advertisement or startup animation in preloaded applications program.Some apply journey
Sequence is during startup, it will usually play some advertisements or animation, the playing duration of advertisement or animation is usually 3 seconds to more than ten
Second is differed, and during playing advertisement or animation, user may can not carry out any operation, can only wait for and finish, waste
The quality time of user.The embodiment of the present application the advantages of this arrangement are as follows, can wait for preloaded applications program start before,
It plays to start advertisement or start animation outside screen and can be directly entered application program when preloaded applications program starts
Homepage or the operable interface of other users, so that the operable time point for waiting for preloaded applications program further be carried
Before, reduce the stand-by period.
In some embodiments, it waits preloading described in preloading based on the preloading active window storehouse being pre-created and answer
After the corresponding application interface of program, further include:The intended application for including in preloaded applications program is waited for described in receiving
When the enabled instruction of program, latest GPS location information, and the mesh that will include in the preloading active window storehouse are obtained
The corresponding application interface of mark application program, which is migrated to the display screen, to be shown.The advantages of this arrangement are as follows in target
When application program really needs startup, can quick obtaining latest GPS location information, and directly by drawn application
Interfacial migration is shown to display screen, can not only quickly and accurately carry out GPS positioning, but also can reach application
Interface is switched fast, and is improved and is started speed.
Optionally, in some embodiments, it is waited for described in being preloaded based on the preloading active window storehouse being pre-created
After the corresponding application interface of preloaded applications program, further include:Receive it is described wait for include in preloaded applications program
When the enabled instruction of non-targeted application program, described the non-targeted application program for including in active window storehouse will be preloaded
Corresponding application interface is migrated to the display screen and is shown.
In some embodiments, the destination application pair that will include in the preloading active window storehouse
The application interface answered is migrated to the display screen and is shown, including:To include in the preloading active window storehouse
The corresponding task stack of the destination application is migrated to the top of application activity window stack;Update the size of the task stack
Information, configuration information and visibility, to realize that the corresponding application interface of the destination application is carried out in the display screen
Display.The advantages of this arrangement are as follows can ensure the stability of interfacial migration process, ensure that recovery process is not in card
Screen, the problems such as blank screen or migration velocity are slow.
For some terminals, especially the mobile terminals such as mobile phone and tablet computer show in order to facilitate the use of user
The display mode of display screen curtain generally includes vertical screen display and transverse screen display, and many application program acquiescences are shown using vertical screen mode
Show, and some application programs acquiescence is shown (such as some online games) using transverse screen mode, during the use of terminal,
Some application programs can also hold the direction of terminal with user and carry out the switching that horizontal/vertical screen is shown.In some realities of the application
It applies in example, the corresponding boundary coordinate of the preloading active window storehouse is (H, 0,2H, H), the corresponding seat of the boundary coordinate
Mark system is system coordinates, and the origin of the system coordinates is the upper left corner of the display screen, and H is the display of the display screen
The long side length in region.That is, H it is corresponding while be show screen display area it is maximum while, be in vertical screen display
The height for showing screen is the width of display screen in transverse screen display.The purpose being arranged in this way allows for display screen transverse screen, pre-
Transverse screen display and the normal display of some application programs are applied in load.Fig. 4 is a kind of preloading provided by the embodiments of the present application
The relative position relation schematic diagram of active window storehouse and display on-screen display (osd) area.As shown in figure 4, showing that screen is perpendicular at this time
Screen mode, terminal system origin are the left vertex (0,0) for showing screen 401, and the width direction of display screen 401 is X
Axis, short transverse are Y-axis, and it is (H, 0,2H, H) to preload the corresponding boundary coordinates of Stack402, and H is that screen is high, i.e., the left side is real
Region in line rectangular extent is main on-screen display (osd) area, and the region within the scope of the dashed rectangle of the right is to preload display area.
Fig. 5 is that another preloading active window storehouse provided by the embodiments of the present application is closed with the relative position of on-screen display (osd) area is shown
It is schematic diagram.As shown in figure 5, showing that screen is transverse screen mode at this time, terminal system origin is the left side for showing screen 501
The short transverse on vertex (0,0), display screen 501 is X-axis, and width direction is Y-axis, preloads the corresponding boundaries Stack402 and sits
It is designated as (H, 0,2H, H), H is that screen is high, i.e., the region within the scope of the solid-line rectangle of the left side is main on-screen display (osd) area, the right dotted line
Region in rectangular extent is to preload display area.
The reason of each boundaries Stack are arranged such is preloaded to be:
The abscissa in the upper left corner is H, be in order to prevent transverse screen when show that screen (be alternatively referred to as main screen) is shown to pre-add
The interface of application is carried, because main screen is in addition to vertical screen mode, also transverse screen mode, when main screen transverse screen, in order to prevent
Main screen display area domain shows the part of the application of preloading, so the upper left that will preload the corresponding rectangular areas Stack
Angle abscissa is set as screen height.
The ordinate in the upper left corner is 0, is in order to which preloaded applications can be computed correctly status bar height.Android is applied
For better design user interface (User Interface, UI), the self-defined top state column of meeting, if top is corresponding vertical
Coordinate is not equal to 0, then the height of status bar may mistake.
The abscissa in the lower right corner is 2H (2 times of screen height), that is, the width=screen for preloading the corresponding rectangles of Stack is high, is
(i.e. application interface is transverse screen display mode for transverse screen application when size in order to preload Stack can include preloading
Application program).
The ordinate in the lower right corner is H, that is, the height=screen for preloading the corresponding rectangles of Stack is high, is to preload
The size of Stack can include vertical screen application when preloading.
Based on above-mentioned reason, inventor sets (H, 0,2H, H) size for preloading Stack to.
In addition, Fig. 6, which is a kind of application interface provided by the embodiments of the present application, migrates schematic diagram, as shown in fig. 6, receiving
It is when the enabled instruction of destination application, the destination application for including in preloading active window storehouse is corresponding using boundary
Face 601 migrates to display screen 401 and is shown, lives specifically, migrating the task belonging to preloaded applications interface to application
The top of dynamic window Stack, and update the dimension information, configuration information and visibility of the task, to which application interface can be
It is normally shown on display screen.
Fig. 7 is the flow diagram of another application program pre-add support method provided by the embodiments of the present application, this method packet
Include following steps:
Step 701 detects that determination waits for preloaded applications program when being triggered using pre-loaded event.
Step 702 is treated preloaded applications program and is preloaded.
Step 703, during treating preloaded applications program and being preloaded, when receiving the first application program hair
When the location updating message sent obtains request, judges whether the first application program belongs to and wait for preloaded applications program, if so, holding
Otherwise row step 704 executes step 706.
Step 704 determines that the first application program is destination application, and preset time is being preloaded to destination application
After section, forbid sending GPS location fresh information to destination application, to forbid destination application to obtain GPS location more
New information.
Optionally, during being preloaded within a preset period of time to destination application, GPS location update is obtained
Information, and destination application is preloaded based on GPS location fresh information.
Step 705, in the enabled instruction for receiving destination application, obtain latest GPS location information, and based on
It preloads resource and starts destination application.
Step 706 sends GPS location fresh information to the first application program.
Application program pre-add support method provided by the embodiments of the present application, when receive the first application program transmission position more
When new information obtains request, judge whether the first application program belongs to and wait for preloaded applications journey, if so, determining that first applies journey
Sequence is destination application, after preloading preset time period to destination application, forbids sending to destination application
GPS location fresh information both can be to avoid waiting for preloaded applications to forbid destination application to obtain GPS location fresh information
Program persistently obtains extra power consumption caused by GPS location fresh information, and can make non-to wait for preloaded applications program (before current
The application program of platform operation) GPS location fresh information can be normally obtained, to provide normal service to the user, use can be promoted
It experiences at family.
Fig. 8 is the flow diagram of another application program pre-add support method provided by the embodiments of the present application, this method packet
Include following steps:
Step 801 detects that determination waits for preloaded applications program when being triggered using pre-loaded event.
Step 802 waits for that preloaded applications program is corresponding based on the preloading active window storehouse preloading being pre-created
Application interface.
Wherein, the corresponding boundary coordinate of active window storehouse is preloaded to be located at except the coordinate range of display screen.
Step 803, during preloaded applications interface, when receive the first application program transmission location updating letter
When breath obtains request, judges whether the first application program belongs to and wait for preloaded applications program, if so, 804 are thened follow the steps, it is no
Then, step 807 is executed.
Step 804 determines that the first application program is destination application, and being pre-created in the management service of position is different
The delayed tasks of preset time period are added in step processing thread.
Wherein, asynchronous process thread sends GPS location fresh information for forbidding to destination application.
Step 805, when reaching the corresponding given time of delayed tasks at current time, forbid sending to destination application
GPS location fresh information, to forbid destination application to obtain GPS location fresh information.
Optionally, within a preset period of time based on the preloading active window storehouse preload target application journey being pre-created
During the corresponding application interface of sequence, GPS location fresh information is obtained, and based on GPS location fresh information to preloading mesh
Mark the corresponding application interface of application program.
Step 806, in the enabled instruction for receiving destination application, obtain latest GPS location information, and by pre-add
The corresponding application interface of destination application for including in load active window storehouse is migrated to display screen and is shown.
Step 807 sends GPS location fresh information to the first application program.
Application program pre-add support method provided by the embodiments of the present application, when receive the first application program transmission position more
When new information obtains request, judge whether the first application program belongs to and wait for preloaded applications program, if so, determining the first application
Program is destination application, and preset time period is added in the asynchronous process thread being pre-created in the management service of position
Delayed tasks;And in the corresponding given time of current time arrival delayed tasks, forbid sending GPS to destination application
Fresh information is set, can both ensure the normal use of other functions of location management service, can also be to destination application
The no opportunity that can obtain GPS location fresh information is accurately controlled, and power consumption of terminal can be further decreased.
Fig. 9 is a kind of structural schematic diagram of application program pre-load means provided by the embodiments of the present application, which can be by
Software and or hardware realization is typically integrated in terminal, can be answered to be launched by executing application pre-add support method
It is preloaded with program.As shown in figure 9, the device includes:
Pre-loaded event detection module 901, is triggered for detecting using pre-loaded event;
Using determining module 902, preloaded applications program is waited for for determination;
Disabled module 903 for waiting for that preloaded applications program preloads to described, and is waiting for that preloading is answered to described
After preloading preset time period with the destination application for including in program, the destination application is forbidden to obtain GPS
Set fresh information, wherein the destination application includes based on location-based service LBS applications.
The application program pre-load means provided in the embodiment of the present application detect when being triggered using pre-loaded event,
Determination waits for preloaded applications program, then waits for that preloaded applications program preloads to described, and wait preloading to described
After the destination application for including in application program preloads preset time period, the destination application is forbidden to obtain GPS
Location updating message, wherein the destination application includes based on location-based service LBS applications.By using above-mentioned technical side
Case can effectively avoid and wait for persistently obtaining GPS location fresh information based on location-based service LBS applications in preloaded applications program
It happens, under the premise of ensureing to wait for the startup speed of preloaded applications program, power consumption of terminal can be substantially reduced.
Optionally, which further includes:
Position information acquisition module, for what is preloaded to the destination application in the preset time period
In the process, GPS location fresh information is obtained, and the destination application is carried out in advance based on the GPS location fresh information
Load.
Optionally, the disabled module, including:
Using judging unit, for when the location updating message for receiving the transmission of the first application program obtains request, sentencing
Whether first application program of breaking, which belongs to described, is waited for preloaded applications program;
Forbid unit, for belonging to described when preloaded applications program when first application program, determines described the
One application program is that destination application is forbidden after preloading preset time period to the destination application to described
Destination application sends GPS location fresh information, to forbid the destination application to obtain GPS location fresh information.
Optionally, described to forbid unit, it is used for:
When first application program belongs to described when preloaded applications program, determine that first application program is mesh
Application program is marked, the delayed tasks of the preset time period are added in the management service of position, and described in current time arrival
When the corresponding given time of delayed tasks, forbid sending GPS location fresh information to the destination application.
Optionally, the delayed tasks that the preset time period is added in the management service of position, including:
The delay that the preset time period is added in the asynchronous process thread being pre-created in the management service of position is appointed
Business;Wherein, the asynchronous process thread sends GPS location fresh information for forbidding to the destination application.
Optionally, wait for that preloaded applications program preloads to described, including:
Based on the preloading active window storehouse that is pre-created preload described in wait for the corresponding application of preloaded applications program
Interface, wherein the corresponding boundary coordinate of active window storehouse that preloads is located at except the coordinate range of display screen.
Optionally, preloaded applications program pair is waited for described in being preloaded based on the preloading active window storehouse being pre-created
After the application interface answered, further include:
When receiving the enabled instruction of the destination application, latest GPS location information is obtained, and by the pre-add
The corresponding application interface of the destination application for including in load active window storehouse, which is migrated to the display screen, to be shown
Show.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable
Instruction is used for executing application pre-add support method when being executed by computer processor, and this method includes:
It detects and is triggered using pre-loaded event;
Determination waits for preloaded applications program;
Wait for that preloaded applications program preloads to described, and to the mesh for waiting for including in preloaded applications program
After marking application program preloading preset time period, the destination application is forbidden to obtain GPS location fresh information, wherein
The destination application includes based on location-based service LBS applications.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other types
Memory or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet)
Calculation machine system.Second computer system can provide program instruction to the first computer for executing.Term " storage medium " can
To include two or more that may reside in different location (such as in different computer systems by network connection)
Storage medium.Storage medium can store the program instruction that can be executed by one or more processors and (such as be implemented as counting
Calculation machine program).
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer
The application program preload operation that executable instruction is not limited to the described above can also be performed the application any embodiment and be provided
Application program pre-add support method in relevant operation.
The embodiment of the present application provides a kind of terminal, and it is pre- that application program provided by the embodiments of the present application can be integrated in the terminal
Loading device.Figure 10 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application.Terminal 1000 may include:Memory
1001, on a memory and can be in the computer program of processor operation, the processor 1002 hold for processor 1002 and storage
The application program pre-add support method as described in the embodiment of the present application is realized when the row computer program.
Terminal provided by the embodiments of the present application, can effectively avoid wait in preloaded applications program based on location-based service LBS
Occur using the case where lasting acquisition GPS location fresh information, in the premise for the startup speed for ensureing to wait for preloaded applications program
Under, power consumption of terminal can be substantially reduced.
Figure 11 is the structural schematic diagram of another terminal provided by the embodiments of the present application, which may include:Shell (figure
In be not shown), memory 1101, central processing unit (central processing unit, CPU) 1102 (also known as processor,
Hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the shell
The space interior that body surrounds;The CPU1102 and the memory 1101 are arranged on the circuit board;The power circuit,
For each circuit or the device power supply for the terminal;The memory 1101, for storing executable program code;It is described
CPU1102 is run and the executable program code by reading the executable program code stored in the memory 1101
Corresponding computer program, to realize following steps:
It detects and is triggered using pre-loaded event;
Determination waits for preloaded applications program;
Wait for that preloaded applications program preloads to described, and to the mesh for waiting for including in preloaded applications program
After marking application program preloading preset time period, the destination application is forbidden to obtain GPS location fresh information, wherein
The destination application includes based on location-based service LBS applications.
The terminal further includes:Peripheral Interface 1103, RF (Radio Frequency, radio frequency) circuit 1105, voicefrequency circuit
1106, loud speaker 1111, power management chip 1108, input/output (I/O) subsystem 1109, other input/control devicess
1110, touch screen 1112, other input/control devicess 1110 and outside port 1104, these components pass through one or more
Communication bus or signal wire 1107 communicate.
It should be understood that graphic terminal 1100 be only terminal an example, and terminal 1100 can have than
Shown in the drawings more or less component can combine two or more components, or can have different
Component configures.Various parts shown in the drawings can exist including one or more signal processings and/or application-specific integrated circuit
It is realized in the combination of interior hardware, software or hardware and software.
Just the terminal provided in this embodiment preloaded for application program is described in detail below, and the terminal is with hand
For machine.
Memory 1101, the memory 1101 can be by the access such as CPU1102, Peripheral Interface 1103, the memories
1101 may include high-speed random access memory, can also be deposited including nonvolatile memory, such as one or more disks
Memory device, flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU1102 by Peripheral Interface 1103, the Peripheral Interface 1103
With memory 1101.
I/O subsystems 1109, the I/O subsystems 1109 can be by the input/output peripherals in equipment, such as touch screen
1112 and other input/control devicess 1110, it is connected to Peripheral Interface 1103.I/O subsystems 1109 may include display control
Device 11091 and one or more input controllers 11092 for controlling other input/control devicess 1110.Wherein, one or
Multiple input controller 11092 from other input/control devicess 1110 receives electric signal or to other input/control devices
1110 send electric signal, other input/control devicess 1110 may include physical button (pressing button, rocker buttons etc.), dial
Dialer, control stick, clicks idler wheel at slide switch.It is worth noting that input controller 11092 can be with any one following company
It connects:The indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 1112, the touch screen 1112 are the input interface and output interface between user terminal and user, will
Visual output is shown to user, and visual output may include figure, text, icon, video etc..
Display controller 11091 in I/O subsystems 1109 from touch screen 1112 receives electric signal or to touch screen
1112 send electric signal.Touch screen 1112 detects the contact on touch screen, and display controller 11091 converts the contact detected
It for the interaction with the user interface object being shown on touch screen 1112, that is, realizes human-computer interaction, is shown on touch screen 1112
User interface object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment is also
May include light mouse, light mouse is the touch sensitivity for not showing the touch sensitive surface visually exported, or formed by touch screen
The extension on surface.
RF circuits 1105 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone with it is wireless
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 1105 receive and send RF
Signal, RF signals are also referred to as electromagnetic signal, and RF circuits 1105 convert electrical signals to electromagnetic signal or are converted to electromagnetic signal
Electric signal, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 1105 may include using
In the known circuit for executing these functions comprising but be not limited to antenna system, RF transceivers, one or more amplifiers, adjust
Humorous device, one or more oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user
Mark module (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 1106 is mainly used for receiving audio data from Peripheral Interface 1103, which is converted to electricity
Signal, and the electric signal is sent to loud speaker 1111.
Loud speaker 1111, the voice signal for receiving mobile phone from wireless network by RF circuits 1105, is reduced to sound
Sound simultaneously plays the sound to user.
Power management chip 1108, the hardware for being connected by CPU1102, I/O subsystem and Peripheral Interface are supplied
Electricity and power management.
It is arbitrarily real that application program pre-load means, storage medium and the terminal provided in above-described embodiment can perform the application
The application program pre-add support method that example is provided is applied, has and executes the corresponding function module of this method and advantageous effect.Not upper
The technical detail of detailed description in embodiment is stated, reference can be made to the application program preloading side that the application any embodiment is provided
Method.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. a kind of application program pre-add support method, which is characterized in that including:
It detects and is triggered using pre-loaded event;
Determination waits for preloaded applications program;
It waits for that preloaded applications program preloads to described, and is waiting for that the target for including in preloaded applications program is answered to described
After preloading preset time period with program, the destination application is forbidden to obtain GPS location fresh information, wherein described
Destination application includes based on location-based service LBS applications.
2. according to the method described in claim 1, it is characterized in that, further including:
During preloading to the destination application in the preset time period, GPS location update letter is obtained
Breath, and the destination application is preloaded based on the GPS location fresh information.
3. according to the method described in claim 1, it is characterized in that, to the target for waiting for including in preloaded applications program
After application program preloads preset time period, the destination application is forbidden to obtain GPS location fresh information, including:
When the location updating message for receiving the transmission of the first application program obtains request, whether first application program is judged
Belong to described and waits for preloaded applications program;
When first application program belongs to described when preloaded applications program, determine that first application program is answered for target
Forbid sending GPS to the destination application after preloading preset time period to the destination application with program
Location updating message, to forbid the destination application to obtain GPS location fresh information.
4. according to the method described in claim 3, it is characterized in that, waiting for that preloading is answered when first application program belongs to described
When with program, determine that first application program is destination application, when preloading default to the destination application
Between after section, forbid sending GPS location fresh information to the destination application, including:
When first application program belongs to described when preloaded applications program, determine that first application program is answered for target
With program, the delayed tasks of the preset time period are added in the management service of position, and the delay is reached at current time
When the corresponding given time of task, forbid sending GPS location fresh information to the destination application.
5. according to the method described in claim 4, it is characterized in that, described add the preset time in the management service of position
The delayed tasks of section, including:
The delayed tasks of the preset time period are added in the asynchronous process thread being pre-created in the management service of position;Its
In, the asynchronous process thread sends GPS location fresh information for forbidding to the destination application.
6. according to the method described in claim 1, it is characterized in that, wait for that preloaded applications program preloads to described, wrap
It includes:
Based on the preloading active window storehouse that is pre-created preload described in wait for the corresponding application interface of preloaded applications program,
Wherein, the corresponding boundary coordinate of active window storehouse that preloads is located at except the coordinate range of display screen.
7. according to the method described in claim 6, it is characterized in that, pre- based on the preloading active window storehouse being pre-created
After waiting for the corresponding application interface of preloaded applications program described in load, further include:
When receiving the enabled instruction of the destination application, latest GPS location information is obtained, and the preloading is lived
The corresponding application interface of the destination application for including in dynamic window stack, which is migrated to the display screen, to be shown.
8. a kind of application program pre-load means, which is characterized in that including:
Pre-loaded event detection module, is triggered for detecting using pre-loaded event;
Using determining module, preloaded applications program is waited for for determination;
Disabled module for waiting for that preloaded applications program preloads to described, and is waiting for preloaded applications program to described
In include destination application preload preset time period after, forbid the destination application to obtain GPS location update
Information, wherein the destination application includes based on location-based service LBS applications.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The application program pre-add support method as described in any in claim 1-7 is realized when row.
10. a kind of terminal, which is characterized in that including memory, processor and storage can be run on a memory and in processor
Computer program, the application journey as described in claim 1-7 is any is realized when the processor executes the computer program
Sequence pre-add support method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810573618.5A CN108804156A (en) | 2018-06-06 | 2018-06-06 | Application program preloads method, apparatus, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810573618.5A CN108804156A (en) | 2018-06-06 | 2018-06-06 | Application program preloads method, apparatus, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108804156A true CN108804156A (en) | 2018-11-13 |
Family
ID=64087283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810573618.5A Pending CN108804156A (en) | 2018-06-06 | 2018-06-06 | Application program preloads method, apparatus, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108804156A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880944A (en) * | 2020-06-15 | 2020-11-03 | 视联动力信息技术股份有限公司 | Data processing method, data processing device, conference management scheduling system and computer medium |
CN112099910A (en) * | 2020-08-28 | 2020-12-18 | 广州探迹科技有限公司 | Preloading method of algorithm model in container cluster |
CN114661377A (en) * | 2022-03-31 | 2022-06-24 | 四川酷比通信设备有限公司 | Software preloading method based on position information and preloading system thereof |
CN114760622A (en) * | 2022-04-20 | 2022-07-15 | 四川酷比通信设备有限公司 | Activity-based software preloading method, terminal and preloading system |
CN115016884A (en) * | 2022-07-21 | 2022-09-06 | 维沃移动通信有限公司 | Application program control method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479094A (en) * | 2010-11-30 | 2012-05-30 | 英业达股份有限公司 | Operation method of portable communication device |
US8769305B2 (en) * | 2011-03-21 | 2014-07-01 | Moncana Corporation | Secure execution of unsecured apps on a device |
CN104298554A (en) * | 2013-07-15 | 2015-01-21 | 北京三星通信技术研究有限公司 | Multi-task application program management method and device |
CN106919313A (en) * | 2017-04-21 | 2017-07-04 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of application program |
US20170286561A1 (en) * | 2016-04-04 | 2017-10-05 | International Business Machines Corporation | System and method to accelerate accessing content |
CN107766098A (en) * | 2017-09-26 | 2018-03-06 | 深圳天珑无线科技有限公司 | Using backstage orientation management method, mobile terminal and storage medium |
-
2018
- 2018-06-06 CN CN201810573618.5A patent/CN108804156A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479094A (en) * | 2010-11-30 | 2012-05-30 | 英业达股份有限公司 | Operation method of portable communication device |
US8769305B2 (en) * | 2011-03-21 | 2014-07-01 | Moncana Corporation | Secure execution of unsecured apps on a device |
CN104298554A (en) * | 2013-07-15 | 2015-01-21 | 北京三星通信技术研究有限公司 | Multi-task application program management method and device |
US20170286561A1 (en) * | 2016-04-04 | 2017-10-05 | International Business Machines Corporation | System and method to accelerate accessing content |
CN106919313A (en) * | 2017-04-21 | 2017-07-04 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of application program |
CN107766098A (en) * | 2017-09-26 | 2018-03-06 | 深圳天珑无线科技有限公司 | Using backstage orientation management method, mobile terminal and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880944A (en) * | 2020-06-15 | 2020-11-03 | 视联动力信息技术股份有限公司 | Data processing method, data processing device, conference management scheduling system and computer medium |
CN112099910A (en) * | 2020-08-28 | 2020-12-18 | 广州探迹科技有限公司 | Preloading method of algorithm model in container cluster |
CN112099910B (en) * | 2020-08-28 | 2023-08-11 | 广州探迹科技有限公司 | Preloading method for algorithm model in container cluster |
CN114661377A (en) * | 2022-03-31 | 2022-06-24 | 四川酷比通信设备有限公司 | Software preloading method based on position information and preloading system thereof |
CN114760622A (en) * | 2022-04-20 | 2022-07-15 | 四川酷比通信设备有限公司 | Activity-based software preloading method, terminal and preloading system |
CN114760622B (en) * | 2022-04-20 | 2023-09-26 | 四川酷比通信设备有限公司 | Software preloading method, terminal and preloading system based on liveness |
CN115016884A (en) * | 2022-07-21 | 2022-09-06 | 维沃移动通信有限公司 | Application program control method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363593B (en) | Application program preloading method and device, storage medium and terminal | |
CN108614722B (en) | Application program preloading method and device, storage medium and terminal | |
CN108804157A (en) | Application program preloads method, apparatus, storage medium and terminal | |
EP3575962B1 (en) | Method and device for preloading application, storage medium and intelligent terminal | |
CN108681475B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN108958830A (en) | Application program launching method, device, storage medium and terminal | |
CN108710513A (en) | Application program launching method, device, storage medium and terminal | |
CN108647055B (en) | Application program preloading method and device, storage medium and terminal | |
CN108920156A (en) | Application program prediction model method for building up, device, storage medium and terminal | |
CN108628645A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108595224A (en) | Application prompts method, apparatus, storage medium and terminal | |
CN108829456A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108958828B (en) | Application program preloading method and device, storage medium and terminal | |
CN108829457A (en) | Application program prediction model update method, device, storage medium and terminal | |
CN108804153B (en) | Application program preloading method and device, storage medium and terminal | |
CN108595231A (en) | Application program preloads method, apparatus, storage medium and intelligent terminal | |
CN108804156A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108762837A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108647056B (en) | Application program preloading method and device, storage medium and terminal | |
CN108762831A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108762844A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108647057A (en) | Screen orientation setting method, device, storage medium and terminal | |
CN108664285A (en) | Application program preloads method, apparatus, storage medium and mobile terminal | |
CN108776599A (en) | Management method, device, storage medium and the intelligent terminal of preloaded applications | |
CN108762836A (en) | Management method, device, storage medium and the intelligent terminal of preloaded applications |
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 |