Application startup default startup method and electronic device

By using preset applications in electronic devices to obtain and send default startup application information, the problems of slow startup, low security, and complex configuration are solved, and fast startup and high-security default startup application configurations are achieved.

CN118331657BActive Publication Date: 2024-09-27FUJIAN LANDI COMMERCIAL EQUIPMENT CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410741323.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-27
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

In the existing technology, the default startup mode of electronic devices has problems such as slow startup speed, low security, and complicated configuration modification operations.

Method used

By introducing a preset application into an electronic device, the user-configured default startup application information is obtained and sent to the operating system through a programming interface within the preset application. The operating system stores and starts the corresponding default startup application at the next startup. Avoid jumping to the default desktop and directly open the default startup application to ensure fast startup speed, and verify user configuration through preset applications to prevent unauthorized modifications and simplify configuration operations.

Benefits of technology

It achieves the effects of fast startup speed, high security and simple configuration modification, which prevents users from arbitrarily changing the default startup application and improves terminal security and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331657B
    Figure CN118331657B
Patent Text Reader

Abstract

The present invention discloses a method for default startup of application at startup and an electronic device, wherein a preset application is obtained, and the preset application is an application installed in the electronic device and cannot be customized by a user; the default startup application information configured by the user is obtained through the preset application; the default startup application information is sent to the operating system through a programming interface configured in the preset application, and the programming interface is used to call a default startup library in the operating system, and the default startup library includes a code set related to the default startup in the operating system; the operating system stores the default startup application information, and starts the default startup application corresponding to the default startup application information at the next startup. The operating system of the present invention only needs to care about how to dock with the preset application, and the default startup application information is received by the preset application, thereby realizing the decoupling of the configuration process, ensuring security, fast startup speed and simple configuration modification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal configuration, and in particular to an application startup default startup method and an electronic device. Background Art

[0002] With the development of technology, different application scenario requirements have emerged. For example, when an electronic device is started, it is often necessary to display a default application instead of a default desktop.

[0003] In the related art, the startup method of the default application has the disadvantages of slow startup speed, complex configuration operation for modifying the default application, low security, and affecting the user experience. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an application startup default startup method and an electronic device, which can achieve the effects of fast startup speed, high security and simple configuration modification.

[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is:

[0006] A method for starting an application by default at startup is applied to an electronic device, wherein the electronic device is configured with an operating system, and the method comprises:

[0007] Obtaining a preset application, where the preset application is an application installed in the electronic device and cannot be customized by a user;

[0008] Obtaining default startup application information configured by the user through the preset application;

[0009] Sending the default startup application information to the operating system through a programming interface configured in the preset application, wherein the programming interface is used to call a default startup library in the operating system, wherein the default startup library includes a code set related to the default startup in the operating system;

[0010] The operating system stores the default startup application information, and starts the default startup application corresponding to the default startup application information during the next startup.

[0011] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0012] An electronic device comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements each step of the above-mentioned method for default startup of an application when executing the computer program.

[0013] The beneficial effects of the present invention are as follows: the present application sends the default startup application information to the operating system through the programming interface in the preset application, the operating system stores the default startup application information, and starts the default startup application corresponding to the default startup application information at the next startup. Therefore, the scheme of the present application directly opens the default startup application during the startup process instead of jumping to the default desktop, thereby avoiding the default desktop from being opened before the default application is started, and the startup speed is fast;

[0014] This application also obtains the default startup application information configured by the user through the preset application, and sends the default startup application information to the operating system through the programming interface configured in the preset application. That is, this application uses the preset application as an interface to communicate with the operating system. The user's configuration of the default startup application information must first be verified by the preset application before it can be sent to the operating system. The user cannot directly change the default startup application information, nor can he directly access the operating system level; plus the preset application is not user-defined, therefore, the security of the configuration process is effectively guaranteed, preventing users from arbitrarily changing the default startup application;

