[go: up one dir, main page]

CN112579198A - Method and device for starting application program - Google Patents

Method and device for starting application program Download PDF

Info

Publication number
CN112579198A
CN112579198A CN202011446146.0A CN202011446146A CN112579198A CN 112579198 A CN112579198 A CN 112579198A CN 202011446146 A CN202011446146 A CN 202011446146A CN 112579198 A CN112579198 A CN 112579198A
Authority
CN
China
Prior art keywords
application
application program
starting
screen
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011446146.0A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011446146.0A priority Critical patent/CN112579198A/en
Publication of CN112579198A publication Critical patent/CN112579198A/en
Priority to PCT/CN2021/109097 priority patent/WO2022121333A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

A method and a device for starting an application program are used for improving the stability of a system when the application program is started through an intelligent key. The method comprises the following steps: detecting a first operation of a user, wherein the first operation is used for starting a first application program in the mobile terminal; when the current screen is determined to be in the screen locking state, judging whether a second application program which is not started completely exists or not; if yes, terminating or suspending starting the first application program; otherwise, continuing to start the first application program.

Description

Method and device for starting application program
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for starting an application.
Background
With the wide application of technologies such as smart home and smart voice assistant, many manufacturers can add a shortcut smart key to an intelligent terminal, so that a user can start an application program through the shortcut smart key. However, starting the Application program through the shortcut smart key may interfere with the native android system, thereby increasing the frequency of BUG (BUG) occurrence and Application No Response (ANR) occurrence of the system, and affecting the stability of the system. Therefore, how to start the application program through the intelligent key is a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a method and a device for starting an application program, which are used for improving the stability of a system when the application program is started through an intelligent key.
In a first aspect, an embodiment of the present invention provides a method for starting an application, where the method is applied to a mobile terminal, and the method includes:
detecting a first operation of a user, wherein the first operation is used for starting a first application program in the mobile terminal;
when the current screen is determined to be in the screen locking state, judging whether a second application program which is not started completely exists or not;
if yes, terminating or suspending starting the first application program; otherwise, continuing to start the first application program.
Optionally, the screen locking state includes: and locking the screen and performing black screen display, or locking the screen and performing bright screen display.
Optionally, before continuing to start the first application, the method further includes:
determining that a time interval between the first operation and a second operation is greater than a threshold, wherein the second operation is an operation detected before the first operation, and the second operation is used for opening the first application or the second application.
Optionally, the method further includes terminating or suspending the launching of the first application when it is determined that the time interval between the first operation and the second operation is smaller than the threshold.
Optionally, before continuing to start the first application, the method further includes:
determining that the first application satisfies a constraint; the limiting condition is used for indicating the first application program to start when the limiting condition is met, and to terminate or suspend starting when the limiting condition is not met;
the limiting conditions include: at least one of the application is not abnormal, the application is not started and the application is not in an updated state.
Optionally, after the continuing to start the first application, the method further includes:
when the first application program is an application suitable for displaying in the screen locking state, displaying the first application program in an unlocked state.
In a second aspect, an embodiment of the present invention provides an apparatus for starting an application, including:
the mobile terminal comprises a detection module, a first processing module and a second processing module, wherein the detection module is used for detecting a first operation of a user, and the first operation is used for starting a first application program in the mobile terminal;
the processing module is used for determining that the current screen is in a screen locking state;
the judging module is used for judging whether a second application program which is not started completely exists or not when the current screen is in a screen locking state;
the processing module is further used for terminating or suspending starting the first application program when the second application program which is not started completely exists; otherwise, continuing to start the first application program.
Optionally, the screen locking state includes: and locking the screen and performing black screen display, or locking the screen and performing bright screen display.
Optionally, before the processing module is configured to continue to start the first application, the processing module is further configured to:
determining that a time interval between the first operation and a second operation is greater than a threshold, wherein the second operation is an operation detected before the first operation, and the second operation is used for opening the first application or the second application.
Optionally, the processing module is further configured to:
and when the time interval between the first operation and the second operation is determined to be smaller than the threshold value, terminating or suspending the starting of the first application program.
Optionally, before the processing module is configured to continue to start the first application, the processing module is further configured to:
determining that the first application satisfies a constraint; the limiting condition is used for indicating the first application program to start when the limiting condition is met, and to terminate or suspend starting when the limiting condition is not met;
the limiting conditions include: at least one of the application is not abnormal, the application is not started and the application is not in an updated state.
Optionally, after continuing to start the first application, the processing module is further configured to:
when the first application program is an application suitable for displaying in the screen locking state, displaying the first application program in an unlocked state.
In a third aspect, an embodiment of the present invention provides an apparatus for starting an application, including:
a memory for storing computer instructions;
a processor, coupled to the memory, for executing the computer instructions in the memory to perform the method as provided by the first aspect above when executing the computer instructions.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the method as provided in the first aspect.
In a fifth aspect, embodiments of the present invention provide a computer program product, which when run on a computer causes the computer to perform the method as provided in the first aspect above.
The embodiment of the invention provides a method for starting an application program during screen locking. If yes, the first application program is stopped or suspended, otherwise, the first application program is continuously started. By the method, the first application program can be prevented from being started when the second application program is not started completely, interference on the mobile terminal system caused by improper starting of the application program is avoided, the probability of BUG or ANR of the mobile terminal system is reduced, and the stability of the system is improved.
Drawings
Fig. 1 is a schematic scene diagram of a method for starting an application according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a process of starting a first application program via an intelligent key in the prior art;
fig. 3 is a flowchart illustrating a method for starting an application according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for starting an application according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for starting an application according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are some, not all embodiments of the solution of the invention. All other embodiments obtained by a person skilled in the art without any creative effort based on the embodiments described in the present document belong to the protection scope of the technical solution of the present invention.
Current mobile terminals typically have only a few physical keys, such as a power key and a volume key, but these keys are rarely used to start applications. With the wide application of technologies such as smart home and smart voice assistant, many manufacturers will add an intelligent key to the mobile terminal, so that the user can start the application program through the intelligent key, for example, the user can respectively and correspondingly start different application programs by performing operations such as clicking, double-clicking, long-pressing and the like on the intelligent key on the mobile terminal. In order to facilitate the use of the user, a plurality of application programs started by the intelligent keys can be displayed on the screen locking interface.
Although the smart key can allow a user to open some applications quickly and conveniently, the start-up manner is added by a manufacturer, and the native mechanism of the Android system (Android) does not suggest the start-up manner, because the start-up of the application by the smart key may interfere with the flow of starting the application inside the Android system, thereby increasing the probability of the occurrence of BUG or ANR in the system and affecting the stability of the system.
In view of this, embodiments of the present invention provide a method for starting an application, which reduces interference to a mobile terminal system caused by starting an application through an intelligent key when a screen is locked by limiting some inappropriate starting operations performed by a user when the screen is locked, reduces a probability of generating a BUG or an ANR in the system, and improves stability of the system.
The technical scheme provided by the embodiment of the invention is described in the following with the accompanying drawings of the specification.
Fig. 1 is a schematic view of a scenario of a method for starting an application according to an embodiment of the present invention.
The scenario shown in fig. 1 is that the smart home application on the mobile phone is started through the smart key. Fig. 1 includes a first interface 101 and a second interface 102 displayed on the same mobile phone, and a smart key 103 and a smart home application 104 displayed on the second interface 102 on the mobile phone.
When the mobile phone is in a screen locking state as shown in the first interface 101, the user clicks the smart key 103 on the mobile phone, and when the mobile phone detects a click operation of the user for opening the smart home application 104, it is determined whether other application programs which have not been started exist. If the program which is not started yet does not exist, the smart home application program is continuously started, and the smart home application program 104 is displayed on the screen locking interface of the mobile phone, so that the mobile phone is finally displayed as the interface shown by the second interface 102.
It should be noted that the above-mentioned application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the present invention is not limited in any way in this respect. Rather, embodiments of the present invention may be applied in any scenario where applicable.
Fig. 2 is a schematic flow chart of the prior art when a first application is started by an intelligent key, which includes:
step 201: the user presses the smart key. The smart key can be a key which is added by a mobile phone manufacturer and is different from a power key and a volume key. The user can respectively start different application programs through different intelligent keys or different operations on the intelligent keys. For example, a smart home application can be turned on by double-clicking a smart key, or a smart voice assistant of a cell phone can be turned on by long-pressing a smart key, etc.
Step 202: and entering an Activity starting process of the first application program. After detecting that the user presses the intelligent key, the mobile phone enters a starting process of the first application program.
Step 203: it is determined whether the restriction is initiated by Activity. If yes, go to step 204a, otherwise go to step 204 b.
Step 204 a: the launching of the first application is terminated.
Step 204 b: and continuing to start the first application program.
In the prior art, when a first application program is started through an intelligent key, it is only required to judge whether the first application program needs to be terminated according to an Activity start limiting condition in an Activity start process, for example, when the first application program is abnormal or the first application program is already in a state of finishing starting, it is determined that the first application program does not pass the Activity start limiting condition, and the starting of the first application program is terminated, otherwise, the starting of the first application program is continued. However, the method for starting the first application program does not fully consider the situation that the previous application program is not completely started, and directly starting the new first application program under the situation that the previous application program is not completely started may cause confusion of the starting process of the application program in the mobile phone system, thereby causing instability of the mobile phone system.
Therefore, in order to solve the defects in the existing manner for starting the application program, embodiments of the present invention provide a method for starting the application program, which limits the starting of the application program by adding an additional condition in the process of starting the application program by the mobile terminal, thereby avoiding the occurrence of a process confusion caused by the simultaneous starting of two application programs and increasing the stability of the system of the mobile terminal.
Fig. 3 is a flowchart illustrating a method for starting an application according to an embodiment of the present invention.
As shown in fig. 3, the method specifically includes the following steps:
step 301: a first operation by a user is detected.
The first operation is used for starting a first application program in the mobile terminal. The first operation of the user may be the above-mentioned operation of pressing the smart key, which may be a key other than the power key and the volume key additionally added by the manufacturer as described above; the first operation may also be some special click modes, such as long-time pressing, double-click, or the like, on a power key, a volume key, or other common keys of the intelligent terminal. The user can respectively start different application programs through different intelligent keys or different operations on the intelligent keys. For example, a smart home application can be turned on by double-clicking a smart key, or a smart voice assistant of a cell phone can be turned on by long-pressing a smart key, etc.
The following description will take the example of turning on the smart home application in the mobile phone through the smart key shown in fig. 1. After a user clicks an intelligent key on the mobile phone, an Android system loaded in the mobile phone starts Activity corresponding to the intelligent home application program based on clicking operation of the user.
Optionally, in the process of starting the smart home application program, the mobile phone may determine whether the Activity of the smart home application program is started through an intelligent key according to a parameter calling Package transmitted by a start Activity function in the Android system, and if so, the method provided in the embodiment of the present invention may be applied to start the smart home application program. And if the calling Package is equal to the packet name corresponding to the intelligent key, the calling Package represents that the intelligent home application program is started through the intelligent key.
Step 302: and determining that the current screen is in a screen locking state. Wherein, the lock screen state includes: and a screen locking and blank screen state, or a screen locking and bright screen state.
The method in the embodiment of the invention can be used for opening the first application program in the screen locking state. Since the interface of the mobile terminal is quickly occupied by the initial interface of the application program after the user clicks the application program in the non-screen-locked state, the user rarely restarts another application program in this case, and thus the first application program can be directly started in the non-screen-locked state without starting by the method for starting the application program in the embodiment of the present invention.
Optionally, the method in the embodiment of the present invention may also be used to open the first application program in a state that the mobile terminal is locked or unlocked, which is not limited in the embodiment of the present invention.
Step 303: and judging whether the time interval between the first operation and the second operation is larger than a threshold value. And the second operation is the last operation of the first operation, and the second operation is used for opening the first application program or the second application program.
Continuing with the scenario shown in fig. 1 as an example, the user first starts the smart voice assistant of the mobile phone by long-pressing the smart key, and then double-clicks the smart key again to open the smart home application in the mobile phone. The mobile phone records that the time point when the user presses the intelligent key for the first time for a long time is t1, the time point when the user clicks the intelligent key for the second time is t2, and the difference value between the two time points is the time interval of the two operations.
And when the time interval is larger than the threshold value, the mobile phone determines that the operation of opening the intelligent household application program for the second time by the user is effective, and enters the starting program of the intelligent household application program.
And when the time interval is smaller than the threshold value, the mobile phone terminates or suspends starting the intelligent household application program. Because the Activity in the mobile phone already enters the starting process after the user presses the smart key for the first time for a long time, if the user clicks the smart key again in a short time, the Activity starting process of the last smart home application in the Android system may be disordered, and the Android system may be crashed or stuck.
Step 304: and judging whether the first application program meets the limiting condition. If so, go to step 304, otherwise terminate or suspend launching the first application. Wherein the limiting conditions include: at least one of the application is not abnormal, the application is not started and the application is not in an updated state.
Taking fig. 1 as an example, after the mobile phone enters the Activity start process, it is further required to determine whether the smart home application program starts the limiting condition through the Activity of the Android system, specifically, it is required to determine whether the smart home application program is abnormal, if so, it is determined that the smart home application program does not satisfy the limiting condition, and the start of the smart home application program is terminated or suspended. Optionally, it is further required to determine whether the smart home application is in an updated state, or whether the smart home application has been started in the unlocked interface, and the like.
Step 305: and judging whether a second application program which is not started completely exists or not. If so, step 306a is performed, otherwise step 306b is performed.
Step 306 a: the first application is terminated or paused to launch.
Step 306 b: and continuing to start the first application program.
Taking fig. 1 as an example, after the mobile phone detects a click operation of a user for opening an intelligent home application, the mobile phone further needs to detect whether a second application that has not been completely started exists in the system. Specifically, the mobile phone may determine whether the previous second application has been started up according to a screen locking interface anti-flicker mechanism (un _ now App _ Visibility Controller mechanism) of the Android system. If the second application program is not started completely, the second application program is kept in a list of an Unknown App Visability Controller, and the second application program cannot be removed from the list until the second application program is started completely and is displayed from a mobile phone interface. Therefore, it is possible to determine whether the second application has been started up by determining whether the second application is still in the list. If the second program is started, the intelligent household application program can be started continuously; if the second program is detected not to be started completely, the intelligent household application program can be stopped and started temporarily, and the intelligent household application program can be started continuously until the second application program is started completely.
Optionally, when the first application program is an application suitable for displaying in the locked screen state, after the first application program is started by the above method, the first application program may be displayed on the display screen in the unlocked state.
Alternatively, the sequence of step 302, step 303, step 304 and step 305 in the flowchart shown in fig. 3 may be arbitrarily replaced, and the present invention does not limit the sequence of the above steps.
Based on the same inventive concept, the embodiment of the present invention provides an apparatus for starting an application, where the apparatus for starting an application can implement a function corresponding to the foregoing method for starting an application. The means for initiating the application can be a hardware structure, a software module, or a hardware structure plus a software module. The device for starting the application program can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 4, the apparatus includes a detection module 401, a processing module 402, and a determination module 403, where:
a detecting module 401, configured to detect a first operation of a user, where the first operation is used to start a first application in the mobile terminal;
a processing module 402, configured to determine that a current screen is in a screen lock state;
a judging module 403, configured to judge whether a second application program that has not been started yet exists when the current screen is in a screen lock state;
the processing module 402 is further configured to terminate or suspend starting the first application program when there is the second application program that has not been started; otherwise, continuing to start the first application program.
Optionally, the screen locking state includes: and locking the screen and performing black screen display, or locking the screen and performing bright screen display.
Optionally, before the processing module 402 is configured to continue to start the first application, the processing module is further configured to:
determining that a time interval between the first operation and a second operation is greater than a threshold, wherein the second operation is a last operation of the first operation, and the second operation is used for opening the first application or the second application.
Optionally, the processing module 402 is further configured to:
and when the time interval between the first operation and the second operation is determined to be smaller than the threshold value, terminating or suspending the starting of the first application program.
Optionally, before the processing module 402 is configured to continue to start the first application, the determining module 403 is further configured to:
judging whether the first application program meets a limiting condition; the limiting conditions include: at least one of the application program is not abnormal, the application program is not started and the application program is not in an updating state;
the processing module 402 is further configured to continue to start the first application program when the first application program meets a constraint; otherwise, terminating or suspending the starting of the first application program.
Optionally, after continuing to start the first application, the processing module 402 is further configured to:
when the first application program is an application suitable for displaying in the screen locking state, displaying the first application program on a display screen in an unlocked state.
All relevant contents of each step involved in the foregoing embodiment of the method for starting an application program may be referred to the functional description of the functional module corresponding to the apparatus for starting an application program in the embodiment of the present invention, and are not described herein again.
The division of the modules in the embodiments of the present invention is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present invention may be integrated in one processor, or may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides an apparatus for launching an application, where the apparatus includes at least one processor 501, and the processor 501 is configured to execute a computer program stored in a memory, and implement the steps of the method for launching an application, provided by the embodiment of the present invention, as shown in fig. 3.
Alternatively, the processor 501 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method for starting the application program disclosed in the embodiment of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Optionally, the apparatus for starting an application program may further include a memory 502 connected to the at least one processor 501, the memory 502 stores instructions executable by the at least one processor 501, and the at least one processor 501 may execute the steps included in the foregoing method for starting an application program by executing the instructions stored in the memory 502.
In this embodiment of the present invention, a specific connection medium between the processor 501 and the Memory 502 is not limited, and the Memory 502 may include at least one type of storage medium, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read-Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and the like. The memory 502 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 502 of embodiments of the present invention may also be circuitry or any other device capable of performing a storage function to store program instructions and/or data.
By programming the processor 501, the code corresponding to the method for starting the application program described in the foregoing embodiment may be solidified in the chip, so that the chip can execute the steps of the method for starting the application program when running. The physical devices corresponding to the detection module 401, the processing module 402, and the judgment module 403 may be the processor 501. The apparatus for launching an application may be configured to perform the method provided by the embodiment shown in fig. 3. Therefore, regarding the functions that can be realized by each functional module in the device, reference may be made to the corresponding description in the embodiment shown in fig. 3, which is not repeated herein.
Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the steps of the method for starting an application program as described above.
In some possible embodiments, the various aspects of the method for starting an application program provided by the present invention may also be implemented in the form of a program product, which includes program code for causing a detection device to perform the steps in the method for starting an application program according to various exemplary embodiments of the present invention described above in this specification, when the program product is run on an electronic device. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A method for starting an application program is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
detecting a first operation of a user, wherein the first operation is used for starting a first application program in the mobile terminal;
when the current screen is determined to be in the screen locking state, judging whether a second application program which is not started completely exists or not;
if yes, terminating or suspending starting the first application program; otherwise, continuing to start the first application program.
2. The method of claim 1, wherein the lock screen state comprises: and locking the screen and performing black screen display, or locking the screen and performing bright screen display.
3. The method of claim 1, wherein prior to the continuing to launch the first application, the method further comprises:
determining that a time interval between the first operation and a second operation is greater than a threshold, wherein the second operation is an operation detected before the first operation, and the second operation is used for opening the first application or the second application.
4. The method of claim 3, wherein the method further comprises:
and when the time interval between the first operation and the second operation is determined to be smaller than the threshold value, terminating or suspending the starting of the first application program.
5. The method of claim 1, wherein prior to the continuing to launch the first application, the method further comprises:
determining that the first application satisfies a constraint; the limiting condition is used for indicating the first application program to start when the limiting condition is met, and to terminate or suspend starting when the limiting condition is not met;
the limiting conditions include: at least one of the application is not abnormal, the application is not started and the application is not in an updated state.
6. The method of any of claims 1-5, wherein after the continuing to launch the first application, the method further comprises:
when the first application program is an application suitable for displaying in the screen locking state, displaying the first application program in an unlocked state.
7. An apparatus for launching an application, comprising:
the mobile terminal comprises a detection module, a first processing module and a second processing module, wherein the detection module is used for detecting a first operation of a user, and the first operation is used for starting a first application program in the mobile terminal;
the processing module is used for determining that the current screen is in a screen locking state;
the judging module is used for judging whether a second application program which is not started completely exists or not when the current screen is in a screen locking state;
the processing module is further used for terminating or suspending starting the first application program when the second application program which is not started completely exists; otherwise, continuing to start the first application program.
8. The apparatus of claim 7, wherein the lock screen state comprises: and locking the screen and performing black screen display, or locking the screen and performing bright screen display.
9. The apparatus of claim 7, wherein the processing module, prior to being configured to continue launching the first application, is further configured to:
determining that a time interval between the first operation and a second operation is greater than a threshold, wherein the second operation is an operation detected before the first operation, and the second operation is used for opening the first application or the second application.
10. The apparatus of claim 9, wherein the processing module is further to:
and when the time interval between the first operation and the second operation is determined to be smaller than the threshold value, terminating or suspending the starting of the first application program.
11. The apparatus of claim 7, wherein the processing module, prior to being configured to continue launching the first application, is further configured to:
determining that the first application satisfies a constraint; the limiting condition is used for indicating the first application program to start when the limiting condition is met, and to terminate or suspend starting when the limiting condition is not met;
the limiting conditions include: at least one of the application is not abnormal, the application is not started and the application is not in an updated state.
12. The apparatus of any of claims 7-11, wherein the processing module, after continuing to launch the first application, is further to:
when the first application program is an application suitable for displaying in the screen locking state, displaying the first application program in an unlocked state.
13. An apparatus for launching an application, comprising:
a memory for storing computer instructions;
a processor coupled to the memory for executing the computer instructions in the memory and when executing the computer instructions performing the method of any of claims 1 to 6.
14. A computer-readable storage medium, characterized in that,
the computer readable storage medium stores computer instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 6.
CN202011446146.0A 2020-12-09 2020-12-09 Method and device for starting application program Pending CN112579198A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011446146.0A CN112579198A (en) 2020-12-09 2020-12-09 Method and device for starting application program
PCT/CN2021/109097 WO2022121333A1 (en) 2020-12-09 2021-07-29 Method and device for starting application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011446146.0A CN112579198A (en) 2020-12-09 2020-12-09 Method and device for starting application program

Publications (1)

Publication Number Publication Date
CN112579198A true CN112579198A (en) 2021-03-30

Family

ID=75131280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011446146.0A Pending CN112579198A (en) 2020-12-09 2020-12-09 Method and device for starting application program

Country Status (2)

Country Link
CN (1) CN112579198A (en)
WO (1) WO2022121333A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121333A1 (en) * 2020-12-09 2022-06-16 珠海格力电器股份有限公司 Method and device for starting application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102122249A (en) * 2011-02-22 2011-07-13 中兴通讯股份有限公司 Java application program starting method and Java application program starting device
CN105843599A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and apparatus for reducing user high-frequency operation influence, and user terminal
CN105867823A (en) * 2016-04-14 2016-08-17 深圳天珑无线科技有限公司 Mobile device screen online activating functional technique running in background
CN108132832A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 Application program launching method and device
CN108664282A (en) * 2018-03-26 2018-10-16 广东欧珀移动通信有限公司 Prevent from opening the method, apparatus and electronic equipment of application time-out under screen locking
US20190156017A1 (en) * 2016-10-14 2019-05-23 Jrd Communication (Shenzhen) Ltd Terminal and method for managing launch of an application of a terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163150B (en) * 2010-02-24 2015-09-02 腾讯科技(深圳)有限公司 A kind of system start method and device
JP6221973B2 (en) * 2014-07-14 2017-11-01 株式会社デンソー Display control apparatus and display control program
CN104793979B (en) * 2015-05-18 2017-11-17 广东欧珀移动通信有限公司 Start the method, device and mobile terminal of application program
CN107562495A (en) * 2017-07-20 2018-01-09 郑州云海信息技术有限公司 The startup method and starter of a kind of application program
CN108804157A (en) * 2018-06-05 2018-11-13 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN112579198A (en) * 2020-12-09 2021-03-30 珠海格力电器股份有限公司 Method and device for starting application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102122249A (en) * 2011-02-22 2011-07-13 中兴通讯股份有限公司 Java application program starting method and Java application program starting device
CN105843599A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and apparatus for reducing user high-frequency operation influence, and user terminal
CN105867823A (en) * 2016-04-14 2016-08-17 深圳天珑无线科技有限公司 Mobile device screen online activating functional technique running in background
US20190156017A1 (en) * 2016-10-14 2019-05-23 Jrd Communication (Shenzhen) Ltd Terminal and method for managing launch of an application of a terminal
CN108132832A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 Application program launching method and device
CN108664282A (en) * 2018-03-26 2018-10-16 广东欧珀移动通信有限公司 Prevent from opening the method, apparatus and electronic equipment of application time-out under screen locking

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121333A1 (en) * 2020-12-09 2022-06-16 珠海格力电器股份有限公司 Method and device for starting application

Also Published As

Publication number Publication date
WO2022121333A1 (en) 2022-06-16

Similar Documents

Publication Publication Date Title
CN104503828B (en) A kind of process management method and terminal
EP3958120A1 (en) Method and device for anonymous page management, terminal device, and readable storage medium
CN113703859A (en) Dynamic link library injection method, device, equipment and storage medium
CN105045637A (en) Application start method and terminal
US20250365362A1 (en) Interface display method and related apparatus
US12393499B2 (en) Method and device for recovering self-test exception of server component, system and medium
CN112181467A (en) Method and device for upgrading memory firmware of terminal, terminal and storage medium
CN106603125B (en) Method and device for data interaction with Bluetooth equipment
CN116302154A (en) File processing method and device, electronic equipment and storage medium thereof
CN112306411A (en) Data storage method and device, nonvolatile storage medium and processor
CN112579198A (en) Method and device for starting application program
CN116700818A (en) Application program running method and electronic equipment
US20220179956A1 (en) Iot device and method for detecting and removing malware by use of server resource
US20100325733A1 (en) Information processing device, information processing method and program
CN113687942A (en) Detection method and device and electronic equipment
CN111400037A (en) A memory management method, device, computer storage medium and terminal
CN113032290A (en) Flash memory configuration method and device, electronic equipment and storage medium
CN116700817B (en) Application program running method and electronic equipment
CN116700768B (en) An applied processing method and related device
CN105354066A (en) OTA (over the air) downloading method and device and intelligent terminal
CN106027778B (en) A kind of display methods and system at mobile terminal-opening interface
CN112114882B (en) Mainboard starting method and device
CN112083792B (en) Mobile terminal control method, device and mobile terminal
CN111966417B (en) Method and system for controlling start-up from PXE through designated key
CN110740382B (en) Method, device, television and medium for avoiding undesired automatic restart of television

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication