Application starting method and electronic equipment

By automatically starting applications that meet the self-start conditions under set scenarios in electronic devices, the equipment lag caused by the registration of a large number of applications is solved, and load control and user experience are improved.

CN119179526APending Publication Date: 2024-12-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310748710.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-21
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

In specific scenarios, the large number of applications of registered broadcast receivers in electronic devices cause a sharp increase in the system load, causing the problem of equipment lag.

Method used

By automatically starting applications that meet the self-start conditions in the set scenario, instead of starting applications that do not meet the conditions, limiting the number of applications to start, using self-start conditions such as sorting in the set order or frequency of use, flexibly controlling the startup of applications .

Benefits of technology

It effectively reduces the increase in equipment load and lag caused by a large number of applications in a short period of time, and improves the efficiency and user experience of application startup control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179526A_ABST
    Figure CN119179526A_ABST
Patent Text Reader

Abstract

The invention provides an application starting method and electronic equipment, in the method, aiming at applications of a broadcast receiver which is installed in the electronic equipment and has registered a set scene, the electronic equipment can automatically start an unstarted application meeting a self-starting condition in a plurality of applications in the set scene, so that the application starting efficiency is improved. The non-started application which does not meet the self-starting condition in the multiple applications is not started. According to the method, the number of started applications can be limited through the self-starting condition, so that the problem of equipment jamming caused by starting of a large number of applications within a short time is reduced or avoided, and the efficiency of application starting control is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to an application startup method and an electronic equipment. Background Art

[0002] Currently, in specific scenarios (such as booting, restarting, etc.), the system service in the electronic device can pull up (or start) the application that has registered the broadcast receiver and send a broadcast of the specific scenario to the application that has registered the broadcast receiver, so as to realize the self-start of the application. If a large number of applications in the electronic device are registered with the broadcast receiver, a large number of application processes will be pulled up in a short period of time in a specific scenario, causing the electronic device system load to increase sharply in a short period of time, which will cause the problem of electronic device freezing. Summary of the invention

[0003] The present application provides an application startup method and an electronic device, which are used to reduce or avoid the problem of device freezing caused by starting a large number of applications in a short period of time, and improve the efficiency of application startup control.

[0004] In a first aspect, an embodiment of the present application provides an application startup method, which is applied to an electronic device, the method comprising: determining that the electronic device is in a set scene; in the set scene, automatically starting unstarted applications that meet self-start conditions among multiple applications, and not starting unstarted applications that do not meet the self-start conditions among the multiple applications; wherein the multiple applications include applications installed in the electronic device that have registered a broadcast receiver for the set scene.

[0005] In this method, the electronic device can automatically start the unstarted applications that meet the self-start condition among the multiple applications registered with the broadcast receiver in the set scenario. Among them, the self-start condition can limit the number of applications started among the multiple applications registered with the broadcast receiver, so as to reduce or avoid the effect of ultra-high load operation of the electronic device caused by the startup of a large number of applications registered with the broadcast receiver in a short period of time, thereby reducing or avoiding the jamming phenomenon.

[0006] In one possible design, the setting scenario includes at least one of the following: power on, charging, screen on, and screen off.

[0007] In a possible design, the self-start condition includes a first condition and / or a second condition, wherein the first condition is: belonging to the first N applications of the multiple applications arranged in a set order, where N is a positive integer; and the second condition is: belonging to a set application.

[0008] In this method, based on the first condition, the electronic device can start a certain number of applications, namely N applications. Based on the second condition, the electronic device can start some specific applications. The first condition and the second condition impose certain restrictions on the applications that can be automatically started by the electronic device from different angles, and the practicality is relatively high. Based on this method, the electronic device can automatically start an application that meets at least one of the first condition and the second condition, so the number of self-starting applications can be flexibly and automatically controlled based on at least one condition, thereby reducing or avoiding the jamming phenomenon.

[0009] In one possible design, the value of N is negatively correlated with the load of the electronic device.

[0010] In this method, the greater the number of applications automatically started by the electronic device, the higher the load consumed, and the more likely it is to cause the electronic device to freeze. Therefore, by showing that the value of N is negatively correlated with the load of the electronic device, on the one hand, a smaller number of applications can be automatically started when the load of the electronic device is high, thereby reducing or avoiding the freeze problem. On the other hand, a larger number of applications can be automatically started when the load of the electronic device is low, thereby improving the user experience. Through this method, the number of self-starting applications can be flexibly controlled based on the load of the electronic device, and it is highly practical.

[0011] In one possible design, the setting order is the order of broadcast receivers that register the setting scenes.

