CN110308951A - A kind of processing method and processing device of startup interface Caton, equipment, storage medium - Google Patents
A kind of processing method and processing device of startup interface Caton, equipment, storage medium Download PDFInfo
- Publication number
- CN110308951A CN110308951A CN201910579199.0A CN201910579199A CN110308951A CN 110308951 A CN110308951 A CN 110308951A CN 201910579199 A CN201910579199 A CN 201910579199A CN 110308951 A CN110308951 A CN 110308951A
- Authority
- CN
- China
- Prior art keywords
- time period
- app
- caton
- startup interface
- interface
- 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/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses a kind of processing method of startup interface Caton, which comprises when receiving the first request for starting APP, creates Caton treatment progress;When the APP is started, the second request of the startup interface for showing the APP that the Caton treatment progress is sent is received;Determine that first time period, the first time period are the period that the startup interface is shown with first state;When the first time period is greater than preset time period, terminate the Caton treatment progress.The embodiment of the present application also provides processing unit, equipment and the storage mediums of a kind of startup interface Caton.
Description
Technical field
The invention relates to electronic technology, relate to, but are not limited to the processing method and dress of a kind of startup interface Caton
It sets, equipment, storage medium.
Background technique
Currently, the electronic equipments such as mobile phone, laptop are increasingly becoming component part important in people's life, it is various each
The mobile phone of sample enriches people's lives using (Application, APP), the type sum number of the mobile phone application on electronic equipment
It measures also more and more.
A startup interface can be presented to user, after a period of time again mostly on startup in APP now first
Jump to the main interface of APP for users to use.Its purpose one is to cover up the slow loading procedure of main interface, another is then
It is easy for showing advertisement.But since APP quality on the market is very different, be no lack of have APP will appear it is stuck startup interface without
Method jumps to the generation of the phenomenon that main interface, with increasing for frequency, user can be allowed to be mistaken for the quality problems of mobile phone.
Summary of the invention
In view of this, processing method and processing device, equipment, storage that the embodiment of the present application provides a kind of startup interface Caton are situated between
Matter.
The technical solution of the embodiment of the present application is achieved in that
In a first aspect, the embodiment of the present application provides a kind of processing method of startup interface Caton, which comprises
When receiving the first request for starting APP, Caton treatment progress is created;
When the APP is started, starting circle for being used to show the APP that the Caton treatment progress is sent is received
Second request in face;
Determine that first time period, the first time period are the period that the startup interface is shown with first state;
When the first time period is greater than preset time period, terminate the Caton treatment progress.
In the embodiment of the present application, the method also includes:
After the process, the Caton treatment progress is re-created;
When receiving the second request that the process re-created is sent, the first time period is redefined;
When the first time period redefined is greater than the preset time period, terminate the process re-created;
In the preset time period, when the main boundary for being used to show the APP for receiving the process transmission re-created
When the third request in face, stop determining the first time period, and show the main interface.
In the embodiment of the present application, the determining first time period, comprising:
Obtain the mark of default list list and the APP;
If the mark of the APP determines first time period in the default list list.
In the embodiment of the present application, the first time period is the period that the startup interface is shown with first state, packet
It includes:
The first time period is the period that the startup interface is shown on foreground.
In the embodiment of the present application, the determining first time period, comprising:
When the startup interface starts starting, the first time period is determined;Or,
When the startup interface terminal show when, determine the first time period.
In the embodiment of the present application, the method also includes:
In the preset time period, when APP request removes the startup interface and shows the main interface of the APP
When, stop determining the first time period.
It is described when the first time period is greater than preset time period in the embodiment of the present application, terminate the Caton processing
Process, comprising:
When the first time period is greater than preset time period, display reminding window, the prompt window is used for prompting
The starting time-out of APP described in family;
When receiving the instruction for closing the APP, terminate the Caton treatment progress.
Second aspect, the embodiment of the present application provide a kind of processing unit of startup interface Caton, and described device includes:
Creating unit, for creating Caton treatment progress when receiving the first request for starting APP;
Receiving unit, for when the APP is started, receiving that the Caton treatment progress sends for showing institute
State the second request of the startup interface of APP;
Determination unit, for determining that first time period, the first time period are that the startup interface is aobvious with first state
The period shown;
End unit, for terminating the Caton treatment progress when the first time period is greater than preset time period.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including memory and processor, the memory are deposited
The computer program that can be run on a processor is contained, the processor realizes startup interface as described above when executing described program
Step in the processing method of Caton.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program realizes the step in the processing method of startup interface Caton as described above when being executed by processor.
The embodiment of the present application provides a kind of processing method and processing device of startup interface Caton, equipment, storage medium, by working as
When receiving the first request for starting APP, Caton treatment progress is created;When the APP is started, the card is received
Second request of the startup interface for showing the APP that the treatment progress that pauses is sent;First time period is determined, when described first
Between section be period for being shown with first state of the startup interface;When the first time period is greater than preset time period, knot
Shu Suoshu Caton treatment progress so, it is possible the workability for improving electronic equipment, reduce and ask while promoting user experience
Topic is complained, to reduce the manpower maintenance cost of manufacturer.
Detailed description of the invention
Figure 1A is the implementation process schematic diagram of application starting in the related technology;
Figure 1B is the flow diagram of application starting failure in the related technology;
Fig. 2A is the application scenarios schematic diagram of the embodiment of the present application;
Fig. 2 B is the implementation process schematic diagram one of the processing method of the embodiment of the present application startup interface Caton;
Fig. 2 C is the implementation process schematic diagram two of the processing method of the embodiment of the present application startup interface Caton;
Fig. 3 A is the implementation process schematic diagram three of the processing method of the embodiment of the present application startup interface Caton;
Fig. 3 B is the interaction flow schematic diagram of the processing method of the embodiment of the present application startup interface Caton;
Fig. 3 C is the implementation process schematic diagram four of the processing method of the embodiment of the present application startup interface Caton;
Fig. 4 is the composed structure schematic diagram of the processing unit of the embodiment of the present application startup interface Caton;
Fig. 5 is a kind of hardware entities schematic diagram of the embodiment of the present application electronic equipment.
Specific embodiment
Android system jumps the internal interface of application and has no pro-active intervention at present, belongs to the processing of response formula, i.e., only when answering
Processing is just jumped with when having and initiating jump request, and is made no exception all application interfaces, to application startup interface without spy
Different processing.Figure 1A is the implementation process schematic diagram of application starting in the related technology, as shown in Figure 1A, when APP is in first state,
Request display startup interface carries out startup interface and shows after system receives the display startup interface request of APP transmission.When APP by
When first state is switched to the second state, request display main interface, after system receives the display main interface request of APP transmission, into
Row interface jumps, and jumps to main interface by startup interface.That is, for " whether needing to jump to main boundary from startup interface
Face " and " when jumping " both of these problems, are determined by App itself, system and without intervene.Therefore, when in App process
There is exception in portion's logic, and when activly request does not jump, then system is also helpless, can only let matters drift, and causes a kind of interface card
Dead user experience.Figure 1B is the flow diagram of application starting failure in the related technology, and as shown in Figure 1B, APP is in first
When state, request display startup interface carries out startup interface and shows after system receives the display startup interface request of APP transmission.
But when APP switches the failure of the second state by first state, system can not receive any request, will be always maintained at starting circle
The display in face can not jump to main interface from startup interface, thus the phenomenon that causing APP Caton to user.
Before the embodiment of the present application is further elaborated, to noun involved in the embodiment of the present application and term
It is illustrated, noun involved in the embodiment of the present application and term are suitable for following explanation.
(1) process: the example for the program being currently running, the operation logic of a program execute in process.
(2) abbreviation of AMS:Activity Manager Service, the kernel service of Android system are used for management system
In all activity, wherein Activity is a page of APP, it is believed that an APP is made of multiple Activity.
(3) startup interface: a special page is mainly used to show advertisement page to user, and covers up the main boundary App
Face loading procedure.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the specific technical solution of application is described in further detail.The following examples are only for illustrating the present application, does not have to
In limitation scope of the present application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
The explanation for being conducive to the application, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The embodiment of the present application provides that a kind of detection APP is stuck to be returned to just in the method for startup interface and a kind of reparation APP
The method of normal logic.That is, the scheme provided in the embodiment of the present application is able to detect probability when APP starts on Android system
The problem of property is stuck in startup interface, stroke sequence self-regeneration of going forward side by side.The scheme application provided in embodiment is with opening
A kind of APP in arena face, such as wechat.Fig. 2A is the application scenarios schematic diagram of the embodiment of the present application, as shown in Figure 2 A, picture 21
For the menu page of electronic equipment, on the menu page of electronic equipment, there are many APP, such as wechat APP etc..By taking wechat as an example,
When the user clicks when the wechat APP, system just will receive the request for opening wechat, start to open wechat, by the starting of wechat
(i.e. shown in picture 22) is shown to user at interface.But when wechat itself is there are when problem, the system of will lead to can not receive display
The request of wechat main interface, in this way, electronic equipment can show always the startup interface of wechat and can not show the main interface of wechat
(i.e. shown in picture 23).
According to scheme provided by the embodiments of the present application, when there is above-mentioned abnormal scene, program being capable of spontaneous driving reparation
The picture 22 jumps obstacle to picture 23, and any change will not be brought to user's operation mode, belong in program from
My restorative procedure.The processing method of startup interface Caton provided by the embodiments of the present application is described in detail below.
The embodiment of the present application provides a kind of processing method of startup interface Caton, and this method is applied to electronic equipment, the party
The function that method is realized can realize that certain program code can be saved by the processor caller code in server
In computer storage medium, it is seen then that the server includes at least pocessor and storage media.Fig. 2 B opens for the embodiment of the present application
The implementation process schematic diagram one of the processing method of arena face Caton, as shown in Figure 2 B, which comprises
Step S201, when receiving the first request for starting APP, Caton treatment progress is created;
In the embodiment of the present application, the APP can be any one mounted software application on electronic equipment.Citing comes
It says, when user needs using some APP, this APP can be clicked directly under normal conditions, when the user clicks when this complete APP,
The APP will send the processing system of the request electron equipment of starting APP, when the processing system of electronic equipment receive it is described
When for starting the request of APP, a Caton treatment progress just will create.Certainly, the embodiment of the present application is not limited to user's point
Hit the request that APP sends starting APP, the behaviour of other requests that the processing system of electronic equipment can be made to receive for starting APP
Make also within the scope of protection of this application.
Step S202, when the APP is started, the described for showing of the Caton treatment progress transmission is received
Second request of the startup interface of APP;
Here, when the APP starts starting, the processing system of electronic equipment receives what the Caton treatment progress was sent
It for showing the request of the startup interface of the APP, and is handled, the startup interface of the APP is shown.
Step S203, determine that first time period, the first time period are what the startup interface was shown with first state
Period;
Here, when the startup interface of APP starts starting, alternatively, the startup interface as APP starts to show on an electronic device
When showing (i.e. user can see the startup interface on an electronic device), start carry out timing, record the startup interface with
The duration that first state is shown.For example, when the user clicks the wechat APP icon of menu page when, processing system will create one
A process, the request of the startup interface for sending display wechat.After the processing system receives the request, wechat is carried out
Startup interface display, at this point, before the startup interface of wechat described in start recording platform status display duration.Namely
It says, when the startup interface of the wechat is when foreground is shown when the startup interface (user it can be seen that), then carries out duration
Record, when the startup interface of the wechat backstage show when (whether on startup user is not concerned with wechat), then not into
Row duration record.
In some embodiments, the first time period is the period that the startup interface is shown with first state, packet
Include: the first time period is the period that the startup interface is shown on foreground.
In some embodiments, the determining first time period, comprising: when the startup interface starts starting, determine
The first time period.Alternatively, determining the first time period when the startup interface is when terminal is shown.That is, can
It, can also be by described the by the time zero of the first time period, to be set as the time that the startup interface starts starting
The time zero of one period, be set as time that startup interface described in Ei shows in terminal (including user can see that it is described
The time of startup interface).
Step S204, when the first time period is greater than preset time period, terminate the Caton treatment progress.
In the embodiment of the present application, different startup interface maximums can be set for each APP and show duration, or institute
There is APP that one unified startup interface maximum is set and show duration, and using the maximum display duration as preset time period.It lifts
For example, when the startup interface of the wechat recorded in step S203 is greater than pre-set maximum display in the duration that foreground is shown
When duration, then it is assumed that the APP during starting Caton in display interface, and then terminate the Caton treatment progress with
Terminate the starting of the APP.
In the embodiment of the present application, by creating Caton treatment progress when receiving the first request for starting APP;
When the APP is started, the second of the startup interface for showing the APP that the Caton treatment progress is sent is received
Request;Determine that first time period, the first time period are the period that the startup interface is shown with first state;When described
When first time period is greater than preset time period, terminate the Caton treatment progress, so, it is possible to improve can be used for electronic equipment
Property, problem is reduced while promoting user experience and is complained, to reduce the manpower maintenance cost of manufacturer.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of processing method of startup interface Caton again, and Fig. 2 C is
The implementation process schematic diagram two of the processing method of the embodiment of the present application startup interface Caton, as shown in Figure 2 C, which comprises
Step S211, when receiving the first request for starting APP, Caton treatment progress is created;
Step S212, when the APP is started, the described for showing of the Caton treatment progress transmission is received
Second request of the startup interface of APP;
Step S213, determine that first time period, the first time period are what the startup interface was shown with first state
Period;
Here, when the startup interface of APP starts starting, alternatively, the startup interface as APP starts to show on an electronic device
When showing (i.e. user can see the startup interface on an electronic device), start carry out timing, record the startup interface with
The duration that first state is shown.For example, when the user clicks the wechat APP icon of menu page when, processing system will create one
A process, the request of the startup interface for sending display wechat.After the processing system receives the request, wechat is carried out
Startup interface display, at this point, before the startup interface of wechat described in start recording platform status display duration.Namely
It says, when the startup interface of the wechat is when foreground is shown when the startup interface (user it can be seen that), then carries out duration
Record, when the startup interface of the wechat backstage show when (whether on startup user is not concerned with wechat), then not into
Row duration record.
In some embodiments, the first time period is the period that the startup interface is shown with first state, packet
Include: the first time period is the period that the startup interface is shown on foreground.
In some embodiments, the determining first time period, comprising: when the startup interface starts starting, determine
The first time period.Alternatively, determining the first time period when the startup interface is when terminal is shown.That is, can
It, can also be by described the by the time zero of the first time period, to be set as the time that the startup interface starts starting
The time zero of one period, be set as time that startup interface described in Ei shows in terminal (including user can see that it is described
The time of startup interface).
Step S214, when the first time period is greater than preset time period, terminate the Caton treatment progress;
In the embodiment of the present application, different startup interface maximums can be set for each APP and show duration, or institute
There is APP that one unified startup interface maximum is set and show duration, and using the maximum display duration as preset time period.It lifts
For example, when the startup interface of the wechat recorded in step S203 is greater than pre-set maximum display in the duration that foreground is shown
When duration, then it is assumed that the APP during starting Caton in display interface, and then terminate the Caton treatment progress with
Terminate the starting of the APP.
Step S215, after the process, the Caton treatment progress is re-created;
In the embodiment of the present application, after the Caton treatment progress created in the first request, re-create it is described into
Journey, and treatment process of the step S213 into step S214 is executed again.
Step S216, when receiving the second request that the process re-created is sent, the first time is redefined
Section;
In the embodiment of the present application, when receiving the second request that the process that re-creates is sent, described the is redefined
One period.That is, the startup interface of the APP shows and also ties after the Caton treatment progress of creation for the first time
Shu Liao.And then the Caton treatment progress is re-created, the startup interface is shown again, and determines the first time
Section, when the first time period is that the startup interface shown again starts starting, alternatively, for the starting shown again
When interface starts display on an electronic device, period for being shown with first state.
Step S217, when the first time period redefined is greater than the preset time period, terminate to re-create into
Journey;
Here, when the first time period redefined is greater than the preset time period, terminate the process re-created,
In, the preset time period is the preset time period in step S214, as the maximum display duration of the startup interface of APP.
Step S218, in the preset time period, when receive the process that re-creates send it is described for showing
When the third request of the main interface of APP, stop determining the first time period, and show the main interface.
Here, in the preset time period, when receiving that the process that re-creates sends for showing the APP's
When the third request of main interface, stops determining the first time period, and show the main interface, can be, the APP's
In the maximum display duration of startup interface, if (process re-created is that the APP is opened to the process re-created
The example of dynamic program) have sent for showing the main interface of the APP third request, i.e., system have received APP transmission
For starting the request of main interface, then stop timing, and show the main interface of the APP.
In the embodiment of the present application, by creating Caton treatment progress when receiving the first request for starting APP;
When the APP is started, the second of the startup interface for showing the APP that the Caton treatment progress is sent is received
Request;Determine that first time period, the first time period are the period that the startup interface is shown with first state;When described
When first time period is greater than preset time period, terminate the Caton treatment progress;After the process, re-create described
Caton treatment progress;When receiving the second request that the process re-created is sent, the first time period is redefined;When
When the first time period redefined is greater than the preset time period, terminate the process re-created;In the preset time period
It is interior, when receiving the third request for the main interface for showing the APP that the process re-created is sent, stop determining institute
First time period is stated, and shows the main interface, so, it is possible the workability for improving electronic equipment, is promoting user experience
While reduce problem complain, to reduce the manpower maintenance cost of manufacturer.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of processing method of startup interface Caton, the side again
Method includes:
Step S221, when receiving the first request for starting APP, Caton treatment progress is created;
Step S222, when the APP is started, the described for showing of the Caton treatment progress transmission is received
Second request of the startup interface of APP;
Step S223, the mark of default list list and the APP is obtained;
Here, the default list list can be the list list that user is pre-stored in the electronic equipment,
Electronic equipment be can be according to the default list list of the creations such as the frequency of use of different APP.The default list list, record
The identification information of the common all APP of user, when the mark of the corresponding APP of the first request is in the default list list
When, the APP Caton for carrying out startup interface is handled.Certainly, the default list list, that also can recorde is APP
The identification information of startup interface, and then by judging the mark whether identification information of startup interface belongs in default list list
Information, to determine whether to execute the Caton processing of the startup interface.
If the mark of step S224, the described APP in the default list list, determines first time period, described
One period was the period that the startup interface is shown with first state;
Step S225, when the first time period is greater than preset time period, terminate the Caton treatment progress.
In the embodiment of the present application, by creating Caton treatment progress when receiving the first request for starting APP;
When the APP is started, the second of the startup interface for showing the APP that the Caton treatment progress is sent is received
Request;Obtain the mark of default list list and the APP;If the mark of the APP is in the default list list, really
Determine first time period, the first time period is the period that the startup interface is shown with first state;When described first
Between section be greater than preset time period when, terminate the Caton treatment progress, so, it is possible improve electronic equipment workability,
It reduces problem while promoting user experience to complain, to reduce the manpower maintenance cost of manufacturer.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of processing method of startup interface Caton, the side again
Method includes:
Step S231, when receiving the first request for starting APP, Caton treatment progress is created;
Step S232, when the APP is started, the described for showing of the Caton treatment progress transmission is received
Second request of the startup interface of APP;
Step S233, determine that first time period, the first time period are what the startup interface was shown with first state
Period;
Step S234, when the first time period is greater than preset time period, terminate the Caton treatment progress;
Step S235, in the preset time period, when APP request removes described in the startup interface and display
When the main interface of APP, stop determining the first time period.
Here, the APP request removes the startup interface and shows the main interface of the APP, refers to the APP hair
The system for having sent the request electron equipment for starting main interface, and then system executes the starting main interface received
Request, will jump to main interface by startup interface.At this point it is possible to show within a preset period of time, i.e., APP startup interface maximum is aobvious
Show in duration, the startup interface of the APP no longer needs to the Caton processing for carrying out startup interface there is no Caton.
In the embodiment of the present application, by creating Caton treatment progress when receiving the first request for starting APP;
When the APP is started, the second of the startup interface for showing the APP that the Caton treatment progress is sent is received
Request;Determine that first time period, the first time period are the period that the startup interface is shown with first state;When described
When first time period is greater than preset time period, terminate the Caton treatment progress;In the preset time period, as the APP
When request removes the startup interface and shows the main interface of the APP, stops determining the first time period, so, it is possible
The workability for improving electronic equipment reduces problem while promoting user experience and complains, to reduce the manpower dimension of manufacturer
Protect cost.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of processing method of startup interface Caton, the side again
Method includes:
Step S241, when receiving the first request for starting APP, Caton treatment progress is created;
Step S242, when the APP is started, the described for showing of the Caton treatment progress transmission is received
Second request of the startup interface of APP;
Step S243, determine that first time period, the first time period are what the startup interface was shown with first state
Period;
Step S244, when the first time period is greater than preset time period, display reminding window, the prompt window is used
The starting time-out of the APP described in prompt user;
Here, when the first time period is greater than preset time period, i.e. the display duration of startup interface has been more than default
Maximum display duration when, do not terminate the Caton process flow directly, but pop-up display prompt window, prompt user institute
State APP starting time-out, if close this time starting task, when user selects to close, just terminate the Caton treatment progress.This
Sample can bring better usage experience to user, be handled according to the Caton that the wish of user carries out startup interface.
Step S245, when receiving the instruction for closing the APP, terminate the Caton treatment progress.
In the embodiment of the present application, by creating Caton treatment progress when receiving the first request for starting APP;
When the APP is started, the second of the startup interface for showing the APP that the Caton treatment progress is sent is received
Request;Determine that first time period, the first time period are the period that the startup interface is shown with first state;When described
When first time period is greater than preset time period, display reminding window, the prompt window is for prompting the starting of APP described in user to surpass
When;When receiving the instruction for closing the APP, terminate the Caton treatment progress, so, it is possible improve electronic equipment can
Usability reduces problem while promoting user experience and complains, to reduce the manpower maintenance cost of manufacturer.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of Caton processing method of startup interface, the side again
Method, in this abnormal scene of startup interface, is made that improvement from system level and evades for APP Caton.Fig. 3 A is that the application is real
The implementation process schematic diagram three of a processing method for startup interface Caton is applied, as shown in Figure 3A, which comprises
Step S301, a static name monofile is created;
Here, the static name monofile is used to record the name of the startup interface of each common APP.
Step S302, by way of system software update that the disk of the static name monofile deposit electronic equipment is empty
Between;
Step S303, a startup interface longest is defined in AMS can show the time;
Here, the startup interface longest can show that the value of time can be user's self-setting, or electronics
Equipment according to user to information such as the frequency of use of the APP come equipment, the embodiment of the present application is to this and with no restrictions.Citing comes
It says, startup interface longest being shown to, the time is set as 12s (second).
Step S304, when AMS receives the request of the first startup interface of display, the static list is read from disk space
File;
Step S305, whether the first startup interface described in interpretation belongs to the static name monofile;
Here, when the name of first startup interface is not belonging to opening for the common APP of the static list file record
When the name in arena face, then step terminates.If belonged to, S306 is thened follow the steps.
Step S306, AMS creates the first process, and AMS opens the first startup interface described in a timer record and has been displayed
The time crossed;
Step S307, judge to show whether AMS in the time receives the request of hiding first startup interface in longest;
Here, if having received the request of hiding first startup interface, the startup interface for representing the APP has no Caton,
Program normally executes, i.e., will execute the personage of starting main interface, then step terminates.If not receiving hiding first to open
The request in arena face, thens follow the steps S308.
Step S308, AMS kills first process, creates the second process.
Step S309, step S304 to step S308 is repeated, until first startup interface starts successfully.
In the embodiment of the present application, the time having been displayed can be seen by a user completely for first startup interface
Time, therefore, period that first startup interface is blocked needs to be left out.For example, when first starting
Interface is when backstage is shown, then it is assumed that first startup interface, which is blocked, to be needed to exclude at this time first startup interface and exist
The time of backstage display.For another example, it when detecting although first startup interface operates in foreground, but is blocked by other interfaces
The time for being then also required to block forecloses.
Fig. 3 B is the interaction flow schematic diagram of the processing method of the embodiment of the present application startup interface Caton, as shown in Figure 3B,
The left side is that APP starts interaction flow schematic diagram, first request starting APP, is then read from the disk storage space of electronic equipment
Startup interface list is taken, next judges to request the APP started whether in the startup interface list, if it was not then after
Continuous display startup interface.If starting startup interface timing (during timing, still will continue to display starting circle
Face).Judge whether time-out according to the time of the timer record, if it times out, killing current process opens new process.
The right is interaction flow schematic diagram inside timer, when startup interface is blocked, time out.When startup interface is not blocked
When, restore timing.When APP requests to remove startup interface and show main interface, stop timing.(work as record when the time is up
Time be equal to preset startup interface maximum show duration when), also stop timing.
After the scheme in the embodiment of the present application, after encountering the scene of startup interface Caton, occur abnormal APP into
Journey can be killed by AMS, and new APP process can be created, and APP is repaired the problem of continuation runs, blocks in new process.
Fig. 3 C is the implementation process schematic diagram four of the processing method of the embodiment of the present application startup interface Caton, such as Fig. 3 C institute
Show, it is assumed that encounter the scene of startup interface Caton when only starting for the first time, restarting smoothly completes, and startup interface card is encountered
Scene, then the described method includes:
Step S311, desktop sends the request of starting APP to AMS;
Step S312, the described AMS creates APP process, and the process is denoted as the first process;
Step S313, described first process requests display startup interface to the AMS;
Step S314, the showing startup interface of the task is sent to display system by the described AMS;
Step S315, the described AMS starts startup interface timing using timing module;
Step S316, startup interface display time-out, then the AMS terminates first process using timeout treatment module,
And current interface is destroyed, new APP process is created, and the new APP process is denoted as the second process;
Step S317, described second process continues to request display startup interface to the AMS;
Step S318, the showing startup interface of the task is sent to display system by the described AMS;
Step S319, the described AMS starts startup interface timing using timing module;
Step S320, described second process requests display main interface to the AMS;
Step S321, the described AMS removes timing;
Step S322, the showing main interface of the task is sent to display system by the described AMS.
Here, the time zero can be the time point of startup interface starting, also can star interface and is really shown to
The time point of user.When startup interface time-out in the first process, current process can be killed, new process is started, certainly, actually
Dialog notification user can be popped up according to scene, allow user's selection operation.
In the embodiment of the present application, by the processing method of the startup interface Caton of offer, can be improved electronic equipment can
Usability promotes user experience and reduces problem complaint, reduces manpower maintenance cost to electronic equipment manufacturer.
Based on embodiment above-mentioned, the embodiment of the present application provides a kind of processing unit of startup interface Caton, the device packet
Each component included by each module included by included each unit and each unit and each module is included, electricity can be passed through
Processor in sub- equipment is realized;Certainly it can also be realized by specific logic circuit;In the process of implementation, processor can
Think central processing unit (Central Processing Unit, CPU), microprocessor (Microprocessor Unit,
MPU), digital signal processor (Digital Signal Processing, DSP) or field programmable gate array (Field
Programmable Gate Array, FPGA) etc..
Fig. 4 is the composed structure schematic diagram of the processing unit of the embodiment of the present application startup interface Caton, as shown in figure 4, institute
Stating device 400 includes:
Creating unit 401, for creating Caton treatment progress when receiving the first request for starting APP;
Receiving unit 402, for when the APP is started, receiving that the Caton treatment progress sends for showing
Show the second request of the startup interface of the APP;
Determination unit 403, for determining that first time period, the first time period are the startup interface with first state
The period of display;
End unit 404, for when the first time period be greater than preset time period when, terminate the Caton handle into
Journey.
In some embodiments, described device further include:
Unit is re-created, for re-creating the Caton treatment progress after the process;
Unit is redefined, for redefining described when receiving the second request that the process re-created is sent
First time period;
Again end unit, for terminating again when the first time period redefined is greater than the preset time period
The process of creation;
Display unit, in the preset time period, when receiving that the process re-created sends for showing
When the third request of the main interface of the APP, stop determining the first time period, and show the main interface.
In some embodiments, the determination unit 403, comprising:
Module is obtained, for obtaining the mark of default list list and the APP;
Determining module, if the mark for the APP determines first time period in the default list list.
In some embodiments, the first time period is the period that the startup interface is shown with first state, packet
Include: the first time period is the period that the startup interface is shown on foreground.
In some embodiments, the determination unit 403, comprising:
First determining module, for determining the first time period when the startup interface starts starting;Or, second
Determining module, for when the startup interface terminal show when, determine the first time period.
In some embodiments, described device further include:
Stop unit, for when the APP request removal startup interface and showing institute in the preset time period
When stating the main interface of APP, stop determining the first time period.
In some embodiments, the end unit 404, comprising:
Display module is used for when the first time period is greater than preset time period, display reminding window, the reminding window
Mouth is for prompting the starting time-out of APP described in user;
Ending module, for terminating the Caton treatment progress when receiving the instruction for closing the APP.
The description of apparatus above embodiment, be with the description of above method embodiment it is similar, have same embodiment of the method
Similar beneficial effect.For undisclosed technical detail in the application Installation practice, the application embodiment of the method is please referred to
Description and understand.
It should be noted that in the embodiment of the present application, if realizing above-mentioned starting circle in the form of software function module
The processing method of face Caton, and when sold or used as an independent product also can store and computer-readable deposit at one
In storage media.Based on this understanding, the technical solution of the embodiment of the present application substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which is stored in a storage medium, including
Some instructions are used so that an electronic equipment (can be personal computer, server etc.) executes each embodiment institute of the application
State all or part of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only
Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present application does not limit
It is combined in any specific hardware and software.
Accordingly, the embodiment of the present application provides a kind of electronic equipment, including memory and processor, the memory storage
There is a computer program that can be run on a processor, the processor is realized when executing described program to be provided in above-described embodiment
Step in the processing method of startup interface Caton.
Accordingly, the embodiment of the present application provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the computer
The step in the processing method of above-mentioned startup interface Caton is realized when program is executed by processor.
It need to be noted that: the description of medium stored above and apparatus embodiments, with retouching for above method embodiment
It is similar for stating, and has with embodiment of the method similar beneficial effect.For in the application storage medium and apparatus embodiments not
The technical detail of disclosure please refers to the description of the application embodiment of the method and understands.
It should be noted that Fig. 5 is a kind of hardware entities schematic diagram of the embodiment of the present application electronic equipment, as shown in figure 5,
The hardware entities of the electronic equipment 500 include: processor 501, communication interface 502 and memory 503, in which:
The overall operation of the usual controlling electronic devices 500 of processor 501.
Communication interface 502 can make electronic equipment 500 pass through network and other terminals or server communication.
Memory 503 is configured to store the instruction and application that can be performed by processor 501, can also cache device to be processed
501 and electronic equipment 500 in each module it is to be processed or processed data (for example, image data, audio data, voice
Communication data and video communication data), flash memory (FLASH) or random access storage device (Random Access can be passed through
Memory, RAM) it realizes.
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, can be fully integrated into a processing module in each functional unit in each embodiment of the application, 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.This
Field those of ordinary skill, which is understood that, realizes that all or part of the steps of above method embodiment can be by program instruction phase
The hardware of pass is completed, and program above-mentioned can be stored in a computer readable storage medium, which when being executed, holds
Row step including the steps of the foregoing method embodiments;And storage medium above-mentioned includes: movable storage device, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Disclosed method in several embodiments of the method provided herein, in the absence of conflict can be any group
It closes, obtains new embodiment of the method.
Disclosed feature in several product embodiments provided herein, in the absence of conflict can be any group
It closes, obtains new product embodiments.
Disclosed feature in several methods provided herein or apparatus embodiments, in the absence of conflict can be with
Any combination obtains new embodiment of the method or apparatus embodiments.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.
Claims (10)
1. a kind of processing method of startup interface Caton, which is characterized in that the described method includes:
When receiving the first request for starting APP, Caton treatment progress is created;
When the APP is started, the startup interface for showing the APP that the Caton treatment progress is sent is received
Second request;
Determine that first time period, the first time period are the period that the startup interface is shown with first state;
When the first time period is greater than preset time period, terminate the Caton treatment progress.
2. the method according to claim 1, wherein the method also includes:
After the process, the Caton treatment progress is re-created;
When receiving the second request that the process re-created is sent, the first time period is redefined;
When the first time period redefined is greater than the preset time period, terminate the process re-created;
In the preset time period, when the main interface for showing the APP for receiving the process transmission re-created
When third is requested, stop determining the first time period, and show the main interface.
3. the method according to claim 1, wherein the determining first time period, comprising:
Obtain the mark of default list list and the APP;
If the mark of the APP determines first time period in the default list list.
4. method according to claim 1 or 2, which is characterized in that the first time period is the startup interface with the
The period of one status display, comprising:
The first time period is the period that the startup interface is shown on foreground.
5. method according to claim 1 or 2, which is characterized in that the determining first time period, comprising:
When the startup interface starts starting, the first time period is determined;Or,
When the startup interface terminal show when, determine the first time period.
6. method according to claim 1 or 3, which is characterized in that the method also includes:
In the preset time period, when APP request removes the startup interface and shows the main interface of the APP,
Stop determining the first time period.
7. method according to claim 1 or 2, which is characterized in that described when the first time period is greater than preset time
Duan Shi terminates the Caton treatment progress, comprising:
When the first time period is greater than preset time period, display reminding window, the prompt window is for prompting user institute
State APP starting time-out;
When receiving the instruction for closing the APP, terminate the Caton treatment progress.
8. a kind of processing unit of startup interface Caton, which is characterized in that described device includes:
Creating unit, for creating Caton treatment progress when receiving the first request for starting APP;
Receiving unit, for when the APP is started, receiving the described for showing of the Caton treatment progress transmission
Second request of the startup interface of APP;
Determination unit, for determining that first time period, the first time period are what the startup interface was shown with first state
Period;
End unit, for terminating the Caton treatment progress when the first time period is greater than preset time period.
9. a kind of electronic equipment, including memory and processor, the memory are stored with the calculating that can be run on a processor
Machine program, which is characterized in that the processor realizes any one of claim 1 to 7 startup interface when executing described program
Step in the processing method of Caton.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step in the processing method of any one of claim 1 to 7 startup interface Caton is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579199.0A CN110308951B (en) | 2019-06-28 | 2019-06-28 | Processing method and device for starting interface card pause, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579199.0A CN110308951B (en) | 2019-06-28 | 2019-06-28 | Processing method and device for starting interface card pause, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110308951A true CN110308951A (en) | 2019-10-08 |
CN110308951B CN110308951B (en) | 2022-07-19 |
Family
ID=68079309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910579199.0A Active CN110308951B (en) | 2019-06-28 | 2019-06-28 | Processing method and device for starting interface card pause, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110308951B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111198725A (en) * | 2019-12-30 | 2020-05-26 | 掌阅科技股份有限公司 | Application starting processing method, computing equipment and computer storage medium |
CN111246282A (en) * | 2020-03-16 | 2020-06-05 | 青岛海信传媒网络技术有限公司 | Program information acquisition method in display equipment and display equipment |
CN112231132A (en) * | 2020-09-30 | 2021-01-15 | 北京五八信息技术有限公司 | Application program jamming positioning method and device, electronic equipment and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581314A (en) * | 2013-10-29 | 2014-02-12 | 广东欧珀移动通信有限公司 | Method and system for achieving application recommendation on APP starting page |
CN103793244A (en) * | 2013-12-26 | 2014-05-14 | 百度在线网络技术(北京)有限公司 | Method and device for displaying information on start page |
US20150073892A1 (en) * | 2013-09-06 | 2015-03-12 | Tune, Inc. | Systems and methods for opening an application associated with an advertisement |
CN104991799A (en) * | 2015-06-26 | 2015-10-21 | 深圳市金立通信设备有限公司 | Terminal startup interface management method and terminal |
CN105068844A (en) * | 2015-08-26 | 2015-11-18 | 广东欧珀移动通信有限公司 | Method and apparatus for solving problem of no startup of Android terminal |
CN107783795A (en) * | 2017-07-26 | 2018-03-09 | 上海壹账通金融科技有限公司 | Application program launching method, device, computer equipment and storage medium |
CN108363597A (en) * | 2018-01-02 | 2018-08-03 | 武汉斗鱼网络科技有限公司 | A kind of method for page jump and system |
CN109739571A (en) * | 2018-12-20 | 2019-05-10 | 努比亚技术有限公司 | Application program launching method, mobile terminal and computer readable storage medium |
-
2019
- 2019-06-28 CN CN201910579199.0A patent/CN110308951B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150073892A1 (en) * | 2013-09-06 | 2015-03-12 | Tune, Inc. | Systems and methods for opening an application associated with an advertisement |
CN103581314A (en) * | 2013-10-29 | 2014-02-12 | 广东欧珀移动通信有限公司 | Method and system for achieving application recommendation on APP starting page |
CN103793244A (en) * | 2013-12-26 | 2014-05-14 | 百度在线网络技术(北京)有限公司 | Method and device for displaying information on start page |
CN104991799A (en) * | 2015-06-26 | 2015-10-21 | 深圳市金立通信设备有限公司 | Terminal startup interface management method and terminal |
CN105068844A (en) * | 2015-08-26 | 2015-11-18 | 广东欧珀移动通信有限公司 | Method and apparatus for solving problem of no startup of Android terminal |
CN107783795A (en) * | 2017-07-26 | 2018-03-09 | 上海壹账通金融科技有限公司 | Application program launching method, device, computer equipment and storage medium |
CN108363597A (en) * | 2018-01-02 | 2018-08-03 | 武汉斗鱼网络科技有限公司 | A kind of method for page jump and system |
CN109739571A (en) * | 2018-12-20 | 2019-05-10 | 努比亚技术有限公司 | Application program launching method, mobile terminal and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
做自己的国王: "Open an activity after a certain amount of time?", 《HTTPS://WWW.MANONGDAO.COM/ARTICLE-691675.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111198725A (en) * | 2019-12-30 | 2020-05-26 | 掌阅科技股份有限公司 | Application starting processing method, computing equipment and computer storage medium |
CN111198725B (en) * | 2019-12-30 | 2023-02-28 | 掌阅科技股份有限公司 | Application starting processing method, computing equipment and computer storage medium |
CN111246282A (en) * | 2020-03-16 | 2020-06-05 | 青岛海信传媒网络技术有限公司 | Program information acquisition method in display equipment and display equipment |
CN111246282B (en) * | 2020-03-16 | 2022-03-25 | 青岛海信传媒网络技术有限公司 | Program information acquisition method in display equipment and display equipment |
CN112231132A (en) * | 2020-09-30 | 2021-01-15 | 北京五八信息技术有限公司 | Application program jamming positioning method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN110308951B (en) | 2022-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110308951A (en) | A kind of processing method and processing device of startup interface Caton, equipment, storage medium | |
CN105763602A (en) | Data request processing method, server and cloud interactive system | |
US20160048682A1 (en) | Method and Apparatus for Clearing Malicious Power-Consuming Application, and User Terminal | |
CN111258921B (en) | Garbage memory recycling method and device, electronic equipment and storage medium | |
CN110971922B (en) | Live broadcast and microphone connection state monitoring method, client, server, medium and system | |
CN103248749B (en) | Method, device and terminal for automatically controlling terminal display scale | |
CN103761150B (en) | Information processing method, information processing unit and electronic equipment | |
CN109656885B (en) | Storage space monitoring method and device, electronic terminal and storage medium | |
CN108334415A (en) | A kind of fault-tolerance processing method, device, terminal and storage medium | |
CN106201811A (en) | The fault recovery method of application program and terminal | |
CN110290058B (en) | Method and equipment for presenting session message in application | |
CN107835984B (en) | Thermal mitigation user experience | |
WO2024179104A1 (en) | Method for preloading memory page, electronic device, and chip system | |
CN107908957B (en) | Safe operation management method and system of intelligent terminal | |
CN111143019B (en) | Control method and system for popup window of mobile terminal | |
CN107465870A (en) | The replacement method and system of external camera | |
US20240231892A1 (en) | Method, apparatus, device and storage medium for searching and killing a front-end process | |
CN107391199A (en) | Using startup method and device, terminal and computer-readable recording medium | |
CN108762983B (en) | Multimedia data recovery method and device | |
CN108958980A (en) | Prevent method, electronic device and the computer readable storage medium of Activity life cycle exception | |
CN112153215A (en) | Call processing method and device, related equipment and storage medium | |
CN107665157A (en) | It is a kind of to improve the method without the experience of disk speed | |
CN110177172A (en) | Terminal Anti-addiction method, apparatus, terminal and computer readable storage medium | |
CN108600512A (en) | Information prompting method, electronic device, terminal equipment and storage medium | |
CN112584237B (en) | Image erasing method and device, electronic 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 |