WO2018072193A1 - Procédé et dispositif de commande d'application pour un demarrage automatique - Google Patents

Procédé et dispositif de commande d'application pour un demarrage automatique Download PDF

Info

Publication number
WO2018072193A1
WO2018072193A1 PCT/CN2016/102790 CN2016102790W WO2018072193A1 WO 2018072193 A1 WO2018072193 A1 WO 2018072193A1 CN 2016102790 W CN2016102790 W CN 2016102790W WO 2018072193 A1 WO2018072193 A1 WO 2018072193A1
Authority
WO
WIPO (PCT)
Prior art keywords
starting
self
permission
target
target application
Prior art date
Application number
PCT/CN2016/102790
Other languages
English (en)
Chinese (zh)
Inventor
伍亮雄
刘海涛
刘鸣
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2016/102790 priority Critical patent/WO2018072193A1/fr
Priority to CN201680001198.2A priority patent/CN106537288B/zh
Publication of WO2018072193A1 publication Critical patent/WO2018072193A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • 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

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for controlling self-starting of an application.
  • APPs applications
  • terminal devices such as mobile phones and tablet computers to expand the functions of the terminal devices.
  • Embodiments of the present disclosure provide a method and apparatus for controlling application self-starting.
  • the technical solution is as follows:
  • a method of controlling an application self-starting comprising:
  • the target application that is registered with the target service After obtaining the triggering operation, detecting whether the target application that is registered with the target service has a self-starting permission; wherein the self-starting permission refers to a permission to automatically start running;
  • the target application does not have the self-starting permission, the target application is prohibited from self-starting in the process of starting the target service by using a binding service mode.
  • the detecting whether the target application that registers the target service has a self-starting right includes:
  • the method further includes:
  • whether the process to which the target service belongs in the process of detecting the target application is started includes:
  • the acquiring the triggering operation that triggers the startup of the target service includes:
  • the spell check service is a system service with a spell check function.
  • the method further includes:
  • the self-starting authority is turned on or off according to the recommended switch setting for the target application.
  • an apparatus for controlling self-starting of an application comprising:
  • An acquisition module configured to acquire a trigger operation that triggers a startup target service
  • the first detecting module is configured to: after detecting the triggering operation, detecting whether the target application that registers the target service has a self-starting right; wherein the self-starting right refers to the right to automatically start running;
  • the forbidden module is configured to prevent the target application from self-starting in the process of starting the target service by using the binding service mode if the target application does not have the self-starting permission.
  • the first detecting module includes:
  • the first sending submodule is configured to invoke a permission detecting method, and send a permission detecting request to the right detecting method; wherein the right detecting request carries an identifier of the target application, and the right detecting method is used to acquire the Whether the target application has the self-starting authority;
  • the first obtaining sub-module is configured to obtain the permission detection result returned by the permission detecting method, where the permission detecting result is: the target application has the self-starting permission, or the target application does not have the Describe the self-starting permissions.
  • the device further includes:
  • a second detecting module configured to: after detecting the triggering operation, detecting whether a process to which the target service belongs in a process of the target application is started;
  • the first detecting module is further configured to start from the step of detecting whether the target application that registers the target service has a self-starting permission when the process to which the target service belongs is not started.
  • the second detecting module includes:
  • the second sending submodule is configured to invoke a process detection method, and send a process detection request to the process detection method, where the process detection request carries an identifier of a process to which the target service belongs, and the process detection method uses Obtaining whether the process to which the target service belongs has been started;
  • the second obtaining submodule is configured to obtain the process detection result returned by the process detection method, where the process detection result is: the process to which the target service belongs has been started, or the process to which the target service belongs is not start up.
  • the obtaining module is configured to acquire a triggering operation that triggers initiation of a spell checking service
  • the spell check service is a system service with a spell check function.
  • the device further includes:
  • a receiving module configured to receive the recommended switch setting of the self-starting permission of the target application sent by the cloud server, where the recommended switch is set by the cloud server according to the user who starts the self-starting permission for the target application The number and the number of users who have closed the self-starting authority for the target application;
  • a switch module configured to enable or disable the self-starting authority according to the recommended switch setting for the target application.
  • an apparatus for controlling self-starting of an application comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the target application When the target application does not have the self-starting permission, the target application is prohibited from being started in the process of starting the target service by using a binding service mode.
  • the target application of the registered target service After the triggering operation of the triggering target service is obtained, it is detected whether the target application of the registered target service has the self-starting permission, and when the detection result is that the target application does not have the self-starting right, the target application is prohibited from adopting the binding service mode in the startup target.
  • the self-starting process in the service process solves the problem that the application can self-start through the service (such as the spell check service), which causes the system memory and the power consumption to be occupied; since the self-starting permission is set for the application, only the permission is allowed.
  • the self-starting application realizes self-starting through the service, avoiding the unauthorised application self-starting through the service, and achieves the technical effect of saving system memory and saving power consumption.
  • FIG. 1 is a flowchart of a method for controlling an application self-starting according to an exemplary embodiment
  • FIG. 2 is a flow chart showing a method of controlling an application self-starting according to another exemplary embodiment
  • FIG. 3 is a block diagram of an apparatus for controlling application self-starting, according to an exemplary embodiment
  • FIG. 4 is a block diagram showing an apparatus for controlling an application self-starting according to another exemplary embodiment
  • FIG. 5 is a block diagram of an apparatus, according to an exemplary embodiment.
  • the spell check service is a system service with spell checking. After the application registers the spell check service, the application can be self-started during the process of starting the spell check service by the terminal device through a bind service. Since the application can be self-started through a service (such as a spell check service), it takes up system memory and increases power consumption.
  • the service is service, and the service runs in the background of the terminal device, and is mainly used to process certain time-consuming logic or perform tasks that need to run for a long time.
  • the embodiments of the present disclosure provide a method for controlling self-starting of an application, and a device based on the method, to solve the problems in the related art.
  • the core idea of the technical solution provided by the embodiment of the present disclosure is to set a self-starting permission for the application to implement self-starting control of the application.
  • the self-starting permission refers to the permission to start the operation automatically.
  • the method provided by the embodiment of the present disclosure may be a terminal device, such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a PDA (Personal Digital Assistant), a wearable device, or the like.
  • the type of the operating system of the terminal device is not limited, such as an Android (Android) operating system, an iOS operating system, a Windows Phone operating system, and the like.
  • FIG. 1 is a flow chart showing a method of controlling an application self-starting according to an exemplary embodiment. The method can include the following steps:
  • step 101 a triggering operation that triggers the startup of the target service is obtained.
  • the terminal device acquires a trigger operation that triggers the startup target service.
  • the triggering operation is typically an operation performed by a user that can trigger an operating system to launch a target service.
  • the target service is that after the application registers the target service, the application can implement the self-starting service in the process of starting the target service by using the binding service mode.
  • the target service is a system service, and the system service is mainly used to perform specified system functions.
  • the target service is a spell check service.
  • the spell check service also known as the spell checker, is a system service with spell checking.
  • the spell check feature is a feature that checks for spelling errors when typing words into the input box. For example, by taking the words currently entered in the input box and comparing them with the words in the built-in dictionary, if there is no currently entered word in the built-in dictionary, the currently entered word will be considered as having spelling. Wrong word word.
  • the terminal device After applying the registration spell check service, you can implement self-starting during the system startup spell check service by binding service.
  • the terminal device obtains a triggering action that triggers initiation of the spell check service.
  • the triggering operation is an operation in which a user inputs a word in an input box.
  • the application can declare the registration target service by stating in its information description file.
  • the information description file is the basic configuration file of the application. Take the Android application as an example, the information description file is the AndroidManifest.xml file.
  • the developer can explain the basic information of the application, such as the application portal page, the permission information required by the application, the version information of the application, and the like.
  • an application may register a spell check service by stating in its information description file.
  • step 102 after obtaining the triggering operation, it is detected whether the target application of the registration target service has the self-starting authority.
  • the terminal device After obtaining the triggering operation, the terminal device detects whether the target application of the registered target service has the self-starting right.
  • the self-starting permission refers to the permission to start the operation automatically.
  • the system can control the self-starting of the application through the service.
  • the name of the self-starting permission is OP_AutoStart.
  • a corresponding identifier (also referred to as a value) is set for the self-starting permission, and the identifier is uniquely identified, and the identifier corresponding to the different permissions is different.
  • the target application is the application, and the terminal device detects whether the application has self-start permission. If there are multiple application registration target services in the terminal device, the target application is one of the multiple applications, and the terminal device detects whether the default application has self-start permission.
  • the default app can be selected by the system or user.
  • this step includes the following sub-steps:
  • the permission detection request carries the identifier of the target application, and the identifier of the application is used to uniquely identify an application.
  • the identity of the target application includes a package name of the target application.
  • the permission detection method is used to obtain whether the target application has self-starting permission.
  • the permission detection method is the AutoStartManagerService.isAllowStartService method
  • the operating system calls the AutoStartManagerService.isAllowStartService method, and sends a permission detection request carrying the identity of the target application to the method.
  • the permission detection result is: the target application has self-starting authority, or the target application does not have self-starting permission.
  • the query obtains whether the target application has self-starting permission. If the target application has the self-starting permission, the AutoStartManagerService.isAllowStartService method returns a first indication information indicating that the self-starting permission is provided to the operating system, for example, the first indication information is true; if the target application does not have the self-starting permission, the AutoStartManagerService.
  • the isAllowStartService method returns a second indication information indicating that the self-starting authority is not provided to the operating system, for example, the second indication information is false.
  • step 103 if the target application does not have the self-starting permission, the target application is prohibited from being started in the process of starting the target service by using the binding service mode.
  • the terminal device prohibits the target application from using the binding service mode to start automatically during the startup of the target service.
  • the binding service mode is one of the common application startup methods. The application can be started in the process of the bound service being invoked by the binding service. Row. If the target application does not have the self-starting permission, the terminal device does not execute the process of binding the service during the startup of the target service, so that the target application cannot start running.
  • the terminal device allows the target application to use the binding service mode to start the self-starting process in the process of starting the target service, that is, the terminal device performs the binding service process in the process of starting the target service, Make the target application start running.
  • the method provided in this embodiment detects whether the target application of the registration target service has the self-starting permission after the triggering operation of triggering the startup target service is obtained, and the detection result is that the target application does not have the self-starting permission.
  • the target application is prohibited from adopting the binding service mode to start self-starting in the process of starting the target service; solving the problem in the related technology that the application can be self-started by the service (such as the spell check service), resulting in occupying system memory and increasing power consumption.
  • the self-starting permission is set for the application, only the application with the self-starting permission is allowed to self-start through the service, and the unauthorised application is prevented from self-starting through the service, thereby achieving the technical effect of saving system memory and saving power consumption.
  • the method for controlling the self-starting of the application may include the following steps:
  • step 201 a triggering operation that triggers the startup of the target service is obtained.
  • step 201 For the step 201, reference may be made to the introduction and description of the step 101, which is not described in this embodiment.
  • step 202 after the triggering operation is acquired, it is detected whether the process to which the target service belongs in the process of the target application has started. If yes, the process ends; if not, the following step 203 is performed.
  • the terminal device After obtaining the triggering operation, the terminal device detects whether the process to which the target service belongs in the process of the target application has started. If the process to which the target service belongs is not started, perform the following permission detection step; if the process to which the target service belongs is started, skip the following permission detection step and execute the process of binding the service. In the above manner, it is possible to avoid performing unnecessary permission detection steps and save system processing overhead.
  • this step includes the following sub-steps:
  • the process detection request carries the identifier of the process to which the target service belongs, such as the process name.
  • the process detection method is used to obtain whether the process to which the target service belongs has been started.
  • the process detection method is the ApiActivityManagerService.getProcessRecordLocked method
  • the operating system calls The ApiActivityManagerService.getProcessRecordLocked method sends a process detection request carrying the identity of the process to which the target service belongs to the method.
  • the process detection result is: the process to which the target service belongs is started, or the process to which the target service belongs is not started.
  • the query acquires whether the process to which the target service belongs is started. If the process to which the target service belongs is started, the ApiActivityManagerService.getProcessRecordLocked method returns a third indication information indicating that the process has been started to the operating system, for example, the third indication information is not null; if the process to which the target service belongs is not started, the ApiActivityManagerService The .getProcessRecordLocked method returns a fourth indication information indicating that the process is not started to the operating system, for example, the fourth indication information is null.
  • step 203 it is detected whether the target application of the registration target service has self-starting authority. If yes, the following step 204 is performed; if not, the following step 205 is performed.
  • step 204 the target application is allowed to self-start in the process of starting the target service by using the binding service mode.
  • step 205 the target application is prohibited from self-starting in the process of starting the target service by using the binding service mode.
  • the method provided in this embodiment further detects whether the process to which the target service belongs in the process of the target application is started after the triggering operation of triggering the startup target service is acquired, and if the detection result is that the process to which the target service belongs is not started.
  • the subsequent permission detection step is executed, and when the detection result is that the process to which the target service belongs has been started, the process can be directly ended, the subsequent permission detection step is not executed, unnecessary unnecessary permission detection steps are avoided, and system processing overhead is saved.
  • the application has the self-starting permission, which can be set by the system default or by the user.
  • the number of users that enable or disable the self-starting permission for each application may be separately counted in the cloud server corresponding to the operating system.
  • the cloud server counts the number of users who have self-starting permissions for the application and the number of users who have turned off self-starting permissions for the application. Determine the recommended switch settings for the self-starting permissions of the app.
  • the cloud server determines the recommended switch setting of the self-starting permission of the target application according to the proportion of the number of users who open the self-starting permission for the target application and the number of the users who turn off the self-starting permission.
  • the cloud server may send the recommended switch setting of the self-starting permission of the target application to the terminal device; correspondingly, the terminal device receives the recommended switch setting of the self-starting permission of the target application sent by the cloud server.
  • Recommended switch settings are recommended to enable or disable self-start permissions.
  • the terminal device turns on or off the self-starting permission according to the recommended switch setting as the target application.
  • the terminal device automatically sets the self-starting permission to be turned on or off for the target application according to the recommended switch setting. For example, if the recommended switch is set to be on, the terminal device turns on the self-starting permission for the target application; if the recommended switch is set to off, the terminal device turns off the self-starting permission for the target application.
  • the terminal device displays the recommended switch setting, and the user sets the permission setting setting for the target application to be turned on or off by the user in combination with the recommended switch setting and the actual demand setting, and the terminal device acquires the permission setting indication set by the user, according to the user.
  • the set permission settings indicate that self-start permissions are turned on or off for the target app.
  • the cloud server may send the recommended switch setting of the self-starting permission of the target application to the terminal device after the terminal device installs the target application; the cloud server may also send the recommended switch of the self-starting permission of the target application to the terminal device every predetermined time interval. Settings.
  • the cloud server determines that the recommended switch of the self-starting permission of the application is set to If the number of users who have started the self-starting permission for the application is less than the number of users who have turned off the self-starting permission for the application, the cloud server determines that the recommended switch for the self-starting permission of the application is set to off.
  • the cloud server determines that the recommended switch of the self-starting permission of the application is set to be on. If the ratio of the number of users who have started the self-starting permission to the total number of users is less than the second threshold, the cloud server determines that the recommended switch of the self-starting permission of the application is set to off.
  • the first threshold is equal to the second threshold, or the first threshold is greater than the second threshold.
  • the total number of users is the sum of the number of users who have self-starting permissions for the app and the number of users who have turned off self-launch permissions for the app.
  • FIG. 3 is a block diagram of an apparatus for controlling application self-starting, according to an exemplary embodiment.
  • the apparatus has a function of implementing the above-described method examples, and the functions may be implemented by hardware or by hardware to execute corresponding software.
  • the apparatus may include an acquisition module 301, a first detection module 302, and a prohibition module 303.
  • the obtaining module 301 is configured to acquire a triggering operation that triggers the startup target service.
  • the first detecting module 302 is configured to: after detecting the triggering operation, detecting whether the target application that registers the target service has a self-starting right; wherein the self-starting right refers to the right to automatically start running.
  • the forbidden module 303 is configured to, when the target application does not have the self-starting permission, prohibit the target application from self-starting in the process of starting the target service by using a binding service mode.
  • the apparatus detects whether the target application of the registration target service has the self-starting permission after the triggering operation of triggering the startup target service is acquired, and the detection result is that the target application does not have the self-starting permission.
  • the target application is prohibited from adopting the binding service mode to start self-starting in the process of starting the target service; solving the problem in the related technology that the application can be self-started by the service (such as the spell check service), resulting in occupying system memory and increasing power consumption.
  • the self-starting permission is set for the application, only the application with the self-starting permission is allowed to self-start through the service, and the unauthorised application is prevented from self-starting through the service, thereby achieving the technical effect of saving system memory and saving power consumption.
  • the first detecting module 302 includes: a first sending submodule 302a and a first obtaining submodule 302b.
  • the first sending sub-module 302a is configured to invoke a permission detecting method, and send a permission detecting request to the right detecting method; wherein the right detecting request carries an identifier of the target application, and the right detecting method is used to acquire Whether the target application has the self-starting authority.
  • the first obtaining sub-module 302b is configured to obtain the permission detection result returned by the permission detecting method, wherein the permission detecting result is: the target application has the self-starting authority, or the target application does not have the The self-starting authority.
  • the apparatus further includes: a second detecting module 304.
  • the second detecting module 304 is configured to detect, after the triggering operation is acquired, whether a process to which the target service belongs in the process of the target application has been started.
  • the first detecting module 302 is further configured to: when the process to which the target service belongs is not started, detect whether the target application that registers the target service has the self-starting right.
  • the second detecting module 304 includes: a second sending submodule 304a and a second obtaining submodule 304b.
  • the second sending sub-module 304a is configured to invoke a process detection method, and send a process detection request to the process detection method, where the process detection request carries an identifier of a process to which the target service belongs, and the process detection method Used to obtain whether the process to which the target service belongs has been started.
  • the second obtaining sub-module 304b is configured to acquire the process detection result returned by the process detection method, where the process detection result is: the process to which the target service belongs has been started, or the process to which the target service belongs not initiated.
  • the obtaining module 301 is configured to acquire a triggering operation that triggers initiation of the spell checking service.
  • the spell check service is a system service with a spell check function.
  • the apparatus further includes: a receiving module and a switch module.
  • a receiving module configured to receive the recommended switch setting of the self-starting permission of the target application sent by the cloud server, where the recommended switch is set by the cloud server according to the user who starts the self-starting permission for the target application The number and the number of users who have closed the self-starting authority for the target application are determined.
  • a switch module configured to enable or disable the self-starting authority according to the recommended switch setting for the target application.
  • An exemplary embodiment of the present disclosure also provides an apparatus for controlling self-starting of an application, which can implement the method provided by the present disclosure.
  • the apparatus includes a processor and a memory for storing executable instructions of the processor.
  • the processor is configured to:
  • the self-starting permission refers to the permission to automatically start the running
  • the target application When the target application does not have the self-starting permission, the target application is prohibited from adopting the binding service mode to start automatically during the startup of the target service.
  • the processor is configured to:
  • the permission detection method is sent, and the permission detection request is sent to the permission detection method; wherein the permission detection request carries the identifier of the target application, and the permission detection method is used to obtain whether the target application has the self-start permission;
  • the permission detection result returned by the permission detection method; wherein the permission detection result is: the target application has the self-starting permission, or the target application does not have the self-starting permission.
  • the processor is further configured to:
  • the execution starts from the step of detecting whether the target application of the registration target service has the self-start permission.
  • the processor is configured to:
  • the process detection method is sent to send a process detection request to the process detection method, where the process detection request carries the identifier of the process to which the target service belongs, and the process detection method is used to obtain whether the process to which the target service belongs is started.
  • the process detection result returned by the process detection method is obtained.
  • the process detection result is: the process to which the target service belongs is started, or the process to which the target service belongs is not started.
  • the processor is configured to:
  • the spell check service is a system service with spell check function.
  • the processor is further configured to:
  • Receiving the recommended switch setting of the self-starting permission of the target application sent by the cloud server, and the recommended switch setting is determined by the cloud server according to the number of users who open the self-starting permission for the target application and the number of users who turn off the self-starting permission for the target application;
  • FIG. 5 is a block diagram of an apparatus 500, according to an exemplary embodiment.
  • device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 500 can include one or more of the following components: processing component 502, memory 505, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and Communication component 516.
  • Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 502 can include one or more processors 520 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 502 can include one or more modules to facilitate interaction between component 502 and other components.
  • processing component 502 can include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
  • Memory 505 is configured to store various types of data to support operation at device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phone book data, messages, pictures, videos, and the like.
  • Memory 505 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 506 provides power to various components of device 500.
  • Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 500.
  • the multimedia component 508 includes a screen between the device 500 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 510 is configured to output and/or input an audio signal.
  • audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 505 or transmitted via communication component 516.
  • audio component 510 also includes a speaker for outputting an audio signal.
  • the I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 514 includes one or more sensors for providing device 500 with various aspects of status assessment.
  • sensor assembly 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of device 500, and sensor component 515 can also detect a change in position of one component of device 500 or device 500. The presence or absence of user contact with device 500, device 500 orientation or acceleration/deceleration, and temperature variation of device 500.
  • Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 515 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices.
  • the device 500 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof.
  • communication component 516 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 516 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 505 comprising instructions executable by processor 520 of apparatus 500 to perform the above method.
  • the non-transitory computer readable storage medium may be ROM, random Access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of apparatus 500, to enable apparatus 500 to perform the above method.
  • a plurality as referred to herein means two or more.
  • "and/or” describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.