[0012] In the traditional application self-start control method, most electronic devices self-start applications in the order in which the applications register with broadcast receivers. In this method, by sorting the applications in the order in which the applications register with broadcast receivers for setting scenarios, the sorting method of the traditional solution can be used to reduce the amount of additional tasks of the electronic device as much as possible and improve processing efficiency.

[0013] In one possible design, the set application includes at least one of the following: at least one application indicated by a user; the first K applications of at least one application arranged in order of frequency of use according to big data statistics; wherein K is a set positive integer; the first M applications installed in the electronic device arranged in order of frequency of use; wherein M is a set positive integer.

[0014] In this method, the application can be set as an application that the user wants to start automatically or that the user uses frequently. The electronic device automatically starts such application when performing application self-start control, thereby improving the user experience.

[0015] In one possible design, the unstarted applications among the multiple applications that meet the self-start condition include: the unstarted applications among the multiple applications that meet the first condition; or, the unstarted applications among the multiple applications that meet the second condition; or, the unstarted applications among the multiple applications that meet the first condition, and the unstarted applications among the applications that do not meet the first condition that meet the second condition.

[0016] In this method, the electronic device can flexibly determine the application that meets the self-starting condition based on multiple ways, so it is highly practical.

[0017] In a second aspect, the present application provides an electronic device, comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by one or more processors, the electronic device executes the method described in the above-mentioned first aspect or any possible design of the first aspect.

[0018] In a third aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program runs on a computer, the computer executes the method described in the first aspect or any possible design of the first aspect.

[0019] In a fourth aspect, the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes the method described in the first aspect or any possible design of the first aspect.

[0020] For the beneficial effects of the second to fourth aspects, please refer to the description of the beneficial effects of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0023] Figure 3 A schematic diagram of an application startup method provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of an application startup method provided in an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0027] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0028] To facilitate understanding, exemplary descriptions of concepts related to the present application are provided for reference.

[0029] The electronic device may be a device with a processing function. In some embodiments of the present application, the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (e.g., a watch, a bracelet, a helmet, a headset, etc.), a vehicle-mounted terminal device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (e.g., a smart TV, a smart speaker, etc.), an intelligent robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home, a flight device (e.g., an intelligent robot, a hot air balloon, a drone, an airplane), etc.

[0030] Among them, a wearable device is a portable device that a user can wear directly on the body or integrate into the user's clothes or accessories.

[0031] In some embodiments of the present application, the electronic device may also be a portable terminal device that also includes other functions such as a personal digital assistant and / or a music player. Exemplary embodiments of the portable terminal device include but are not limited to: Or a portable terminal device with other operating systems. The portable terminal device may also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present application, the electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0032] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0033] Currently, applications in some electronic devices can achieve self-startup (i.e., automatic startup) in specific scenarios by registering broadcast receivers. Among them, the self-startup process may include: the system service in the electronic device can pull up (i.e., start) the application of the broadcast receiver registered for a specific scenario in specific scenarios such as startup and restart, and publish a broadcast to the pulled up application to indicate the corresponding scenario. In other words, the application registered for the broadcast receiver in the electronic device can achieve self-startup by being pulled up by the system service of the electronic device. Therefore, if a large number of applications in the electronic device are registered with the broadcast receiver, a large number of application processes will be pulled up in a short period of time in a specific scenario, which will cause the system load of the electronic device to increase sharply in a short period of time, causing the electronic device to freeze.

[0034] In response to the above problems, the currently commonly used solution is to limit the number of self-starting applications through a whitelist, that is, in a specific scenario, only applications in the whitelist can self-start, and applications outside the whitelist cannot self-start. Although this solution can alleviate the problem of electronic device freezes caused by application self-start by limiting the number of applications in the whitelist, the applications in the whitelist are generally relatively fixed, and there are problems such as poor flexibility and low management efficiency, which will lead to poor flexibility and low control efficiency of application self-start control. And it may cause some applications that users expect to use to fail to start normally, resulting in a low user experience. In addition, for applications that are started by being pulled up by other applications, the number of applications that are started can currently be limited by directly prohibiting the startup of such applications. The flexibility and control efficiency of this method are also poor.

[0035] Based on the above problems, in order to solve the problem of increased load and jamming of electronic devices caused by the self-starting of a large number of applications, in order to improve the flexibility and control efficiency of application self-starting control, and improve the user experience, the embodiment of the present application provides an application startup method and electronic device. This solution can be combined with actual scenarios to flexibly and intelligently control the number of applications started in electronic devices in a short period of time, thereby reducing or avoiding the problem of increased load and jamming of electronic devices caused by the self-starting of a large number of applications, and improve the control efficiency of application self-starting, thereby improving the user experience.

