CN106325913A - Application program starting method and apparatus - Google Patents

Application program starting method and apparatus Download PDF

Info

Publication number
CN106325913A
CN106325913A CN201510389008.6A CN201510389008A CN106325913A CN 106325913 A CN106325913 A CN 106325913A CN 201510389008 A CN201510389008 A CN 201510389008A CN 106325913 A CN106325913 A CN 106325913A
Authority
CN
China
Prior art keywords
application program
interface
starting
user
application
Prior art date
Application number
CN201510389008.6A
Other languages
Chinese (zh)
Inventor
刘奇
张戈
李文刚
王玉龙
Original Assignee
龙芯中科技术有限公司
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 龙芯中科技术有限公司 filed Critical 龙芯中科技术有限公司
Priority to CN201510389008.6A priority Critical patent/CN106325913A/en
Publication of CN106325913A publication Critical patent/CN106325913A/en

Links

Abstract

The present invention provides an application program starting method and apparatus. The application program starting method comprises starting an application program after an operating system starts, and hiding the started application program on a first operation interface invisible to a user; and receiving an instruction, sent by the user, of starting the application program, and loading the application program from the first operation interface to a second operation interface visible to the user. According to the application program starting method provided in the present invention, time that the user waits for starting of the application program can be shortened, thereby improving a starting effect of the application program.

Description

Application program launching method and device

Technical field

The present invention relates to computer realm, particularly relate to a kind of application program launching method and device.

Background technology

User waits after clicking on the icon of application program that the startup of application program is make user feel depressed one Part thing, therefore, shortens user and waits that the time of application program launching will be greatly enhanced application program Start effect.The startup of application program is generally divided into cold start-up and thermal starting two kinds.So-called cold start-up, be When referring to application program launching, system-program code and application code, the most not in internal memory, need from magnetic Dish extracts them, such as: system boot or start application program first after restarting;Or start It is turned off after application program, is again started up after being then passed through one period of long period.So-called thermal starting, When referring to application program launching, in major part system code Already in internal memory, such as: application program It is again started up at short notice after starting first.

For cold start-up mode, owing to needs are by system code, application code, related libraries and phase Closing assembly and extract internal memory from disk, therefore, the startup time of application program cold start-up is equal to from disk Time used by data of extracting processes with central processing unit (Central Processing Unit is called for short CPU) Time sum used by data, and it is primarily limited to disk input and output (input/output, abbreviation I/O).In order to shorten the startup time of application program cold start-up, it should reduce the data of loading as far as possible Amount.In the prior art, prestrain technology is generally used, i.e. prejudge program code to be started And related libraries, and it is loaded in internal memory.

For thermal starting mode, owing to the most of system code needed is in internal memory, it is to avoid magnetic Dish I/O, has shortened the startup time of application program, therefore, has applied journey relative to cold start-up mode The startup time of sequence thermal starting is primarily limited to the calculating resource of CPU.

But, along with application program is the most complicated, need the code loaded during application program launching and be correlated with Storehouse gets more and more, and is difficult to predict code and the related libraries of real use, and the mistake often resulting in data adds Carry, thus cause substantial amounts of magnetic disc i/o and CPU to perform extremely complex calculating, add application journey The sequence startup time when cold start-up or thermal starting, accordingly, add user and wait that application program opens The dynamic time, reduce the startup effect of application program.

Summary of the invention

The present invention provides a kind of application program launching method and device, can shorten user and wait application program The time started, improve the startup effect of application program.

The application program launching method that the present invention provides, including:

After os starting start application program, and will start after described application hides to On sightless first operation interface, family;

Receive the instruction starting described application program that user sends, by described application program from described the One operation interface is loaded into second operation interface visible to user.

The application program launching device that the present invention provides, including:

Start module, after os starting, start application program;

Receiver module, for receiving the instruction starting described application program that user sends;

Interface manager module, answering after starting after starting described application program in described startup module It is hidden on the first operation interface sightless to user by program;When described receiver module receives startup The instruction of described application program, being loaded into from described first operation interface by described application program can to user The the second operation interface seen.