Landscapes

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

Abstract

La présente invention appartient au domaine technique des ordinateurs. La présente invention concerne un procédé et un dispositif de commande d'une application pour démarrer automatiquement. Le procédé consiste à : acquérir une opération de déclenchement pour déclencher le démarrage d'un service cible; après l'acquisition de le fonctionnement de déclenchement, détecter si une application cible enregistrée dans le service cible a une autorisation de démarrage automatique; ladite autorisation de démarrage automatique étant une permission pour démarrer automatiquement le fonctionnement; et si l'application cible n'a pas l'autorisation de démarrage automatique, empêcher l'application cible de démarrer automatiquement en se liant à un service pendant un processus de démarrage du service cible. L'invention définit l'autorisation de démarrage automatique pour une application, et permet uniquement des applications ayant une autorisation de démarrage automatique pour démarrer automatiquement par l'intermédiaire d'un service, ce qui permet d'empêcher une application non autorisée de démarrer automatiquement par l'intermédiaire d'un service, et d'obtenir l'effet technique de sauvegarde de la mémoire du système et de réduction de la consommation d'énergie.
PCT/CN2016/102790 2016-10-21 2016-10-21 Procédé et dispositif de commande d'application pour un demarrage automatique WO2018072193A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/102790 WO2018072193A1 (fr) 2016-10-21 2016-10-21 Procédé et dispositif de commande d'application pour un demarrage automatique
CN201680001198.2A CN106537288B (zh) 2016-10-21 2016-10-21 控制应用自启动的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/102790 WO2018072193A1 (fr) 2016-10-21 2016-10-21 Procédé et dispositif de commande d'application pour un demarrage automatique