[0036] The technical solution provided in the embodiments of the present application can be executed by any computing device with processing and computing capabilities, and the computing device can be an electronic device, etc. The introduction of the electronic device can refer to the description in the above concept description or the description in the device structure description below. In the embodiments below, the application of the technical solution of the present application in an electronic device is used as an example for description, and the implementation process of the application in other computing devices is similar and will not be repeated.

[0037] See below Figure 1 , the structure of the electronic device to which the method provided in the embodiments of the present application is applicable is introduced.

[0038] like Figure 1 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.

[0039] The sensor module 180 may include a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, and the like.

[0040] Understandably, Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device, and the electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Figure 1The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0041] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0042] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0043] The execution of the application startup method provided in the embodiment of the present application can be controlled by the processor 110 or completed by calling other components, such as calling the processing program of the embodiment of the present application stored in the internal memory 121, or calling the processing program of the embodiment of the present application stored in the third-party device through the external memory interface 120, to control the wireless communication module 160 to communicate data with other devices, improve the intelligence and convenience of the electronic device 100, and enhance the user experience. The processor 110 may include different devices. For example, when the CPU and GPU are integrated, the CPU and GPU can cooperate to execute the application startup method provided in the embodiment of the present application, such as part of the algorithm in the application startup method is executed by the CPU, and the other part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0044] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. The display screen 194 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUIs). For example, the display screen 194 can display photos, videos, web pages, or files, etc.

[0045] In the embodiment of the present application, the display screen 194 may be an integrated flexible display screen, or a spliced ​​display screen consisting of two rigid screens and a flexible screen located between the two rigid screens.

[0046] The camera 193 (a front camera or a rear camera, or one camera can be used as both a front camera and a rear camera) is used to capture still images or videos. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signal.

[0047] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store codes of an operating system, an application program (such as a function corresponding to an application startup method, etc.). The data storage area may store data created during the use of the electronic device 100, etc.

[0048] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of the application startup method provided in the embodiment of the present application. The one or more computer programs are stored in the above-mentioned internal memory 121 and are configured to be executed by one or more processors 110. The one or more computer programs include instructions, and the above-mentioned instructions can be used to execute each step in the following embodiment.

[0049] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0050] Of course, the code of the algorithm of the application startup method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 110 can run the code of the algorithm of the application startup method stored in the external memory through the external memory interface 120.

[0051] The sensor module 180 may include a gyro sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, and the like.

[0052] The touch sensor is also called a "touch panel". The touch sensor can be arranged on the display screen 194, and the touch sensor and the display screen 194 form a touch display screen, also called a "touch screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0053] Exemplarily, the display screen 194 of the electronic device 100 may display a main interface, which includes icons of multiple applications (such as a camera application, etc.). For example, a user may click the icon of the camera application in the main interface through a touch sensor to trigger the processor 110 to start the camera application and turn on the camera 193. The display screen 194 displays an interface of the camera application, such as a viewfinder interface.

[0054] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0055] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0056] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110. In an embodiment of the present application, the mobile communication module 150 can also be used to interact with other devices for information.

[0057] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0058] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In the embodiment of the present application, the wireless communication module 160 is used to establish a connection with other electronic devices and exchange data. Or the wireless communication module 160 can be used to access the access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.

[0059] In addition, the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. For example, music playback, recording, etc. The electronic device 100 can receive input from the key 190 and generate key signal input related to the user settings and function control of the electronic device 100. The electronic device 100 can use the motor 191 to generate a vibration prompt (such as an incoming call vibration prompt). The indicator 192 in the electronic device 100 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 in the electronic device 100 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195, to achieve contact and separation with the electronic device 100.

[0060] It should be understood that in practical applications, the electronic device 100 may include Figure 1The embodiments of the present application are not limited to the more or fewer components shown. The illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0061] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. For example, Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom, namely the application layer, the application framework layer (Framework, FWK), the runtime and system library, and the (Linux) kernel layer.

[0062] The application layer is the top layer of the operating system, including native applications of the operating system, such as camera, gallery, calendar, Bluetooth, music, video, information, etc., and may also include third-party applications. The application involved in the embodiment of the present application is referred to as application (APP), which is a software program that can implement one or more specific functions. Typically, multiple applications can be installed in an electronic device, such as camera applications, email applications, learning applications, etc. The applications mentioned below may be system applications installed when the electronic device leaves the factory, or they may be third-party applications downloaded from the Internet or obtained from other electronic devices by the user while using the electronic device.

[0063] Of course, for developers, developers can write applications and install them in this layer. In a possible implementation, applications can be developed using the Java language by calling the application programming interface (API) provided by the application framework layer. Developers can interact with the bottom layer of the operating system (such as the kernel layer) through the application framework to develop their own applications.