[0015] The operating system of the present application provides a default startup library, and a programming interface is configured in the preset application. The default startup library is called through this programming interface to achieve docking with the operating system. During this process, the operating system only needs to care about how to dock with the preset application, and the preset application receives the default startup application information, thereby achieving decoupling of the configuration process. Therefore, when the default startup application information needs to be modified, the user only needs to send the modification information by docking with the preset application without configuring the operating system. The operating system can receive the default startup application information according to the programming interface configured in the preset application, and directly start the corresponding default startup application according to the default startup application information. Therefore, the present application's modification configuration operation of the default application is simple, and there is no need to configure the operating system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flowchart of a method for default startup provided by an embodiment of the present invention;

[0017] Figure 2 A diagram of an implementation architecture of a power-on default startup method provided by an embodiment of the present invention;

[0018] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0020] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0021] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0022] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0023] In the related art, the startup mode of the default application has the disadvantages of slow startup speed and low security, and the modification and configuration operation of the default application is complicated, which affects the user experience.

[0024] As for the slow startup speed, in the related art, during the startup process, the default application usually monitors the system startup broadcast to confirm the start of the default startup application, displays the default desktop before the default application is started, and then jumps to the default application. This increases the steps in the startup process, reduces the startup efficiency, slows the startup speed, and affects the user experience.

[0025] Regarding low security, in the related technology, during the process of configuring the default startup application, the user can directly access the operating system, so the application can be directly modified to the default startup application by modifying the application's permissions, or tampered with to the default startup by modifying the application's code. This method brings great security risks to the terminal, especially the financial terminal, and has low security.

[0026] The configuration modification operation is complicated. In the related technology, if you want to configure the default startup application to be enabled at startup, it needs to be implemented through the operating system, and the configuration process is complicated. In the actual operation process, there are many types of default startup applications, and there are also many communication protocols between the default startup application and the background server. For example, when the operating system and the background server are directly connected, since the corresponding connection protocols are different, if the operating system level is modified directly, the operating system configuration is complicated and the modification is cumbersome, which affects the user experience.

[0027] In order to solve the above problems, the present application provides a method for starting an application by default at startup and an electronic device. The following specifically introduces a method for starting an application by default at startup in the present application.

[0028] The application startup default startup method in the present application is applied to an electronic device, and the electronic device is configured with an operating system.

[0029] The present invention applies the default startup method for startup in various devices, such as mobile phones, self-service terminals, cash registers, POS machines or payment devices, and is particularly applicable to electronic devices with high security requirements such as cash registers and POS machines. The operating systems include but are not limited to Windows, Android, Ios, openharmony and Linux.

[0030] The following specifically describes the power-on default startup method of the present invention, which includes steps S110-S140.

[0031] S110: Obtain a preset application, where the preset application is an application installed in the electronic device and cannot be customized by the user.

[0032] Among them, being unable to customize means that the user cannot modify or set the default application by himself. For example, if the App Store is set as the default application, the user can no longer set the music as the default application.

[0033] The preset application can be a system application that has been installed in the system at the factory, such as an application store, or it can be an application specially set up to implement the interface in this application; the permissions of the preset application are higher than other applications and cannot be defined or changed by the user. For example, the preset application can be a system application. The application in the system application itself already has basic functions and permissions, and the application itself needs to be connected to the operating system and other modules, so it is configured with various protocols that can be used directly. When using system applications, the system application itself also needs to be updated, so OTA updates or other update methods are usually configured, that is, various existing functions in the system application can be directly used to reduce the development cycle. In addition, the system application itself will be set with an anti-tampering function to further ensure security.

[0034] S120: Obtaining default startup application information configured by the user through a preset application.

[0035] For example, refer to Figure 2 , the user's mobile terminal can be connected to the background server, and the user can send the default startup application information to the background server through the mobile terminal. At this time, the default startup application information configured by the user can be obtained by interacting with the background server through the preset application. Of course, the present application can also obtain the default startup application information configured by the user in other ways. For example, the user directly sends the default startup application information to the electronic device through other devices and electronic devices by wired or wireless connection. At this time, the default startup application information can be received through the preset application. Therefore, the present application reduces the development cycle and development cost by reusing the preset application as a tool for interacting with the operating system. Users can configure and replace the default startup application without making a lot of changes.