Publications (1)

Publication Number Publication Date
WO2018072193A1 true WO2018072193A1 (fr) 2018-04-26

Family

ID=58335880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102790 WO2018072193A1 (fr) 2016-10-21 2016-10-21 Procédé et dispositif de commande d'application pour un demarrage automatique

Country Status (2)

Country Link
CN (1) CN106537288B (fr)
WO (1) WO2018072193A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423164B (zh) * 2017-07-21 2021-02-09 北京小米移动软件有限公司 应用重启方法及装置
CN110895473B (zh) * 2018-08-24 2023-05-02 山东华软金盾软件股份有限公司 一种基于安卓移动设备的自启动保活系统及方法
CN110955869A (zh) * 2018-09-26 2020-04-03 南昌欧菲生物识别技术有限公司 终端软件权限管理方法、装置、终端和存储介质
CN109445920A (zh) * 2018-10-22 2019-03-08 Oppo广东移动通信有限公司 控制应用自启动的方法、电子装置及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927476A (zh) * 2014-05-07 2014-07-16 上海联彤网络通讯技术有限公司 实现应用程序权限管理的智能系统及方法
WO2014137014A1 (fr) * 2013-03-08 2014-09-12 (주)인프라웨어테크놀러지 Procédé d'auto-vérification d'application intelligente utilisant une commande d'exécution automatique de terminal
CN104462980A (zh) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 一种应用程序权限管理的方法、装置、系统及移动终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014137014A1 (fr) * 2013-03-08 2014-09-12 (주)인프라웨어테크놀러지 Procédé d'auto-vérification d'application intelligente utilisant une commande d'exécution automatique de terminal
CN103927476A (zh) * 2014-05-07 2014-07-16 上海联彤网络通讯技术有限公司 实现应用程序权限管理的智能系统及方法
CN104462980A (zh) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 一种应用程序权限管理的方法、装置、系统及移动终端