[0064] The application framework layer is the API and programming framework of the application layer. The application framework layer may include some predefined functions. The application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.

[0065] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the display screen (or screen), capture the display screen, etc.

[0066] Content providers are used to store and retrieve data and make these data accessible to applications. The data may include files (such as documents, videos, images, audio), text and other information.

[0067] The view system includes visual controls, such as controls for displaying text, images, documents, etc. The view system can be used to build applications. The interface in the display window can be composed of one or more views. For example, the display interface including the SMS notification icon can include a view for displaying text and a view for displaying images.

[0068] The phone manager is used to provide communication functions for electronic devices. The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.

[0069] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.

[0070] The core library of the system consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the system. The application layer and the application framework layer run in the virtual machine. Taking Java as an example, the virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0071] The system library can include multiple functional modules. For example: surface manager, media library, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), image processing library, etc. The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio and video format playback and recording, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.564, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.

[0072] The kernel layer provides the core system services of the operating system, such as security, memory management, process management, network protocol stack and driver model, which are all implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer has many drivers related to electronic devices, the main drivers are: display driver; keyboard driver as input device; Flash driver based on memory technology device; camera driver; audio driver; Bluetooth driver; WiFi driver, etc.

[0073] It should be understood that the functional services described above are only examples, and in actual applications, electronic devices may also be divided into more or fewer functional services according to other factors, or the functions of each service may be divided in other ways, or the functional services may not be divided but work as a whole.

[0074] The following is a detailed description of the solution provided by the present application in combination with specific embodiments, taking the application of the solution provided by the present application to an electronic device as an example.

[0075] See also Figure 3 , an application startup method provided by an embodiment of the present application may include:

[0076] S301: The electronic device detects that it is currently in a set scene.

[0077] In some embodiments of the present application, the set scenario may be a scenario in which the electronic device allows the application to self-start.

[0078] In some embodiments of the present application, the set scenario may be a scenario in which the electronic device allows the self-starting of applications and the number of self-starting applications needs to be limited.

[0079] Exemplarily, the setting scenario may include at least one of the following: power on, restart, charging, running a setting application, turning on the screen, turning off the screen, and the load is greater than or equal to the set first load (i.e., a high load scenario). Exemplarily, the setting application may be an application that consumes a high load or resource. For example, the setting application may include at least one of the following: a camera application, a game application, and a video application.

[0080] The load described in the embodiments of the present application can be understood as the power consumed during operation. In some embodiments of the present application, the load can also be determined according to the memory occupancy rate or the CPU occupancy rate. The higher the memory occupancy rate or the CPU occupancy rate, the higher the load, and the lower the memory occupancy rate or the CPU occupancy rate, the lower the load.

[0081] In some embodiments of the present application, the electronic device can determine whether to allow the occurrence of application self-startup and / or whether the number of application self-startup needs to be limited based on user configuration or based on its own load conditions, resource occupancy, etc. For example, the above-mentioned startup, restart, charging and other scenarios can be scenarios pre-configured by the user that allow the occurrence of application self-startup and / or the number of application self-startup needs to be limited. For another example, when it is determined that the load consumption of the electronic device is high and / or the resource occupancy is high, it can be determined that the number of application self-startup needs to be limited. When it is determined that the load consumption of the electronic device is low and / or the resource occupancy is low, it can be determined that the number of application self-startup does not need to be limited.

[0082] The self-start described in the embodiments of the present application can be understood as automatic start, that is, automatic start without manual intervention or control by the user.

[0083] S302: The electronic device automatically starts an application that meets the self-starting condition among multiple applications; wherein the self-starting condition includes: belonging to the first N applications of the multiple applications arranged in a set order, and / or belonging to a set application; wherein N is a positive integer.

[0084] The multiple applications are applications installed in the electronic device and registered with the broadcast receiver of the set scene. Optionally, the multiple applications are applications that are automatically self-started and controlled by the electronic device. Whether the application in the electronic device is automatically self-started and controlled by the electronic device can be set by the user.

[0085] Optionally, the above-mentioned application startup method may further include: when the electronic device detects that it is currently in a set scene, not starting the application among the multiple applications that does not meet the self-start condition.

[0086] In some embodiments of the present application, the specific implementation of the electronic device automatically starting an application that meets the self-start condition among multiple applications may include: pulling up the application that meets the self-start condition among multiple applications through a system service, and sending a broadcast of setting a scene to the application that meets the self-start condition among the multiple applications. The broadcast of setting a scene is used to indicate that the current scene is the set scene.

[0087] In some embodiments of the present application, the self-start condition may also include: the broadcast receiver is registered, and / or is currently in an unstarted state.

[0088] In some embodiments of the present application, when the self-start condition includes multiple conditions, the application that meets the self-start condition can be an application that meets any one or more of the multiple conditions. In other words, an application that meets any one or more of the multiple conditions can be considered an application that meets the self-start condition.

[0089] In some embodiments of the present application, when the self-start condition includes multiple conditions, different conditions may have different priorities. Among them, the priorities of different conditions may be preconfigured. In some embodiments of the present application, the electronic device may determine the application that meets the self-start condition in any of the following ways:

[0090] Method 1: The electronic device may determine the applications that meet each condition in order according to the priority of different conditions, and finally obtain a list of applications that are allowed to be started.

[0091] Method 2: The electronic device may first select an application that meets the highest priority condition from the multiple applications, and then select an application that meets the second highest priority condition from the remaining unselected applications, and so on. After traversing all conditions in order, all applications allowed to be started may be selected.

[0092] Mode 3: The electronic device can determine whether each of the multiple applications meets the self-start condition in a set order. If so, the application is used as an application allowed to start. Otherwise, the next application is determined to meet the self-start condition. After traversing the multiple applications, all applications allowed to start can be determined. Optionally, when determining whether each application meets the self-start condition, the priority order of different conditions in the self-start condition can be used to determine whether the application meets the conditions of the corresponding priority.

[0093] In some embodiments of the present application, the electronic device can determine the application that is allowed to self-start through the system service, and pull up the application that is allowed to self-start through the system service, thereby completing the self-start of the application. After the electronic device pulls up the application that is allowed to self-start through the system service, it can send broadcast messages to the application that is allowed to self-start through the system service, so that the application that is allowed to self-start performs subsequent processing according to the current scene after self-start. Among them, the system service used to determine the application that is allowed to self-start and the system service used to send the broadcast message can be different. The broadcast message can be used to indicate the current scene. Exemplarily, the system service used to determine the application that is allowed to self-start can be iAware.

[0094] In some embodiments of the present application, the setting order may be any one of the following: installation order; order of registering broadcast receivers; order of usage frequency. Optionally, the usage frequency of any application may be the usage frequency of the application as counted by big data or may be the usage frequency of the application in the electronic device as counted by the electronic device. In some embodiments of the present application, the electronic device may obtain the ranking of the usage frequency of the application as counted by big data from the network side (for example, a server, a cloud, etc.), and determine the ranking of the multiple applications according to the ranking. Optionally, the network side may periodically update the ranking of the usage frequency of the application as counted by big data, and may notify the electronic device of the latest ranking. The electronic device may periodically obtain the latest ranking from the network side. In some embodiments of the present application, the electronic device may periodically count the usage frequency of the applications installed in the electronic device and sort them, and determine the ranking of the multiple applications according to the ranking.

[0095] It should be noted that the installation order described in the embodiments of the present application is the order of installation time. Among them, when the order is set to the installation order, the earlier the application is installed, the higher the ranking is. For example, when the installation time of the first application in the electronic device is earlier than the installation time of the second application, and the installation time of the third application is earlier than the installation time of the second application and later than the installation time of the first application, the order of the first application, the second application, and the third application when sorted according to the installation order is: first application, third application, second application.

[0096] It should be noted that the order of registering broadcast receivers described in the embodiment of the present application is the order of the time of registering broadcast receivers. When the order is set as the order of registering broadcast receivers, the earlier the application registers the broadcast receiver, the higher the ranking.

[0097] The usage frequency described in the embodiments of the present application may also be replaced by other indicators that reflect the frequency of use, such as the number of times used.

[0098] In some embodiments of the present application, the setting order may be the following order: applications in the whitelist > applications outside the whitelist, that is, the applications in the whitelist (i.e., applications belonging to the whitelist) are the first group of applications, and the applications outside the whitelist (i.e., applications not belonging to the whitelist) are the second group of applications, and the order of the first group of applications is before the second group of applications, and the order of the second group of applications is after the first group of applications. Among them, which applications are included in the whitelist can be configured by the user. In one possible implementation, the applications included in the first group of applications (i.e., applications in the whitelist) can be sorted in the following order: installation order, order of registration of broadcast receivers, and order of frequency of use. In another possible implementation, the applications included in the first group of applications can be randomly sorted. In one possible implementation, the applications included in the second group of applications (i.e., applications outside the whitelist) can be sorted in the following order: installation order, order of registration of broadcast receivers, and order of frequency of use. In another possible implementation, the applications included in the second group of applications can be randomly sorted.

[0099] Based on this solution, taking the first group of applications including x applications and the second group of applications including y applications as an example (where x and y are both positive integers), the following situations may exist:

[0100] 1) When x is greater than N, the first N applications of the plurality of applications arranged in a set order include the first N applications of the x applications, ie, the first N applications in the whitelist.

[0101] 2) When x is equal to N, the first N applications of the plurality of applications arranged in a set order include x applications, ie, all the applications in the whitelist.

[0102] 3) When x is less than N and x+y is greater than N, the first N applications of the multiple applications arranged in the set order include x applications and the first (Nx) applications of y applications, that is, all applications in the whitelist and the first (Nx) applications outside the whitelist.

[0103] 4) When x is less than N and x+y is less than or equal to N, the first N applications of the plurality of applications arranged in a set order include x applications and y applications, ie, all applications in the whitelist and all applications outside the whitelist.

[0104] In some embodiments of the present application, as an optional implementation, N may be a set value. As another optional implementation, the value of N corresponding to different scenarios may be a preconfigured value, or the electronic device may determine the value of N in the corresponding scenario according to the load of the electronic device in different scenarios, wherein the value of N is negatively correlated with the load of the electronic device. Optionally, the electronic device may calculate the value of N in each scenario according to the load of the electronic device in each scenario and a set function for characterizing the negative correlation between the load and the value of N.

[0105] Based on the above method, the electronic device can implement more fine-grained application self-startup control according to the scenario, which helps to improve the efficiency of application self-startup control.

[0106] In some embodiments of the present application, the set application may include at least one of the following: an application set by the user to be allowed to start automatically; at least one application in the set whitelist; the first K applications in the applications sorted by frequency of use according to big data statistics; the first M applications installed in the electronic device sorted by frequency of use (i.e., the first M applications installed in the electronic device after sorting by frequency of use). Wherein, K and M are both positive integers. Optionally, K can be a set value, and M can be a set value. The values ​​of K and M can be the same or different.

[0107] In one possible scenario, at least one application in the whitelist may be L applications selected from the whitelist, where L is a set positive integer. The method of selecting L applications from the whitelist may be: random selection, or selecting the first L applications after arranging the applications in the whitelist according to a set order. The set order may be the set order described in the aforementioned embodiment, or may be the order in which the applications are added to the whitelist (i.e., the order in which the applications are added to the whitelist). Optionally, the value of L may be the same as N.

[0108] In the above method, the frequency of use can reflect how frequently the user uses the application. Therefore, by starting applications with higher frequency of use, the applications that the user is accustomed to using or frequently uses can be started first, which can reduce or avoid the time the user spends waiting for the application to start when using these applications, thereby improving the user experience.

[0109] As an optional implementation, the electronic device may set a control switch for the installed application to control whether the application is allowed to start automatically. The user may set whether to allow the application to start automatically by operating the control switch corresponding to the application. After the user sets to allow the application to start, the electronic device may use the application as an application set by the user to be allowed to start automatically.

[0110] The above solution is introduced below by taking the multiple applications described in step S302 as applications installed in the electronic device and registered with the broadcast receiver as an example, wherein it is assumed that the number of the multiple applications is S, and S is a positive integer.

[0111] Example 1: The self-starting condition includes: belonging to the first N applications among the multiple applications arranged in a set order.

[0112] In one example, the setting order can be the above-mentioned installation order. Based on the above scheme, the electronic device can start the first N applications in the S applications sorted in the installation order when detecting that the current setting scene is in progress. In one possible case, when S is greater than N, a part of the S applications (i.e., the first N applications) are allowed to start, and another part of the applications are prohibited from starting. In another possible case, when S is less than or equal to N, all the S applications are allowed to start.

[0113] In another example, the setting order may be an order of high to low frequency of use, wherein the frequency of use may be the frequency of use of an application counted by the electronic device. Based on the above scheme, the electronic device may start the first N applications among the S applications sorted in order of high to low frequency of use counted by the electronic device when it detects that it is currently in the setting scene. For example, when the applications installed in the electronic device include six applications A, B, C, D, E, and F, and the order of the frequency of use of these applications counted by the electronic device is A>C>B>F>D>E, if the applications registered with the broadcast receiver installed in the electronic device include A, D, and F and the value of N is 2, then the order of the S applications sorted in order of high to low frequency of use counted by the electronic device is A>F>D, then the electronic device may determine to start the first two applications, namely A and F, out of the total of three applications A, F, and D.

[0114] Example 2: Self-starting conditions include: belonging to a set application.

[0115] In the embodiment of the present application, the set application can also be understood as an exempted application or an application that meets the exemption conditions. The exemption conditions include at least one of the following: an application that is allowed to start automatically as set by the user; the first K applications among the applications ranked by frequency of use according to big data statistics; the first M applications among the applications installed in the electronic device ranked by frequency of use.