[0036] S130. Sending default startup application information to the operating system through a programming interface configured in a preset application, where the programming interface is used to call a default startup library in the operating system, where the default startup library includes a code set related to the default startup in the operating system.

[0037] For example, the default startup library sets the startup process, in which the default startup parameters are reserved. After receiving the default startup application information and filling in the default startup parameters, the default startup application can be started during the boot process according to the steps set in the default startup library.

[0038] S140. The operating system stores the default startup application information, and starts the default startup application corresponding to the default startup application information during the next startup.

[0039] After the operating system stores the default startup application information, during the next startup process, the default startup parameters have specific values, and the default startup application can be started according to the set steps.

[0040] As can be seen from the above description, the present application sends the default startup application information to the operating system through the programming interface in the preset application, and the operating system stores the default startup application information and starts the default startup application corresponding to the default startup application information at the next startup. Therefore, the solution of the present application will directly open the default startup application during the startup process instead of jumping to the default desktop, thereby avoiding the default desktop from being opened before the default application is started, and the startup speed is fast;

[0041] This application also obtains the default startup application information configured by the user through the preset application, and sends the default startup application information to the operating system through the programming interface configured in the preset application. That is, this application uses the preset application as an interface to communicate with the operating system. The user's configuration of the default startup application information must first be verified by the preset application before it can be sent to the operating system. The user cannot directly change the default startup application information, nor can he directly access the operating system level; plus the preset application is not user-defined, therefore, the security of the configuration process is effectively guaranteed, preventing users from arbitrarily changing the default startup application;

[0042] The operating system of the present application provides a default startup library, and a programming interface is configured in the preset application. The default startup library is called through this programming interface to achieve docking with the operating system. During this process, the operating system only needs to care about how to dock with the preset application, and the preset application receives the default startup application information, thereby achieving decoupling of the configuration process. Therefore, when the default startup application information needs to be modified, the user only needs to send the modification information by docking with the preset application without configuring the operating system. The operating system can receive the default startup application information according to the programming interface configured in the preset application, and directly start the corresponding default startup application according to the default startup application information. Therefore, the present application's modification configuration operation of the default application is simple, and there is no need to configure the operating system.

[0043] In one embodiment of the present application, starting the default startup application corresponding to the default startup application information in S140 includes:

[0044] S141. Determine whether the default startup application corresponding to the default startup information is installed. If so, execute S142; otherwise, execute S143.

[0045] The default startup application information has been saved in S140, but if the default startup application corresponding to the default startup application information is not installed in the device, the configured default startup application cannot be successfully started. Therefore, in order to speed up the efficiency of the startup process, before starting the default startup application corresponding to the configured default startup application information, it is first determined whether the default startup application is installed. If the default startup application has not been installed, the default desktop is directly displayed to avoid program errors during the installation process.

[0046] The default startup application can be installed through the application store built into the device, or the user can upload the installation package of the default startup application for installation. If the user uploads the installation package of the default startup application, the permission verification steps can be configured to ensure security, such as configuring a whitelist and verifying through a certificate.

[0047] S142, determining whether the default startup application has a user interface, if so, displaying the user interface corresponding to the default startup application; if not, executing S143.

[0048] The default startup applications may be of different types. Some applications have corresponding user interfaces, such as instant messaging software QQ and WeChat; while some applications do not have user interfaces, such as applications that provide payment service support, which are usually imperceptible and there will be no icons for such applications on the desktop. Therefore, if it is the latter type of application, there is no corresponding user interface to display. At this time, configuring the display of the default desktop avoids program errors.

[0049] S143. Display the default desktop.

[0050] It can be seen from the above embodiments that when configuring the default startup application information, it is not judged whether the default startup application is installed. Instead, it is judged during the startup process whether the default startup application corresponding to the default startup application information is installed. The configuration process of the default startup application information and the judgment process of whether the default startup application is installed are separated. The user can choose the time to install the default startup application by himself, which improves the flexibility of user configuration. If the user has not installed the default startup application or the installed default startup application does not have a corresponding user interface, the default desktop can be started according to the settings to ensure that the user can use the device normally.