Also Published As

Publication number Publication date
CN106537288B (zh) 2018-06-12
CN106537288A (zh) 2017-03-22

Similar Documents

Publication Publication Date Title
JP6101866B2 (ja) こどもモード処理方法、装置、プログラム、及び記録媒体
US9860844B2 (en) Method and apparatus of temperature control
US9998887B2 (en) Short message service reading method and device
US10021543B2 (en) Short message service reading method and device
WO2016173245A1 (fr) Procédé et dispositif de gestion d'habilitations
US20170289181A1 (en) Payment method, apparatus and medium
US10491394B2 (en) Method and device for processing verification code
WO2016090822A1 (fr) Procédé et dispositif pour mettre à niveau un micrologiciel
US20170300260A1 (en) Method, device and computer-readable storage medium for data migration
WO2019056575A1 (fr) Procédé de connexion à un compte, terminal et moyen d'enregistrement non volatile lisible par ordinateur
WO2017193526A1 (fr) Procédé et appareil d'affichage d'interface d'application
WO2018072193A1 (fr) Procédé et dispositif de commande d'application pour un demarrage automatique
US20150339016A1 (en) Tab creation method, device, and terminal
WO2018049610A1 (fr) Procédé et dispositif de contrôle d'autorisation
EP3163834A1 (fr) Procédé et dispositif de commande d'équipement
WO2017185568A1 (fr) Procédé et appareil de gestion de programmes d'application
WO2016150104A1 (fr) Procédé et dispositif de chargement de thèmes d'applications
WO2018049609A1 (fr) Procédé et dispositif de contrôle d'autorisation
CN112784262A (zh) 数据访问方法、装置、终端及存储介质
US10027629B2 (en) Short message service reading method and device
US20180146417A1 (en) Managing wireless network connection
WO2018049611A1 (fr) Procédé et dispositif de contrôle d'autorisation
WO2017166461A1 (fr) Procédé et appareil permettant de gérer un appel de programme d'application
CN112163192A (zh) root权限获取方法、装置、介质和电子设备
WO2017201692A1 (fr) Procédé et dispositif de chiffrement d'application

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: 16919206

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16919206

Country of ref document: EP

Kind code of ref document: A1