CN109739579A - Application starting method, apparatus and storage medium based on feedback protocols - Google Patents

Application starting method, apparatus and storage medium based on feedback protocols Download PDF

Info

Publication number
CN109739579A
CN109739579A CN201910027594.8A CN201910027594A CN109739579A CN 109739579 A CN109739579 A CN 109739579A CN 201910027594 A CN201910027594 A CN 201910027594A CN 109739579 A CN109739579 A CN 109739579A
Authority
CN
China
Prior art keywords
starting
protocol object
protocol
scheduling
function
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
Application number
CN201910027594.8A
Other languages
Chinese (zh)
Other versions
CN109739579B (en
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Ouyue Netvision Co Ltd
Original Assignee
Wuhan Ouyue Netvision Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Ouyue Netvision Co Ltd filed Critical Wuhan Ouyue Netvision Co Ltd
Priority to CN201910027594.8A priority Critical patent/CN109739579B/en
Publication of CN109739579A publication Critical patent/CN109739579A/en
Application granted granted Critical
Publication of CN109739579B publication Critical patent/CN109739579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of application starting method, apparatus and storage medium based on feedback protocols.This method comprises: each starting protocol object of application program is registered to the first set object in the scheduling protocol object of application program by calling post registration function, by starting protocol object delay time corresponding with starting protocol object;Scheduling protocol object is scheduled to each starting protocol object in first set object and triggers the load operation of starting protocol object according to each delay time in first set object;Starting protocol object loads abnormal conditions if it exists, then call the information feedback function in feedback protocols global object, the exception information for starting protocol object is sent in scheduling protocol object, so that scheduling protocol object is operated according to the load that the exception information retriggered received accordingly starts protocol object, so as to improve the starting speed of application program, and guarantee the normal starting of application program, so that the user experience is improved.

Description

Application starting method, apparatus and storage medium based on feedback protocols
Technical field
The present embodiments relate to computer technology more particularly to a kind of application starting methods based on feedback protocols, dress It sets and storage medium.
Background technique
With the continuous development of the terminals such as mobile phone, tablet computer, the application program installed in terminal (Application, APP) more and more, demand of the user to application program is also more and more.In order to meet the needs of users, the version of application program Gradually upgrade, corresponding startup item also gradually increases, and when starting these startup items at the same time, will be greatly reduced opening for application program Dynamic speed, influences user experience.
Currently, the application program based on android system is on startup, often can by way of reducing startup item come Improve the starting speed of application program.However, most startup item must start up in practical applications, can not be gone Fall.As it can be seen that the mode of existing application starting can not efficiently solve the slow problem of application program launching.
Summary of the invention
The embodiment of the invention provides a kind of application starting method, apparatus and storage medium based on feedback protocols, to mention The starting speed of high application program, and guarantee the normal starting of application program, so that the user experience is improved.
Starting method is applied based on feedback protocols in a first aspect, the embodiment of the invention provides a kind of, comprising:
Each starting protocol object of application program is by calling post registration function, by the starting protocol object and institute The first set object that starting protocol object corresponding delay time is registered in the scheduling protocol object of the application program is stated, Wherein, each starting protocol object is in advance based on starting interface protocol and generates, and the scheduling protocol object is in advance based on instead Interface protocol is presented to generate;
The scheduling protocol object is according to each delay time in the first set object, to the first set Each starting protocol object in object is scheduled and triggers the load operation of the starting protocol object;
The starting protocol object loads abnormal conditions if it exists, then the information in feedback protocols global object is called to feed back The exception information of the starting protocol object is sent in the scheduling protocol object, so that the scheduling protocol pair by function Load operation as accordingly starting protocol object according to the exception information retriggered received, wherein the feedback protocols are complete Office's object is by advance obtaining the scheduling protocol object registration into the starting protocol object.
Second aspect, the application starter based on feedback protocols that the embodiment of the invention also provides a kind of, comprising:
Post registration module, each starting protocol object for application program is by calling post registration function, by institute It states starting protocol object and starts the scheduling protocol pair that protocol object corresponding delay time is registered to the application program with described First set object as in, wherein each starting protocol object is in advance based on starting interface protocol and generates, the scheduling Protocol object is in advance based on the generation of feedback interface agreement;
Start protocol object and dispatch loading module, for the scheduling protocol object according in the first set object Each delay time is scheduled each starting protocol object in the first set object and triggers the starting The load of protocol object operates;
Starting protocol object reloads module, loads abnormal conditions if it exists for the starting protocol object, then adjusts With the information feedback function in feedback protocols global object, the exception information of the starting protocol object is sent to the scheduling In protocol object, so that the scheduling protocol object accordingly starts protocol object according to the exception information retriggered received Load operation, wherein the feedback protocols global object is by advance assisting the scheduling protocol object registration to the starting It is obtained in view object.
The third aspect, the embodiment of the invention also provides a kind of terminal, the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device is realized as what any embodiment of that present invention provided applies starting method based on feedback protocols.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program is realized when the program is executed by processor as what any embodiment of that present invention provided applies starting side based on feedback protocols Method.
Each starting protocol object to be loaded is needed to be in advance based on unification when starting application program in the embodiment of the present invention Start interface protocol to generate, so that the function of corresponding initialization logic may be implemented in the run function in each starting protocol object Can, and can have identical run function title in each starting protocol object, improve the convenience and system of start-up course One property.Each starting protocol object utilizes post registration function, uniformly by each starting protocol object corresponding delay time It is registered in the first set object in the scheduling protocol object of application program, so that scheduling protocol object can be according to the first collection The sequencing for closing each delay time in object carries out Automatic dispatching and dynamically load to each starting protocol object, to avoid The case where loading all starting protocol objects simultaneously when starting application program, so that the starting speed of application program is improved, And the user experience is improved.And the scheduling protocol object of application program is in advance based on the generation of feedback interface agreement, and pre- Scheduling protocol object registration is first obtained into a feedback protocols global object into each starting protocol object, so that starting association Object is discussed when loading abnormal, exception information can be sent to by tune by the information feedback function in feedback protocols global object It spends in protocol object, scheduling protocol object can accordingly start the load behaviour of protocol object according to the exception information retriggered Make, so that application program has the function of reattempt initialization, further ensures the normal starting of application program.
Detailed description of the invention
Fig. 1 is a kind of flow chart using starting method based on feedback protocols that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart using starting method based on feedback protocols provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram using starter based on feedback protocols that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart using starting method based on feedback protocols that the embodiment of the present invention one provides, this reality It applies example and is applicable to the case where starting the application program based on android system.This method can be by answering based on feedback protocols It is executed with starter, which can be realized by the mode of software and/or hardware, be integrated in the end with playing function In end, such as smart phone, tablet computer or handheld device etc..As shown in Figure 1, this method specifically includes the following steps:
S110, application program each starting protocol object by call post registration function, will starting protocol object with Starting protocol object corresponding delay time is registered to the first set object in the scheduling protocol object of application program.
Wherein, starting protocol object can be required task to be started or functional module etc. when starting application program. Each starting protocol object is in advance based on starting interface protocol and generates, i.e., starting protocol object is pair for starting interface protocol type As.Starting interface protocol can refer to predetermined, for carrying out the interface of starting initialization, and start in interface protocol Include run function predetermined.Each starting protocol object is in advance based on unified starting interface protocol and generates, so that The function of starting initialization accordingly, and each starting agreement pair may be implemented in run function in each starting protocol object As can have identical run function title, so as to improve the convenience and uniformity of start-up course.Start agreement pair As corresponding delay time can refer to after application program starts starting, the time of the delay loading starting protocol object.This Each starting protocol object corresponding delay time in embodiment, wherein delay time can be according to user demand and reality Situation is artificially configured.Illustratively, the delay time in the present embodiment can be the information of long Long type, delay The unit of time can be millisecond ms.
Scheduling protocol object in the present embodiment can refer to that each starting protocol object of corresponding program carries out dynamic tune Spend the functional module to realize the loading procedure of starting protocol object.It is raw that scheduling protocol object is in advance based on feedback interface agreement At, i.e., scheduling protocol object be feedback interface protocol type object.Feedback interface agreement can refer to predetermined, be used for The interface of feedback channel is constructed, so that starting protocol object can feed back to initialization load information in scheduling protocol object, It and include information feedback function predetermined in feedback interface agreement.Post registration function be it is predetermined, for will Starting protocol object is registered to the function of scheduling protocol object with corresponding delay time, so that scheduling protocol object can obtain The each starting protocol object corresponding delay loading time.First set object can refer to fixed in advance in scheduling protocol object Justice, for storing the object of each starting protocol object and corresponding delay time.
Illustratively, the present embodiment can pre-define a unified starting interface protocol, and the starting interface protocol In comprising predetermined, but do not carry out the run function of function realization.For example, starting interface protocol can be with is defined as:
Public interface IStartInit{
Public void init();
}
Start the interface type that interface protocol IStartInit has public permission modifier Public, so that all startings Class can inherit the starting interface protocol.The inside for starting interface protocol includes a run function init, to pass through starting Function init starts the initialization logic of protocol object to realize.Run function init also has public permission modifier Public improves the convenience of application program launching so as to call directly run function init.
Illustratively, feedback interface agreement can be with is defined as:
Public interface ICallBack{
Public void onError(int whichModule,int errorCode,String errorMessage);
}
Feedback interface agreement ICallBack has the interface type of public permission modifier Public.Feedback interface agreement The inside of ICallBack includes an information feedback function onError, will pass through information feedback function onError feedback Load exception information.Information feedback function onError tool is there are three parameter is inputted, wherein first input parameter WhichModule is integer int type, and for indicating the mark of starting protocol module, the present embodiment can be each in advance Start protocol object and distribute a unique identifier, to distinguish different starting protocol objects;Second input parameter ErrorCode is int type, for indicating the abnormal error coded information of load;Third inputs parameter ErrorMessage is character string String type, for indicating the abnormal details of load.
Illustratively, post registration function can be with is defined as:
Public void registerStart(IStartInit mIStartInit,long delay)
Wherein, post registration function registerStart has public permission modifier Public, so that each starting is assisted View object can call directly the post registration function.There are two input parameter for post registration function tool;Wherein, first input Parameter mIStartInit is the protocol object for starting interface protocol type IStartInit, and the second input parameter delay is that length is whole The delay time of type type.
It specifically, can be by start protocol object and open for each starting protocol object of application program Dynamic protocol object corresponding delay time is function input parameters, calls post registration function, by starting protocol object and starting Protocol object corresponding delay time is registered in the first set object in scheduling protocol object.Illustratively, the present embodiment It can also be registered so that protocol object directly in the way of this pointer for being directed toward starting protocol object, will be started, in order to The Automatic dispatching of follow-up work.Illustratively, if starting protocol object A corresponding delay time is 100, in starting agreement pair In the constructed fuction of starting class as belonging to A can by call directly post registration function registerStart (this, 100) starting protocol object A and corresponding delay time are registered to the first set object in scheduling protocol object by mode, So that registration is more convenient.
S120, scheduling protocol object are according to each delay time in first set object, to each in first set object Starting protocol object is scheduled and triggers the load operation of starting protocol object.
Specifically, the sequencing for each delay time that scheduling protocol object can be stored according to first set object, Automatic dispatching is carried out to each starting protocol object of first set object storage, and can be by calling in starting protocol object Run function triggering starting protocol object load operation, with realize starting protocol object dynamically load, that is, execute starting The initialization logic of protocol object.By the way that certain delay time, and prolonging according to setting is arranged to each starting protocol object The slow time carries out dynamically load to starting protocol object, so as to avoid when starting application program while loading all startings The case where protocol object.The present embodiment can start protocol object by load gradually in batches, and the operation of terminal can be improved Efficiency improves starting speed, and then can promote the viewing experience of user so as to shorten the starting time of level of application.
Illustratively, S120 may include: according to preset arrangement mode, to each delay time in first set object into The arrangement of row ascending order, and correspondingly adjust in first set object and respectively start putting in order for protocol object, and will be after arrangement First set object is determined as second set object;To in second set object delay time and starting protocol object carry out according to Secondary traversal, and be timed operation according to the current delay times traversed, current delay times are corresponding is currently up for triggering The load of protocol object operates.
Wherein, default arrangement mode can be but not limited to dichotomy arrangement mode.
Specifically, each delay time stored in the first set object of the present embodiment may not be according to delay time What sequencing was arranged, to need to carry out each delay time in first set object based on default arrangement mode Ascending order arrangement.Put in order by adjusting delay time in first set object, may be implemented to starting protocol object from Dynamic scheduling.Based on starting protocol object and the one-to-one relationship between delay time, in putting in order for adjustment delay time When, it can correspondingly adjust and start putting in order for protocol object in first set object, to guarantee each starting adjusted The corresponding relationship of protocol object and delay time remain unchanged.First set object adjusted is determined as second set pair As each delay time in second set object is arranged at this time with sequence from small to large.By to second set object In delay time and starting protocol object successively traversed, the gradually acquisition one starting protocol object and starting agreement Object corresponding delay time.The present embodiment can be worked as by way of calling directly timer Timer class according to what is traversed Preceding delay time is timed operation, and can current delay times are corresponding to be currently up in protocol object by calling The mode of run function, triggering is currently up the load operation of protocol object, to realize the dynamically load of starting protocol object And initialization.
S130, starting protocol object load abnormal conditions if it exists, then call the information in feedback protocols global object anti- Function is presented, the exception information for starting protocol object is sent in scheduling protocol object, so that scheduling protocol object is according to reception To exception information retriggered accordingly start protocol object load operation.
Wherein, feedback protocols global object refers to the global object of feedback interface protocol type in starting protocol object.Instead Feedback agreement global object can be by advance obtaining scheduling protocol object registration into starting protocol object.Information feedback function It can be the function onError in feedback interface agreement predetermined inside.The exception information of starting protocol object can wrap It includes but is not limited to the presence of the mark for loading abnormal starting protocol module, load abnormal error coded information and load exception Details.
Specifically, the present embodiment passes through in advance by the scheduling protocol object registration of feedback interface protocol type to starting agreement In object, starting protocol object is allowed to obtain the feedback protocols global object of feedback interface protocol type, so as to build Feedback channel between vertical starting protocol object and scheduling protocol object, so that starting protocol object can be complete by feedback protocols Office's object is fed back to load information is initialized in scheduling protocol object.If some starting protocol object detects during loading To when loading abnormal signal, then showing that the starting protocol object has that load is abnormal, starting association can be obtained at this time The exception information of object is discussed, and is input parameter with the exception information, the information in feedback protocols global object is called to feed back letter Number, the exception information of the starting protocol object is sent in scheduling protocol object.Scheduling protocol object can be based on the received Exception information determines there is the abnormal starting protocol object of load, and the load operation of the retriggered starting protocol object, from And starting protocol object is made to have the function of reattempt initialization, the robustness using activation system is improved, is further ensured that The normal starting of application program.
The technical solution of the present embodiment needs each starting protocol object to be loaded to be in advance based on system when starting application program One starting interface protocol generates, so that corresponding initialization logic may be implemented in the run function in each starting protocol object Function, and can have identical run function title in each starting protocol object, improve start-up course convenience and Uniformity.Each starting protocol object utilizes post registration function, and each starting protocol object corresponding delay time is unified Ground is registered in the first set object in the scheduling protocol object of application program, so that scheduling protocol object can be according to first The sequencing of each delay time in collection object carries out Automatic dispatching and dynamically load to each starting protocol object, to keep away The case where exempting from when starting application program while loading all starting protocol objects, to improve the starting speed of application program Degree, and the user experience is improved.And the scheduling protocol object of application program is in advance based on the generation of feedback interface agreement, and Scheduling protocol object registration is obtained into a feedback protocols global object into each starting protocol object in advance, so that starting Exception information can be sent to by protocol object when loading abnormal by the information feedback function in feedback protocols global object In scheduling protocol object, scheduling protocol object can accordingly start the load behaviour of protocol object according to the exception information retriggered Make, so that application program has the function of reattempt initialization, further ensures the normal starting of application program.
Based on the above technical solution, each starting protocol object is in advance based on starting interface protocol and generates, comprising: The preparatory calling interface of each starting class of application program inherits keyword, inherits starting interface protocol, and makes carbon copies starting interface association Run function in view, and the starting class for inheriting starting interface protocol is instantiated, obtain the starting association of each starting class Discuss object.
Wherein, starting class can refer to class belonging to required starting protocol object to be started when starting application program.It connects Mouth, which inherits keyword, can refer to the keyword that interface protocol succession is carried out specified in Java language.
Specifically, for each starting class of application program, starting class can inherit keyword by calling interface The mode of implement inherits starting interface protocol IStartInit, and passes through manifolding@Override's in starting class Mode, manifolding start the run function init in interface protocol IStartInit, so that the corresponding initialization logic of starting class exists Start and realized in the manifolding function init of class, and the starting class for inheriting starting interface protocol is instantiated, obtains phase The starting protocol object mIStartInit answered executes the run function init in starting protocol object accordingly just Beginningization logic.Illustratively, starting class A can inherit starting by way of class A implements IStartInit Interface protocol IStartInit, for example starting class A can be with is defined as:
Each starting class by being inherited starting interface protocol by the present embodiment in advance, so that each starting association after instantiation Object run function title init having the same is discussed, each starting protocol object is corresponding in the prior art opens to solve The inconsistent problem of dynamic function name, so as to quickly and conveniently call the run function in starting protocol object, raising is opened The uniformity of dynamic process.
Based on the above technical solution, scheduling protocol object is in advance based on the generation of feedback interface agreement, comprising: application The preparatory calling interface of the scheduling class of program inherits keyword, inherits feedback interface agreement, and make carbon copies the letter in feedback interface agreement Feedback function is ceased, and the scheduling class for inheriting feedback interface agreement is instantiated, obtains the scheduling protocol object of scheduling class.
Wherein, the scheduling class of application program can refer to class belonging to invocation protocol object.Specifically, the tune of application program Feedback interface agreement ICallBack can be inherited in such a way that calling interface inherits keyword implement by spending class, and In scheduling class by way of making carbon copies@Override, the information feedback function in feedback interface agreement ICallBack is made carbon copies OnError, and the scheduling class for inheriting feedback interface agreement is instantiated, obtain the scheduling protocol of feedback interface protocol type Object callback, so as to subsequent progress channel connection.
Based on the above technical solution, when first set object is the object of key-value pair structure type, delay note Volume function, which is achieved by the steps of, is registered to starting protocol object delay time corresponding with starting protocol object using journey The function of first set object in the scheduling protocol object of sequence: to start protocol object, the corresponding delay of starting protocol object Time is function input parameters, calls the storage function in first set object, using starting protocol object as in key-value pair Key information, starting protocol object corresponding delay time store as the value information in key-value pair into first set object.
Wherein, the storage organization type of first set object can be key-value pair Map structure type, and each starting is assisted Object and corresponding delay time are discussed as a key-value pair information, each key-value pair information can be considered as first set pair at this time An element information as in.Illustratively, first set object mapData can be with is defined as: Map < IStartInit, Long > mapData, and first set object is initialized, specific initial method is: mapData=new HashMap<Long,IStartInit>().Wherein, the key information key in each key-value pair of first set object mapData For the starting protocol object for starting interface protocol IStartInit type, value information value is the delay time of Long type.It deposits Storage function be it is predetermined, store the letter into first set object for protocol object and corresponding delay time will to be started Number.
It specifically, can be by start protocol object mIStartInit, starting association in the inside of post registration function Discussing the corresponding delay time delay of object is function input parameters, calls the storage function in first set object mapData MapData.put (mIStartInit, delay), using starting protocol object mIStartInit as the key in a key-value pair Information, and using the corresponding delay time delay of the starting protocol object as the value information in the key-value pair, store to first In collection object mapData, similarly, all starting protocol objects and corresponding delay time can be deposited in a manner of key-value pair Storage carries out dynamic dispatching and load to each starting protocol object into first set object, in order to subsequent.
Based on the above technical solution, scheduling protocol object registration is obtained into feedback protocols into starting protocol object Global object may include: by using the pointer for being directed toward scheduling protocol object as function input parameters, calling starting protocol object In feedback registration function, by scheduling protocol object registration to starting protocol object in, obtain feedback protocols global object.
Wherein, feedback registration function is predetermined, for extremely starting in protocol object scheduling protocol object registration Function, with construct scheduling protocol object and start protocol object between feedback channel.Illustratively, feedback registration function can With is defined as:
Public void registerCallBack(ICallBack callback)
Feeding back registration function registerCallBack has public permission modifier Public.Feed back registration function RegisterCallBack has the input parameter callback of a feedback interface agreement ICallBack type; RegisterCallBack has the return value of a void void type.
Specifically, a feedback registration function is pre-defined in each starting protocol object.Scheduling in the present embodiment Protocol object inherits feedback interface agreement ICallBack in advance, so as to indicate scheduling protocol pair using this pointer As.Scheduling class belonging to scheduling protocol object can be called in constructed fuction directly using this pointer as function input parameters Start the feedback registration function in protocol object, i.e. calling registerCallBack (this), by scheduling protocol object Callback is registered in starting protocol object, it is hereby achieved that feedback protocols global object.Illustratively, in each starting The feedback protocols object mCallback of a global feedback interface protocol type can be pre-defined in protocol object, i.e., Private ICallBack mCallback, and in the inside of feedback registration function by calling mCallback=callback Mode by the Extended Permission of scheduling protocol object callback to feedback protocols global object mCallback, opened so as to subsequent Dynamic protocol object can carry out information feedback in a manner of direct general calling feedback protocols global object mCallback.
Embodiment two
Fig. 2 is a kind of flow chart using starting method based on feedback protocols provided by Embodiment 2 of the present invention, this reality Apply example on the basis of the above embodiments, it is right: " according to each delay time in first set object, in first set object Each starting protocol object be scheduled and trigger starting protocol object load operation " be optimized.Wherein with above-mentioned reality Apply that example is identical or the explanation of corresponding term details are not described herein.
Referring to fig. 2, it is provided in this embodiment based on feedback protocols application starting method specifically includes the following steps:
S210, application program each starting protocol object by call post registration function, will starting protocol object with Starting protocol object corresponding delay time is registered to the first set object in the scheduling protocol object of application program.
S220, scheduling protocol object rise each delay time in first set object according to default arrangement mode Sequence arrangement, and correspondingly adjust in first set object and respectively start putting in order for protocol object, and by first after arrangement Collection object is determined as second set object.
S230, scheduling protocol object by first delay time in second set object be used as the current goal time and Current delay times, and obtain the latter delay time of current delay times.
Wherein, the current goal time can be the timing for referring to timer.First in load second set object When a delay time corresponding starting protocol object, can directly using first delay time as the current goal time, so as to When reaching the current goal time, the load operation of the starting protocol object can be triggered.Current delay times can refer to and work as The delay time in second set object that the preceding moment traverses.It, will be in second set object in first cycle period First delay time is as current delay times.Latter delay time can refer to based on delay time in second set object Put in order, the latter delay time adjacent with current delay times.If current delay times are in second set object First delay time, then latter delay time be second set object in second delay time.
Illustratively, the element variable of three integer int types: int delay1=0, int delay2=can be defined 0, int delay3=0 stores current delay times using element variable delay1, delay2 and delay3 respectively, latter prolongs Slow time and current goal time.The call number variable of an integer int type: int index=0 can also be defined, is utilized Call number variable i ndex stores the corresponding current call number of current delay times.It is right in first cycle period Delay1, delay2, delay3 and index carry out assignment, i.e., by first delay time equal assignment in second set object To delay1 and delay3, second delay time is assigned to delay2, call number variable i ndex is assigned a value of 0.
S240, using the corresponding current call number of current delay times and current goal time as function input parameters, call Message in information processing objects sends function, after the Yu Yanchi current goal time, obtains the delay comprising current call number and disappears Breath.
Wherein, information processing objects can be the global Handler object of one be pre-created.Disappearing in the present embodiment Breath process object can be created by private Handler mHandler, and by calling mHandler=new Handler () carrys out instantiation message process object mHandler.Message send function be it is pre-defined, can be used for send prolong The function of slow message.It is the parameter of int type that message, which sends function tool there are two parameter, first input parameter is inputted, is used for One delay message of unique identification, to distinguish different delay message.The present embodiment can be corresponding by current delay times Current call number index is directly as first input parameter, i.e., as unique mark in the timer message of mHandler Symbol is known, so as to quickly and conveniently distinguish different delay message.Second input parameter is current goal time delay3, It is sent when for characterizing the sending instant of delay message, the i.e. timing of arrival timer.
Current embodiment require that multiple timers are opened, so that gradually load starts protocol object in batches.If directly passing through Timer class is called to carry out opening timing device, performance loss is higher.In view of this, the present embodiment is by being used for line in Android The Handler class of Cheng Tonghang is timed the unlatching of device, so as to substantially reducing performance loss.It specifically, can be to work as Preceding delay time corresponding current call number index and current goal time delay3 calls Message Processing as input parameter Message in object mHandler sends function mHandler.sendMessageDelay (index, delay3), works as in delay After preceding object time delay3, the delay message that a message content is index can be obtained.
S250, obtain postpone message when, call the corresponding starting being currently up in protocol object of current delay times Function, to trigger the load operation for being currently up protocol object.
Specifically, when obtain postpone message when, show the timing for having had arrived at timer, at this time can be according to the The corresponding relationship of delay time and starting protocol object in two collection objects, obtain that current delay times are corresponding is currently up association Object is discussed, and by calling the run function being currently up in protocol object, to trigger the load behaviour for being currently up protocol object Make, executes the initialization logic of starting protocol object.
Illustratively, when obtaining the delay message comprising current call number, agreement pair can be currently up by calling As the run function mIStartInit.init () in mIStartInit, starting association is realized so as to the mode based on agreement Discuss the load operation of object.The present embodiment can be by uniformly calling the run function in starting protocol object The mode of mIStartInit.init (), to load each starting protocol object, so that the initialization of starting protocol object The more convenient unification of process.
S260, starting protocol object load abnormal conditions if it exists, then call the information in feedback protocols global object anti- Function is presented, the exception information for starting protocol object is sent in scheduling protocol object, so that scheduling protocol object is according to reception To exception information retriggered accordingly start protocol object load operation.
Whether S270, detection current delay times are the last one delay time in second set object;If so, into Enter step S280;If it is not, then entering step S290.
Specifically, the present embodiment can be detected when obtaining delay message according to the current call number in delay message Whether current delay times are the last one delay time in second set object, to determine all starting protocol objects Whether all it is loaded and finishes.If current delay times are the last one delay times, show that traversal terminates, i.e. starting application The equal loaded of starting protocol object of required delay loading, can execute the operation of step S280 at this time when program.If working as Preceding delay time is not the last one delay time, then shows that traversal is also not finished, i.e., also need to open next timer, to add Next starting protocol object is carried, the operation of step S290 can be executed at this time, to open next timer in time.
S280, application program launching terminate.
Specifically, when current delay times are the last one delay time in second set object, show that starting is answered The starting protocol object of required delay loading, at this time can be direct according to corresponding timing cycle loaded when with program Determine that application program launching terminates.
S290, the time difference between latter delay time and current delay times is updated to the current goal time, and Latter delay time is updated to current delay times, and returns to step S240.
Specifically, when current delay times are not the last one delay times in second set object, it is thus necessary to determine that The timing of next timer, to load next starting protocol object.Each starting protocol object in the present embodiment Corresponding delay time is that Startup time is counted since application program, so that the timing of next timer is answered For the time difference between latter delay time and current delay times.The present embodiment by update current goal time delay3 be Time difference between latter delay time delay2 and current delay times delay1, when timing next timer is arranged Between, i.e. delay3=delay2-delay1.After the current goal time updates, by the latter delay time of current delay times Be updated to current delay times, and current call number index carried out from add operation index++, and update delay1 and Data in delay2, so as to which the delay time in second set object is successively determined as current delay times, thus Corresponding starting protocol object can successively be loaded.After updating current goal time and current delay times, pass through repetition It executes step S240-S270 and enters next cycle period.
If should be noted that in second set object, adjacent two delay times are identical, i.e., the timing of timer when Between be zero, the two delay times corresponding starting protocol object can be loaded simultaneously at this time.The present embodiment can also be by step Function provided by S250-S290 is packaged as the message sink function in information processing objects mHandler HandleMessage (), so as to call directly in information processing objects mHandler to postpone message as input parameter Message sink function mHandler.handleMessage (), to delay message handle, realize above-mentioned steps S250- Function provided by S290, so that operation is more convenient.
The technical solution of the present embodiment, by being timed the opening operation of device using the current Handler class of thread, And by each delay time between second in collection object looped through in the way of, so as to according to delay when Between sequencing, the successively corresponding starting protocol object of load, and reduce performance loss improves operational efficiency, from And further improve the starting speed of application program.
Based on the above technical solution, in S260 " scheduling protocol object based on the received touch again by exception information The load operation of the corresponding starting protocol object of hair " includes: starting agreement of the scheduling protocol object based on the received in exception information Object identity determines the target start protocol object that there are load abnormal conditions, and again in invocation target starting protocol object Run function, to trigger the load operation of target start protocol object again.
Specifically, scheduling protocol object, can be according to the starting agreement pair in exception information when receiving exception information There is the abnormal target start protocol object of load as mark determines, and protocol object is started by invocation target again The mode of run function mIStartInit.init () in mIStartInit triggers adding for target start protocol object again Operation is carried, so that the mechanism that there is target start protocol object load to retry, improves the robustness using activation system, To ensure the normal starting of startup program.
Based on the above technical solution, invocation target starts the run function in protocol object again, to touch again Send out the load operation of target start protocol object, comprising: the corresponding current residual number of retries of detection target start protocol object Whether zero is greater than;If so, invocation target starts the run function in protocol object again, to trigger target start agreement again The load of object operates, and the result for subtracting 1 for current residual number of retries and obtaining is updated to current residual number of retries.
Specifically, the present embodiment can be arranged one to each starting protocol object in advance according to business demand and retry total time Number, with control starting protocol object number of retries, avoid to can not load successfully starting protocol object weighed infinitely Try the operation of load.The present embodiment can obtain target start after determining the target start protocol object that there is load exception Whether the corresponding current residual number of retries of protocol object is greater than zero, if so, show can to target start protocol object into Row loads again, can start the run function in protocol object, by invocation target at this time to trigger target start association again The load operation of object is discussed, and subtracts 1 to current residual number of retries, to update current residual number of retries;If it is not, then showing nothing Method continues to carry out retrying operation to target start protocol object, can directly delete the exception information received at this time, to save Memory space, while an abnormal loading error information can also be shown in display interface, to remind ownership goal starting association Discuss object load failure.
It based on the above technical solution, can also include: to open a new thread, in new line before S250 Cheng Zhong, calls the corresponding run function being currently up in protocol object of current delay times, is currently up agreement pair with triggering The load of elephant operates.
Specifically, the present embodiment can open a new line by calling Thread mThread=new Thread () Journey, so that load is currently up protocol object in the new thread of unlatching, so as to avoid being added in main thread automatically Operation is carried, and then the situation of main thread Caton or reference exception can be avoided result in, improves runnability.
The embodiment using starter provided in an embodiment of the present invention based on feedback protocols below, the device with it is upper That states each embodiment belongs to the same inventive concept using starting method based on feedback protocols, in the application based on feedback protocols The detail content of not detailed description in the embodiment of starter can apply starting method based on feedback protocols with reference to above-mentioned Embodiment.
Embodiment three
Fig. 3 is a kind of structural schematic diagram using starter based on feedback protocols that the embodiment of the present invention three provides, The present embodiment is applicable to the case where starting the application program based on android system, which specifically includes: post registration mould Block 310, starting protocol object scheduling loading module 320 and starting protocol object reload module 330.
Wherein, post registration module 310, each starting protocol object for application program is by calling post registration letter Starting protocol object delay time corresponding with starting protocol object is registered in the scheduling protocol object of application program by number First set object, wherein each starting protocol object is in advance based on starting interface protocol and generates, the preparatory base of scheduling protocol object It is generated in feedback interface agreement;Start protocol object and dispatch loading module 320, for scheduling protocol object according to first set pair Each delay time as in is scheduled each starting protocol object in first set object and triggers starting protocol object Load operation;Starting protocol object reloads module 330, loads abnormal conditions if it exists for starting protocol object, then adjusts With the information feedback function in feedback protocols global object, the exception information for starting protocol object is sent to scheduling protocol object In, so that scheduling protocol object is operated according to the load that the exception information retriggered received accordingly starts protocol object, In, feedback protocols global object is by advance obtaining scheduling protocol object registration into starting protocol object.
Optionally, first set object is the object of key-value pair structure type;Correspondingly, post registration module 310 includes Post registration function execution unit, for be achieved by the steps of will starting protocol object with start that protocol object is corresponding prolongs The function for the first set object that the slow time is registered in the scheduling protocol object of application program: to start protocol object, starting Protocol object corresponding delay time is function input parameters, calls the storage function in first set object, will start agreement Object starts protocol object corresponding delay time as the value information in key-value pair, storage as the key information in key-value pair Into first set object.
Optionally, starting protocol object dispatches loading module 320, comprising:
Second set object determination unit, for according to presetting arrangement mode, when to each delay in first set object Between carry out ascending order arrangement, and correspondingly adjust in first set object and respectively start putting in order for protocol object, and will arrangement First set object afterwards is determined as second set object;
Start protocol object loading unit, for carrying out to the delay time in second set object with starting protocol object It successively traverses, and is timed operation according to the current delay times traversed, current delay times are corresponding currently opens for triggering The load operation of dynamic protocol object.
Optionally, start protocol object loading unit, be specifically used for:
It regard first delay time in second set object as current goal time and current delay times, and obtains Obtain the latter delay time of current delay times;
Using the corresponding current call number of current delay times and current goal time as function input parameters, call at message The message managed in object sends function, after the Yu Yanchi current goal time, obtains the delay message comprising current call number;
When obtaining delay message, the corresponding run function being currently up in protocol object of current delay times is called, To trigger the load operation for being currently up protocol object;
Whether detection current delay times are the last one delay time in second set object;
If so, application program launching terminates;
If it is not, the time difference between latter delay time and current delay times is then updated to the current goal time, with And latter delay time is updated to current delay times, and return execution with the corresponding current call number of current delay times and The current goal time is function input parameters, and the message in information processing objects is called to send the operation of function.
Optionally, device further include: scheduling protocol object generation module, the scheduling class for application program are called in advance Interface inheritance keyword inherits feedback interface agreement, and makes carbon copies the information feedback function in feedback interface agreement, and anti-to inheriting The scheduling class of feedback interface protocol is instantiated, and the scheduling protocol object of scheduling class is obtained.
Optionally, device further include: feedback protocols global object obtains module, for by be directed toward scheduling protocol pair The pointer of elephant is function input parameters, calls the feedback registration function in starting protocol object, extremely by scheduling protocol object registration Start in protocol object, obtains feedback protocols global object.
Optionally, starting protocol object reloads module 330 and includes:
Target start protocol object determination unit, for the starting association in scheduling protocol object based on the received exception information It discusses object identity and determines the target start protocol object that there are load abnormal conditions;
Target start protocol object loading unit starts the run function in protocol object for invocation target again, with The load operation of target start protocol object is triggered again.
Optionally, target start protocol object loading unit, is specifically used for: target start protocol object is corresponding works as detection Whether preceding residue number of retries is greater than zero;If so, invocation target starts the run function in protocol object again, to touch again The load operation of target start protocol object is sent out, and the result for subtracting 1 for current residual number of retries and obtaining is updated to current residual Number of retries.
Any embodiment of that present invention can be performed in application starter based on feedback protocols provided by the embodiment of the present invention It is provided to apply starting method based on feedback protocols, have to execute and applies the corresponding function of starting method based on feedback protocols It can module and beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present invention four provides.Referring to fig. 4, which includes:
One or more processors 410;
Memory 420, for storing one or more programs;
When one or more programs are executed by one or more processors 410, so that one or more processors 410 are realized Starting method is applied based on feedback protocols as provided by any embodiment in above-described embodiment, this method comprises:
Each starting protocol object of application program is assisted starting protocol object and starting by calling post registration function View object corresponding delay time is registered to the first set object in the scheduling protocol object of application program, wherein Mei Geqi Dynamic protocol object is in advance based on starting interface protocol and generates, and scheduling protocol object is in advance based on the generation of feedback interface agreement;
Scheduling protocol object assists each starting in first set object according to each delay time in first set object View object is scheduled and triggers the load operation of starting protocol object;
Starting protocol object loads abnormal conditions if it exists, then the information in feedback protocols global object is called to feed back letter Number, the exception information for starting protocol object is sent in scheduling protocol object, so that scheduling protocol object is according to receiving Exception information retriggered accordingly starts the load operation of protocol object, wherein feedback protocols global object by that will adjust in advance Degree protocol object is registered in starting protocol object and obtains.
In Fig. 4 by taking a processor 410 as an example;Processor 410 and memory 420 in terminal can by bus or its He connects mode, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, such as the corresponding program instruction/module (example of application starting method based on feedback protocols in the embodiment of the present invention Such as, loading module 320 is dispatched using post registration module 310, the starting protocol object in starter based on feedback protocols Module 330 is reloaded with starting protocol object).Processor 410 by operation be stored in memory 420 software program, Instruction and module are realized above-mentioned based on feedback protocols thereby executing the various function application and data processing of terminal Apply starting method.
Memory 420 mainly includes storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one Step includes the memory remotely located relative to processor 410, these remote memories can pass through network connection to terminal.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The belonging to together using starting method based on feedback protocols that the terminal and above-described embodiment that the present embodiment proposes propose One inventive concept, the technical detail of detailed description not can be found in above-described embodiment in the present embodiment, and the present embodiment has Execute the identical beneficial effect of application starting method based on feedback protocols.
Embodiment five
The present embodiment five provides a kind of computer readable storage medium, is stored thereon with computer program, the program quilt It is realized when processor executes and applies starting method, this method packet based on feedback protocols as provided by any embodiment of the invention It includes:
Each starting protocol object of application program is assisted starting protocol object and starting by calling post registration function View object corresponding delay time is registered to the first set object in the scheduling protocol object of application program, wherein Mei Geqi Dynamic protocol object is in advance based on starting interface protocol and generates, and scheduling protocol object is in advance based on the generation of feedback interface agreement;
Scheduling protocol object assists each starting in first set object according to each delay time in first set object View object is scheduled and triggers the load operation of starting protocol object;
Starting protocol object loads abnormal conditions if it exists, then the information in feedback protocols global object is called to feed back letter Number, the exception information for starting protocol object is sent in scheduling protocol object, so that scheduling protocol object is according to receiving Exception information retriggered accordingly starts the load operation of protocol object, wherein feedback protocols global object by that will adjust in advance Degree protocol object is registered in starting protocol object and obtains.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to: Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP Cross internet connection).
Will be appreciated by those skilled in the art that each module of the above invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or be distributed in network constituted by multiple computing devices On, optionally, they can be realized with the program code that computer installation can be performed, so as to be stored in storage It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and The combination of software.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of apply starting method based on feedback protocols characterized by comprising
Each starting protocol object of application program is opened the starting protocol object with described by calling post registration function Dynamic protocol object corresponding delay time is registered to the first set object in the scheduling protocol object of the application program, In, each starting protocol object is in advance based on starting interface protocol and generates, and the scheduling protocol object is in advance based on feedback Interface protocol generates;
The scheduling protocol object is according to each delay time in the first set object, to the first set object In it is each it is described starting protocol object be scheduled and trigger it is described starting protocol object load operation;
The starting protocol object loads abnormal conditions if it exists, then the information in feedback protocols global object is called to feed back letter The exception information of the starting protocol object is sent in the scheduling protocol object, so that the scheduling protocol object by number Accordingly start the load operation of protocol object according to the exception information retriggered received, wherein the feedback protocols are global Object is by advance obtaining the scheduling protocol object registration into the starting protocol object.
2. the method according to claim 1, wherein the first set object is pair of key-value pair structure type As;
Correspondingly, the post registration function is achieved by the steps of the starting protocol object and the starting agreement pair The function of the first set object in the scheduling protocol object of the application program is registered to as corresponding delay time:
Using the starting protocol object, the starting protocol object corresponding delay time as function input parameters, first is called Storage function in collection object, using the starting protocol object as the key information in key-value pair, the starting protocol object Corresponding delay time as the value information in the key-value pair, stores into first set object.
3. the method according to claim 1, wherein when according to each delay in the first set object Between, each starting protocol object in the first set object is scheduled and triggers adding for the starting protocol object Carry operation, comprising:
According to default arrangement mode, ascending order arrangement, Yi Jixiang are carried out to each delay time in the first set object It adjusts each starting protocol object in the first set object with answering put in order, and by the first set pair after arrangement As being determined as second set object;
Delay time in the second set object is successively traversed with starting protocol object, and is worked as according to what is traversed Preceding delay time is timed operation, the corresponding load operation for being currently up protocol object of triggering current delay times.
4. according to the method described in claim 3, it is characterized in that, in the second set object delay time and starting Protocol object is successively traversed, and is timed operation according to the current delay times traversed, triggers current delay times The corresponding load operation for being currently up protocol object, comprising:
It regard first delay time in the second set object as current goal time and current delay times, and obtains Obtain the latter delay time of current delay times;
Using the corresponding current call number of current delay times and current goal time as function input parameters, Message Processing pair is called Message as in sends function, after the Yu Yanchi current goal time, obtains the delay message comprising current call number;
When obtaining the delay message, the corresponding run function being currently up in protocol object of current delay times is called, To trigger the load operation for being currently up protocol object;
Detect whether the current delay times are the last one delay time in the second set object;
If so, the application program launching terminates;
If it is not, the time difference between latter delay time and current delay times is then updated to the current goal time, and will Latter delay time is updated to current delay times, and return execution it is described with the corresponding current call number of current delay times and The current goal time is function input parameters, and the message in information processing objects is called to send the operation of function.
5. the method according to claim 1, wherein the scheduling protocol object is in advance based on feedback interface agreement It generates, comprising:
The preparatory calling interface of the scheduling class of application program inherits keyword, inherits feedback interface agreement, and makes carbon copies the feedback and connect Information feedback function in mouth agreement, and the scheduling class for inheriting the feedback interface agreement is instantiated, obtain the tune Spend the scheduling protocol object of class.
6. the method according to claim 1, wherein by the scheduling protocol object registration to the starting agreement The feedback protocols global object is obtained in object, comprising:
It is anti-in the starting protocol object by calling using the pointer for being directed toward the scheduling protocol object as function input parameters Registration function is presented, by the scheduling protocol object registration into the starting protocol object, obtains feedback protocols global object.
7. -6 any method according to claim 1, which is characterized in that the scheduling protocol object is abnormal based on the received Information retriggered accordingly starts the load operation of protocol object, comprising:
Starting protocol object mark of the scheduling protocol object based on the received in exception information, which determines to exist, loads abnormal feelings The target start protocol object of condition, and the run function in the target start protocol object is called again, to trigger institute again State the load operation of target start protocol object.
8. the method according to the description of claim 7 is characterized in that calling the starting in the target start protocol object again Function, to trigger the load operation of the target start protocol object again, comprising:
Detect whether the corresponding current residual number of retries of the target start protocol object is greater than zero;
If so, calling the run function in the target start protocol object, again to trigger the target start association again The load operation of object is discussed, and the result for subtracting 1 for the current residual number of retries and obtaining is updated to current residual number of retries.
9. a kind of application starter based on feedback protocols characterized by comprising
Post registration module, each starting protocol object for application program are opened by calling post registration function by described Dynamic protocol object delay time corresponding with the starting protocol object is registered in the scheduling protocol object of the application program First set object, wherein each starting protocol object be in advance based on starting interface protocol generate, the scheduling protocol Object is in advance based on the generation of feedback interface agreement;
Start protocol object and dispatch loading module, for the scheduling protocol object according to each institute in the first set object Delay time is stated, each starting protocol object in the first set object is scheduled and triggers the starting agreement The load of object operates;
Starting protocol object reloads module, loads abnormal conditions if it exists for the starting protocol object, then calls anti- The information feedback function in agreement global object is presented, the exception information of the starting protocol object is sent to the scheduling protocol In object, so that the scheduling protocol object accordingly starts the load of protocol object according to the exception information retriggered received Operation, wherein the feedback protocols global object passes through in advance by the scheduling protocol object registration to the starting agreement pair As middle acquisition.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized when execution and applies starting method based on feedback protocols as described in any one of claims 1-8.
CN201910027594.8A 2019-01-11 2019-01-11 Application starting method and device based on feedback protocol and storage medium Active CN109739579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910027594.8A CN109739579B (en) 2019-01-11 2019-01-11 Application starting method and device based on feedback protocol and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910027594.8A CN109739579B (en) 2019-01-11 2019-01-11 Application starting method and device based on feedback protocol and storage medium

