CN110162343A - Using starting method and device, electronic equipment and storage medium - Google Patents
Using starting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110162343A CN110162343A CN201910286144.0A CN201910286144A CN110162343A CN 110162343 A CN110162343 A CN 110162343A CN 201910286144 A CN201910286144 A CN 201910286144A CN 110162343 A CN110162343 A CN 110162343A
- Authority
- CN
- China
- Prior art keywords
- application
- animation
- starting
- transition
- frame image
- 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.)
- Granted
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/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- 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/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of application starting method and device, electronic equipment and storage medium.The application starts method, comprising: the enabled instruction of the first application of detection starting;According to the enabled instruction, starting first application from the background;The display of transition animation is entered based on the enabled instruction;Wherein, the transition animation is different from the starting animation of application;After the starting is completed in first application, the application interface for being cut into first application is shown or the starting animation of first application is shown.
Description
Technical field
The present invention relates to information technology field more particularly to a kind of application starting method and devices, electronic equipment and storage
Medium.
Background technique
With the development of information technology, application developer provides the application with different function;For example, map application,
Various types of applications such as shopping application, music application, calendar application.The display page of electronic equipment may be in desktop and application
Between switch over, can also be switched between different application surfaces.It is answered if user currently thinks that opening one is inactive
With then electronic equipment usually exits current page, and display is activated the application interface of application.If, can but using on startup
It can cause due to being related to numerous initialization operations etc. using the sense for starting slow phenomenon, and making user's generation waiting anxious
Feel, leads to usage experience difference of user etc..
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of application starting method and device, electronic equipment and storages to be situated between
Matter.
The technical scheme of the present invention is realized as follows:
A kind of application starting method, comprising:
The enabled instruction of the first application of detection starting;
According to the enabled instruction, starting first application from the background;
The display of transition animation is entered based on the enabled instruction;Wherein, the transition animation is different from opening for application
Dynamic animation;
After the starting is completed in first application, the application interface for being cut into first application is shown or described
The starting animation of first application is shown.
It is described after the starting is completed in first application based on above scheme, it is cut into answering for first application
With interface display, comprising:
The application interface that described first is applied, the tail frame image as the transition animation export.
Based on above scheme, the method also includes:
Determine whether first application includes the type for starting animation;
If first application obtains the class letter of the application interface of first application to include the type for starting animation
Breath;
The application interface that described first is applied, the tail frame image as the transition animation export, comprising:
According to the category information of first application interface, the application interface that described first is applied is as the transition animation
Tail frame image output.
Based on above scheme, if first application obtains described first and answers to include the type for starting animation
The category information of application interface, comprising:
If first application is includes the type for starting animation, the class for obtaining the first application the first two class is believed
Breath;Wherein, first class of the first two class is the category information of the starting animation;Second class of the first two class be
The category information of the application interface of first application;
The category information according to first application interface, the application interface that described first is applied is as the transition
The tail frame image of animation exports, comprising:
If successfully get the category information of the first two class, movable execution corresponding to the animation information is skipped, and
According to the category information of second class, the application interface that described first is applied is exported as the tail frame image of the transition animation.
Based on above scheme, the application interface that described first is applied, the tail frame image as the transition animation
Output, comprising:
If first application does not include the type of starting animation, it is successively read the category information of first application;Wherein,
The category information of the first class of first application is the category information of the application interface of first application;
The application interface that described first is applied, the tail frame image as the transition animation export, comprising:
According to the category information of the first class of first application, the application interface that described first is applied is as the transition
The tail frame image of animation exports.
Based on above scheme, in the starting animation display of first application after starting is completed in first application, institute
State method further include:
Determine the first frame image of the starting animation of first application;
By the first frame image of the starting animation, the tail frame image as the transition animation is exported.
Based on above scheme, the first frame image of the starting animation of determination first application, comprising:
The identification information of transition thread first application according to pointed by the enabled instruction, matches confidence based on transition
Breath reads the first frame image of the starting animation of first application.
Based on above scheme, the method also includes:
The animation parameters for adjusting the starting animation, so that the starting animation is changed to from the first original animation parameters
Second animation parameters,
Wherein, the playing duration when starting animation is played with the first animation parameters is greater than with second animation parameters
Playing duration when broadcasting.
Based on above scheme, the animation parameters of the adjustment starting animation, comprising:
Delete the frame number of the starting animation;
Increase the playback rate of the starting animation.
Based on above scheme, the method also includes:
Obtain the sight information of user;
The animation parameters of the adjustment starting animation, comprising:
If the sight information shows that the sight of user is located at the display area of electronic equipment, the starting animation is adjusted
Animation parameters.
Based on above scheme, the method also includes:
Described first is monitored using launching process, obtains the starting condition information of first application;
According to the starting condition information, the third animation parameters of the transition animation are adjusted, wherein the third animation
Parameter includes: at least one of frame number, content and playback rate.
Based on above scheme, the method also includes:
From the base animation for reading transition animation;
It is described according to the starting condition information, adjust the third animation parameters of the transition animation, comprising:
Based on the starting condition information, the third animation parameters of the base animation are modified.
Based on above scheme, the method also includes:
Obtain the history starting information of first application;
Start information in conjunction with the history, the transition for generating the first frame image that tail frame image is the starting animation is dynamic
It draws.
Based on above scheme, the history for obtaining first application starts information, including at least one of:
Obtain the history starting duration of the preceding pre-determined number of first application;
Obtain the first applicating history starting duration under electronic equipment Current resource situation.
Based on above scheme, the enabled instruction of first application of detection starting, including at least one of:
When showing desktop, the enabled instruction of detection starting first application;
In the application interface that display second is applied, the enabled instruction of detection starting first application.
It is a kind of to apply starter, comprising:
Detection module, for detecting the enabled instruction of the first application of starting;
Starting module, for starting first application from the background according to the enabled instruction;
Display module, for entering the display of transition animation based on the enabled instruction;Wherein, the transition animation is not
It is same as the starting animation of application;
Switching module, for after the starting is completed in first application, be cut into first application to apply boundary
Face is shown or the starting animation of first application is shown.
A kind of electronic equipment, comprising:
Display;
Memory;
Processor is connect with the display and the memory respectively, for being stored in the memory by executing
On computer executable instructions, control the display of the display, and realize that any technical solution provided applies starting side
Method.
A kind of computer storage medium, the computer storage medium are stored with computer executable instructions;The calculating
After machine executable instruction is executed by processor, can be realized any technical solution offer applies starting method.
Technical solution provided in an embodiment of the present invention can need to start after detecting enabled instruction in backstage starting
The first application, while starting first is applied foreground play be different from the included starting animation of application transition it is dynamic
It draws;After starting is completed in the first application, directly displays the application interface of the first application or start to play the starting of the first application
Animation, in this way, reducing since opening for the first application slowly leads to some starting during startup of electronic equipment extended stationary periods
The page, so that Anxiety caused by user psychology impression starting is slow or boring etc., the user experience is improved.
Detailed description of the invention
Fig. 1 be it is provided in an embodiment of the present invention the first apply starting method flow diagram;
Fig. 2 is the flow diagram of second provided in an embodiment of the present invention application starting method;
Fig. 3 is a kind of structural schematic diagram using starter provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.
As shown in Figure 1, the present embodiment provides a kind of applications to start method, comprising:
Step S110: the enabled instruction of the first application of detection starting;
Step S120: according to the enabled instruction, starting first application from the background;
Step S130: the display of transition animation is entered based on the enabled instruction;Wherein, the transition animation is different from
The starting animation of application;
Step S140: after the starting is completed in first application, the application interface for being cut into first application is aobvious
Show or the starting animation of first application is shown.
In the present embodiment, this can be applied in various electronic equipments using starting method, specifically such as, mobile unit
In.
The electronic equipment receives enabled instruction when showing first page, which can be manually operated for user
The touch command of touch screen, can also be with phonetic order etc..The i.e. described first page is the page that electronic equipment is currently shown, the page
Face can be the system page of operating system, be also possible to the application interface of other application.
First application herein is the target application of starting.
After receiving enabled instruction, first application can started from the background according to enabled instruction.If the first application
On backstage, starting then directly will not show the start-up course of the first application on foreground, in this way, not because of the start-up course of the first application
Slowly, electronic equipment is caused to show some starting page in display start-up course for a long time, so that user, which has, waits anxiety
Phenomenon occurs, so that the user experience is improved.
It is worth it is to be noted that: an enabled instruction in the present embodiment can make electronic equipment execute two behaviour
Make, one is apply in starting first and to be started on backstage;The other is entering the display of transition animation.In some implementations
In example, the step S120 and the step S130 are to execute parallel.
In some embodiments, the step S130 can include: enter the transition after exiting the display of first page
The display of animation.In some embodiments, the first frame image for the transition animation that the first page may be dynamically generated, in this way,
First page smoothly switching to the transition animation may be implemented.
In the present embodiment, the transition animation is different from using the starting animation for itself being included.Under normal conditions,
Different starting applications have different starting animations, and start the exploitation of animation and offer is provided by application developer.
The starting animation of application belongs to application layer animation.And the transition animation can be shared by multiple applications,
It is to belong to the animation across application level.In some specific situations, the transition animation can be the other animation of operating system grade.It should
Operating system can be Android system, IOS system and/or Linux system etc..
In the present embodiment, if after detecting enabled instruction, electronic equipment just exits the display of current first page, into
Enter the display to transition animation.
After starting is completed in the first application, the application interface of the first application can be directly displayed, the can also be switched to
The broadcasting of the starting animation of one application.
If terminating the broadcasting of the transition animation after the first application start completion, directly displaying answering for the first application
With interface, in this way, will not be because of the introducing of transition animation play, so that the duration that the application interface for being switched to the first application is shown
Increase.
Certainly, in some embodiments, after the first application start completion, can also pass into dynamic to the first application starting
The broadcasting of picture, in this way, electronic equipment will not occur being parked on some picture for a long time since the first application has been completed starting
The phenomenon that face, can also promote user experience.
In the present embodiment, first application of starting includes at least one of:
Read the initialization data of first application;
According to the initialization data, the display window of first application is created;
The interface user interface (User Interface, UI) is drawn in the display window.Include on the interface UI
One or more can detecte the control of user's operation.
In some embodiments, the step S140 can include: the application interface applied described first, as described turn
The tail frame image output of field animation.
In the present embodiment, after starting is completed in the first application, the application interface of the first application is directly acquired, the application
Interface is the interface that user can directly carry out information exchange with application, rather than starting circle corresponding to starting animation above-mentioned
Face.If an application includes starting animation, application interface is shown after starting startup interface corresponding to animation.
It in the present embodiment,, in the present embodiment, can be straight further to promote user experience in order to realize smooth transition
The application interface for taking the first application is obtained, the tail frame image as the special show animation exports.
In some embodiments, as shown in Fig. 2, the method also includes:
Step S101: determine whether first application includes the type for starting animation;
Step S102: if first application obtains the application of first application to include the type for starting animation
The category information at interface;
Accordingly, the step S140 may include step S141;The step S141 can include: according to first application
The category information at interface, the application interface that described first is applied are exported as the tail frame image of the transition animation.
In some embodiments, the sequence of the category information of the adjustable each class for obtaining the first application of the step S102,
The acquisition for skipping the category information of the starting animation, directly acquires the category information of the application interface of the first application, in this way, according to class
Information, will be skipped automatically when executing the class of first application starting animation enter the first application application interface it is aobvious
Show.
In further embodiments, in order to compatible with the prior art well, the step S102 can include:
If first application is includes the type for starting animation, the class for obtaining the first application the first two class is believed
Breath;Wherein, first class of the first two class is the category information of the starting animation;Second class of the first two class be
The category information of the application interface of first application;
The step S140 can include: if successfully get the category information of the first two class, skip the animation information institute
Corresponding movable execution, and according to the category information of second class, the application interface that described first is applied is as the transition
The tail frame image of animation exports.
In some embodiments, first application may be the application type not comprising starting animation, for example, in electronics
The native applications installed in device operating system then may not include starting animation.
In some cases, the first application may be third-party application, and third-party application may develop starting animation.
It in some embodiments, can be according to the first of success acquisition if getting the category information of two classes not successfully
The category information of class plays the starting animation, then enters back into the application interface to the first application.
When being directly entered the application interface display of the first application in step S140, preceding the two of the first application can be obtained simultaneously
The category information of a class, such information include: the packet name and/or class name of packet where class.
Then it directly skips to start the category information of the first kind of animation, class is directly carried out according to the category information of second class
Execution, it will be able to successfully obtain first application application interface, and using first application application interface as transition animation
The output of tail frame image.
In some embodiments, the application interface that described first is applied, the tail frame figure as the transition animation
As output, comprising:
If first application does not include the type of starting animation, it is successively read the category information of first application;Wherein,
The category information of the first class of first application is the category information of the application interface of first application;
The application interface that described first is applied, the tail frame image as the transition animation export, comprising:
According to the category information of the first class of first application, the application interface that described first is applied is as the transition
The tail frame image of animation exports.
If the first application being currently up is not start the type of animation, for example, being the original of the operating system of electronic equipment
Raw application, just may directly be eliminated the starting animation of the application by the developer of operating system.
At this point, electronic equipment can be successively read the category information of each class of the first application in sequence, and read
The category information of the first kind is the category information of the application interface of the first application.By the reading of the category information, it is equivalent to success
The application interface of the first application is got, so as to export as the tail frame image of transition animation.
In some embodiments, in the starting animation display of first application after starting is completed in first application,
The method also includes:
Determine the first frame image of the starting animation of first application;
By the first frame image of the starting animation, the tail frame image as the transition animation is exported.
In some embodiments, some third-party applications and disagreeing directly remove the broadcasting of starting animation;At this point, still
Need to play the starting animation.
In order to realize the seamless transition of user visually, the first frame image of the starting animation of the first application can determine whether.
The first frame image of the starting animation of first application is exported as the tail frame image of transition animation, is so achieved that
The smooth connection of transition animation and starting animation.
In some embodiments, the first frame image of the starting animation of the determination first application, comprising:
The identification information of transition thread first application according to pointed by the enabled instruction, matches confidence based on transition
Breath reads the first frame image of the starting animation of first application.
In the present embodiment when playing the transition animation, transition thread is provided in electronic equipment;The transition thread
Can intercept and capture read instruction in first application application identities, the application identities can for application sequence number and/or title and/
Or uniform resource address etc..
In this way, transition thread reads the first frame image of the starting animation of first application based on transition configuration information;Such as
This, without going to read the first frame image for starting animation again after electronic equipment completes the first application starting;It reduces and reads
It is unsuccessful caused by transition animation to starting the rough phenomenon of animation transition.
Further, the method also includes:
The animation parameters for adjusting the starting animation, so that the starting animation is changed to from the first original animation parameters
Second animation parameters,
Wherein, the playing duration when starting animation is played with the first animation parameters is greater than with second animation parameters
Playing duration when broadcasting.
Due to having played transition animation before, if continuing to play starting animation, the time of possible playing animation understands some length,
In the present embodiment, in order to reduce animation play duration, the animation parameters of the starting animation can be adjusted, which is adjusted
After whole, the duration for starting animation play can reduce.
Specifically, the animation parameters of the adjustment starting animation, comprising:
Delete the frame number of the starting animation;
Increase the playback rate of the starting animation.
For example, using 1.5 times or 2 times of normal play speed as playback rate corresponding to second animation parameters.
Pass through the frame number of compression starting animation, it is clear that the playing duration of starting animation can also be reduced.
In further embodiments, the method also includes:
Obtain the sight information of user;
The animation parameters of the adjustment starting animation, comprising:
If the sight information shows that the sight of user is located at the display area of electronic equipment, the starting animation is adjusted
Animation parameters.
By way of Image Acquisition etc., the sight information of user is positioned, if user's sight information shows user currently just
It is seeing electronic equipment, is then carrying out the adjustment of the animation parameters, if user's sight information shows that active user does not see that electronics is set
It is standby, illustrate user and no hurry using electronic equipment, the animation parameters for adjusting the starting animation can not had to, described first answers
Starting animation can be with normal play.
In some embodiments, the method also includes:
Described first is monitored using launching process, obtains the starting condition information of first application;
According to the starting condition information, the third animation parameters of the transition animation are adjusted, wherein the third animation
Parameter includes: at least one of frame number, content and playback rate.
In the present embodiment, the transition animation is not to make a reservation for fixed animation, may if fixed animation in advance
There is the first application and complete starting, transition animation not yet finishes playing, then needs after transition animation play is completed,
The application interface of the first application can be entered or start the broadcasting of animation.Another situation is that transition animation play finishes it
Afterwards, starting is not yet completed in the first application, then still will appear at this time electronic equipment relatively prolonged not image switching the phenomenon that.
Therefore in the present embodiment, the launching process that can monitor first application obtains the starting situation letter of the first application
Breath, which includes but is not limited to: the first information of instruction the first application start completion degree;The first application of instruction is opened
Dynamic the second information etc. for completing the required scheduled time.
According to the starting condition information, in the start-up course of first application and/or the transition animation is broadcast
During putting, the third animation parameters of the transition animation are adjusted.
The animation parameters include but is not limited to frame number, content and/or playback rate of transition animation etc..
Such as, it is contemplated that duration needed for the start completion of the first application is greater than what transition animation was finished playing with standard speed
Duration can increase the frame number of the transition animation or increase content to be played in the transition animation, or slow down institute
The playback rate of transition animation is stated, is played out with the actual play rate lower than standard speed.
For another example it is expected that duration needed for the start completion of the first application is finished playing less than transition animation with standard speed
Duration, can delete the frame number of the transition animation or in the transition animation delete part it is removable it is to be played in
Hold, or promote the playback rate of the transition animation, is played out with being higher than the actual play rate of standard speed.
In some embodiments, the method also includes:
From the base animation for reading transition animation;
It is described according to the starting condition information, adjust the third animation parameters of the transition animation, comprising:
Based on the starting condition information, the third animation parameters of the base animation are modified.
First storage region of the electronic equipment is stored with base animation, and the number of the base animation can be one or more
It is a, but the base animation is formed the transition animation of broadcasting after being adjusted.
In some embodiments, the electronic equipment can be previously stored with multiple and different base animation or transition animation,
According to the broadcasting record of each base animation perhaps transition animation, successively poll plays the base animation or transition animation, such as
This, reduction is only stored with a base animation or a transition animation in the electronic device leads to the broadcasting that starting is applied multiple times
The identical phenomenon of effect.
In further embodiments, the function class of first application of base animation and transition animation and starting is established
The corresponding relationship of type, according to the corresponding relationship, determine first apply the base animation played in the start-up course of backstage or
Transition animation.
In some embodiments, the method also includes:
Obtain the history starting information of first application;
Start information in conjunction with the history, the transition for generating the first frame image that tail frame image is the starting animation is dynamic
It draws.
If the application that first application is not newly installed, electronic equipment are currently up not for the first time to the first application
Starting, in this way, the information such as starting duration needed for it completes starting can be estimated out according to the history starting information of the first application.
In some embodiments, the history for obtaining first application starts information, comprising:
Obtain the history starting duration of the preceding pre-determined number of first application;
Obtain the first applicating history starting duration under electronic equipment Current resource situation.
Under the different resource situation of electronic equipment, the starting duration of the first application of starting may be different, therefore in the present embodiment
In can also obtain the history starting duration of the first application according to electronic equipment Current resource situation, realize that first opens using this
Dynamic starting duration is accurately estimated.
In some embodiments, the enabled instruction of first application of detection starting, including at least one of:
When showing desktop, the enabled instruction of detection starting first application;
In the application interface that display second is applied, the enabled instruction of detection starting first application.
In some embodiments, first interface can be desktop, and desktop can be the application icon of the multiple applications of display
Interface is the main interface of operating system.
In further embodiments, first interface is the application interface of the second application, which is different from institute
State the first application.
In short, applying starting method in the present embodiment, it can be applied to the starting transition of desktop to application, can be used for
Transition between.
As shown in figure 3, applying starter the present embodiment provides a kind of, comprising:
Detection module 110, for detecting the enabled instruction of the first application of starting;
Starting module 120, for starting first application from the background according to the enabled instruction;
Display module 130, for entering the display of transition animation based on the enabled instruction;Wherein, the transition is dynamic
Draw the starting animation for being different from application;
Switching module 140, for being cut into the application of first application after the starting is completed in first application
Interface display or the starting animation of first application are shown.
In some embodiments, the switching module 140, specifically for the application interface applied described first, as
The tail frame image of the transition animation exports.
In some embodiments, described device further include:
First determining module, for determining whether first application includes the type for starting animation;
First obtains module, if obtaining described first to include the type for starting animation for first application and answering
The category information of application interface;
The display module 130, for the category information according to first application interface, the application that described first is applied
Interface is exported as the tail frame image of the transition animation.
Further, the first acquisition unit, if the class specifically for first application to include starting animation
Type obtains the category information of the first application the first two class;Wherein, first class of the first two class is the starting animation
Category information;Second class of the first two class is the category information of the application interface of first application;
The display module 130, if skipping the animation information institute when category information for successfully getting the first two class
Corresponding movable execution, and according to the category information of second class, the application interface that described first is applied is as the transition
The tail frame image of animation exports.
In some embodiments, the display module 130, if not including starting animation specifically for first application
Type is successively read the category information of first application;Wherein, the category information of the first class of first application is described first
The category information of the application interface of application;According to the category information of the first class of first application, the application that described first is applied
Interface is exported as the tail frame image of the transition animation.
In some embodiments, in the starting animation display of first application after starting is completed in first application,
Described device further include:
Second determining module, the first frame image of the starting animation for determining first application;
The display module 130, specifically for the tail by the first frame image of the starting animation, as the transition animation
The output of frame image.
In some embodiments, it is signified according to the enabled instruction to be specifically used for transition thread for second determining module
To it is described first application identification information, based on transition configuration information read it is described first application starting animation first frame figure
Picture.
In some embodiments, described device further include:
The first adjustment module, for adjusting the animation parameters of the starting animation, so that the starting animation is from original
First animation parameters are changed to the second animation parameters,
Wherein, the playing duration when starting animation is played with the first animation parameters is greater than with second animation parameters
Playing duration when broadcasting.
In some embodiments, the first adjustment module is specifically used for executing at least one of:
Delete the frame number of the starting animation;
Increase the playback rate of the starting animation.
It is a in some embodiments, described device further include:
Second obtains module, for obtaining the sight information of user;
The first adjustment module, if showing that the sight of user is located at the viewing area of electronic equipment for the sight information
When domain, the animation parameters of the starting animation are adjusted.
In further embodiments, described device further include:
Monitoring module obtains the starting condition information of first application for monitoring described first using launching process;
Second adjustment module, for adjusting the third animation parameters of the transition animation according to the starting condition information,
Wherein, the third animation parameters include: at least one of frame number, content and playback rate.
In some embodiments, described device further include:
Read module, for the base animation from reading transition animation;
The second adjustment module is specifically used for being based on the starting condition information, modifies the third of the base animation
Animation parameters.
The base animation is stored in presumptive area, for example, buffer zone, can so stand after detecting enabled instruction
Start the broadcasting of transition animation.
In some embodiments, described device further include:
Third obtains module, and the history for obtaining first application starts information;
Generation module generates the first frame figure that tail frame image is the starting animation for starting information in conjunction with the history
The transition animation of picture.
Third obtains module, is specifically used for executing at least one of:
Obtain the history starting duration of the preceding pre-determined number of first application;
Obtain the first applicating history starting duration under electronic equipment Current resource situation.
The detection module 110 is specifically used for executing at least one of:
When showing desktop, the enabled instruction of detection starting first application;
In the application interface that display second is applied, the enabled instruction of detection starting first application.
A specific example is provided below in conjunction with above-mentioned any embodiment:
Example 1:
This example provides a kind of desktop for show and being managed based on engine (unity3d) Lai Shixian desktop to the surprise applied
It is unreal, comprising:
Based on the desktop that unity3d is realized, the user's operation of detection application (Application, APP) icon passes through
UnityPlayerActivity sends message to Android system using UntiyPlayer.UnitySendMessage and opens APP
Message;
Based on the message, starting to load APP from the background, while unity begins through the broadcasting transition of Animator component and moves
It draws;
When APP loaded, the first frame picture registration of unity animation play to a last frame and APP, APP page lid
The unity page is crossed, realizes seamless transition.Transition animation described in the embodiment of the present invention can be to be stored in advance in moving for electronic equipment
It draws, for example, the animation in pre-existing electronic equipment caching.
After the enabled instruction for detecting APP icon, unity gets the end APP first frame start picture, passes through data
Picture is transmitted to unity, last frame picture and the end APP first frame when unity is according to user's click APP icon by transmission
Start picture real-time operation forms one section of transition cartoon;In this way, at least realizing the last frame image of transition animation each time
(i.e. tail frame image) is different.
In this example, when APP loaded, the first frame image weight of unity animation play to a last frame and APP
It closes, APP page lid crosses the unity page, and (the unity page can be the animated pages of transition animation, realize seamless transition.
Unity gets the end APP first frame start picture, is transmitted by data, and picture is transmitted to the end unity, unity
One section of transition cartoon is formed according to the last frame picture of APP and the start picture real-time operation of the end APP first frame.
In this example, UnityPlayerActivity is that unity engineering is broken into one Android can be made to use
An interface inside jar packet, Android system are used by inheriting UnityPlayerActivity
UntiyPlayer.UnitySendMessage completes the data communication of unity and Android.
As shown in figure 4, the present embodiment also provides a kind of electronic equipment, comprising:
Display
Memory;
Processor is connect with the audio collection mould group and the memory respectively, for being located at described deposit by executing
Computer executable instructions on reservoir, can control the display of the display, and realize that aforementioned any technical solution provides
Apply starting method, for example, at least one of the method as shown in Fig. 1 and/or Fig. 2.
The electronic equipment provided in this embodiment can be various types of electronic equipments, be optionally and be mounted on automobile
Mobile unit.
The display can be various types of displays, for example, liquid crystal display, electronic ink display or projection are aobvious
Show device.The memory can be the various memory devices including computer storage medium, which can be non-wink
Between storage medium.
The processor can be various types of processors, for example, central processing unit, microprocessor, programmable array or
Person's Digital Signal Processing etc..
The processor can be connect with the display and memory respectively by structures such as buses, be controlled described aobvious
Show the working condition of device and the memory.
It in some embodiments, should as shown in figure 4, electronic equipment provided in this embodiment further includes man-machine interactive interface
Man-machine interactive interface may include touch screen, voice collecting mould group and/or physical button etc., can detecte user instruction, for example, should
User instruction includes but is not limited to enabled instruction above-mentioned.
The present embodiment also provides a kind of computer storage medium, and it is executable that the computer storage medium is stored with computer
Instruction;After the computer executable instructions are executed by processor, it can be realized the application that aforementioned any technical solution provides and open
Dynamic method, for example, at least one of the method as shown in Fig. 1 and/or Fig. 2.
The computer storage medium may include non-moment storage medium, for example, flash memory (flash) etc..
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or
The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (18)
1. a kind of application starts method characterized by comprising
The enabled instruction of the first application of detection starting;
According to the enabled instruction, starting first application from the background;
The display of transition animation is entered based on the enabled instruction;Wherein, the starting that the transition animation is different from application is moved
It draws;
After the starting is completed in first application, the application interface for being cut into first application is shown or described first
The starting animation of application is shown.
2. cutting the method according to claim 1, wherein described after the starting is completed in first application
The application interface entered to first application is shown, comprising:
The application interface that described first is applied, the tail frame image as the transition animation export.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Determine whether first application includes the type for starting animation;
If first application obtains the category information of the application interface of first application to include the type for starting animation;
The application interface that described first is applied, the tail frame image as the transition animation export, comprising:
According to the category information of first application interface, the application interface that described first is applied is as the tail of the transition animation
The output of frame image.
4. if according to the method described in claim 3, it is characterized in that, first application is to include starting animation
Type obtains the category information of the application interface of first application, comprising:
If first application obtains the category information of the first application the first two class to include the type for starting animation;Its
In, first class of the first two class is the category information of the starting animation;Second class of the first two class is described
The category information of the application interface of first application;
The category information according to first application interface, the application interface that described first is applied is as the transition animation
Tail frame image output, comprising:
If successfully get the category information of the first two class, movable execution corresponding to the animation information is skipped, and according to
The category information of second class, the application interface that described first is applied are exported as the tail frame image of the transition animation.
5. according to the method described in claim 3, it is characterized in that, the application interface that described first is applied, as institute
State the tail frame image output of transition animation, comprising:
If first application does not include the type of starting animation, it is successively read the category information of first application;Wherein, described
The category information of the first class of first application is the category information of the application interface of first application;
The application interface that described first is applied, the tail frame image as the transition animation export, comprising:
According to the category information of the first class of first application, the application interface that described first is applied is as the transition animation
Tail frame image output.
6. the method according to claim 1, wherein first application after starting is completed in first application
Starting animation display when, the method also includes:
Determine the first frame image of the starting animation of first application;
By the first frame image of the starting animation, the tail frame image as the transition animation is exported.
7. according to the method described in claim 6, it is characterized in that, the first frame of the starting animation of the determination first application
Image, comprising:
The identification information of transition thread first application according to pointed by the enabled instruction, is read based on transition configuration information
Take the first frame image of the starting animation of first application.
8. according to the method described in claim 6, it is characterized in that, the method also includes:
The animation parameters for adjusting the starting animation, so that the starting animation is changed to second from the first original animation parameters
Animation parameters,
Wherein, the playing duration when starting animation is played with the first animation parameters is greater than with second animation parameters broadcasting
When playing duration.
9. according to the method described in claim 8, it is characterized in that, the animation parameters of the adjustment starting animation, comprising:
Delete the frame number of the starting animation;
Increase the playback rate of the starting animation.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
Obtain the sight information of user;
The animation parameters of the adjustment starting animation, comprising:
If the sight information shows that the sight of user is located at the display area of electronic equipment, the dynamic of the starting animation is adjusted
Draw parameter.
11. the method according to any of claims 1 to 10, which is characterized in that the method also includes:
Described first is monitored using launching process, obtains the starting condition information of first application;
According to the starting condition information, the third animation parameters of the transition animation are adjusted, wherein the third animation parameters
It include: at least one of frame number, content and playback rate.
12. according to the method for claim 11, which is characterized in that the method also includes:
From the base animation for reading transition animation;
It is described according to the starting condition information, adjust the third animation parameters of the transition animation, comprising:
Based on the starting condition information, the third animation parameters of the base animation are modified.
13. according to the method for claim 11, which is characterized in that the method also includes:
Obtain the history starting information of first application;
Start information in conjunction with the history, generates the transition animation for the first frame image that tail frame image is the starting animation.
14. according to the method for claim 13, which is characterized in that the history for obtaining first application starts letter
Breath, including at least one of:
Obtain the history starting duration of the preceding pre-determined number of first application;
Obtain the first applicating history starting duration under electronic equipment Current resource situation.
15. the method according to any of claims 1 to 10, which is characterized in that first application of detection starting is opened
Dynamic instruction, including at least one of:
When showing desktop, the enabled instruction of detection starting first application;
In the application interface that display second is applied, the enabled instruction of detection starting first application.
16. a kind of apply starter characterized by comprising
Detection module, for detecting the enabled instruction of the first application of starting;
Starting module, for starting first application from the background according to the enabled instruction;
Display module, for entering the display of transition animation based on the enabled instruction;Wherein, the transition animation is different from
The starting animation of application;
Switching module, for after the starting is completed in first application, the application interface for being cut into first application to be aobvious
Show or the starting animation of first application is shown.
17. a kind of electronic equipment, comprising:
Display;
Memory;
Processor is connect with the display and the memory respectively, for being stored on the memory by executing
Computer executable instructions, control the display of the display, and realize the method that any one of claim 1 to 15 provides.
18. a kind of computer storage medium, the computer storage medium is stored with computer executable instructions;The computer
After executable instruction is executed by processor, the method that any one of claim 1 to 15 provides can be realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910286144.0A CN110162343B (en) | 2019-04-10 | 2019-04-10 | Application starting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910286144.0A CN110162343B (en) | 2019-04-10 | 2019-04-10 | Application starting method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110162343A true CN110162343A (en) | 2019-08-23 |
CN110162343B CN110162343B (en) | 2023-04-07 |
Family
ID=67639056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910286144.0A Active CN110162343B (en) | 2019-04-10 | 2019-04-10 | Application starting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110162343B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569100A (en) * | 2019-09-23 | 2019-12-13 | 重庆渝高科技产业(集团)股份有限公司 | Transition animation playing control system |
CN112702656A (en) * | 2020-12-21 | 2021-04-23 | 北京达佳互联信息技术有限公司 | Video editing method and video editing device |
CN113176904A (en) * | 2021-04-16 | 2021-07-27 | 维沃移动通信有限公司 | Application starting animation adjusting method and device |
CN113627994A (en) * | 2021-08-27 | 2021-11-09 | 京东方科技集团股份有限公司 | Material processing method and device for information distribution, electronic equipment and storage medium |
CN113778633A (en) * | 2020-06-09 | 2021-12-10 | 比亚迪股份有限公司 | Operation control method and device of vehicle machine |
CN113806727A (en) * | 2021-08-12 | 2021-12-17 | 荣耀终端有限公司 | Switching method for login account of electronic equipment and electronic equipment |
CN113835793A (en) * | 2020-06-22 | 2021-12-24 | 深圳市万普拉斯科技有限公司 | Method and device for displaying switch in setting interface, electronic equipment and storage medium |
CN114047973A (en) * | 2021-11-15 | 2022-02-15 | 合众新能源汽车有限公司 | Starting method and starting device for vehicle-mounted application |
WO2022237317A1 (en) * | 2021-05-12 | 2022-11-17 | 荣耀终端有限公司 | Display method and electronic device |
WO2022247541A1 (en) * | 2021-05-25 | 2022-12-01 | 华为技术有限公司 | Method and apparatus for application animation linking |
WO2022252805A1 (en) * | 2021-05-29 | 2022-12-08 | 华为技术有限公司 | Display method and electronic device |
CN115562742A (en) * | 2022-01-10 | 2023-01-03 | 荣耀终端有限公司 | Application starting method, electronic equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013152627A (en) * | 2012-01-25 | 2013-08-08 | Denso Corp | On-vehicle terminal, and application execution environment program |
CN104462567A (en) * | 2014-12-26 | 2015-03-25 | 北京奇虎科技有限公司 | Web page switching method and device and comprehensive page providing device |
CN105488833A (en) * | 2014-10-09 | 2016-04-13 | 华为技术有限公司 | Method and apparatus for realizing 3D transition animation for 2D control |
CN105516767A (en) * | 2015-12-01 | 2016-04-20 | 海信集团有限公司 | Smart television and application switching method thereof |
CN106557328A (en) * | 2016-11-29 | 2017-04-05 | 芜湖美智空调设备有限公司 | A kind of method for realizing household electrical appliances transition animation, system and client |
CN107463367A (en) * | 2017-06-22 | 2017-12-12 | 北京小度信息科技有限公司 | Transition cartoon implementing method and device |
-
2019
- 2019-04-10 CN CN201910286144.0A patent/CN110162343B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013152627A (en) * | 2012-01-25 | 2013-08-08 | Denso Corp | On-vehicle terminal, and application execution environment program |
CN105488833A (en) * | 2014-10-09 | 2016-04-13 | 华为技术有限公司 | Method and apparatus for realizing 3D transition animation for 2D control |
CN104462567A (en) * | 2014-12-26 | 2015-03-25 | 北京奇虎科技有限公司 | Web page switching method and device and comprehensive page providing device |
CN105516767A (en) * | 2015-12-01 | 2016-04-20 | 海信集团有限公司 | Smart television and application switching method thereof |
CN106557328A (en) * | 2016-11-29 | 2017-04-05 | 芜湖美智空调设备有限公司 | A kind of method for realizing household electrical appliances transition animation, system and client |
CN107463367A (en) * | 2017-06-22 | 2017-12-12 | 北京小度信息科技有限公司 | Transition cartoon implementing method and device |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569100B (en) * | 2019-09-23 | 2023-04-07 | 重庆渝高科技产业(集团)股份有限公司 | Transition animation playing control system |
CN110569100A (en) * | 2019-09-23 | 2019-12-13 | 重庆渝高科技产业(集团)股份有限公司 | Transition animation playing control system |
CN113778633A (en) * | 2020-06-09 | 2021-12-10 | 比亚迪股份有限公司 | Operation control method and device of vehicle machine |
CN113835793B (en) * | 2020-06-22 | 2023-09-01 | 深圳市万普拉斯科技有限公司 | Switch display method and device in setting interface, electronic equipment and storage medium |
CN113835793A (en) * | 2020-06-22 | 2021-12-24 | 深圳市万普拉斯科技有限公司 | Method and device for displaying switch in setting interface, electronic equipment and storage medium |
CN112702656A (en) * | 2020-12-21 | 2021-04-23 | 北京达佳互联信息技术有限公司 | Video editing method and video editing device |
CN113176904A (en) * | 2021-04-16 | 2021-07-27 | 维沃移动通信有限公司 | Application starting animation adjusting method and device |
WO2022237317A1 (en) * | 2021-05-12 | 2022-11-17 | 荣耀终端有限公司 | Display method and electronic device |
WO2022247541A1 (en) * | 2021-05-25 | 2022-12-01 | 华为技术有限公司 | Method and apparatus for application animation linking |
WO2022252805A1 (en) * | 2021-05-29 | 2022-12-08 | 华为技术有限公司 | Display method and electronic device |
CN113806727A (en) * | 2021-08-12 | 2021-12-17 | 荣耀终端有限公司 | Switching method for login account of electronic equipment and electronic equipment |
CN113627994A (en) * | 2021-08-27 | 2021-11-09 | 京东方科技集团股份有限公司 | Material processing method and device for information distribution, electronic equipment and storage medium |
CN114047973A (en) * | 2021-11-15 | 2022-02-15 | 合众新能源汽车有限公司 | Starting method and starting device for vehicle-mounted application |
CN115562742A (en) * | 2022-01-10 | 2023-01-03 | 荣耀终端有限公司 | Application starting method, electronic equipment and readable storage medium |
CN115562742B (en) * | 2022-01-10 | 2023-10-20 | 荣耀终端有限公司 | Application starting method, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110162343B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110162343A (en) | Using starting method and device, electronic equipment and storage medium | |
US9285945B2 (en) | Method and apparatus for displaying multi-task interface | |
CN102968509B (en) | Multimedia method and apparatus in a kind of broadcasting browser | |
CN107797833A (en) | The interface display method of application program on smart machine | |
CN104837051B (en) | Video broadcasting method and client | |
CN112231021B (en) | Method and device for guiding new functions of software | |
US8837912B2 (en) | Information processing apparatus, information processing method and program | |
CN108769816B (en) | Video playing method, device and storage medium | |
US11941728B2 (en) | Previewing method and apparatus for effect application, and device, and storage medium | |
CN108170266A (en) | Smart machine control method, device and equipment | |
US11341096B2 (en) | Presenting and editing recent content in a window during an execution of a content application | |
CN104301797A (en) | Method and device for controlling playing resources in mobile terminal browser | |
CN112035195A (en) | Application interface display method and device, electronic equipment and storage medium | |
CN114356155A (en) | Video-based interaction method, device, equipment and storage medium | |
CN115237518A (en) | Screen interface display processing method and device, electronic equipment and medium | |
CN113495664A (en) | Information display method, device, equipment and storage medium based on media information stream | |
CN115955594A (en) | Image processing method and device | |
CN112087668A (en) | Video processing method and device, video processing equipment and storage medium | |
CN104063434A (en) | Method and device for displaying search result page | |
CN111182361B (en) | Communication terminal and video previewing method | |
CN114579222A (en) | Screen control method, automobile data recorder and storage medium | |
CN112307383A (en) | Page loading method and device | |
CN116225293B (en) | Scrolling display method, device, equipment and medium for ink screen | |
CN107133031B (en) | Information display method and device | |
CN118476233A (en) | Program data processing method and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |