CN108920214B - Application program running method, application program running device and mobile terminal - Google Patents

Application program running method, application program running device and mobile terminal Download PDF

Info

Publication number
CN108920214B
CN108920214B CN201810749638.3A CN201810749638A CN108920214B CN 108920214 B CN108920214 B CN 108920214B CN 201810749638 A CN201810749638 A CN 201810749638A CN 108920214 B CN108920214 B CN 108920214B
Authority
CN
China
Prior art keywords
application program
mobile terminal
target application
system server
server process
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.)
Active
Application number
CN201810749638.3A
Other languages
Chinese (zh)
Other versions
CN108920214A (en
Inventor
孙建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810749638.3A priority Critical patent/CN108920214B/en
Publication of CN108920214A publication Critical patent/CN108920214A/en
Application granted granted Critical
Publication of CN108920214B publication Critical patent/CN108920214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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

The application discloses an application program running method, an application program running device, a mobile terminal and a computer readable storage medium, wherein the application program running method comprises the following steps: determining a target application program to be operated; restarting a system server process of the mobile terminal; and after the system server process is restarted, starting the target application program, and entering a single application program running mode, wherein the target application program and a preset process are allowed to run in the single application program running mode. According to the scheme, the application program can run in a single application program running mode, the problem of system blockage in the running process of the application program can be relieved, and the use smoothness of the application program is improved.

Description

Application program running method, application program running device and mobile terminal
Technical Field
The present application belongs to the technical field of mobile terminals, and in particular, to an application program running method, an application program running apparatus, a mobile terminal, and a computer-readable storage medium.
Background
Although the Android operating system is one of the mainstream operating systems of the current mobile terminal, which is sought by manufacturers and users of the mobile terminal, due to the open source characteristic of the Android system, in the running process of one application program, a plurality of other application programs which are not currently in use are usually run in a background, which easily causes the situations of system blockage and power consumption increase, and may affect the normal use of the mobile terminal by the user.
Disclosure of Invention
In view of this, the present application provides an application program running method, an application program running apparatus, a mobile terminal and a computer-readable storage medium, which can alleviate the system blockage problem during the running process of an application program and improve the smoothness of use of the application program.
A first aspect of the present application provides an application program running method, including:
determining a target application program to be operated;
restarting a system server process of the mobile terminal;
and after the system server process is restarted, starting the target application program and entering a single application program running mode, wherein the target application program and a preset process are allowed to run in the single application program running mode.
A second aspect of the present application provides an application execution apparatus, including:
the determining unit is used for determining a target application program to be operated;
the restarting unit is used for restarting the system server process of the mobile terminal;
and the running unit is used for starting the target application program and entering a single application program running mode after the system server process is restarted, wherein the target application program and a preset process are allowed to run in the single application program running mode.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect as described above.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method as described in the first aspect above.
As can be seen from the above, according to the embodiment of the present application, a target application to be run is first determined, then the system server process of the mobile terminal is restarted, after the system server process is restarted, the target application is started, and a single application running mode is entered, where in the single application running mode, the target application and a preset process are allowed to run. According to the scheme, the application program can be operated in a single application program operation mode, and under the single application program operation mode, the background can only operate the appointed process so as to keep related services, certain system resources can be saved, the system blockage problem in the application program operation process can be relieved, and the application program use fluency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of an application running method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a specific implementation of step 101 in an application running method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another implementation of an application running method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an application running apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a mobile terminal provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, a method for running an application provided in an embodiment of the present application is described below, where the method for running an application in an embodiment of the present application includes:
in step 101, determining a target application program to be run;
in the embodiment of the application, a target application to be run can be manually selected by a user, and the target application is kept running in the foreground for a period of time, for example, when the user wants to play a game type application which is not disturbed by people for a long time, the game type application can be selected as the target application; alternatively, when the user wants to focus on the current work and use an office-class application, the office-class application may be selected as the target application, and the category of the target application is not limited here. It should be noted that only one application can be selected as the target application in the same time period, since the target application will remain in the foreground.
In step 102, restarting a system server process of the mobile terminal;
in this embodiment of the present application, after writing the identifier into the cache partition table, the mobile terminal may restart a system server (system _ server) process of the mobile terminal. The system server process is a core service of an android operating system, and is generally considered to be restarted only when the android operating system is in a fault or an abnormality, but in the embodiment of the present application, the restart operation is actively executed on the system server process based on a target application program selected by a user under the condition that the android operating system is normally operated.
Specifically, when the system server Process of the mobile terminal is restarted, the system server Process may be found through a Process Identification number (PID) of the system server Process, and then the system closes the system server Process through a close instruction, and after the system server Process is closed, the android operating system automatically re-creates the system server Process, that is, re-pulls up the system server Process, so as to restart the system server Process.
In step 103, after the system server process is restarted, the target application is started and enters a single application running mode.
In this embodiment of the application, in the single application program running mode, the target application program and a preset process are allowed to run, that is, the foreground keeps running the target application program, and the background can only keep running the preset process, where the preset process is usually a service process that can be provided by the mobile terminal, and is set by a user, where the preset process is not limited, for example, if the target application program selected by the user is a game application program, the user may use an audio service process as one of the preset processes in order to cooperate with the game application program; for another example, if a camera needs to be started to perform a shooting operation in a target application selected by the user, the camera server process may be one of the preset processes.
In the native flow of the android operating system, after the system server process is restarted, a desktop starter (launcher) of the mobile terminal is started, namely a desktop User Interface (User Interface, UI) of the android operating system is started, so that a User can access and start each application program through the desktop User Interface; in this step, after the system server process is restarted, the native process of the android operating system is not executed, that is, the desktop starter of the mobile terminal is not started, but the identifier of the stored target application program is read from the cache partition. In the step, a desktop starter in the native flow is not started, so that the user cannot return to the desktop in the single application program running mode; only after exiting the single application program running mode can the desktop starter be started to access the desktop.
Optionally, referring to fig. 2, the step 101 specifically includes:
in step 201, monitoring the key of the mobile terminal;
in this embodiment of the present application, monitoring may be performed on a physical key and/or a virtual key of the mobile terminal, which is not limited herein. It should be noted that, because the virtual key can be displayed only in the unlocked state of the mobile terminal, before this step, the current security state of the mobile terminal may be detected first, and if the current security state of the mobile terminal is the unlocked state, the physical key and/or the virtual key of the mobile terminal may be monitored; if the current security state of the mobile terminal is the locking state, only the physical keys of the mobile terminal can be monitored.
In step 202, when a preset first key event is monitored, an application program selection interface is output;
in the embodiment of the present application, the preset first key event is set by a user, and may be a key combination of multiple physical keys, for example, a physical key 1 and a physical key 2 that are pressed simultaneously may be used as the first key event; alternatively, the first key event may be a key combination of a plurality of virtual keys, for example, the first key event may be a first key event of sequentially pressing the virtual key 3 and the virtual key 4 in the dial pad. When a preset first key event is monitored, an application program selection interface is output, all application programs currently installed on the mobile terminal are listed in the application program selection interface, and a user can check a complete application program list through an up-sliding or down-sliding instruction.
In step 203, a target application to be executed is determined according to the input selection instruction.
In the embodiment of the application, a user can input a selection instruction in the application selection interface, the selection instruction points to an application, and a target application to be run is determined according to the input selection instruction. Optionally, after determining the target application to be run, the mobile terminal may pop up the confirmation information again for the user to confirm the selected target application again.
Optionally, the step 101 specifically includes:
acquiring an identifier of an application program to be operated;
and determining the application program corresponding to the identifier as a target application program to be operated.
In the embodiment of the present application, the target application program can be represented and located based on the identifier of the application program, and the target application program can be determined by another means. Specifically, the identifier may be a Package name (Package name) of the target application, or may be an absolute path of the target application in the mobile terminal, which is not limited herein. It should be noted that the names of different applications may be the same, but their package names are necessarily different. For example, if a user frequently opens a single application program running mode for a certain application program, the identifier of the application program may be directly stored in a designated location, so that the identifier of the application program to be run may be obtained by directly reading the designated location when the target application program is subsequently determined, and the target application program is determined according to the identifier.
Alternatively, the target application program may be determined in other ways besides the two methods for determining the target application program to be run. The method may be that when the user restarts the system server process of the mobile terminal, the application program run by the foreground of the mobile terminal is obtained and is used as the target application program: for example, if the user starts the game application APP1, so that the APP1 runs in the foreground, and then the mobile terminal restarts the system server process, the APP1 running in the foreground at this time is taken as the target application. Or, during the process of using the mobile terminal, the user may calculate the historical use time of each application program in real time in the background after the previous mobile terminal is started, and take the application program with the longest historical use time as the target application program: for example, three applications, namely APP2, APP3 and APP4, are installed in the mobile terminal, and the historical use duration of APP2 is 37 hours, the historical use duration of APP3 is 10 hours, and the historical use duration of APP4 is 6 hours, when the restart system server process is ready to enter the single-application running mode, the APP2 with the longest historical use duration is determined as the target application.
Therefore, the application program can be operated in a single application program operation mode, and in the single application program operation mode, the background can only operate the process related to the specified service based on the requirement of the user, so that certain system resources can be saved, the system blockage problem in the application program operation process can be relieved, the use smoothness of the application program is improved, and the user can not be disturbed in the application program using process.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example two
On the basis of the first embodiment, referring to fig. 3, another application program running method provided in the embodiment of the present application is described below, and the application program running method in the embodiment of the present application includes:
in step 301, a target application to be run is determined;
in step 302, restarting a system server process of the mobile terminal;
in step 303, after the system server process is restarted, starting the target application program, and entering a single application program running mode;
in the embodiment of the present application, the steps 301, 302, and 303 are the same as or similar to the steps 101, 102, and 103, and reference may be specifically made to the related descriptions of the steps 101, 102, and 103, which are not repeated herein.
In step 304, after entering the single application program running mode, monitoring the keys of the mobile terminal;
in the embodiment of the application, after entering the single application running mode, since the user cannot return to the desktop or start running other applications in the foreground, the user cannot display that the dialing keypad presses the virtual keys, and in this step, only the physical keys of the mobile terminal are monitored.
In step 305, when the preset second key event is monitored, the single application program running mode is exited.
In the embodiment of the present application, the preset second key event is set by a user, and may be a key combination of multiple physical keys, for example, pressing the physical key 5 and the physical key 6 at the same time may be used as the second key event; and when a preset second key event is monitored, exiting the single application program running mode, and replying to the normal running mode of the mobile terminal for the user to start other application programs. Specifically, exiting the single application running mode includes: restarting a system server process of the mobile terminal; and after the system server process is restarted, starting a desktop starter to enter the desktop of the mobile terminal, namely executing the native flow of the android operating system after the system server process of the mobile terminal is restarted. The step of restarting the system server process of the mobile terminal is the same as or similar to the step 102, and is not described herein again.
Therefore, the application program can be operated in a single application program operation mode, and in the single application program operation mode, the background can only operate the process related to the specified service based on the requirement of the user, so that certain system resources can be saved, the system blockage problem in the application program operation process can be relieved, the use smoothness of the application program is improved, and the user can not be disturbed in the application program using process. When the user needs to reuse other application programs or functions of the mobile terminal, the mobile terminal can quickly exit the single application program running mode through the physical keys, so that the mobile terminal has higher operability, and the quick switching between the single application program running mode and the normal running mode can be realized.
Optionally, in the first and second embodiments, after determining the target application to be run, the application running method further includes:
writing the identifier of the target application program to be operated into a cache partition of the mobile terminal;
after the system server process is restarted, starting the target application program and entering a single application program running mode, including:
and after the system server process is restarted, acquiring the written identifier from the cache partition, starting the target application program according to the written identifier, and entering a single application program running mode.
In this embodiment of the present application, the cache partition may store data that is most frequently accessed by the system in the running process of the mobile terminal. After writing the identifier of the target application program into the cache partition of the mobile terminal in this step, the identifier is kept stored in the cache partition until the system does not receive a clearing instruction for the identifier. Optionally, before this step, it may be detected whether an identifier of an application program is already stored in the cache partition, if so, it represents that a current user has selected a target application program, and the mobile terminal may delete an existing identifier in the cache partition according to a requirement of the user and write the identifier of the target application program selected this time into the cache partition of the mobile terminal, or the mobile terminal may ignore the identifier of the target application program selected this time according to the requirement of the user, which is not limited here; if not, the operation of the step is executed. After entering the single application program running mode, in order to avoid the trouble caused by the user when selecting the target application program next time, the identifier of the target application program selected this time can be cleared in the cache partition.
Optionally, in the first and second embodiments, after entering the single application running mode, the application running method further includes:
displaying a status bar of the single application program running mode;
and adjusting the system parameters of the mobile terminal based on the parameter adjusting instruction input by the user in the status bar.
The status bar of the single application program running mode may be displayed through a pull-down instruction input by a user in the mobile terminal, and the status bar is different from the status bar of the mobile terminal in a normal running mode, and may display information such as time, power, and the like, and may also display a parameter adjustment interface, including brightness adjustment, screen rotation adjustment, and other function adjustments, for example, the function adjustment may be "whether to turn on a telephone access function", and if the user turns off the telephone access function, all current incoming calls will be automatically forwarded to a voice mailbox, and optionally, in order to prevent the user from missing important information, the importance degree of the incoming calls may be set by the number of incoming calls here: if the number of incoming calls of an incoming call in a preset time period exceeds a preset number, the incoming call is determined to be an important call, and the mobile terminal can perform access operation aiming at the incoming call. The user can set the display information of the status bar in the single application program running mode based on the use habit of the user. Of course, the user may also turn on the "status bar disabled" function in the status bar, after the function is turned on, the status bar will be disabled, and if the user wants to restart the status bar, the user needs to exit the single application program running mode to reset the single application program running mode. That is, in the single application mode of operation, only the status bar may be disabled and cannot be restarted. Through the steps, the mobile terminal can also realize the adjustment operation of the system parameters of the mobile terminal in the single application program running mode.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
A third embodiment of the present application provides an application running apparatus, where the application running apparatus may be integrated in a mobile terminal, and as shown in fig. 4, the application running apparatus 400 in the embodiment of the present application includes:
a determining unit 401, configured to determine a target application to be run;
a restarting unit 402, configured to restart a system server process of the mobile terminal;
an operation unit 403, configured to start the target application program after the system server process is restarted, and enter a single application program operation mode, where in the single application program operation mode, the target application program and a preset process are allowed to operate.
Optionally, the determining unit 401 includes:
the monitoring subunit is used for monitoring the keys of the mobile terminal;
the output subunit is used for outputting an application program selection interface when a preset first key event is monitored;
and the first determining subunit is used for selecting the target application program to be operated according to the input selection instruction.
Optionally, the determining unit 401 includes:
an acquisition subunit which acquires an identifier of an application program to be run;
and the second determining subunit is used for determining the application program corresponding to the identifier as the target application program to be run.
Optionally, the application running apparatus 400 further includes:
a writing unit, configured to write an identifier of the target application to be run into a cache partition of the mobile terminal;
the running unit is specifically configured to, after the system server process is restarted, acquire a written identifier from the cache partition, start the target application according to the written identifier, and enter a single application running mode.
Optionally, the application running apparatus 400 further includes:
and the clearing unit is used for clearing the packet name of the target application program in the cache partition after entering the single application program running mode.
Optionally, the application running apparatus 400 further includes:
the key monitoring unit is used for monitoring the keys of the mobile terminal after entering the single application program running mode;
and the exit unit is used for exiting the single application program running mode when a preset second key event is monitored.
Optionally, the exit unit is specifically configured to restart a system server process of the mobile terminal when a preset second key event is monitored, and start the desktop starter to enter the desktop of the mobile terminal after the system server process is restarted.
Optionally, the application running apparatus 400 further includes:
a display unit for displaying the status bar of the single application program running mode after entering the single application program running mode;
and the adjusting unit is used for adjusting the system parameters of the mobile terminal based on the parameter adjusting instruction input by the user in the status bar.
Therefore, according to the embodiment of the application, the application program running device enables the application program to run in a single application program running mode, and in the single application program running mode, the background can only run the process related to the specified service based on the requirement of the user, so that certain system resources can be saved, the system blockage problem in the application program running process can be relieved, the use smoothness of the application program is improved, and the user can not be disturbed in the application program using process.
Example four
In an embodiment of the present application, a mobile terminal is provided, please refer to fig. 5, where the mobile terminal in the embodiment of the present application includes: a memory 501, one or more processors 502 (only one shown in fig. 5), and a computer program stored on the memory 501 and executable on the processors. Wherein: the memory 501 is used for storing software programs and modules, and the processor 502 executes various functional applications and data processing by running the software programs and units stored in the memory 501, so as to acquire resources corresponding to the preset events. Specifically, the processor 502 realizes the following steps by running the above-mentioned computer program stored in the memory 501:
determining a target application program to be operated;
restarting a system server process of the mobile terminal;
and after the system server process is restarted, starting the target application program and entering a single application program running mode, wherein the target application program and a preset process are allowed to run in the single application program running mode.
Assuming that the foregoing is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, the determining a target application to be run includes:
monitoring the keys of the mobile terminal;
outputting an application program selection interface when a preset first key event is monitored;
and determining a target application program to be operated according to the input selection instruction.
In a third possible implementation manner provided on the basis of the first possible implementation manner, the determining a target application to be run includes:
acquiring an identifier of an application program to be operated;
and determining the application program corresponding to the identifier as a target application program to be operated.
In a fourth possible implementation form provided on the basis of the first possible implementation form, the second possible implementation form, or the third possible implementation form, after determining a target application program to be executed, the processor 502 further implements the following steps when executing the computer program stored in the memory 501:
writing the identifier of the target application program to be operated into a cache partition of the mobile terminal;
after the system server process is restarted, starting the target application program and entering a single application program running mode, including:
and after the system server process is restarted, acquiring the written identifier from the cache partition, starting the target application program according to the written identifier, and entering a single application program running mode.
In a fifth possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, after the single-application program operation mode is entered, the processor 502 executes the computer program stored in the memory 501, and further implements the following steps:
monitoring the keys of the mobile terminal;
and when a preset second key event is monitored, exiting the single application program running mode.
In a sixth possible implementation manner provided on the basis of the fifth possible implementation manner, the exiting the single application program running mode includes:
restarting a system server process of the mobile terminal;
and after the system server process is restarted, starting a desktop starter to enter the desktop of the mobile terminal.
In a seventh possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, after the single-application running mode is entered, the processor 502 further implements the following steps when running the computer program stored in the memory 501:
displaying a status bar of the single application program running mode;
and adjusting the system parameters of the mobile terminal based on the parameter adjusting instruction input by the user in the status bar.
Further, as shown in fig. 5, the mobile terminal may further include: one or more input devices 503 (only one shown in fig. 5) and one or more output devices 504 (only one shown in fig. 5). The memory 501, processor 502, input device 503, and output device 504 are connected by a bus 505.
It should be understood that in the embodiments of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor may be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 503 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 504 may include a display, a speaker, etc.
Memory 501 may include both read-only memory and random access memory and provides instructions and data to processor 502. Some or all of the memory 501 may also include non-volatile random access memory. For example, the memory 501 may also store device type information.
Therefore, the application program can be operated in a single application program operation mode, and in the single application program operation mode, the background can only operate the process related to the specified service based on the requirement of the user, so that certain system resources can be saved, the system blockage problem in the application program operation process can be relieved, the use smoothness of the application program is improved, and the user can not be disturbed in the application program using process.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of external device software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer readable Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable storage medium may contain other contents which can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction, for example, in some jurisdictions, the computer readable storage medium does not include an electrical carrier signal and a telecommunication signal according to the legislation and the patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. An application program running method, comprising:
determining a target application program to be operated;
restarting a system server process of the mobile terminal;
after the system server process is restarted, starting the target application program, and entering a single application program running mode, wherein the target application program and a preset process are allowed to run in the single application program running mode;
after the target application program to be executed is determined, the application program execution method further includes:
writing the identifier of the target application program to be operated into a cache partition of the mobile terminal;
correspondingly, after the system server process is restarted, starting the target application program, and entering a single application program running mode, including:
and after the system server process is restarted, acquiring the written identifier from the cache partition, starting the target application program according to the written identifier, and entering a single application program running mode.
2. The application program execution method according to claim 1, wherein the determining of the target application program to be executed includes:
monitoring the keys of the mobile terminal;
outputting an application program selection interface when a preset first key event is monitored;
and determining a target application program to be operated according to the input selection instruction.
3. The application program execution method according to claim 1, wherein the determining of the target application program to be executed includes:
acquiring an identifier of an application program to be operated;
and determining the application program corresponding to the identifier as a target application program to be operated.
4. The application program execution method of any one of claims 1 to 3, wherein after the entering of the single application program execution mode, the application program execution method further comprises:
monitoring the keys of the mobile terminal;
and when a preset second key event is monitored, exiting the single application program running mode.
5. The application execution method of claim 4, wherein said exiting the single application execution mode comprises:
restarting a system server process of the mobile terminal;
and after the system server process is restarted, starting a desktop starter to enter a desktop of the mobile terminal.
6. The application program execution method of any one of claims 1 to 3, wherein after the entering of the single application program execution mode, the application program execution method further comprises:
displaying a status bar of the single application program running mode;
and adjusting the system parameters of the mobile terminal based on the parameter adjusting instruction input by the user in the status bar.
7. An application running device is characterized by comprising
The determining unit is used for determining a target application program to be operated;
the restarting unit is used for restarting the system server process of the mobile terminal;
the running unit is used for starting the target application program and entering a single application program running mode after the system server process is restarted, wherein the running of the target application program and a preset process is allowed in the single application program running mode;
the application program running device further comprises:
a writing unit, configured to write the identifier of the target application to be run into a cache partition of the mobile terminal;
accordingly, the running unit is specifically configured to, after the system server process is restarted, obtain the written identifier from the cache partition, start the target application according to the written identifier, and enter a single application running mode.
8. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810749638.3A 2018-07-10 2018-07-10 Application program running method, application program running device and mobile terminal Active CN108920214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810749638.3A CN108920214B (en) 2018-07-10 2018-07-10 Application program running method, application program running device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810749638.3A CN108920214B (en) 2018-07-10 2018-07-10 Application program running method, application program running device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108920214A CN108920214A (en) 2018-11-30
CN108920214B true CN108920214B (en) 2021-03-26

Family

ID=64412296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810749638.3A Active CN108920214B (en) 2018-07-10 2018-07-10 Application program running method, application program running device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108920214B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008662B (en) * 2019-04-11 2020-05-05 北京字节跳动网络技术有限公司 Application program running method and device, electronic equipment and readable storage medium
CN113377451B (en) * 2021-06-09 2024-03-12 北京千丁互联科技有限公司 Application restarting method, device, computer equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930247A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Method, device and mobile terminal for processing problem of system restart
CN105930191A (en) * 2016-04-28 2016-09-07 网宿科技股份有限公司 System service reloading method and apparatus
CN107315611A (en) * 2017-06-26 2017-11-03 郑州云海信息技术有限公司 A kind of application system regulation management method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700969B (en) * 2014-11-25 2018-11-30 英业达科技有限公司 server system
US10055296B2 (en) * 2015-10-30 2018-08-21 Quanta Computer Inc. System and method for selective BIOS restoration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930247A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Method, device and mobile terminal for processing problem of system restart
CN105930191A (en) * 2016-04-28 2016-09-07 网宿科技股份有限公司 System service reloading method and apparatus
CN107315611A (en) * 2017-06-26 2017-11-03 郑州云海信息技术有限公司 A kind of application system regulation management method and device

Also Published As

Publication number Publication date
CN108920214A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US10528434B2 (en) Method, device and terminal for restoring firmware program
CN105955766B (en) Using preloading method and device
US9942690B2 (en) Method and device for information push
RU2705459C2 (en) Display method and corresponding device
CN108268322B (en) Memory optimization method and device and computer readable storage medium
CN104951335B (en) The processing method and processing device of application program installation kit
CN113645341B (en) Power key false touch detection method and electronic equipment
US9635169B2 (en) Method for managing data traffic of software and portable electronic apparatus using the same
CN108920214B (en) Application program running method, application program running device and mobile terminal
CN107301052A (en) The display methods and mobile terminal of a kind of help information
JPWO2004102931A1 (en) Mobile communication terminal and code image reading method using mobile communication terminal
US20210191579A1 (en) Window adjustment method, window adjustment device and mobile terminal
CN112506553B (en) Upgrading method and device for data surface container of service grid and electronic equipment
US20150143292A1 (en) Method and Device for Processing Application of Mobile Terminal
WO2011130958A1 (en) Mobile terminal and method for updating contact person information
CN109254820B (en) Window closing method, device, terminal and computer readable storage medium
CN104301488B (en) A kind of dialing record generation method, equipment and mobile terminal
CN112632184A (en) Data processing method and device, electronic equipment and storage medium
CN112673611B (en) Mobile terminal control method, mobile terminal control device and mobile terminal
CN114860242A (en) Compiling method, compiling device and storage medium
CN111427642A (en) Data processing method and device, terminal equipment and computer readable storage medium
CN110138954A (en) A kind of management method and terminal of message registration
CN113784004B (en) Recording method, recording device, storage medium and electronic equipment
CN113709710B (en) Interface management method and device
CN115202545B (en) Event triggering method, module, learning machine and storage medium based on interface

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