[0116] In one example, the value of K can be 2, and the value of M can be 3. When the applications installed in the electronic device include six applications A, B, C, D, E, and F, and the application that is allowed to start automatically as set by the user is A; the first K applications in the applications ranked by frequency of use according to big data statistics are C and D; the first M applications in the applications installed in the electronic device ranked by frequency of use are B, D, and F. Then, when it is detected that it is in the set scene, the electronic device can determine to start at least one application among A, B, C, D, and F. Optionally, the electronic device can select a group of applications that meet any of the above conditions to start, for example, it can only start the application that meets the condition of "being an application allowed to start automatically as set by the user", that is, application A.

[0117] Example 3: The self-starting condition includes: belonging to the first N applications of the multiple applications arranged in a set order, and belonging to a set application.

[0118] In one example, the multiple applications may be applications installed in the electronic device and registered with a broadcast receiver. The set order may be the order of installation, and the priority of the condition "belonging to the first N applications of the multiple applications arranged in the set order" may be higher than the priority of the condition "belonging to the set application". As an optional implementation, when the electronic device detects that it is in the set scene, the electronic device may traverse S applications in the order of installation, wherein, for each application, the electronic device first determines whether the application satisfies the condition of "belonging to the first N applications of the multiple applications arranged in the set order", and if so, the application is treated as an application that is allowed to be started, otherwise, it is determined whether the application satisfies the condition of "belonging to the set application", and if so, the application is treated as an application that is allowed to be started, otherwise, the judgment process for the application is terminated, and the judgment process for the next application is started, until all S applications are traversed.

[0119] Based on the above method, in one possible case, when N is greater than or equal to S, all S applications can be automatically started. In another possible case, when N is less than S, N applications among the S applications that meet the condition of "belonging to the first N applications among the S applications arranged in a set order" can be automatically started, and the remaining SN applications that meet the condition of "belonging to the set applications" (which may be some or all of the SN applications) can be started.

[0120] It should be understood that the above examples 1 to 3 provide exemplary explanations of the schemes for determining the allowed self-starting applications, but do not cover all the schemes provided in the above embodiments, nor do they limit the schemes provided in the above embodiments. For some specific implementations of the schemes provided in the above embodiments, they can be implemented with reference to the methods in the above examples 1 to 3, and no further examples will be given in the embodiments of this application.

[0121] Based on the method provided in the above embodiment, the electronic device can set the scene, combined with the specific scene, to limit the number of self-starting applications, so as to reduce or avoid the ultra-high load operation of the electronic device in a short period of time, thereby reducing or avoiding the jamming phenomenon. At the same time, the method supports the exemption of applications commonly used by users, so that some applications commonly used by users can be self-started, thereby improving the user experience. Compared with the traditional solution of directly starting the application registered with the broadcast receiver or the solution of controlling the self-start of the application according to the fixed whitelist, the solution provided in the above embodiment of the present application can be combined with the threshold (such as N, K, M, etc. described in the above embodiment) control, actual scene, user's habit of using the application and other factors to control the self-starting application, so it has high flexibility and practicality, which helps to improve the control efficiency of the self-starting control of the application.

[0122] It should be noted that the specific implementation process provided in the above embodiment is only an example of the method process applicable to the embodiment of the present application. The execution order of each step can be adjusted accordingly according to actual needs, and other steps can be added or some steps can be reduced.

[0123] Based on the above embodiments and the same technical concept, the present application embodiment also provides an application startup method, such as Figure 4 As shown in , the method includes:

[0124] S401: The electronic device determines that it is in a set scene.

[0125] In some embodiments of the present application, the setting scene may include at least one of the following: power on, charging, screen on, and screen off.

[0126] In some embodiments of the present application, the setting scene may be the setting scene described in the aforementioned embodiments.

[0127] S402: In the set scenario, the electronic device automatically starts unstarted applications among multiple applications that meet the self-start condition, and does not start unstarted applications among the multiple applications that do not meet the self-start condition; wherein the multiple applications include applications installed in the electronic device that have registered the broadcast receiver for the set scenario.

[0128] In some embodiments of the present application, the self-start condition may include a first condition and / or a second condition. The unstarted applications that meet the self-start condition may include: unstarted applications that meet the first condition and / or unstarted applications that meet the second condition. The unstarted applications that do not meet the self-start condition may include: unstarted applications that neither meet the first condition nor the second condition. Among them, the first condition is: belonging to the first N applications of the multiple applications arranged in a set order, and N is a positive integer; the second condition is: belonging to a set application.

[0129] In some embodiments of the present application, the setting order may be the order of the broadcast receivers that register the setting scenes, specifically the time sequence of the broadcast receivers that register the setting scenes. Optionally, the setting order may also be the installation order described in the above embodiments.