[0051] In one embodiment of the present application, starting the default startup application corresponding to the default startup application information in S140 also includes: starting the default startup application corresponding to the default startup application information by means of a main task, and the main task method includes starting the default startup application as the first priority.

[0052] The default startup application information may include a unique identification number of the default startup application, so that during the execution of the main task, the default startup application can be uniquely located through the unique identification number for configuration.

[0053] It can be seen from the above embodiments that the default startup application is started by means of the main task (home task). The operation of the main task determines the first interface that the user sees after turning on the computer. In the main task, the default startup application is started as the first priority, which specifically implements skipping the display of the default desktop at the code level and directly displays the user interface of the default startup application. Taking the Android system as an example, the main task in the Android system is the task where the Launcher application is located. The Launcher application is the Android desktop launcher. If the default startup application is started in this way, the user interface of the default startup application can be directly entered during the startup process of the Android desktop.

[0054] In one embodiment of the present application, S141 includes: configuring the operating system to obtain package information of a default startup application corresponding to the default startup application information when starting up; and determining whether the default startup application is installed according to the package information.

[0055] It can be seen from the above embodiments that by obtaining the package information of the application, it is possible to accurately know whether the application is installed; for example, the package name can be obtained, and the application information can be obtained through the package name. If it can be successfully obtained, it means that the application has been installed. If the acquisition fails, it means that the application has not been successfully installed.

[0056] In one embodiment of the present application, after displaying the user interface corresponding to the default startup application in S142, the process further includes: if a switching instruction is detected, displaying the default desktop.

[0057] It can be seen from the above embodiments that after successfully opening the user interface corresponding to the default startup application, a corresponding exit mechanism is also provided, that is, after entering the user interface corresponding to the default startup application, the default desktop can be displayed according to the switching instruction, so that the display of the default startup application and the default desktop can be switched according to actual usage needs.

[0058] In one embodiment of the present application, sending the default startup application information to the operating system through the programming interface configured in the preset application in S130 includes: when calling the default startup library of the operating system through the programming interface, the operating system performs a permission check on the preset application. If the check is successful, the operating system receives the default startup application information sent by the programming interface.

[0059] It can be seen from the above embodiments that when the operating system receives a request to call the default startup library sent by the preset application, it performs a permission check on the preset application. If the check is passed, it receives the default startup application information sent by the preset application for subsequent operations, thereby avoiding the problem that the default startup application information can be changed by any user. The user can only configure the default startup through the authorized preset application, thereby improving security. After the operating system receives the default startup application information, it uses the main task to configure the default startup application corresponding to the unique identification number as the default startup according to the unique identification number therein.

[0060] In one embodiment of the present application, the operating system performs permission verification on the preset application, including: the preset application sends the default startup application information encrypted by the public key, if the decryption is successful in the operating system, the verification is successful, otherwise the verification fails.

[0061] It can be seen from the above embodiments that verification is performed by asymmetric encryption, and only data encrypted by the public key can be obtained during the transmission process, while the private key is not transmitted, thereby further ensuring security; the public key can be sent in advance by the operating system to the preset application. If it is not sent through the preset application, it cannot be encrypted by the public key that matches the private key in the operating system, and thus the authority cannot be verified by the operating system; further, according to different levels of security requirements, it is also possible to further configure the method of encrypting and decrypting through multiple sets of public and private keys to verify the identity or to verify the identity through certificates.

[0062] In one embodiment of the present application, after displaying the user interface corresponding to the default startup application in S142, the method further includes: configuring that when the default startup application is running, the default startup application is forced to run at the foreground, the default startup application is started in full screen mode, and the physical button is shielded;

[0063] If an instruction to exit the default startup application is received, a permission check is performed, and if the check succeeds, the instruction to exit the default startup application is executed.

[0064] This application also configures a dominance mode for the default startup application. When the default startup application is in dominance mode, the system will force the default startup application to run at the forefront, start the application in full screen mode, and block the corresponding physical buttons, shortcut menus, etc. Therefore, in dominance mode, the user cannot exit the default application by pressing physical buttons to restart, flashing the device, etc., which further ensures the safety of use.

