WO2018045948A1 - 一种后台静默启动应用的方法、装置及终端设备 - Google Patents
一种后台静默启动应用的方法、装置及终端设备 Download PDFInfo
- Publication number
- WO2018045948A1 WO2018045948A1 PCT/CN2017/100553 CN2017100553W WO2018045948A1 WO 2018045948 A1 WO2018045948 A1 WO 2018045948A1 CN 2017100553 W CN2017100553 W CN 2017100553W WO 2018045948 A1 WO2018045948 A1 WO 2018045948A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- information
- silent
- module
- terminal
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/505—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and a terminal device for starting an application in the background.
- the cleared application will change from the original hot start to the cold start when it is used again.
- the startup time will become longer.
- WeChat from 0.5s to 2s; in order to improve the application cold start time, the common practice is to pre-stage. The process of loading the app. The next time the user uses it, it can speed up the application's startup.
- the application will display various prompts during the background startup process, such as: Toast prompt box, permission selection box, notification bar message and floating window, which affect the user experience.
- the method, device and terminal device for silently starting the application in the background of the present invention are used to solve the problem that the cold start of the application caused by the background application being cleared in the Android system is too long, and the cold start is avoided.
- the problem also avoids the problem of users being disturbed by various prompts.
- the present invention provides a method for silently launching an application in the background, including:
- the first application Determining whether the first application is a silent start application, and if yes, intercepting the prompt information for the first application; wherein the first application is each application on the terminal Any one of the applications, the silent launch application is an application recorded in the silent application list.
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the method provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are again It does not become a cold boot when it is started, which causes the startup to take too long and affects the user experience.
- the solution provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention, thereby Improve the user experience as a whole.
- the method after the determining whether the first application is a silent start application, after monitoring the running status of each application on the terminal, the method also includes:
- This embodiment provides a process of generating the silent application list, that is, when an application exit operation is detected, performing the above steps to generate a list of silent application lists, and we refer to this list as a silent application list.
- the silent application list is used in a subsequent action to "determine whether the first application is a silent launch application", that is, when the first application is recorded in the silent application list, the first application is The application is silently launched, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the generation process of the silent application list may be obtained in advance, or may be updated in real time, which is not limited herein.
- acquiring the package name of the second application includes:
- the prompt information of the first application includes one or more of the following information: a Toast prompt box, a permission selection box, a notification column information, a floating window;
- the intercepting the prompt information for the first application includes:
- Different prompt information in the prompt information of the first application has different intercepting modes:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating Toast.
- NMS Notification Manager Service Notification Management Service
- the modifying the NMS module may be: modifying an enqueue toast function in the NMS module, so that the import queue function directly returns, so that Toast is not created.
- the interception mode for the permission selection box is: directly skip the AMS (Activity Manager Service) service module, and the permission selection box is not displayed.
- the directly skipping the AMS module may specifically: skip the function of the bullet permission selection box in the AMS module, so that the permission selection box is not displayed.
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information.
- the modifying the NMS module may specifically: modifying an enqueue notification internal function in the NMS module, thereby directly deleting the notification bar information.
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the modifying the WMS module may specifically: modifying a set Win And Children Visibility function and an Add Window function in the WMS module, so that the window of the floating window is invisible.
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the packet name according to the second application Obtaining the process name of the second application includes:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
- an embodiment of the present invention provides an apparatus for silently launching an application in a background, including:
- a monitoring module for monitoring the operation of each application on the terminal
- a prompting information intercepting module configured to determine whether the first application is a silent launching application, and if yes, intercepting prompt information for the first application; wherein the first application is For any one of the applications on the terminal, the silent launch application is an application recorded in the silent application list.
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the apparatus provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are again It does not become a cold boot when it is started, which causes the startup to take too long and affects the user experience.
- the device provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention, thereby Improve the user experience as a whole.
- the device further includes: a silent application list generating module, configured to:
- the silent application list generating module implements the process of generating the silent application list, that is, when detecting that an application exits the running, performing the foregoing processing to generate a silent application list.
- List we refer to this list as a silent application list, which is used by the prompt information intercepting module to "determine whether the first application is a silent launch application", that is, when the first application is recorded in the When the application is silently applied, the first application is a silent launch application, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the generation process of the silent application list may be obtained in advance before the execution of the prompt information intercepting module, or may be updated in real time, which is not limited herein.
- the silent application list generating module is further configured to:
- the monitoring module detects that the second application is out of operation, detecting whether the CPU load of the terminal is less than a first preset threshold, and if yes, detecting whether the effective memory of the terminal is greater than a second preset threshold, and if yes, acquiring the location The package name of the second application.
- the first preset threshold may be 60%
- the second preset threshold may be 800M.
- the prompt information includes one or more of the following information: a Toast prompt box, a permission selection box, a notification column information, a floating window;
- the prompt information intercepting module is specifically configured to: use different intercepting manners for different prompt information in the prompt information of the first application:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating Toast.
- NMS Notification Manager Service Notification Management Service
- the modifying the NMS module may be: modifying an enqueue toast function in the NMS module, so that the import queue function directly returns, so that Toast is not created.
- the interception mode for the permission selection box is: directly skip the AMS (Activity Manager Service) service module, and the permission selection box is not displayed.
- the directly skipping the AMS module may specifically: skip the function of the bullet permission selection box in the AMS module, so that the permission selection box is not displayed.
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information.
- the modifying the NMS module may specifically: modifying an enqueue notification internal function in the NMS module, thereby directly deleting the notification bar information.
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the modifying the WMS module may specifically: modifying a set Win And Children Visibility function and an Add Window function in the WMS module, so that the window of the floating window is invisible.
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the silent application list generating module is further configured to:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
- an embodiment of the present invention provides a terminal device for silently starting an application in a background, including: a processor and a memory;
- the processor is configured to monitor the running status of each application on the terminal; when it is detected that the first application is out of operation, determine whether the first application is a silent start application, and if yes, intercept the prompt information for the first application;
- the first application is any one of the applications on the terminal, and the silent startup application is an application recorded in the silent application list;
- the memory is configured to store the list of silent applications.
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the terminal device provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are It will not become a cold boot when it is started again, which will cause the startup to take too long and affect the user experience.
- the terminal device provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention.
- the processor is further configured to acquire a package name of the second application when detecting that the second application exits the operation;
- the processor implements the process of generating the silent application list, that is, when detecting that an application exits the operation, performing the foregoing processing, thereby generating a list of the silent application list.
- this list is used by the processor to "determine whether the first application is a silent launch application", that is, when the first application is recorded in the silent application list.
- the first application is a silent launch application, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the generation process of the silent application list may be obtained in advance, or may be updated in real time, which is not limited herein.
- the processor is specifically configured to: when detecting that the second application is out of operation, detecting the terminal Whether the CPU load is less than the first preset threshold, and if yes, detecting whether the effective memory of the terminal is greater than a second preset threshold, and if yes, acquiring the package name of the second application.
- the first preset threshold may be 60%
- the second preset threshold may be 800M.
- the prompt information of the first application includes one or more of the following information: a Toast prompt box, a permission selection box, a notification bar information, a floating window; specifically, the processor is configured to: prompt for the first application Different hints in the message have different interception methods:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating Toast.
- NMS Notification Manager Service Notification Management Service
- the modifying the NMS module may be: modifying an enqueue toast function in the NMS module, so that the import queue function directly returns, so that Toast is not created.
- the interception mode for the permission selection box is: directly skip the AMS (Activity Manager Service) service module, and the permission selection box is not displayed.
- the directly skipping the AMS module may specifically: skip the function of the bullet permission selection box in the AMS module, so that the permission selection box is not displayed.
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information.
- the modifying the NMS module may specifically: modifying an enqueue notification internal function in the NMS module, thereby directly deleting the notification bar information.
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the modifying the WMS module may specifically: modifying a set Win And Children Visibility function and an Add Window function in the WMS module, so that the window of the floating window is invisible.
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the processor is specifically configured to:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
- Figure 1 shows a flow chart of a method of an embodiment of the invention.
- FIG. 2 is a diagram showing the logical architecture of a terminal device according to an embodiment of the present invention.
- Fig. 3 is a block diagram showing the structure of an embodiment of the present invention.
- FIG. 4 is a block diagram showing the hardware structure of a terminal device according to an embodiment of the present invention.
- Computer readable storage medium can be any device or medium that can store code and/or data for use by a computer system.
- Computer readable storage media include, but are not limited to, volatile memory, nonvolatile memory, magnetic and optical memory devices such as disk drives, magnetic tape, CD (Compact Disc), DVD (Digital Video Disc), or others capable of storing Media for code and / or data.
- the methods and processes described in the embodiments of the invention may be implemented in code and/or data, and the code and data may be stored in a computer readable storage medium as described above.
- the computer system can perform the methods and processes described in the embodiments of the present invention when the computer system reads and runs the code and/or data stored on the computer readable storage medium.
- the methods and processes described in the embodiments of the present invention may be included in a hardware module or device. These modules or devices may include, but are not limited to, application specific integrated circuit (ASIC) chips, field programmable gate arrays (FPGAs), dedicated or shared processors that run a particular software module or piece of code at a particular time, and/or other programmable Logic device. when When hardware modules or devices are activated, they perform methods and processes that are included within them.
- ASIC application specific integrated circuit
- FPGAs field programmable gate arrays
- first, second, etc. may be used herein to describe various elements, these terms are only used to distinguish one element or another.
- first application may also be referred to as a second application without departing from the scope of the present invention.
- second application may also be referred to as a first application.
- FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
- the method 100 includes:
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the method provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are again It does not become a cold boot when it is started, which causes the startup to take too long and affects the user experience.
- the solution provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention, thereby Improve the user experience as a whole.
- the embodiment of the present invention further provides a method 200.
- the monitoring terminal in S101.
- the operation status of each application further includes S102.
- S102 includes:
- S1021 Obtain a package name of the second application when it is detected that the second application exits the operation.
- S1022 Obtain a process name of the second application according to the package name of the second application.
- a process of generating the silent application list is provided, that is, when an application exit operation is detected, the step processing from S1021 to S1024 is performed to generate a silent application list.
- the list we call this list a list of silent applications, which is used in subsequent S103 to "determine whether the first application is a silent launch application", ie when the first application is recorded in the When the silent application list is used, the first application is a silent launch application, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the generation process of the silent application list may be obtained in advance before the entire method 100, or may be updated in real time, which is not limited herein.
- the S1021 may be further refined as follows: when it is detected that the second application on the terminal is out of operation, detecting whether the CPU load of the terminal is less than a first preset threshold, and if yes, detecting the terminal further. Whether the effective memory is less than the second preset threshold, and if so, the package name of the second application is obtained.
- the first preset threshold may be 60%
- the second preset threshold may be 800M.
- the prompt information of the first application may include one or more of the following information: a Toast prompt box, a permission selection box, a notification bar information, and a floating window;
- the “blocking the prompt information for the first application” in the S103 includes:
- Different prompt information in the prompt information of the first application has different intercepting modes:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating a Toast;
- the interception mode for the permission selection box is: directly skipping the AMS (Activity Manager Service) service module, so that the permission selection box is not displayed;
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information;
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the process name of obtaining the second application according to the package name of the second application includes:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
- the terminal device described in the embodiments of the present invention may be a mobile phone, a tablet computer, a portable media player, or other small electronic device including a digital media function.
- the hardware layer of the terminal device includes a central processing unit (CPU), a graphics processing unit (GPU), and the like. Of course, it may also include a memory, an input/output device, a memory, a memory controller, a network interface, etc., the input device may include a keyboard, a mouse, a touch screen, etc., and the output device may include a display device such as a liquid crystal display (LCD), a cathode Catheter Ray Tube (CRT,) Holographic, Projector, and the like.
- LCD liquid crystal display
- CRT cathode Catheter Ray Tube
- the operating system includes a driver layer, a core library layer, and a framework layer.
- the driver layer can include CPU driver, GPU driver, display controller driver, etc.
- the core library is the core part of the operating system, including input/output services, core services, graphics device interfaces, and graphics engine for CPU and GPU graphics processing (Graphics Engine). )Wait.
- the graphics engine may include a 2D engine, a 3D engine, a composition, a frame buffer, and the like.
- the framework layer may include a Window Manager, a Notification Manager, a Sensor Manager, and a View Manager.
- the host also includes an application layer.
- the application layer may include a desktop, a media player, a browser, and the like.
- the application layer may include a variety of applications such as a home, a media player, and a browser.
- the monitoring action described in the embodiment S101 of the present invention is mainly used to monitor an application running on the hardware layer of the user equipment, and when it is detected that the application is out of operation, further Steps to determine whether the application is a silent startup application, and if so, invoking the hardware of the device to encode, and modifying a function in the corresponding module to intercept the prompt information related to the application.
- the monitoring function in S101 and the determining and intercepting function in S103 can be implemented by the device 300.
- the device 300 mainly includes: a monitoring module 301, and a prompt information intercepting module 303.
- the monitoring module 301 acquires application data from the application layer to implement monitoring of the application, specifically:
- the monitoring module 301 is configured to monitor the running status of each application on the terminal.
- the prompt information intercepting module 303 is configured to determine whether the first application is a silent start application, and if yes, intercept the prompt information for the first application; wherein, the first The application is any one of the applications on the terminal, and the silent launch application is an application recorded in the silent application list.
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the apparatus provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are again It does not become a cold boot when it is started, which causes the startup to take too long and affects the user experience.
- the device provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention, thereby Improve the user experience as a whole.
- the embodiment of the present invention further provides another device.
- the device further includes: a silent application list generating module 305, specifically, the silent application list generating module 305. Used for:
- the package name of the second application is obtained.
- the silent application list generating module 305 implements the process of generating the silent application list, that is, when detecting that an application exits the operation, performing the foregoing processing to generate a silent application.
- List of lists we refer to this list as a silent application list, which is used by the prompt information intercepting module 303 to "determine whether the first application is a silent launch application", that is, when the first application is recorded in When the application is in the silent application list, the first application is a silent launch application, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the process of generating the silent application list may be performed in advance before the execution of the prompt information intercepting module 303, or may be updated in real time, which is not limited herein.
- the above-mentioned silent application list generating module 305 may be configured to: if it is detected that the second application on the terminal is out of operation, detecting whether the CPU load of the terminal is less than a first preset threshold, and if yes, further detecting Whether the effective memory of the terminal is less than a second preset threshold, and if yes, acquiring a package name of the second application.
- the first preset threshold may be 60%
- the second preset threshold may be 800M.
- the prompt information of the first application includes the following information.
- the prompt information intercepting module 303 is specifically configured to: use different intercepting manners for different prompt information in the prompt information of the first application:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating a Toast;
- the interception mode for the permission selection box is: directly skipping the AMS (Activity Manager Service) service module, so that the permission selection box is not displayed;
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information;
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the silent application list generating module 305 is further configured to:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
- the monitoring function in S101 and the determining and intercepting function in S103 can be implemented by the terminal device 400, and the terminal device 400 includes: a radio frequency (RF) circuit. 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490.
- RF radio frequency
- the structure of the terminal device shown in FIG. 4 does not constitute a limitation on the terminal device, and may include more or less components than those illustrated, or combine some components, or different component arrangements. .
- terminal device 400 The components of the terminal device 400 will be specifically described below with reference to FIG. 4:
- the RF circuit 410 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 480; in addition, transmitting the uplink data to the base station.
- RF circuitry 410 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, and the like.
- RF circuitry 410 can also communicate with the network and other devices via wireless communication.
- the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long
- the memory 420 is usable for an operating system and an application program, and the processor 480 calls hardware resources to execute various functions and data processing by running an application stored in the memory 420 and an operating system.
- processor 480 can execute an application stored in memory 420 and an operating system to perform the method steps depicted in FIG. 1 to implement the corresponding functionality.
- memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 430 can be configured to receive input numeric or character information and to generate user settings with the mobile device And key signal input related to function control.
- the input unit 430 may include a touch panel 431 and other input devices 432.
- the touch panel 431 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 431 or near the touch panel 431. operating).
- the input unit 430 may also include other input devices 432.
- other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks.
- Display unit 440 can be used to display a graphical interface of a system desktop or application.
- the display unit 440 may include a display panel 441.
- the display unit 640 may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 431 can cover the display panel 441. After the touch panel 431 detects a touch operation on or near the touch panel 431, the touch event is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480. A corresponding visual output is provided on the display panel 441 depending on the type of touch event, such as updating the graphical interface currently displayed by the application.
- the touch panel 431 and the display panel 441 are two independent components to implement input and input functions of the mobile device, in some embodiments, the touch panel 431 may be integrated with the display panel 441. And realize the input and output functions of mobile devices.
- the terminal device 400 can also include at least one type of sensor 450, such as a light sensor, motion sensor, and other sensors.
- sensor 450 such as a light sensor, motion sensor, and other sensors.
- Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like which are also configurable in the terminal device will not be described herein.
- the audio circuit 460, the speaker 461, and the microphone 462 can provide an audio interface between the user and the terminal device.
- the audio circuit 460 can transmit the converted electrical data of the received audio data to the speaker 461 for conversion to the sound signal output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal by the audio circuit 460. After receiving, it is converted into audio data, and then processed by the audio data output processor 480, transmitted to other user equipment via the RF circuit 410, or outputted to the memory 420 for further processing.
- WiFi is a short-range wireless transmission technology.
- FIG. 4 shows the WiFi module 470, it can be understood that it does not belong to the necessary configuration of the mobile device, and can be omitted as needed or replaced with other communication modules.
- the processor 480 is a control center of the terminal device 400, and connects various components of the entire terminal device using various interfaces and buses, and performs various functions of the terminal device by running an operating system and an application stored in the memory 420.
- the terminal device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the processor 480 is configured to monitor the operation of each application on the terminal; If the first application is out of operation, it is determined whether the first application is a silent start application, and if yes, the prompt information for the first application is intercepted; wherein the first application is any one of the applications on the terminal An application, the silent launch application is an application recorded in a silent application list;
- the memory 420 is configured to store the silent application list.
- the silent launch application is an application that the system will restart in a manner that is not perceived by the user.
- the terminal device provided by the embodiment of the present invention can prevent the applications from being cleared, so that when the applications are It will not become a cold boot when it is started again, which will cause the startup to take too long and affect the user experience.
- the terminal device provided by the embodiment of the present invention intercepts the prompt information for the application when determining that the application is a silent launch application, so that various prompt information is not popped during the background startup process of the application to interfere with the user's attention.
- the processor 480 of the terminal device 400 is further configured to:
- the package name of the second application is obtained.
- the processor 480 implements the process of generating the silent application list, that is, when detecting that an application exits the operation, performing the foregoing processing to generate a list of silent applications.
- a silent application list which is used by the processor 480 to "determine whether the first application is a silent launch application", that is, when the first application is recorded in the silent application.
- the first application is a silent launch application, and when the first application is not recorded in the silent application list, the first application is not a silent launch application.
- the generation process of the silent application list may be obtained in advance, or may be updated in real time, which is not limited herein.
- the processor 480 is specifically configured to: if it is detected that the second application on the terminal device is out of operation, detecting whether the CPU load of the terminal is less than a first preset threshold, and if yes, detecting Whether the effective memory of the terminal is greater than a second preset threshold, and if yes, acquiring a package name of the second application.
- the first preset threshold may be 60%
- the second preset threshold may be 800M.
- the prompt information of the first application includes one or more of the following information: a Toast prompt box, a permission selection box, a notification bar information, and a floating window;
- the processor 480 is specifically configured to: use different intercepting manners for different prompt information in the prompt information of the first application:
- the interception manner of the Toast prompt box is: modifying the NMS (Notification Manager Service Notification Management Service) module, and not creating a Toast;
- the interception mode for the permission selection box is: directly skipping the AMS (Activity Manager Service) service module, so that the permission selection box is not displayed;
- the intercepting manner of the notification bar information is: modifying the NMS module, and directly deleting the notification bar information;
- the intercepting manner of the floating window is: modifying a WMS (Window Manager Service Window Management Service) module, and setting a window of the floating window to be invisible.
- WMS Window Manager Service Window Management Service
- the prompt information does not pop up during the background startup process of the application to interfere with the user's attention, thereby improving the user experience as a whole.
- the processor 480 is further configured to:
- second application information includes: a version, a version number, a developer, and developer vendor information of the second application;
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种后台静默启动应用的方法,包括:监测终端上各个应用的运行情况(S101);当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用(S103)。该方法通过拦截属于静默启动应用的第一应用的提示信息,从而解决了应用冷启动耗时过长的问题以及提示信息对用户形成不必要干扰的问题,从而提高用户体验。
Description
本发明涉及通信技术领域,尤其涉及一种后台启动应用的方法及终端设备。
Android是一个多任务系统,也就是说可以同时运行多个程序。一般来说,启动运行一个程序是有一定的时间开销的,因此,为了加快运行速度,当你退出一个程序时,Android并不会立即“杀掉”它,这样下次再运行该程序时,可以很快的启动。随着系统中保留的程序越来越多,内存必然会出现不足,Low Memory Killer(LMK)就是在系统内存低于某值时,清除相关的应用程序,保障系统保持拥有一定数量的空闲内存。
被清除的应用程序,再次使用时由原来的热启动变为冷启动,启动时间变长,例如微信:由0.5s变成了2s;为了提升应用冷启动时间,现在通用的做法是预先在后台加载应用的进程。等用户下次使用时,可以加快应用的启动速度。但这里存在一个问题是:应用在后台启动的过程中会出现各种提示信息,例如:Toast提示框、权限选择框、通知栏消息和悬浮窗,影响用户体验。
发明内容
本发明实施例提供的一种后台静默启动应用的方法,装置及终端设备,用于一定程度上解决安卓系统中后台应用被清除带来的应用冷启动耗时过长的问题,不仅避免冷启动问题还避免了用户被各种提示信息干扰的问题。
第一方面,本发明提供一种后台静默启动应用的方法,包括:
监测终端上各个应用的运行情况;
当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的方法可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的方案在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
结合第一方面,在第一方面的第一种可能的实施方式中,在所述判断所述第一应用是否为静默启动应用之前,所述监测终端上各个应用的运行情况之后,所述方法还包括:
当监测到第二应用退出运行,则获取所述第二应用的包名;
根据所述第二应用的包名获取所述第二应用的进程名;
根据所述第二应用的进程名获取所述第二应用的进程记录;
根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的
任意一个应用。
该实施方式提供了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行上述步骤处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表在后续的动作中被用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以事先获取好备用,也可以是实时的一直在进行更新,此处不做限定。
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述当监测到第二应用退出运行,则获取所述第二应用的包名包括:
当检测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
结合第一方面、第一方面的第一种可能的实施方式以及第一方面的第二种可能的实施方式中的任一实施方式,在第一方面的第三种可能的实施方式中,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;
所述拦截针对所述第一应用的提示信息包括:
针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast。
具体的,所述修改NMS模块可以为:修改NMS模块中的导入队列(enqueue Toast)函数,使得所述导入队列函数直接返回,从而不创建Toast。
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示。
具体的,所述直接跳过AMS模块具体可以为:直接跳过AMS模块中的弹权限选择框的函数,从而让权限选择框不显示出来。
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息。
具体的,所述修改所述NMS模块具体可以为:修改NMS模块中的导入通知(enqueue Notification Internal)函数,从而直接删除所述通知栏信息。
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
具体的,所述修改WMS模块具体可以为:修改WMS模块中的设置窗口可见性(set Win And Children Visibility)函数和增加窗口(Add Window)函数,从而使得所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
结合第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第四种可能的实施方式中,所述根据所述第二应用的包名获取所述第二应用的进程名包括:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
第二方面,本发明实施例提供一种用于后台静默启动应用的装置,包括:
监测模块,用于监测终端上各个应用的运行情况;
提示信息拦截模块,用于当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的装置可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的装置在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
结合第二方面,在第二方面的第一种可能的实施方式中,所述装置还包括:静默应用列表生成模块,用于:
当监测模块监测到第二应用退出运行,则获取所述第二应用的包名;
根据所述第二应用的包名获取所述第二应用的进程名;
根据所述第二应用的进程名获取所述第二应用的进程记录;
根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
在本发明实施例提供的该装置中,静默应用列表生成模块实现了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行上述处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表被提示信息拦截模块用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以在所述提示信息拦截模块执行之前事先获取好备用,也可以是实时的一直在进行更新,此处不做限定。
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述静默应用列表生成模块还用于:
当监测模块监测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
值得说明的是,在一种较优的实施方式中,所述第一预设阈值可以为60%,所述第二预设阈值可以为800M。
结合第二方面、第二方面的第一种可能的实施方式以及第二方面的第二种可能的实施方式中的任一实施方式,在第二方面的第三种可能的实施方式中,,所述第一应用的
提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;
所述提示信息拦截模块具体用于,针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast。
具体的,所述修改NMS模块可以为:修改NMS模块中的导入队列(enqueue Toast)函数,使得所述导入队列函数直接返回,从而不创建Toast。
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示。
具体的,所述直接跳过AMS模块具体可以为:直接跳过AMS模块中的弹权限选择框的函数,从而让权限选择框不显示出来。
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息。
具体的,所述修改所述NMS模块具体可以为:修改NMS模块中的导入通知(enqueue Notification Internal)函数,从而直接删除所述通知栏信息。
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
具体的,所述修改WMS模块具体可以为:修改WMS模块中的设置窗口可见性(set Win And Children Visibility)函数和增加窗口(Add Window)函数,从而使得所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
结合第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第四种可能的实施方式中,所述静默应用列表生成模块还用于:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
第三方面,本发明实施例提供一种用于后台静默启动应用的终端设备,包括:处理器和存储器;
所述处理器用于监测终端上各个应用的运行情况;当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用;
所述存储器用于存储所述静默应用列表。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的终端设备可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的终端设备在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而
整体上提升用户体验。
结合第三方面,在第三方面的第一种可能的实施方式中,所述处理器还用于当监测到第二应用退出运行,则获取所述第二应用的包名;
根据所述第二应用的包名获取所述第二应用的进程名;
根据所述第二应用的进程名获取所述第二应用的进程记录;
根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
在本发明实施例提供的该终端设备中,处理器实现了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行上述处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表被处理器用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以在事先获取好备用,也可以是实时的一直在进行更新,此处不做限定。
结合第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,所述处理器具体用于:当监测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
值得说明的是,在一种较优的实施方式中,所述第一预设阈值可以为60%,所述第二预设阈值可以为800M。
结合第三方面、第三方面的第一种可能的实施方式以及第三方面的第二种可能的实施方式中的任一实施方式,在第三方面的第三种可能的实施方式中,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;具体的,所述处理器用于:针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast。
具体的,所述修改NMS模块可以为:修改NMS模块中的导入队列(enqueue Toast)函数,使得所述导入队列函数直接返回,从而不创建Toast。
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示。
具体的,所述直接跳过AMS模块具体可以为:直接跳过AMS模块中的弹权限选择框的函数,从而让权限选择框不显示出来。
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息。
具体的,所述修改所述NMS模块具体可以为:修改NMS模块中的导入通知(enqueue Notification Internal)函数,从而直接删除所述通知栏信息。
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
具体的,所述修改WMS模块具体可以为:修改WMS模块中的设置窗口可见性(set Win And Children Visibility)函数和增加窗口(Add Window)函数,从而使得所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
结合第三方面的第一种可能的实施方式或第三方面的第二种可能的实施方式,在第三方面的第四种可能的实施方式中,所述处理器具体用于:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本发明实施例的方法流程图。
图2示出了本发明实施例的终端设备逻辑架构图。
图3示出了本发明实施例的装置结构图。
图4示出了本发明实施例的终端设备硬件结构图。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
在本发明实施例中描述的数据结构和代码通常被存储在计算机可读存储介质上,其可以是任何可以存储代码和/或数据以便计算机系统使用的设备或媒体。计算机可读存储介质包括但不限于易失性存储器、非易失性存储器、诸如磁盘驱动器、磁带、CD(光盘)、DVD(数字视频光盘)之类的磁和光存储器设备、或其它的能够存储代码和/或数据的媒体。
在本发明实施例中描述的方法和过程可以用代码和/或数据来实施,代码和数据可以被存储在如上所述的计算机可读存储介质中。当计算机系统读取并运行在计算机可读存储媒体上存储的代码和/或数据时,计算机系统可以执行本发明实施例中描述的方法和过程。此外,本发明实施例描述的方法和过程可以包括在硬件模块或装置中。这些模块或装置可以包括但不限于专用集成电路(ASIC)芯片、现场可编程门阵列(FPGA)、在特定时间运行特定软件模块或一段代码的专用或共享的处理器、和/或其它可编程逻辑器件。当
硬件模块或装置被激活时,它们执行包括在它们内部的方法和过程。
还应当理解,尽管在本文中可能采用术语第一、第二等来描述各种元件,但这些术语仅用来将元件或其他相关对象彼此区分开。例如,在不脱离本发明的范围的情况下,第一应用也可以被称为第二应用,类似地,第二应用也可以被称为第一应用。
在本发明的说明中使用的术语是仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明的说明书和所附权利要求中所使用的单数形式的"一个"和"该"也可以包括复数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语"和/或"是指包含一个或多个相关联的特征的任何或所有可能组合。
图1示出了本发明实施例的一种方法流程示意图。该方法100包括:
S101、监测终端上各个应用的运行情况。
S103、当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的方法可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的方案在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
在上述实施例提供的方案的基础上,本发明实施例还进一步提供方法200,所述方法200,在S103的“判断所述第一应用是否为静默启动应用”之前,在S101的“监测终端上各个应用的运行情况”之后还包括S102,具体的,S102包括:
S1021、当监测到第二应用退出运行,则获取所述第二应用的包名。
S1022、根据所述第二应用的包名获取所述第二应用的进程名。
S1023、根据所述第二应用的进程名获取所述第二应用的进程记录。
S1024、根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
在本发明实施例的该方法200中,提供了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行从S1021到S1024的步骤处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表在后续的S103中被用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以在整个方法100之前事先获取好,也可以是实时的一直在进行更新,此处不做限定。
值得说明的是,上述S1021可以进一步细化如下,即当监测到终端上的第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则进一步检测所述终端的有效内存是否小于第二预设阈值,若是,则获取所述第二应用的包名。在一种较优的实施方式中,所述第一预设阈值可以为60%,所述第二预设阈值可以为800M。
在本发明提供的上述实施例中,可选的,所述第一应用的提示信息可以包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;
对应地,所述S103中的“拦截针对所述第一应用的提示信息”包括:
针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示;
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
在本发明提供的上述实施例中,可选的,所述根据所述第二应用的包名获取所述第二应用的进程名包括:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
下面以android架构为例,详细描述相关的技术细节。本发明实施例所描述的终端设备,可以为移动电话、平板电脑、便携式媒体播放器、或其它包括数字媒体功能的小型电子设备。
图2为本发明实施例提供的终端设备的逻辑架构图,参照图2,该终端设备的硬件层包括中央处理器(Center Processing Unit,CPU)、图形处理器(Graphic Processing Unit,GPU)等,当然还可以包括存储器、输入/输出设备、内存、内存控制器、网络接口等,输入设备可包括键盘、鼠标、触摸屏等,输出设备可包括显示设备如液晶显示器(Liquid Crystal Display,LCD)、阴极射线管(Cathode Ray Tube,CRT、)全息成像(Holographic)、投影(Projector)等。在硬件层之上可运行有操作系统(如Android、Firefox OS等)以及一些应用程序。操作系统包括驱动层、核心库层和框架层。驱动层可包括CPU驱动、GPU驱动、显示控制器驱动等,核心库是操作系统的核心部分,包括输入/输出服务、核心服务、图形设备接口以及实现CPU、GPU图形处理的图形引擎(Graphics Engine)等。图形引擎可包括2D引擎、3D引擎、合成器(Composition)、帧缓冲区(Frame Buffer)等。框架层可包括窗口管理器(Window Manager)、通知管理器(Notification Manager)、传感器管理器(Sensor Manager)和视图管理器(View Manager)等。除此之外,该主机还包括应用层。应用层可包括桌面(launcher)、媒体播放器(Media Player)、浏览器(Browser)等。
除此之外,应用层可包括主界面(home)、媒体播放器(Media Player)、浏览器(Browser)等多种应用程序。
基于以上描述的终端设备的逻辑架构,本发明实施例S101中所描述的监测动作主要用于对用户设备硬件层上运行的应用程序进行监测,当监测到有应用退出运行时,进一
步判断该应用是否为静默启动应用,若是,则调用设备的硬件进行编码,修改对应模块中的函数从而对该应用相关的提示信息进行拦截。
在本发明提供的另一个实施例中,参考图3,S101中的监测功能和S103中的判断及拦截功能可以由装置300来实现,该装置300主要包括:监测模块301、提示信息拦截模块303;监测模块301从应用层获取应用程序数据,以实现对应用程序的监测,具体的:
监测模块301,用于监测终端上各个应用的运行情况。
提示信息拦截模块303,用于当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的装置可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的装置在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
在上述实施例提供的装置的基础上,本发明实施例还提供另一个装置,该装置在装置300的基础上还包括:静默应用列表生成模块305,具体的,所述静默应用列表生成模块305用于:
当监测模块监测到第二应用退出运行,则获取所述第二应用的包名。
根据所述第二应用的包名获取所述第二应用的进程名。
根据所述第二应用的进程名获取所述第二应用的进程记录。
根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
在本发明实施例提供的该装置中,静默应用列表生成模块305实现了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行上述处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表被提示信息拦截模块303用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以在所述提示信息拦截模块303执行之前事先获取好备用,也可以是实时的一直在进行更新,此处不做限定。
进一步可选的,上述静默应用列表生成模块305具体可以用于:当监测到终端上的第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则进一步检测所述终端的有效内存是否小于第二预设阈值,若是,则获取所述第二应用的包名。在一种较优的实施方式中,所述第一预设阈值可以为60%,所述第二预设阈值可以为800M。
在本发明提供的上述实施例中,可选的,所述第一应用的提示信息包括下述信息的
一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;
所述提示信息拦截模块303具体用于,针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示;
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
在本发明提供的上述实施例中,可选的,所述静默应用列表生成模块305还用于:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
在本发明提供的又一个实施例中,参考图4,S101中的监测功能和S103中的判断及拦截功能可以由终端设备400来实现,该终端设备400包括:射频(Radio Frequency,RF)电路410、存储器420、输入单元430、显示单元440、传感器450、音频电路460、无线保真(wireless fidelity,WiFi)模块470、处理器480、以及电源490等部件。本领域技术人员可以理解,图4中示出的终端设备的结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图4对终端设备400的各个构成部件进行具体的介绍:
RF电路410可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器480处理;另外,将上行的数据发送给基站。通常,RF电路410包括但不限于天线、至少一个放大器、收发信机、耦合器等。此外,RF电路410还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器420可用于操作系统以及应用程序,处理器480通过运行存储在存储器420的应用程序以及操作系统,调用硬件资源从而执行各种功能以及数据处理。具体地,处理器480可以执行存储在存储器420的应用程序以及操作系统,以执行图1所描述的方法步骤,从而实现相应的功能。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元430可用于接收输入的数字或字符信息,以及产生与移动设备的用户设置
以及功能控制有关的键信号输入。具体地,输入单元430可包括触控面板431以及其他输入设备432。触控面板431,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板431上或在触控面板431附近的操作)。除了触控面板431,输入单元430还可以包括其他输入设备432。具体地,其他输入设备432可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆中的一种或多种。
显示单元440可用于显示系统桌面或者应用程序的图形界面。显示单元440可包括显示面板441,可选的,显示单元640的类型可以为液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等。进一步的,触控面板431可覆盖显示面板441,当触控面板431检测到在其上或附近的触摸操作后,传送触控事件给处理器480以确定触控事件的类型,随后处理器480根据触摸事件的类型在显示面板441上提供相应的视觉输出,例如更新应用程序当前显示的图形界面。虽然在图4中,触控面板431与显示面板441是作为两个独立的部件来实现移动设备的输入和输入功能,但是在某些实施例中,可以将触控面板431与显示面板441集成而实现移动设备的输入和输出功能。
该终端设备400还可包括至少一种传感器450,比如光传感器、运动传感器以及其他传感器。至于终端设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路460、扬声器461,传声器462可提供用户与终端设备之间的音频接口。音频电路460可将接收到的音频数据转换后的电信号,传输到扬声器461,由扬声器461转换为声音信号输出;另一方面,传声器462将收集的声音信号转换为电信号,由音频电路460接收后转换为音频数据,再将音频数据输出处理器480处理后,经RF电路410以发送给其它用户设备,或者将音频数据输出至存储器420以便进一步处理。
WiFi属于短距离无线传输技术,虽然图4示出了WiFi模块470,但是可以理解的是,其并不属于移动设备的必须构成,完全可以根据需要省略或者用其它的通信模块来替代。
处理器480是终端设备400的控制中心,利用各种接口和总线连接整个终端设备的各个部件,通过运行存储在存储器420内的操作系统和应用程序,执行终端设备的各种功能。尽管未示出,终端设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。
基于上述对终端设备400的各个构成部件的介绍,下面着重描述该终端设备400具体如何用于后台静默启动应用,其中,所述处理器480用于监测终端上各个应用的运行情况;当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用;
所述存储器420用于存储所述静默应用列表。
其中,所述静默启动应用为系统将以不让用户感知的方式重新启动的应用。
这样,当安卓系统在系统内存低于某值,或基于其它原因而清除系统中保留在后台运行的应用时,本发明实施例提供的终端设备可以避免这些应用被清除,这样,当这些应用在再次被启动时不会变成冷启动,导致启动耗时过长而影响用户体验。不仅如此,由于本发明实施例提供的终端设备在判断该应用为静默启动应用时拦截了针对该应用的提示信息,从而不会在该应用后台启动过程中弹出各种提示信息干扰用户注意力,从而
整体上提升用户体验。
在上述实施例提供的终端设备的基础上,进一步的,所述终端设备400的处理器480还用于:
当监测到第二应用退出运行,则获取所述第二应用的包名。
根据所述第二应用的包名获取所述第二应用的进程名。
根据所述第二应用的进程名获取所述第二应用的进程记录。
根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
在本发明实施例提供的该终端设备中,处理器480实现了所述静默应用列表的生成过程,即在检测到有应用退出运行时,对其进行上述处理,从而生成一张静默应用列表的清单,我们把这张清单叫做静默应用列表,该静默应用列表被处理器480用来“判断所述第一应用是否为静默启动应用”,即当所述第一应用被记录在所述静默应用列表中时,该第一应用是静默启动应用,当所述第一应用没有被记录在所述静默应用列表中时,该第一应用不是静默启动应用。该静默应用列表的生成过程可以在事先获取好备用,也可以是实时的一直在进行更新,此处不做限定。
进一步可选的,所述处理器480具体可以用于:当监测到所述终端设备上的第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。在一种较优的实施方式中,所述第一预设阈值可以为60%,所述第二预设阈值可以为800M。
在本发明提供的上述实施例中,可选的,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;
所述处理器480具体用于:针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:
其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;
其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示;
其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;
其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
因此,在通过拦截针对所述第一应用的提示信息,使得该应用后台启动过程中不会弹出各种提示信息干扰用户注意力,从而整体上提升用户体验。
在本发明提供的上述实施例中,可选的,所述处理器480具体还用于:
根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;
根据所述第二应用信息获取所述第二应用的进程名。
以上对本发明实施例所提供的后台静默启动应用的方法、装置及终端设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的
说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
Claims (15)
- 一种后台静默启动应用的方法,其特征在于,所述方法包括:监测终端上各个应用的运行情况;当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
- 根据权利要求1所述的方法,其特征在于,在所述判断所述第一应用是否为静默启动应用之前,所述监测终端上各个应用的运行情况之后,所述方法还包括:当监测到第二应用退出运行,则获取所述第二应用的包名;根据所述第二应用的包名获取所述第二应用的进程名;根据所述第二应用的进程名获取所述第二应用的进程记录;根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
- 根据权利要求2所述的方法,其特征在于,所述当监测到第二应用退出运行,则获取所述第二应用的包名包括:当检测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;所述拦截针对所述第一应用的提示信息包括:针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示;其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理 服务)模块,设置所述悬浮窗的窗口为不可见。
- 根据权利要求2或3所述的方法,其特征在于,所述根据所述第二应用的包名获取所述第二应用的进程名包括:根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;根据所述第二应用信息获取所述第二应用的进程名。
- 一种用于后台静默启动应用的装置,其特征在于,所述装置包括:监测模块,用于监测终端上各个应用的运行情况;提示信息拦截模块,用于当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用。
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:静默应用列表生成模块,用于:当监测模块监测到第二应用退出运行,则获取所述第二应用的包名;根据所述第二应用的包名获取所述第二应用的进程名;根据所述第二应用的进程名获取所述第二应用的进程记录;根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
- 根据权利要求7所述的装置,其特征在于,所述静默应用列表生成模块还用于:当监测模块监测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
- 根据权利要求6-8任一项所述的装置,其特征在于,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;所述提示信息拦截模块具体用于,针对所述第一应用的提示信息中不同的提示信息有不同的拦截方式:其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service 作业管理服务)模块,让权限选择框不显示;其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
- 根据权利要求7或8所述的装置,其特征在于,所述静默应用列表生成模块还用于:根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;根据所述第二应用信息获取所述第二应用的进程名。
- 一种用于后台静默启动应用的终端设备,其特征在于,所述终端设备包括:处理器和存储器;所述处理器用于监测终端上各个应用的运行情况;当监测到第一应用退出运行,则判断所述第一应用是否为静默启动应用,若是,则拦截针对所述第一应用的提示信息;其中,所述第一应用为所述终端上各个应用中的任意一个应用,所述静默启动应用为静默应用列表中记录的应用;所述存储器用于存储所述静默应用列表。
- 根据权利要求11所述的终端设备,其特征在于,所述处理器还用于当监测到第二应用退出运行,则获取所述第二应用的包名;根据所述第二应用的包名获取所述第二应用的进程名;根据所述第二应用的进程名获取所述第二应用的进程记录;根据所述第二应用的进程记录重新启动所述第二应用,并在启动成功后将所述第二应用的包名记录到所述静默应用列表中;其中所述第二应用为所述终端上各个应用中的任意一个应用。
- 根据权利要求12所述的终端设备,其特征在于,所述处理器具体用于:当监测到第二应用退出运行,则检测所述终端的CPU负载是否小于第一预设阈值,若是,则检测所述终端的有效内存是否大于第二预设阈值,若是,则获取所述第二应用的包名。
- 根据权利要求11至13任一项所述的终端设备,其特征在于,所述第一应用的提示信息包括下述信息的一种或多种:Toast提示框、权限选择框、通知栏信息、悬浮窗;具体的,所述处理器用于:针对所述第一应用的提示信息中不同的提示信息有不同的拦 截方式:其中,针对所述Toast提示框的拦截方式为:修改NMS(Notification Manager Service通知管理服务)模块,不创建Toast;其中,针对所述权限选择框的拦截方式为:直接跳过AMS(Activity Manager Service作业管理服务)模块,让权限选择框不显示;其中,针对所述通知栏信息的拦截方式为:修改所述NMS模块,直接删除所述通知栏信息;其中,针对所述悬浮窗的拦截方式为:修改WMS(Window Manager Service窗口管理服务)模块,设置所述悬浮窗的窗口为不可见。
- 根据权利要求12或13所述的终端设备,其特征在于,所述处理器具体用于:根据所述第二应用的包名获取第二应用信息,所述第二应用信息包括:所述第二应用的版本、版本号、开发者、开发者厂家信息;根据所述第二应用信息获取所述第二应用的进程名。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP17848121.4A EP3506090A4 (en) | 2016-09-12 | 2017-09-05 | METHOD AND DEVICE FOR THE QUIET START OF AN APPLICATION IN THE BACKGROUND AND DEVICE DEVICE |
| US16/351,011 US10901779B2 (en) | 2016-09-12 | 2019-03-12 | Method and apparatus for silently starting application in background and terminal device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610817836.XA CN107817995B (zh) | 2016-09-12 | 2016-09-12 | 一种后台静默启动应用的方法、装置及终端设备 |
| CN201610817836.X | 2016-09-12 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/351,011 Continuation US10901779B2 (en) | 2016-09-12 | 2019-03-12 | Method and apparatus for silently starting application in background and terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018045948A1 true WO2018045948A1 (zh) | 2018-03-15 |
Family
ID=61562516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/100553 Ceased WO2018045948A1 (zh) | 2016-09-12 | 2017-09-05 | 一种后台静默启动应用的方法、装置及终端设备 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US10901779B2 (zh) |
| EP (1) | EP3506090A4 (zh) |
| CN (1) | CN107817995B (zh) |
| WO (1) | WO2018045948A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111459381A (zh) * | 2020-03-30 | 2020-07-28 | 维沃移动通信有限公司 | 信息展示方法、电子设备及存储介质 |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11095743B2 (en) | 2014-07-16 | 2021-08-17 | Tensera Networks Ltd. | Optimized content-delivery network (CDN) for the wireless last mile |
| US11516309B2 (en) | 2014-07-16 | 2022-11-29 | Tensera Networks Ltd. | Transparent pre-loading of user applications |
| US11483415B2 (en) | 2014-07-16 | 2022-10-25 | Tensera Networks Ltd. | Background pre-rendering of user applications |
| US11922187B2 (en) | 2018-03-05 | 2024-03-05 | Tensera Networks Ltd. | Robust application preloading with accurate user experience |
| US11915012B2 (en) * | 2018-03-05 | 2024-02-27 | Tensera Networks Ltd. | Application preloading in the presence of user actions |
| US12099856B2 (en) * | 2018-03-05 | 2024-09-24 | Tensera Networks Ltd. | Robust application preloading with accurate user experience |
| CN108710513B (zh) * | 2018-05-15 | 2020-07-21 | Oppo广东移动通信有限公司 | 应用程序启动方法、装置、存储介质及终端 |
| CN108804157A (zh) | 2018-06-05 | 2018-11-13 | Oppo广东移动通信有限公司 | 应用程序预加载方法、装置、存储介质及终端 |
| CN110413326A (zh) * | 2019-07-10 | 2019-11-05 | 珠海荣邦智能科技有限公司 | 操作系统控制方法及装置 |
| CN114144777A (zh) * | 2019-07-30 | 2022-03-04 | 腾赛拉网络有限公司 | 用户设备中应用用户界面的预渲染 |
| CN110659189B (zh) * | 2019-08-15 | 2021-02-23 | 华为技术有限公司 | 应用程序生成方法、装置、云服务器及可读存储介质 |
| CN110704247B (zh) * | 2019-09-30 | 2023-07-04 | 珠海市魅族科技有限公司 | 应用内存异常的处理方法、装置、电子设备及装置 |
| CN112835656A (zh) * | 2019-11-01 | 2021-05-25 | 科美诊断技术股份有限公司 | 一种客户端的启动方法及装置 |
| CN115136564B (zh) | 2020-02-13 | 2025-01-24 | 腾赛拉网络有限公司 | 用户设备中应用和应用内的内容的预加载 |
| WO2022118131A1 (en) | 2020-12-03 | 2022-06-09 | Tensera Networks | Preloading of applications having an existing task |
| CN116601602A (zh) | 2020-12-20 | 2023-08-15 | 腾赛拉网络有限公司 | 对用户透明地预加载应用 |
| CN112925582A (zh) * | 2021-02-22 | 2021-06-08 | 深圳依时货拉拉科技有限公司 | 安卓系统下提高应用程序在后台存活率的方法及移动终端 |
| CN113157377B (zh) * | 2021-05-20 | 2023-06-27 | 读书郎教育科技有限公司 | 一种Android系统实现对应用部分管控的方法及设备 |
| WO2023130967A1 (zh) * | 2022-01-10 | 2023-07-13 | 海信视像科技股份有限公司 | 一种节目数据处理方法及显示设备 |
| CN115146234B (zh) * | 2022-06-30 | 2025-08-15 | 展讯半导体(南京)有限公司 | 冷启动应用黑名单的动态更新方法、系统、设备及介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060206587A1 (en) * | 2005-03-14 | 2006-09-14 | Napster Llc | System and method for automatically uploading updates |
| CN103781057A (zh) * | 2014-01-08 | 2014-05-07 | 北京奇虎科技有限公司 | 一种静默下载升级包的方法及装置 |
| CN105045637A (zh) * | 2015-08-14 | 2015-11-11 | 深圳市金立通信设备有限公司 | 一种应用启动的方法及终端 |
| CN105260671A (zh) * | 2015-09-11 | 2016-01-20 | 北京金山安全软件有限公司 | 移动终端通知栏的控制方法、装置和移动设备 |
| CN105718284A (zh) * | 2016-01-18 | 2016-06-29 | 广东小天才科技有限公司 | 一种用于通信终端的应用程序启动方法及装置 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050229185A1 (en) * | 2004-02-20 | 2005-10-13 | Stoops Daniel S | Method and system for navigating applications |
| JP4930028B2 (ja) * | 2006-12-13 | 2012-05-09 | ソニー株式会社 | 情報処理装置、情報処理方法、プログラム |
| TW201232400A (en) * | 2011-01-20 | 2012-08-01 | Acer Inc | Method for pre-loading frequently launched application and electronic device using the same |
| US8463670B2 (en) * | 2011-03-25 | 2013-06-11 | International Business Machines Corporation | Automated time tracking |
| CN103051617B (zh) * | 2012-12-18 | 2015-09-02 | 北京奇虎科技有限公司 | 识别程序的网络行为的方法、装置及系统 |
| CN103176842B (zh) | 2013-03-15 | 2016-04-27 | 广东欧珀移动通信有限公司 | 后台进程管理方法及其移动终端 |
| US9508040B2 (en) * | 2013-06-12 | 2016-11-29 | Microsoft Technology Licensing, Llc | Predictive pre-launch for applications |
| CN104182255B (zh) * | 2014-08-20 | 2017-11-21 | 青岛海信宽带多媒体技术有限公司 | 一种系统应用的库文件升级方法及终端 |
| CN104680060B (zh) * | 2014-11-25 | 2017-04-05 | 北京奇虎科技有限公司 | 一种程序的自启管理方法和装置 |
| CN105095746B (zh) * | 2015-07-02 | 2018-06-19 | 北京奇虎科技有限公司 | 应用程序启动鉴权方法及装置 |
| CN105045588A (zh) * | 2015-07-17 | 2015-11-11 | 百度在线网络技术(北京)有限公司 | 一种切换输入法皮肤的方法和装置 |
| CN105260247A (zh) * | 2015-11-20 | 2016-01-20 | 小米科技有限责任公司 | 一种控制终端应用的方法及装置 |
-
2016
- 2016-09-12 CN CN201610817836.XA patent/CN107817995B/zh active Active
-
2017
- 2017-09-05 WO PCT/CN2017/100553 patent/WO2018045948A1/zh not_active Ceased
- 2017-09-05 EP EP17848121.4A patent/EP3506090A4/en not_active Ceased
-
2019
- 2019-03-12 US US16/351,011 patent/US10901779B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060206587A1 (en) * | 2005-03-14 | 2006-09-14 | Napster Llc | System and method for automatically uploading updates |
| CN103781057A (zh) * | 2014-01-08 | 2014-05-07 | 北京奇虎科技有限公司 | 一种静默下载升级包的方法及装置 |
| CN105045637A (zh) * | 2015-08-14 | 2015-11-11 | 深圳市金立通信设备有限公司 | 一种应用启动的方法及终端 |
| CN105260671A (zh) * | 2015-09-11 | 2016-01-20 | 北京金山安全软件有限公司 | 移动终端通知栏的控制方法、装置和移动设备 |
| CN105718284A (zh) * | 2016-01-18 | 2016-06-29 | 广东小天才科技有限公司 | 一种用于通信终端的应用程序启动方法及装置 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3506090A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111459381A (zh) * | 2020-03-30 | 2020-07-28 | 维沃移动通信有限公司 | 信息展示方法、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| US10901779B2 (en) | 2021-01-26 |
| EP3506090A4 (en) | 2019-09-04 |
| CN107817995B (zh) | 2021-03-30 |
| CN107817995A (zh) | 2018-03-20 |
| EP3506090A1 (en) | 2019-07-03 |
| US20190205159A1 (en) | 2019-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018045948A1 (zh) | 一种后台静默启动应用的方法、装置及终端设备 | |
| US10725972B2 (en) | Continuous and concurrent device experience in a multi-device ecosystem | |
| WO2018103484A1 (zh) | 直播页面的数据处理方法、装置和系统 | |
| US20170139576A1 (en) | Electronic device and method for configuring display thereof | |
| WO2018188289A1 (zh) | 信息显示方法、装置及终端 | |
| US8639749B2 (en) | Platform independent information handling system, communication method, and computer program product thereof | |
| US10474507B2 (en) | Terminal application process management method and apparatus | |
| WO2018145573A1 (zh) | 截取游戏画面的方法和装置 | |
| WO2018032782A1 (zh) | 一种启动应用的方法及装置 | |
| WO2016150331A1 (zh) | 一种运行游戏客户端的方法和装置 | |
| US9756674B2 (en) | Method of transmitting and receiving data of electronic device and electronic device using the method | |
| US11050829B2 (en) | Method for sharing information on conditional action and electronic device therefor | |
| WO2018223558A1 (zh) | 数据处理方法及电子设备 | |
| CN103828336A (zh) | 用于触发远程数据录入接口的方法和设备 | |
| CN106843868B (zh) | 一种多账号登录的方法、装置以及移动终端 | |
| CN106027631B (zh) | 一种数据传输方法及装置 | |
| CN107783803A (zh) | 智能终端的系统优化方法、装置、存储介质及智能终端 | |
| WO2017206895A1 (zh) | 应用控制方法及相关设备 | |
| CN108762829B (zh) | 一种用于图像美化的方法、客户端及终端 | |
| JP7319431B2 (ja) | アプリケーション機能の実施方法及び電子装置 | |
| US10033710B2 (en) | Electronic device and method of transmitting and receiving information by electronic device | |
| KR101876394B1 (ko) | 단말기에 미디어 데이터를 재생하는 방법 및 장치 | |
| US11194603B2 (en) | User equipment, server, control method of the user equipment and control method of the server for performing ahead-of-time (AOT) compilation of an application based on usage frequency | |
| US10664436B2 (en) | Application acceleration method and application acceleration device | |
| CN108108207B (zh) | 广告展现方法以及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17848121 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2017848121 Country of ref document: EP Effective date: 20190328 |