Publications (2)

Publication Number Publication Date
CN109739579A true CN109739579A (en) 2019-05-10
CN109739579B CN109739579B (en) 2022-02-08

Family

ID=66364404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910027594.8A Active CN109739579B (en) 2019-01-11 2019-01-11 Application starting method and device based on feedback protocol and storage medium

Country Status (1)

Country Link
CN (1) CN109739579B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378084A (en) * 2019-07-22 2019-10-25 北京顶象技术有限公司 Application program guard method, device, computer equipment and storage medium
CN112748952A (en) * 2019-10-30 2021-05-04 武汉斗鱼鱼乐网络科技有限公司 Method, device, equipment and storage medium for detecting ring dependency relationship

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129989A1 (en) * 2004-12-09 2006-06-15 Christian Fleischer System and method for registering native libraries with non-native enterprise program code
CN103067429A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Quick start method and terminal
CN106951298A (en) * 2017-04-25 2017-07-14 广州优视网络科技有限公司 A kind of method and apparatus for lifting application toggle speed

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129989A1 (en) * 2004-12-09 2006-06-15 Christian Fleischer System and method for registering native libraries with non-native enterprise program code
CN103067429A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Quick start method and terminal
CN106951298A (en) * 2017-04-25 2017-07-14 广州优视网络科技有限公司 A kind of method and apparatus for lifting application toggle speed

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378084A (en) * 2019-07-22 2019-10-25 北京顶象技术有限公司 Application program guard method, device, computer equipment and storage medium
CN112748952A (en) * 2019-10-30 2021-05-04 武汉斗鱼鱼乐网络科技有限公司 Method, device, equipment and storage medium for detecting ring dependency relationship