[0065] In one embodiment of the present application, the present application also configures an instruction to exit the default startup application for the screen dominating mode. For example, when in the screen dominating mode, the user can exit the screen dominating mode by long pressing the power menu, clicking Exit Screen Dominating in the pop-up menu, and performing relevant verification (the current verification method is to enter a dynamic password). Alternatively, the screen dominating mode can be exited by other methods, such as connecting to other devices, decrypting through other devices, etc.

[0066] When the user exits the screen-dominating application and then re-enters the screen-dominating application through the desktop icon, the system will enter full-screen mode again. If the user wants to exit, he or she must verify again. This setting effectively ensures security.

[0067] It can be seen from the above embodiments that after the default startup application is successfully started and the user interface is displayed, the default startup application is forced to run at the foreground, that is, the screen dominance effect is set. After the default startup application is turned on, if there is no corresponding permission, the default startup application cannot be exited, which further ensures the security of terminal use. That is, after the configuration is forced to run at the foreground, the user cannot exit the default startup application by clicking the return key, home key, etc., and can only exit the application after passing the permission check; and even if the system crashes, because the startup process of the default startup application is configured during the boot process, if the permission check for exiting the default startup application is not performed, the default startup application will be opened again during the restart process, ensuring that the default startup application can maintain its state. This application further improves the security of the device during use after startup through the screen dominance setting, and further restricts the user's operating permissions.

[0068] In one embodiment of the present application, it also includes configuring the operation method corresponding to the instruction to exit the default startup application, such as configuring a preset combination key position as the instruction, or other hidden channels as the instruction; it can be assumed that a user who can successfully enter the corresponding instruction has passed the permission check, that is, a user who receives the instruction and can match the preset configuration to the corresponding instruction to exit the default startup application is deemed to have passed the permission check; it is also possible to further set the permission check for the initiator of the instruction, such as through certificates, keys, passwords, etc.

[0069] It can be seen from the above embodiments that a combination key or a hidden channel is further preset as the instruction for exiting the default startup application. Then, the instruction for exiting the default startup application itself is confidential, and one needs to be informed in order to know the method of sending the instruction. Then, when the corresponding instruction is received, it can be confirmed that the party issuing the instruction has the corresponding authority. If the security requirement is high, identity authentication can be further performed. Setting a combination key and a hidden channel as the instruction for exiting the default startup application can also effectively prevent the exit of the default startup application due to accidental touch.

[0070] In one embodiment of the present application, S120 includes: the default startup application information includes sender information; the preset application verifies whether the sender information has the default startup configuration permission, and if so, continues to execute S130.

[0071] It can be seen from the above embodiments that if you want to call the traditional default startup application information of the programming interface in the preset application, you also need to pass the verification of the preset application. The preset application verifies whether the sender has the configuration permission of the default startup application. If it has the permission, it will send the received default startup application information to the operating system, which builds the first barrier to ensure security. And the sender can be the user's login account or the device, that is, it supports authentication for user accounts and hardware devices. It can be configured that both of them meet the permission to allow the configuration of the default startup application or that only one of them meets the permission to allow the configuration of the default startup application. It can be adjusted according to different security requirements, taking into account both execution efficiency and security.

[0072] Please refer to Figure 3 The present invention also provides an electronic device 200, including a memory 201 and a processor 202, and a computer program stored in the memory 201 and running on the processor 202. When the processor 202 executes the computer program, it implements the various steps in the above-mentioned multi-channel audio output control method.

[0073] The beneficial effects of the electronic device of the present invention are the same as those of the above method and will not be described in detail here.