The invention provides a kind of application program launching method and device, application program launching method includes: After os starting start application program, and will start after described application hides to user not On visible first operation interface;Receive the instruction starting described application program that user sends, by institute State application program and be loaded into second operation interface visible to user from described first operation interface.The present invention The application program launching method provided, by pre-actuating application program, and by application hides the On one operation interface, invisible to user, when receiving the instruction starting application program that user sends Time, it is only necessary to from the sightless first operation interface of user, the application program having been turned on is loaded into user can The the second operation interface seen, substantially reduces user and waits the time of application program launching, improve The startup effect of application program.

Accompanying drawing explanation

In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing used required for executing in example or description of the prior art does one and introduces simply, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.

The flow chart of the application program launching method that Fig. 1 provides for the embodiment of the present invention one;

The flow chart of the application program launching method that Fig. 2 provides for the embodiment of the present invention two;

The flow chart of the application program launching method that Fig. 3 provides for the embodiment of the present invention three;

The structural representation of the application program launching device that Fig. 4 provides for the embodiment of the present invention one.

Detailed description of the invention

For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.

The flow chart of the application program launching method that Fig. 1 provides for the embodiment of the present invention one, the present embodiment carries The application program launching method of confession, executive agent can be application program launching device, such as: calculate Machine, server etc..As it is shown in figure 1, the application program launching method that the present embodiment provides, can wrap Include:

After step 101, os starting start application program, and will start after application hides On first operation interface sightless to user.

In this step, along with the startup of operating system, also can start application program, cold opening can be used Flowing mode.Owing to the startup of application program is not due to what user instruction caused, so, after starting Application hides to user sightless first operation interface on.

Optionally, start application program after os starting, may include that

During os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then start application journey Sequence.

Because os starting when, system loading is the biggest, so, in order to not increase Adding system load and do not increase startup time of operating system, needs real-time monitoring system load, when When the rate of load condensate of CPU is less than predetermined threshold value, just start application program.Wherein, predetermined threshold value can basis Needs are configured.

Optionally, application program is started after os starting, it is also possible to including:

In Preset Time after os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then open Dynamic application program.

In order to not affect the startup of operating system, can be at the Preset Time after os starting In, monitor cpu load rate, when the rate of load condensate of CPU is less than predetermined threshold value, just start application journey Sequence.Wherein, Preset Time and predetermined threshold value can be configured as required.

Step 103, receive the instruction starting application program that user sends, by application program from first Operation interface is loaded into second operation interface visible to user.

Owing to application program has been started up, being simply hidden on the first operation interface, user is invisible.When When receiving the instruction starting application program that user sends, it is only necessary to by opening on the first operation interface Dynamic application program is loaded on the second operation interface, and therefore, user sends and starts application program After instruction, wait that the time of application program launching is the application program that application program launching device will have been turned on The time at the second operation interface it is loaded into, compared to the cold start-up of application program, greatly from the first operation interface Shorten greatly user and wait the time of application program launching, improve the startup effect of application program.

Present embodiments provide a kind of application program launching method, including: starting after os starting should By program, and the application hides after starting is on first operation interface sightless to user, connects Receiving the instruction starting application program that user sends, it is right to be loaded into from the first operation interface by application program The visible second operation interface of user.The application program launching method that the present embodiment provides, by opening in advance Dynamic application program, and by application hides on first operation interface sightless to user, work as reception During the instruction starting application program sent to user, it is only necessary to by the application program that has been turned on from user not Visible first operation interface is loaded on the visible second operation interface of user, substantially reduces use Family waits the time of application program launching, improves the startup effect of application program.

The flow chart of the application program launching method that Fig. 2 provides for the embodiment of the present invention two, the present embodiment exists On the basis of embodiment one, it is provided that the another kind of implementation of application program launching method.Such as Fig. 2 institute Show that the application program launching method that the present embodiment provides may include that

After step 201, os starting start application program, and will start after application hides On first operation interface sightless to user.