Also Published As

Publication number Publication date
CN109739579B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN110825535B (en) Job scheduling method and system
CN109901920A (en) Method for scheduling task and device, electric terminal
US10372514B2 (en) Application data sharing and decision service platform
WO2023093429A1 (en) Micro-application running method and apparatus, and device, storage medium and program product
CN109716735B (en) System and method for sharing application data between isolated applications executing on one or more application platforms
CN109739579A (en) Application starting method, apparatus and storage medium based on feedback protocols
CN109471711A (en) A kind of method and device of task processing
CN114791856B (en) K8 s-based distributed training task processing method, related equipment and medium
US11818239B2 (en) System and method for automatically synchronizing responses to conditions on devices
CN105511847A (en) Method and device for controlling application, and terminal
CN105335146A (en) Software data traffic management method and portable electronic apparatus
CN109783159A (en) Application starting method and apparatus based on configuration information
CN109753321A (en) Application starting method, apparatus, terminal and storage medium based on protocol registration
CN106851595B (en) Ordered broadcast processing method, device and terminal device
CN109669735A (en) Application starting method, apparatus and storage medium based on delay registration
CN109491762B (en) Container state control method and device, storage medium and electronic equipment
CN112732265A (en) Data processing method and related device
CN104572661B (en) terminal device and information processing method
CN113867831B (en) Intelligent device control method, intelligent device, storage medium and electronic device
CN109558167A (en) The method for managing the plug in software module of the electronic computer of electrical switching apparatus
CN107943268A (en) Schedule job control method, device, terminal device and storage medium
CN109582394B (en) Application program starting method and device and storage medium
CN110442404A (en) A kind of object method for releasing, device, equipment and storage medium
TW201816605A (en) Application upgrading method and device
CN113918180A (en) Cluster creation method, device, equipment and storage medium

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