[0074] In summary, the present invention provides a method for default startup of an application at startup and an electronic device, configures a preset application as an interface for interacting with an operating system, and sends the default startup application information configured for default startup to the operating system through the preset application for configuration, so that the user cannot directly access the operating system, and if the configured permissions need to be modified, only the preset application needs to be modified without modifying the operating system, thereby ensuring security; and when the preset application is called, the preset application will perform a permission check, and when the preset application requests to communicate with the operating system, the operating system will also check the permissions again, thereby avoiding the problem of default startup application information sent by an unauthorized sender being executed or other applications pretending to be the preset application sending the default startup application information to be executed, thereby ensuring security; further, only the calling step is executed at the application level, and only one interface is provided for external transmission of default startup application information, and other specific configuration modification processes and configuration-related libraries are configured at the operating system level, which the user cannot directly obtain, and in the architecture of the present invention, the user cannot directly communicate with the operating system, thereby further ensuring security. Moreover, the preset application itself is an application pre-installed in the terminal and cannot be customized or changed. Unsafe requests are intercepted by using the permission configuration of the preset application itself, and the specific permission verification method can be freely configured according to the requirements of efficiency and security, taking into account both the security of the system and the execution speed of the system, and the method of changing the default startup configuration is convenient.

[0075] The above are only embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for starting an application by default when it is turned on, characterized in that: Applied to an electronic device, the electronic device is configured with an operating system, the method comprising: Obtaining a preset application, where the preset application is an application installed in the electronic device and cannot be customized by a user; The preset application interacts with the backend server to obtain the default startup application information configured by the user; when the default startup application information needs to be modified, the preset application is connected with the user to receive the modification information sent by the user; Sending the default startup application information to the operating system through a programming interface configured in the preset application, wherein the programming interface is used to call a default startup library in the operating system, wherein the default startup library includes a code set related to the default startup in the operating system; The sending of the default startup application information to the operating system through the programming interface configured in the preset application includes: when calling the default startup library of the operating system through the programming interface, the operating system performs a permission check on the preset application, and if the check succeeds, the operating system receives the default startup application information sent by the programming interface; The operating system performs permission verification on the preset application, including: the preset application sends default startup application information encrypted by a public key, and if the decryption is successful in the operating system, the verification is successful, otherwise the verification fails; The operating system stores the default startup application information, and starts the default startup application corresponding to the default startup application information during the next startup.

2. The method for starting an application by default upon startup according to claim 1, characterized in that: The starting the default startup application corresponding to the default startup application information comprises: Determine whether the default startup application corresponding to the default startup application information is installed. If so, determine whether the default startup application has a user interface. If so, display the user interface corresponding to the default startup application; if not, display the default desktop.

3. The method for default startup of an application upon startup according to claim 1 or 2, characterized in that: The starting the default startup application corresponding to the default startup application information further includes: The default startup application corresponding to the default startup application information is started in a main task manner, and the main task manner includes starting the default startup application as a first priority.

4. The method for starting an application by default upon startup according to claim 2, characterized in that: The determining whether the default startup application corresponding to the default startup application information is installed comprises: configuring the operating system to obtain package information of a default startup application corresponding to the default startup application information when starting up; It is determined whether the default startup application is installed according to the package information.

5. The method for starting an application by default upon startup according to claim 2, characterized in that: After displaying the user interface corresponding to the default startup application, the method further includes: If a switch command is detected, the default desktop is displayed.

6. The method for starting an application by default upon startup according to claim 2, characterized in that: The electronic device is provided with physical buttons, and after displaying the user interface corresponding to the default startup application, the following further comprises: When the default startup application is running, it is configured to be forced to run at the foreground, start the default startup application in full screen mode, and shield the physical button; If an instruction to exit the default startup application is received, a permission check is performed, and if the check succeeds, the instruction to exit the default startup application is executed.

7. The method for starting an application by default upon startup according to claim 1, characterized in that: The obtaining the default startup application information configured by the user through the preset application includes: The default startup application information includes sender information; The preset application verifies whether the sender information has the default startup configuration permission. If so, the step of sending the default startup application information to the operating system through the programming interface configured in the preset application is executed.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, each step of the method for default startup of an application at startup as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for managing starting-up self-starting of program

    CN105786570A

  • Integrated display board method for a heterogeneous terminal in a digital workshop

    CN109522498A

  • Application program access control method and device, electronic equipment and readable storage medium

    CN110750805A

  • Multi-system support and adaptive switching method, peripheral equipment and host equipment

    CN112363770A

  • Method and device for modifying startup program based on Android system

    CN113312097A