When each monitoring end cycle, step 203, monitoring application program, judge that application program is the most just Running.If it is not, then restart application program, the application hides after starting is in the first operation On interface.

In this step, need the time every the monitoring cycle that application program is monitored, if application Program stopped run, then restart application program, can to use thermal starting mode, and apply journey Sequence is hidden on the first operation interface, i.e. ensure that application program is constantly in starting state and to user not Visible.Wherein, the monitoring cycle can be configured as required.

Step 205, receive the instruction starting application program that user sends, by application program from first Operation interface is loaded into second operation interface visible to user.

Owing to step 203 makes application program be constantly in starting state and invisible to user, so, When receiving the instruction starting application program that user sends, it is only necessary to by the application program that has been turned on from First operation interface is loaded into the second operation interface, shorten user wait application program launching time Between, improve the startup effect of application program.

Present embodiments provide a kind of application program launching method, including: starting after os starting should By program, and the application hides after starting is on first operation interface sightless to user, prison Survey application program, judge whether application program is currently running when each monitoring end cycle, if it is not, then Restarting application program, the application hides after starting, on the first operation interface, receives use The instruction starting application program that family sends, being loaded into from the first operation interface by application program can to user The the second operation interface seen.The application program launching method that the present embodiment provides, by pre-actuating application Program, and make application program be constantly in starting state and be hidden in user not by cycle monitoring On visible first operation interface, when receiving the instruction starting application program that user sends, it is only necessary to The application program having been turned on is loaded into user visible second from the sightless first operation interface of user On operation interface, substantially reduce user and wait the time of application program launching, improve application journey The startup effect of sequence.

The flow chart of the application program launching method that Fig. 3 provides for the embodiment of the present invention three, the present embodiment exists On the basis of embodiment one and embodiment two, it is provided that another realization side of application program launching method Formula.As it is shown on figure 3, the application program launching method that the present embodiment provides, may include that

After step 301, os starting start application program, and will start after application hides On first operation interface sightless to user.

When each monitoring end cycle, step 303, monitoring application program, judge that application program is the most just Running.If it is not, then restart application program, the application hides after starting is in the first operation On interface.

Step 305, receive the instruction starting application program that user sends, by application program from first Operation interface is loaded into second operation interface visible to user.

Step 307, receive the instruction closing application program that user sends, application hides is existed On first operation interface.

In this step, when receiving the instruction closing application program that user sends, by application program Being hidden on the first operation interface sightless to user, keeping application program is starting state and to user Invisible.So, when again receiving the instruction starting application program that user sends, it is only necessary to will The application program having been turned on is loaded into the second operation interface from the first operation interface, shortens user etc. The time that program to be applied starts, improve the startup effect of application program.

Wherein, the instruction closing application program that user sends is received, by application hides first Operation interface on, can have multiple implementation, such as: can directly by application hides first On operation interface, shorten user and close the time of application program;Can also first close application program, then Restart application program and by application hides on the first operation interface, owing to having restarted one Secondary application program, can reduce application program and take memory headroom, reduces system loading.

Present embodiments provide a kind of application program launching method, including: starting after os starting should By program, and the application hides after starting is on first operation interface sightless to user, prison Survey application program, judge whether application program is currently running when each monitoring end cycle, if it is not, then Restarting application program, the application hides after starting, on the first operation interface, receives use The instruction starting application program that family sends, being loaded into from the first operation interface by application program can to user The the second operation interface seen, receives the instruction closing application program that user sends, and application program is hidden Ensconce on the first operation interface.The application program launching method that the present embodiment provides, should by pre-actuating By program, and by cycle monitoring and restarting after closing application program so that application program one Directly it is in starting state and is hidden on the first operation interface sightless to user, sending out when receiving user During the instruction starting application program gone out, it is only necessary to by the application program that has been turned on from user sightless the One operation interface is loaded on the visible second operation interface of user, and substantially reducing user's wait should The time started by program, improve the startup effect of application program.