[0130] In some embodiments of the present application, the setting order may be the setting order described in the aforementioned embodiments.

[0131] In some embodiments of the present application, the value of N is negatively correlated with the load of the electronic device.

[0132] In some embodiments of the present application, the value of N may be determined in accordance with the method for determining the value of N described in the aforementioned embodiments.

[0133] In some embodiments of the present application, the set application may include at least one of the following: at least one application indicated by a user; the first K applications of at least one application arranged in order of frequency of use according to big data statistics; wherein K is a set positive integer; the first M applications installed in the electronic device arranged in order of frequency of use; wherein M is a set positive integer.

[0134] In some embodiments of the present application, the setting application may be the setting application described in the aforementioned embodiments.

[0135] In some embodiments of the present application, the self-starting condition may be the self-starting condition described in the aforementioned embodiments.

[0136] In some embodiments of the present application, the electronic device determines the unstarted applications that meet the self-start condition among multiple applications by: using the unstarted applications that meet the first condition among multiple applications as the unstarted applications that meet the self-start condition; or, using the unstarted applications that meet the second condition among multiple applications as the unstarted applications that meet the self-start condition; or, using the unstarted applications that meet the first condition among multiple applications and the unstarted applications that meet the second condition among the applications that do not meet the first condition among multiple applications as the unstarted applications that meet the self-start condition.

[0137] Among them, the unstarted application described in the embodiment of the present application is an application that is in an unstarted state or an application that is not in a running state.

[0138] In the above method, the specific steps executed by the electronic device can refer to the relevant introduction in the above embodiments, which will not be described in detail here.

[0139] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide an electronic device, which is used to implement the application startup method provided in the embodiments of the present application. Figure 5As shown in FIG. 5 , the electronic device 500 may include: a memory 501, one or more processors 502, and one or more computer programs (not shown in the figure). The above-mentioned components may be coupled via one or more communication buses 503. Optionally, the electronic device 500 may also include a display screen 504.

[0140] Among them, one or more computer programs (codes) are stored in the memory 501, and the one or more computer programs include computer instructions; one or more processors 502 call the computer instructions stored in the memory 501, so that the electronic device 500 executes the application startup method provided in the above-mentioned embodiment of the present application.

[0141] In a specific implementation, the memory 501 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices or other non-volatile solid-state storage devices. The memory 501 may store an operating system (hereinafter referred to as system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 501 may be used to store an implementation program of an embodiment of the present application. The memory 501 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.

[0142] The one or more processors 502 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0143] The display screen 504 is used to display application interfaces and other related user interfaces.

[0144] It should be noted that Figure 5 This is only one implementation of the electronic device 500 provided in the embodiment of the present application. In actual applications, the electronic device 500 may also include more or fewer components. For details, please refer to Figure 1 The specific structure and description shown are not limited here.

[0145] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method provided in the above embodiments.

[0146] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes the method provided in the above embodiments.

[0147] The method provided in the embodiment of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0148] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An application startup method, applied to an electronic device, characterized in that: The method comprises: Determining that the electronic device is in a set scene; In the set scenario, unstarted applications among multiple applications that meet the self-start condition are automatically started, and unstarted applications among the multiple applications that do not meet the self-start condition are not started; wherein the multiple applications include applications installed in the electronic device that have registered the broadcast receiver for the set scenario.

2. The method according to claim 1, characterized in that The setting scenario includes at least one of the following: power on, charging, screen on, and screen off.

3. The method according to claim 1 or 2, characterized in that The self-start condition includes a first condition and / or a second condition, wherein the first condition is: belonging to the first N applications of the multiple applications arranged in a set order, where N is a positive integer; and the second condition is: belonging to a set application.

4. The method according to claim 3, characterized in that The value of N is negatively correlated with the load of the electronic device.

5. The method according to claim 3 or 4, characterized in that The setting order is the order of the broadcast receivers that register the setting scenes.

6. The method according to any one of claims 3 to 5, characterized in that: The setting application includes at least one of the following: at least one application indicated by a user; The top K applications in at least one application ranked in order of frequency of use according to big data statistics; wherein K is a set positive integer; The first M applications installed in the electronic device are arranged in order of frequency of use; wherein M is a set positive integer.

7. The method according to any one of claims 3 to 6, characterized in that: The unstarted applications that meet the self-start condition in the multiple applications include: An unstarted application among the multiple applications that meets the first condition; or An unstarted application that meets the second condition among the multiple applications; or The unstarted applications that meet the first condition among the multiple applications, and the unstarted applications that meet the second condition among the applications that do not meet the first condition among the multiple applications.

8. An electronic device, characterized in that: The electronic device includes a memory and one or more processors; The memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.