Desktop launcher delayed startup method, device, storage medium and box device
By modifying the startup logic of the Android system, first launching the network animation APP and starting the preset launcher according to the prop configuration, it solves the problem of poor startup experience of 4G box devices and multiple launchers to realize network animation, achieving better user experience and Development efficiency.
Patent Information
- Application Number
- CN202111578057.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2041-12-22
AI Technical Summary
When the 4G box device is started, users first see the launcher and then see the connected animation. The experience is not good, and multiple launchers need to implement the connected animation function, which increases the development difficulty and resource consumption.
Modify the startup logic of the Android system, first start the network animation APP, and then start the preset launcher according to the custom prop configuration to ensure that only the preinstalled launcher can be used, and restrict the switching function through the prop.
It improves the boot experience of 4G box devices, reduces the use of third-party launchers, simplifies the implementation of connected animation functions, and improves user experience and development efficiency.
Smart Images

Figure CN114237761B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method, device, storage medium and box device for delaying the start of a multi-desktop launcher based on an Android 4G box device. Background Art
[0002] When the Android system starts, it will start the launcher (desktop launcher) by executing startHomeActivity, that is, the launcher is the first visual application started by the system. Since the 4G box needs a certain amount of time to connect to the network normally after it is started, based on the scenario of delayed network connection, the user is not expected to directly enter the launcher before the network connection is successful, but a networked animation interface is displayed. In order to achieve the effect of displaying the networked animation interface, the present invention adjusts the startup logic of the Android system, and forces the application that displays the networked animation to be started before the system starts startHomeActivity. After the network connection is successful, the networked animation application will automatically close and notify the Android system that the network connection operation has been completed. When the system receives the notification, it executes startHomeActivity to start the launcher. There can be multiple launchers in the box, including the video launcher pre-installed in the box and the launcher installed by the user. The present invention delays the launcher startup timing and also limits the box to use only the pre-installed launcher. If there are multiple launchers in the system, they can usually be switched by pressing the Home button. In order to achieve the effect of limiting the use of only pre-installed launchers, the present invention modifies the Home switching function. When the Home button is pressed, only the launcher home page can be returned. To switch the pre-installed launcher, it can only be switched through the settings interface. The only launcher that can be switched in the switching interface is the pre-installed launcher. The package name of the launched launcher after switching will be written to prop. When startHomeActivity starts the launcher, it starts by obtaining the launcher package name configured in prop.
[0003] The existing technology generally starts the launcher first and then starts the networking animation application, and then implements the networking animation function in the launcher. The disadvantage is that multiple launchers have to implement the networking animation function; the shortcomings of the existing technology are: the user will first see the launcher (Android system desktop launcher) and then see the networking animation, which is not a good experience; there are multiple launchers in the box, each launcher has to implement the networking animation function, and usually the launcher is a third-party App. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a method, device, storage medium and box device for delaying the startup of a desktop launcher based on an Android 4G box device. By modifying the startup logic, the startup experience of the Android 4G box device is improved; and through prop configuration, the use of other desktop launchers on the Android 4G box device is effectively restricted.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for delaying the startup of a desktop launcher based on an Android 4G box device, the method comprising:
[0006] Modify the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic;
[0007] Based on the modified startup logic, before starting the desktop launcher, start the preset APP built into the Android 4G box device;
[0008] The modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop.
[0009] Optionally, the startup logic is startHomeActivity logic.
[0010] Optionally, the preset APP is an online animation APP.
[0011] Optionally, before the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, it also includes:
[0012] The logic of obtaining the package name of the desktop launcher in the modified startup logic is modified to obtain the logic of obtaining the package name of the desktop launcher.
[0013] Optionally, the logic for obtaining the package name of the desktop launcher is to not obtain the package name of the dream launcher from the getHomeIntent() function, but to obtain the package name of the desktop launcher through a custom prop.
[0014] Optionally, the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, including:
[0015] The modified startup logic starts the desktop launcher by obtaining the package name of the desktop launcher based on the launcher_packagename in the custom prop function.
[0016] Optionally, the value of launcher_packagename is a freely defined setting interface switch, and is used to control the package name of the pre-installed desktop launcher.
[0017] In addition, an embodiment of the present invention further provides a desktop launcher delayed start device based on an Android 4G box device, the device comprising:
[0018] Modification module: used to modify the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic;
[0019] The first startup module is used to start the preset APP built into the Android 4G box device before starting the desktop launcher based on the modified startup logic;
[0020] Second startup module: used for the modified startup logic to start the desktop launcher based on the package name of the desktop launcher obtained in the custom prop.
[0021] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for delaying the startup of a desktop launcher as described in any one of the above is implemented.
[0022] In addition, an embodiment of the present invention further provides an Android 4G box device, which includes:
[0023] one or more processors;
[0024] Memory;
[0025] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute the desktop launcher delayed start method according to any one of the above items.
[0026] In the embodiment of the present invention, the startup experience of the Android 4G box device is improved by modifying the startup logic; and the use of other desktop launchers on the Android 4G box device is effectively restricted through prop configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1It is a flowchart of a method for delaying the launch of a desktop launcher based on an Android 4G box device in an embodiment of the present invention;
[0029] Figure 2 It is a schematic diagram of the structural composition of a desktop launcher delayed start device based on an Android 4G box device in an embodiment of the present invention;
[0030] Figure 3 It is a schematic diagram of the structural composition of the 4G box device in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] For example, see Figure 1 , Figure 1 It is a flowchart of a method for delaying the launch of a desktop launcher based on an Android 4G box device in an embodiment of the present invention.
[0033] like Figure 1 As shown, a method for delayed startup of a desktop launcher based on an Android 4G box device, the method comprising:
[0034] S11: modifying the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic;
[0035] In the specific implementation process of the present invention, the startup logic is the startHomeActivity logic.
[0036] Specifically, the startHomeActivity logic started by the Android system running inside the Android 4G box device is modified to obtain the modified startup logic, that is, the modified startHomeActivity logic.
[0037] S12: before starting the desktop launcher based on the modified startup logic, starting the preset APP built into the Android 4G box device;
[0038] In the specific implementation process of the present invention, the preset APP is a networked animation APP.
[0039] Specifically, according to the modified startup logic, before starting the desktop launcher, the built-in networking animation APP of the Android 4G box device is first started, that is, the launcher can be started after processing a specific business, so that after entering the box launcher interface, the box network and other functions can run normally.
[0040] S13: The modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop.
[0041] In the specific implementation process of the present invention, before the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, it also includes: modifying the logic of the modified startup logic to obtain the package name of the desktop launcher to obtain the logic of obtaining the package name of the desktop launcher.
[0042] Furthermore, the logic of obtaining the package name of the desktop launcher is to not obtain the package name of the dream launcher from the getHomeIntent() function, but to obtain the package name of the desktop launcher through a custom prop.
[0043] Furthermore, the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, including: the modified startup logic starts the desktop launcher based on the launcher_packagename in the custom prop function.
[0044] Furthermore, the value of the launcher_packagename is a freely defined setting interface switch, and is used to control the package name of the pre-installed desktop launcher.
[0045] Specifically, the logic of the launcher package name obtained by the startHomeActivity function is modified in the built-in Android system of the Android 4G box device. The logic of obtaining the package name of the desktop launcher is to not obtain the package name of the dream launcher from the getHomeIntent() function, but obtain the package name of the desktop launcher through the launcher_packagename in the custom prop; that is, the modified startup logic obtains the package name of the desktop launcher according to the launcher_packagename in the custom prop function to start the desktop launcher; the value of the launcher_packagename is switched by the custom setting interface, and the control can only switch the pre-installed launcher package name, so as to achieve the effect of shielding the use of third-party launchers in the box.
[0046] In the embodiment of the present invention, the startup experience of the Android 4G box device is improved by modifying the startup logic; and the use of other desktop launchers on the Android 4G box device is effectively restricted through prop configuration.
[0047] For example 2, please refer to Figure 2 , Figure 2 It is a schematic diagram of the structural composition of a desktop launcher delayed start device based on an Android 4G box device in an embodiment of the present invention.
[0048] like Figure 2 As shown, a desktop launcher delayed start device based on an Android 4G box device, the device comprising:
[0049] Modification module 21: used to modify the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic;
[0050] In the specific implementation process of the present invention, the startup logic is the startHomeActivity logic.
[0051] Specifically, the startHomeActivity logic started by the Android system running inside the Android 4G box device is modified to obtain the modified startup logic, that is, the modified startHomeActivity logic.
[0052] The first startup module 22 is used to start the preset APP built into the Android 4G box device before starting the desktop launcher based on the modified startup logic;
[0053] In the specific implementation process of the present invention, the preset APP is a networked animation APP.
[0054] Specifically, according to the modified startup logic, before starting the desktop launcher, the built-in networking animation APP of the Android 4G box device is first started, that is, the launcher can be started after processing a specific business, so that after entering the box launcher interface, the box network and other functions can run normally.
[0055] The second startup module 23 is used for starting the desktop launcher based on the package name of the desktop launcher obtained from the custom prop after the modified startup logic.
[0056] In the specific implementation process of the present invention, before the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, it also includes: modifying the logic of the modified startup logic to obtain the package name of the desktop launcher to obtain the logic of obtaining the package name of the desktop launcher.
[0057] Furthermore, the logic of obtaining the package name of the desktop launcher is to not obtain the package name of the dream launcher from the getHomeIntent() function, but to obtain the package name of the desktop launcher through a custom prop.
[0058] Furthermore, the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, including: the modified startup logic starts the desktop launcher based on the launcher_packagename in the custom prop function.
[0059] Furthermore, the value of the launcher_packagename is a freely defined setting interface switch, and is used to control the package name of the pre-installed desktop launcher.
[0060] Specifically, the logic of the launcher package name obtained by the startHomeActivity function is modified in the built-in Android system of the Android 4G box device. The logic of obtaining the package name of the desktop launcher is to not obtain the package name of the dream launcher from the getHomeIntent() function, but obtain the package name of the desktop launcher through the launcher_packagename in the custom prop; that is, the modified startup logic obtains the package name of the desktop launcher according to the launcher_packagename in the custom prop function to start the desktop launcher; the value of the launcher_packagename is switched by the custom setting interface, and the control can only switch the pre-installed launcher package name, so as to achieve the effect of shielding the use of third-party launchers in the box.
[0061] In the embodiment of the present invention, the startup experience of the Android 4G box device is improved by modifying the startup logic; and the use of other desktop launchers on the Android 4G box device is effectively restricted through prop configuration.
[0062] A computer-readable storage medium is provided in an embodiment of the present invention, wherein a computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the desktop launcher delayed startup method of any one of the above embodiments is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (for example, a computer, a mobile phone), which can be a read-only memory, a disk or an optical disk, etc.
[0063] An embodiment of the present invention further provides a computer application program, which runs on a computer and is used to execute the desktop launcher delayed start method of any one of the above embodiments.
[0064] also, Figure 3 It is a schematic diagram of the structural composition of the 4G box device in an embodiment of the present invention.
[0065] The embodiment of the present invention also provides a 4G box device, such as Figure 3 The 4G box device includes a processor 302, a memory 303, an input unit 304, a display unit 305 and other devices. Those skilled in the art will understand that Figure 3 The device structure device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 303 can be used to store the application 301 and various functional modules, and the processor 302 runs the application 301 stored in the memory 303, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both internal and external memories. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a U disk, a magnetic tape, etc. The memory disclosed in the present invention includes but is not limited to these types of memories. The memory disclosed in the present invention is only used as an example and not as a limitation.
[0066] The input unit 304 is used to receive the input of the signal and the keyword input by the user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program; other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a playback control key, a switch key, etc.), a trackball, a mouse, a joystick, etc. The display unit 305 can be used to display the information input by the user or the information provided to the user and various menus of the terminal device. The display unit 305 can be in the form of a liquid crystal display, an organic light emitting diode, etc. The processor 302 is the control center of the terminal device, which uses various interfaces and lines to connect the various parts of the entire device, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory.
[0067] As an embodiment, the Android 4G box device includes: one or more processors 302, a memory 303, and one or more applications 301, wherein the one or more applications 301 are stored in the memory 303 and are configured to be executed by the one or more processors 302, and the one or more applications 301 are configured to execute the desktop launcher delayed start method in any of the above embodiments.
[0068] In the embodiment of the present invention, the startup experience of the Android 4G box device is improved by modifying the startup logic; and the use of other desktop launchers on the Android 4G box device is effectively restricted through prop configuration.
[0069] In addition, the above is a detailed introduction to a multi-desktop launcher delayed startup method, device, storage medium and box device based on an Android 4G box device provided by an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for delayed startup of a desktop launcher based on an Android 4G box device, characterized in that: The method comprises: Modify the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic; Based on the modified startup logic, before starting the desktop launcher, start the preset APP built into the Android 4G box device; The modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop; Before the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained from the custom prop, it also includes: The logic of obtaining the package name of the desktop launcher in the modified startup logic is modified to obtain the logic of obtaining the package name of the desktop launcher; the logic of obtaining the package name of the desktop launcher is to obtain the package name of the desktop launcher through the launcher_packagename in the custom prop instead of obtaining the package name of the dream launcher from the getHomeIntent() function; The modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, including: The modified startup logic starts the desktop launcher by obtaining the package name of the desktop launcher based on the launcher_packagename in the custom prop function; The startup logic is the startHomeActivity logic; the startHomeActivity logic started by the Android system running inside the Android 4G box device is modified to obtain the modified startHomeActivity logic; The preset APP is a network animation APP; according to the modified startup logic, before starting the desktop launcher, the built-in network animation APP of the Android 4G box device is first started; after processing a specific business, the launcher is started again, and after entering the box launcher interface, the box network function can operate normally; The value of the launcher_packagename is a freely defined setting interface switch, and is used to control the package name of the pre-installed desktop launcher to switch, and is used to shield the effect of using a third-party launcher in the box.
2. A desktop launcher delayed start device based on an Android 4G box device, characterized in that: The device comprises: Modification module: used to modify the startup logic of the Android system on the Android 4G box device to obtain the modified startup logic; The first startup module is used to start the preset APP built into the Android 4G box device before starting the desktop launcher based on the modified startup logic; The second startup module: used for the modified startup logic to start the desktop launcher based on the package name of the desktop launcher obtained in the custom prop; Before the modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained from the custom prop, it also includes: The logic of obtaining the package name of the desktop launcher in the modified startup logic is modified to obtain the logic of obtaining the package name of the desktop launcher; the logic of obtaining the package name of the desktop launcher is to obtain the package name of the desktop launcher through the launcher_packagename in the custom prop instead of obtaining the package name of the dream launcher from the getHomeIntent() function; The modified startup logic starts the desktop launcher based on the package name of the desktop launcher obtained in the custom prop, including: The modified startup logic starts the desktop launcher by obtaining the package name of the desktop launcher based on the launcher_packagename in the custom prop function; The startup logic is the startHomeActivity logic; the startHomeActivity logic started by the Android system running inside the Android 4G box device is modified to obtain the modified startHomeActivity logic; The preset APP is a network animation APP; according to the modified startup logic, before starting the desktop launcher, the built-in network animation APP of the Android 4G box device is first started; after processing a specific business, the launcher is started again, and after entering the box launcher interface, the box network function can operate normally; The value of the launcher_packagename is a freely defined setting interface switch, and is used to control the package name of the pre-installed desktop launcher to switch, and is used to shield the effect of using a third-party launcher in the box.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the desktop launcher delayed start method as claimed in claim 1 is implemented.
4. An Android 4G box device, characterized in that: It includes: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute the desktop launcher delayed launch method according to claim 1.
Citation Information
Patent Citations
Method and system for realizing starting video of smart television
CN105791948A
Launcher application startup method and device, electronic device and storage medium
CN108920211A