The structural representation of the application program launching device that Fig. 4 provides for the embodiment of the present invention one, this enforcement The application program launching device that example provides, such as computer, server etc., it is used for performing Fig. 1 to Fig. 3 Shown application program launching method.As shown in Figure 4, the application program launching dress that the present embodiment provides Put, may include that

Start module 11, after os starting, start application program.

Receiver module 13, for receiving the instruction starting application program that user sends.

Interface manager module 15, for starting the application after starting after module 11 starts application program Program is hidden on the first operation interface sightless to user;Answer when receiver module 13 receives startup With the instruction of program, application program is loaded into from the first operation interface second operation circle visible to user Face.

Optionally, starting module 11 can be specifically for:

During os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then start application journey Sequence.

Optionally, starting module 11 can also be specifically for:

In Preset Time after os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then open Dynamic application program.

Optionally, application program launching device can also include monitoring modular and restart module.

Monitoring modular is used for, and monitors application program, judges that application program is when each monitoring end cycle No it is currently running.

Restart module for, if monitor end cycle time application program out of service, then restart should Use program.Further, the application hides after interface manager module 15 will start operates interface first On.

Optionally, interface manager module 15 is additionally operable to:

When receiver module 13 receives the instruction closing application program that user sends, by application program It is hidden on the first operation interface.

Present embodiments provide a kind of application program launching device, including: start module, be used for operating system System starts application program after starting;Receiver module, for receiving the finger starting application program that user sends Order;Interface manager module, the application hides after starting is grasped sightless to user first Make on interface, or when receiver module receives the instruction starting application program, by application program from the One operation interface is loaded into second operation interface visible to user.The application program that the present embodiment provides opens Dynamic device, by pre-actuating application program, and by application hides sightless to user first On operation interface, when receiving the instruction starting application program that user sends, it is only necessary to will have been turned on Application program from user sightless first operation interface be loaded into user visible second operation interface , substantially reduce user and wait the time of application program launching, improve the startup effect of application program Really.

Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be repaiied by it Change, or the most some or all of technical characteristic is carried out equivalent;And these are revised or replace Change, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. an application program launching method, it is characterised in that including:
After os starting start application program, and will start after described application hides to On sightless first operation interface, family;
Receive the instruction starting described application program that user sends, by described application program from described the One operation interface is loaded into second operation interface visible to user.
Method the most according to claim 1, it is characterised in that also include:
Monitor described application program, judge described application program the most when each monitoring end cycle Run;
If it is not, then restart described application program, the described application hides after starting is described On first operation interface.
Method the most according to claim 1, it is characterised in that also include:
Receive the instruction closing described application program that user sends, by described application hides in institute State on the first operation interface.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described operating system Application program is started after startup, including:
During os starting, if the rate of load condensate of central processor CPU is less than predetermined threshold value, then Start described application program.
5. according to the method described in any one of claims 1 to 3, it is characterised in that described operating system Application program is started after startup, including:
In Preset Time after os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then open Dynamic described application program.
6. an application program launching device, it is characterised in that including:
Start module, after os starting, start application program;
Receiver module, for receiving the instruction starting described application program that user sends;
Interface manager module, answering after starting after starting described application program in described startup module It is hidden on the first operation interface sightless to user by program;When described receiver module receives startup The instruction of described application program, being loaded into from described first operation interface by described application program can to user The the second operation interface seen.
Device the most according to claim 6, it is characterised in that also include monitoring modular and restart Module;
Described monitoring modular is used for, and monitors described application program, judges institute when each monitoring end cycle State whether application program is currently running;
Described restart module for, if monitor end cycle time described application program out of service, then weigh The described application program of new startup;Further, the described application program after described interface manager module will start is hidden Ensconce on described first operation interface.
Device the most according to claim 6, it is characterised in that described interface manager module is also used In:
When described receiver module receives the instruction closing described application program that user sends, by described Application hides operates on interface described first.
9. according to the device described in any one of claim 6 to 8, it is characterised in that described startup module Specifically for:
During os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then start described answering Use program.
10. according to the device described in any one of claim 6 to 8, it is characterised in that described startup mould Block specifically for:
In Preset Time after os starting, if the rate of load condensate of CPU is less than predetermined threshold value, then open Dynamic described application program.
CN201510389008.6A 2015-07-03 2015-07-03 Application program starting method and apparatus CN106325913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510389008.6A CN106325913A (en) 2015-07-03 2015-07-03 Application program starting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510389008.6A CN106325913A (en) 2015-07-03 2015-07-03 Application program starting method and apparatus

Publications (1)

Publication Number Publication Date
CN106325913A true CN106325913A (en) 2017-01-11

Family

ID=57727423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510389008.6A CN106325913A (en) 2015-07-03 2015-07-03 Application program starting method and apparatus

Country Status (1)

Country Link
CN (1) CN106325913A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919313A (en) * 2017-04-21 2017-07-04 维沃移动通信有限公司 The startup method and mobile terminal of a kind of application program
WO2019233354A1 (en) * 2018-06-05 2019-12-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
WO2019242580A1 (en) * 2018-06-22 2019-12-26 中兴通讯股份有限公司 Method and apparatus for application program management, mobile terminal, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999368A (en) * 2012-12-14 2013-03-27 广东欧珀移动通信有限公司 Program pre-starting method and device in mobile terminal and mobile terminal
CN104239139A (en) * 2014-08-25 2014-12-24 北京金山安全软件有限公司 Method, device and terminal for processing starting self-running item

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999368A (en) * 2012-12-14 2013-03-27 广东欧珀移动通信有限公司 Program pre-starting method and device in mobile terminal and mobile terminal
CN104239139A (en) * 2014-08-25 2014-12-24 北京金山安全软件有限公司 Method, device and terminal for processing starting self-running item

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919313A (en) * 2017-04-21 2017-07-04 维沃移动通信有限公司 The startup method and mobile terminal of a kind of application program
WO2019233354A1 (en) * 2018-06-05 2019-12-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
WO2019242580A1 (en) * 2018-06-22 2019-12-26 中兴通讯股份有限公司 Method and apparatus for application program management, mobile terminal, and storage medium

Similar Documents

Publication Publication Date Title
EP3008592B1 (en) Pre-fetching content for service-connected applications
TWI529524B (en) Recognition application scenarios, power management method, apparatus and terminal equipment
US9430254B2 (en) Register mapping techniques
US9342326B2 (en) Allocating identified intermediary tasks for requesting virtual machines within a trust sphere on a processing goal
US9262176B2 (en) Software execution using multiple initialization modes
US9210162B2 (en) Certificate based connection to cloud virtual machine
US8868899B2 (en) System and method for switching between environments in a multi-environment operating system
US9798580B2 (en) Method and apparatus for managing background application
US8489708B2 (en) Virtual application extension points
US9635138B2 (en) Client-server input method editor architecture
US9003402B1 (en) Method and system for injecting function calls into a virtual machine
US20150242225A1 (en) Execution of a script based on properties of a virtual device associated with a virtual machine
US20140359637A1 (en) Task continuance across devices
EP2427826B1 (en) Low-privilege debug channel
US10282475B2 (en) Generation of browser suggestions based on internet of things device data
US10534907B2 (en) Providing semantic connectivity between a java application server and enterprise threat detection system using a J2EE data
US8745362B2 (en) Operating system aware branch predictor using a dynamically reconfigurable branch history table
US8020149B2 (en) System and method for mitigating repeated crashes of an application resulting from supplemental code
US20130152077A1 (en) Personal and pooled virtual machine update
US8683440B2 (en) Performing dynamic software testing based on test result information retrieved in runtime using test result entity
US20110016301A1 (en) System and method for initiating a multi-environment operating system
US8239662B1 (en) Network based operating system across devices
JP2011529607A (en) State separation for application changes
US9740563B2 (en) Controlling software processes that are subject to communications restrictions by freezing and thawing a computational process in a virtual machine from writing data
US9632913B2 (en) Remote debug service in a cloud environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111