Quick application deployment method and related equipment

By downloading and installing the application package of quick apps on electronic devices, the problem of poor user experience of existing quick apps is solved, independent notification management and uninstall confirmation are realized, and the usage experience and notification management capabilities of quick apps are improved.

CN117827228BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310158058.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2024-10-18
Estimated Expiration
2043-02-15

AI Technical Summary

Technical Problem

Existing quick apps can only be added as desktop shortcuts, resulting in poor user experience, and lack of independent message notification channels and uninstall confirmation mechanisms, making accidental deletion and notification permission management difficult.

Method used

By downloading and installing the application package of the quick app from the preset server, independent notification management permissions and secondary confirmation of uninstallation are achieved, and a small red dot of unread messages is displayed. The user can generate a quick app client icon on the desktop and use the quick app Engine receives push messages and manages notification permissions.

Benefits of technology

It improves the user experience of quick apps, avoids accidental deletion operations, and provides independent message notification channels and notification permission management. Users can easily manage the installation and notification settings of quick apps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117827228B_ABST
    Figure CN117827228B_ABST
Patent Text Reader

Abstract

The present application provides a quick application deployment method and related equipment, and relates to the field of terminal technology. In response to the operation of adding a first quick application to the desktop of an electronic device, the electronic device sends a request to download an application package of the first quick application to a first preset server. The electronic device can download the application package of the first quick application based on the first download address returned by the first preset server, and install the application package of the first quick application after the download is complete. The electronic device can also create a client icon of the first quick application on the desktop. When adding a quick application to the desktop, the present application downloads and installs the application package of the quick application to the desktop, so as to achieve the experience of launching the quick application by clicking the desktop icon, just like the desktop shortcut of the existing quick application. The quick application client obtained by installing the application package of the quick application has an independent message channel function, and the user needs to confirm twice to delete the client icon of the quick application on the desktop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a quick application deployment method and related equipment. Background Art

[0002] Quick apps are apps that can be downloaded instantly when users use them, without requiring pre-installation. The operating system of an electronic device (such as a smartphone) can be pre-deployed with a quick app engine, which is used to start and run quick apps. Existing quick apps can only be added to the desktop of an electronic device in the form of desktop shortcuts, which does not provide a good user experience. Summary of the invention

[0003] In view of this, it is necessary to provide a quick application deployment method, which can deploy quick applications on electronic devices by installing an application package (application package), thereby improving the user's quick application usage experience.

[0004] A first aspect of an embodiment of the present application discloses a quick application deployment method, which is applied to an electronic device. The quick application deployment method includes: in response to an operation of adding a first quick application to a desktop of the electronic device, sending a request to download an application package of the first quick application to a first preset server; downloading the application package of the first quick application based on a first download address returned by the first preset server; installing the application package of the first quick application, and creating a client icon of the first quick application on the desktop of the electronic device.

[0005] By adopting the above technical solution, when adding a quick application to the desktop of an electronic device, the electronic device can download and install the application package of the quick application from a first preset server (for example, a server that provides a quick application listing service) to the desktop, so as to achieve an experience of quickly starting the quick application with a click, just like the existing desktop shortcut. The application package can be a lightweight application package generated based on the application package of the quick application, and has an independent message channel function. In addition, the user needs to perform a secondary confirmation when deleting the client icon of the first quick application on the desktop, so as to avoid accidental deletion operations. The application package of the quick application can be installed silently, which is imperceptible to the user. The electronic device can generate a client icon of the quick application on the desktop in response to the user's operation of adding the quick application to the desktop.

[0006] In some embodiments, after the application package of the first quick app is installed, the method further includes: displaying a message prompt box containing the installation result of the application package of the first quick app.

[0007] By adopting the above technical solution, the installation result of the application package of the quick app can be notified to the user through a Toast prompt box or other forms of prompt boxes, so that the user can know the installation result of the application package in time.

[0008] In some embodiments, a first quick application client is obtained after an application package of the first quick application is installed on an electronic device, and the quick application deployment method further includes: a quick application engine of the electronic device receives a push message sent by a second preset server, and sends a notification of the push message to the first quick application client, where the push message is a push message associated with the first quick application; if the notification permission of the first quick application client is turned on, the first quick application client displays the notification of the push message in a notification bar.

[0009] By adopting the above technical solution, the quick application client obtained by installing the application package has an independent message notification channel, and can perform independent notification permission management, such as opening notification permission, closing notification permission, etc. When the quick application engine receives a push message associated with a quick application sent by the second preset server (such as a message push server), it can send a notification of the push message to the quick application client of the quick application, and the quick application client displays the notification of the push message in the notification bar (the notification permission of the quick application client is in the open state). If the notification permission of the quick application client is in the closed state, the quick application client does not display the notification of the push message.

[0010] In some embodiments, before the quick application engine sends a notification of a push message to the first quick application client, the quick application deployment method further includes: the first quick application client sends a registration application for a push message notification to the quick application engine.

[0011] By adopting the above technical solution, the quick application client can send a registration application for push message notification to the quick application engine to receive push message notifications sent by the quick application engine. For example, the quick application client can send a registration application for push message notification to the quick application engine through the push.subscribe interface. After successful registration, the quick application engine can send push message notifications to the quick application client.

[0012] In some embodiments, the quick app deployment method further includes: in response to a click operation on a notification displayed in the notification bar, the quick app engine obtains a deep link of the clicked notification, the clicked notification being a notification associated with the first quick app; the quick app engine launches the first quick app client based on the deep link; the first quick app client opens a page corresponding to the deep link.

[0013] With the above technical solution, when a user clicks on a notification associated with a quick app in the notification bar, the electronic device can pull up the quick app client of the quick app, and the quick app client opens a page corresponding to the notification. For example, the quick app client opens the page based on the deep link of the clicked notification obtained by the quick app engine, so that the user can view the detailed push message.

[0014] In some embodiments, the quick application deployment method also includes: the quick application engine obtains the number of unread push messages, sets the number of unread red dots based on the number of unread push messages, and sends the number of unread red dots to the first quick application client; the first quick application client sets a small red dot number based on the number of unread red dots, and displays the small red dot number on the client icon.

[0015] By adopting the above technical solution, the quick application client installed based on the application package has the function of displaying unread push messages. For example, the quick application client can display the number of unread push messages on the client icon through a small red dot number, so that the user can determine whether there are unread push messages in the quick application based on the small red dot number.

[0016] In some embodiments, the quick application deployment method further includes: in response to an operation of exiting the first quick application client or an application switching operation, the quick application engine re-acquires the number of unread push messages, and generates an instruction to refresh the little red dot number or cancel the little red dot number based on the re-acquired number of unread push messages, and sends the generated instruction to the first quick application client; the first quick application client updates the little red dot number on the client icon based on the instruction to refresh the little red dot number, or cancels the display of the little red dot number on the client icon based on the instruction to cancel the little red dot number.

[0017] By adopting the above technical solution, a user can open a quick application client to view unread push messages, and push messages that the user has viewed can be marked as read. After the user exits the quick application client or performs an application switching operation (for example, switching from the interface of the quick application client to another APP interface, or the quick application client switches to background operation), the quick application engine can re-acquire the number of unread push messages, and generate an instruction to refresh the small red dot number or cancel the small red dot number based on the re-acquired number of unread push messages, so that the quick application client can update the small red dot number displayed on the client icon, or cancel the display of the small red dot number.

[0018] In some embodiments, an instruction to refresh the little red dot number or cancel the little red dot number is generated based on the number of unread push messages re-acquired, including: if the number of unread push messages re-acquired is greater than or equal to one, generating an instruction to refresh the little red dot number; if the number of unread push messages re-acquired is zero, generating an instruction to cancel the little red dot number.

[0019] By adopting the above technical solution, after the user exits the quick application client or performs an application switching operation, if the number of unread push messages re-acquired by the quick application engine is greater than or equal to one, an instruction to refresh the small red dot number can be generated, so that the quick application client can update the small red dot number displayed on the client icon; if the number of unread push messages re-acquired by the quick application engine is zero, indicating that there are no unread push messages, an instruction to cancel the small red dot number can be generated, so that the quick application client can cancel the small red dot number displayed on the client icon.

[0020] In some embodiments, the electronic device is installed with a quick application engine and a first quick application client, the first quick application client is obtained by installing an application package of the first quick application, and the quick application deployment method further includes: in response to an operation of uninstalling the first quick application client, the quick application engine deletes data and usage records associated with the first quick application client.

[0021] With the above technical solution, when uninstalling the quick application client from the electronic device, the quick application engine can delete the data associated with the quick application client (such as local cache data, application package, installation files of the application package, etc.) together with the usage record. If the process of the quick application client is running when uninstalling, the quick application engine can also stop the process of the running quick application client.

[0022] In some embodiments, the electronic device is installed with a quick application engine, a first quick application client, and an application store, the first quick application client is obtained by installing an application package of the first quick application, and the quick application deployment method further includes: when the application store obtains uninstall information of the first quick application client, the application store sends the uninstall information to the quick application engine; the quick application engine deletes the data and usage records associated with the first quick application client based on the uninstall information.

[0023] By adopting the above technical solution, when a user uninstalls a quick application client from an electronic device, the application store can respond to the uninstall operation of the quick application client and obtain the uninstall information of the quick application client (for example, it can include the quick application client name and the application package name), and the application store then forwards the uninstall information to the quick application engine, so that the quick application engine can delete the data and usage records associated with the quick application client based on the uninstall information.

[0024] In some embodiments, the first preset server hosts an application package of the first quick app and an application package of the first quick app, and the application package of the first quick app is generated based on the application package of the first quick app and the preset application package template.

[0025] By adopting the above technical solution, by putting the application package of the quick application and the application package of the quick application on the shelf and storing it on the first preset server, the electronic device can open the quick application online, or in response to the operation of adding the quick application to the desktop of the electronic device, download the application package, and install a quick application client with an independent message channel function.

[0026] In some embodiments, the quick application deployment method further includes: in response to an operation of starting the first quick application, sending a request to download an application package of the first quick application to a first preset server; downloading the application package of the first quick application based on a second download address returned by the first preset server; and starting the first quick application based on the application package of the first quick application.

[0027] With the above technical solution, when a user opens a quick app online (for example, clicks a link or icon in an app to open a quick app), the electronic device can download the application package of the quick app from the first preset server and start the quick app based on the downloaded application package.

[0028] In some embodiments, the quick application deployment method further includes: creating a shortcut icon of the first quick application on the desktop of the electronic device based on information returned by the first preset server indicating that an application package of the first quick application does not exist.

[0029] By adopting the above technical solution, when a quick application is added to the desktop of an electronic device, if the first preset server determines that there is no application package of the quick application on the shelf, the first preset server can return information to the electronic device indicating that the application package of the quick application does not exist. The electronic device can create a shortcut icon of the quick application on the desktop based on the information to facilitate the user to quickly start the quick application later.

[0030] In a second aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the quick application deployment method as described in the first aspect.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a processor and a memory, the memory being used to store instructions, and the processor being used to call the instructions in the memory, so that the electronic device executes the quick application deployment method as described in the first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device (such as a computer), the electronic device executes the quick application deployment method described in the first aspect.

[0033] In a fifth aspect, a device is provided, wherein the device has the function of implementing the electronic device behavior in the method provided in the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0034] It can be understood that the computer-readable storage medium described in the second aspect, the electronic device described in the third aspect, the computer program product described in the fourth aspect, and the device described in the fifth aspect all correspond to the method of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

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

[0037] Figure 3 This is a schematic diagram of the launch scenario of existing quick apps;

[0038] Figure 4 A schematic diagram of a quick application listing scenario provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of the architecture of a quick application system provided in one embodiment of the present application;

[0040] Figure 6 A schematic diagram of the process of putting an application package of a quick application on the shelf provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of a process for installing an application package of a quick application on an electronic device provided in an embodiment of the present application;

[0042] Figure 8 A schematic diagram of an interface for uninstalling a quick application client provided in an embodiment of the present application;

[0043] Fig. 9 A schematic diagram of a process for a quick application client to receive a push message provided in an embodiment of the present application;

[0044] Fig.10 A schematic diagram of a process for displaying the number of unread messages on a quick application client provided in an embodiment of the present application;

[0045] Fig.11 A schematic diagram of a client icon showing the number of unread messages provided by an embodiment of the present application;

[0046] Fig.12 A schematic diagram of a process for uninstalling a quick application client provided in an embodiment of the present application;

[0047] Fig.13 A flowchart of the steps of a quick application deployment method provided in one embodiment of the present application. DETAILED DESCRIPTION

[0048] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: 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 terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0049] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0050] In order to facilitate understanding of the technical solutions in the embodiments of the present application, some of the terms involved in the embodiments of the present application are first explained below:

[0051] Quick App: An app that does not require pre-installation and is downloaded instantly when the user uses it.

[0052] Engine: It is the core component for developing programs or systems on electronic platforms. Using the engine, developers can quickly build and lay out the functions required by the program, or use it to assist the operation of the program. Generally speaking, the engine is the supporting part of a program or a system. Common program engines include game engines, search engines, antivirus engines, etc. In the embodiment of the present application, the quick application needs to be interpreted and executed by the quick application engine.

[0053] Integrated development environment (IDE): It is an application software that assists program developers in developing software. It can assist in writing source code text, compiling and packaging it into a usable program within the development tool, and some can also design graphical interfaces. IDEs usually include programming language editors, automatic build tools, debuggers, etc. Some IDEs include compilers / interpreters, while others do not. These IDEs can compile code by calling third-party compilers. Optionally, the IDE will also include a version control system and some tools for designing graphical user interfaces. Many modern IDEs that support object-oriented programming also include category browsers, object viewers, object structure diagrams, and so on. In an embodiment of the present application, quick applications are usually developed in a specific IDE. For example, the IDE can be an IDE for Huawei quick applications.

[0054] Application package: an application package file format used by the operating system of an electronic device to distribute and install mobile applications and middleware. The operating system can be an Android operating system, an iOS operating system, a Windows operating system, or a Hongmeng operating system. This application does not impose any restrictions.

[0055] The quick application deployment method provided in the embodiment of the present application can be applied to electronic devices, including but not limited to electronic devices equipped with Windows Or other operating systems. The following is an electronic device equipped with or Take this as an example to illustrate.

[0056] Electronic devices can communicate with other electronic devices or servers through a communication network. The electronic devices of the present application may include mobile phones, foldable electronic devices, tablet computers, personal computers (PC), laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, cellular phones, personal digital assistants (PDA), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, smart home devices, smart city devices, etc. At least one of the above, the embodiments of the present application do not impose any special restrictions on the specific types of electronic devices. The communication network can be a wired network or a wireless network. For example, the communication network can be a local area network (LAN) or a wide area network (WAN), such as the Internet. When the communication network is a local area network, exemplarily, the communication network may be a short-distance communication network such as a wireless fidelity (Wi-Fi) hotspot network, a Wi-Fi P2P network, a Bluetooth network, a Zigbee network, or a near field communication (NFC) network. When the communication network is a wide area network, exemplarily, the communication network may be a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future-evolved public land mobile network (PLMN) or the Internet.

[0057] In some embodiments, the electronic device may install one or more APPs (Applications). APP can be referred to as an application, which is a software program that can implement one or more specific functions. For example, communication applications, video applications, audio applications, image capture applications, cloud desktop applications, and the like. Among them, communication applications may include text messaging applications, for example. Image capture applications may include shooting applications (system cameras or third-party shooting applications). Video applications may include Huawei Video, for example. Audio applications may include Huawei Music. The applications mentioned in the following embodiments may be system applications installed on the electronic device when it leaves the factory, or they may be third-party applications downloaded from the Internet or obtained from other electronic devices by the user during the use of the electronic device.

[0058] Existing Android devices (with The APP of the device with operating system is obtained by downloading and installing the application package. The code volume of the APP application package is relatively large, generally tens of megabytes (MB) or hundreds of MB. The APP installed based on the application package can be directly installed on The application package of the quick application involved in this application has a small amount of code, generally tens of kilobytes (KB) or hundreds of KB. The electronic device can obtain the quick application client by downloading and installing the application package of the quick application, and the quick application client runs based on the quick application engine.

[0059] Existing quick apps support being added to the terminal desktop in the form of desktop shortcuts, which is convenient for users to quickly start. Since quick apps are added to the desktop in the form of desktop shortcuts, the following defects exist: when the quick app shortcut icon is long-pressed to delete, there is no secondary confirmation, which may cause users to delete by mistake; the quick app shortcut icon does not have the red dot function to display notifications or messages, which may cause users to miss important messages; users uninstall the quick app through the quick app shortcut icon, and the quick app usage records and data are still stored in the quick app engine, which may cause user data leakage and occupy storage space. For multiple different quick apps, multiple different quick apps receive and send message notifications through the quick app engine, which means that when a user disables the notification permission of a certain quick app, the notification permission of the entire quick app engine may be disabled, making other quick apps unable to send / receive notification messages normally.

[0060] To solve the above technical problems, some embodiments of the present application provide a quick application deployment method. When a user adds a quick application opened online to the desktop, the application package of the quick application is downloaded from the application store and installed on the desktop for subsequent use by the user. The quick application client obtained based on the installation of the application package has independent notification management permissions, and has the ability to confirm uninstallation twice and display a small red dot for notifications or messages. When the user uninstalls the quick application client, the quick application engine can also be notified to delete the data associated with the quick application client.

[0061] Figure 1 A schematic structural diagram of an electronic device 10 is shown.

[0062] The electronic device 10 may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 130, a wireless communication module 140, an audio module 150, a sensor module 160, a camera module 170, a display screen 180, etc.

[0063] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0064] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0065] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. The memory may store instructions or data that have been used or are frequently used by the processor 110. If the processor 110 needs to use the instructions or data, 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.

[0066] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 may be connected to an audio module, a wireless communication module, a display, a camera, and other modules through at least one of the above interfaces.

[0067] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0068] The wireless communication function of the electronic device 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 130, the wireless communication module 140, the modem processor and the baseband processor.

[0069] The mobile communication module 130 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 10. The mobile communication module 130 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. In some embodiments, at least some functional modules of the mobile communication module 130 may be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 130 may be set in the same device as at least some modules of the processor 110.

[0070] The wireless communication module 140 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Bluetooth low energy (BLE), ultra wide band (UWB), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 10. The wireless communication module 140 can be one or more devices integrating at least one communication processing module.

[0071] In some embodiments, the electronic device 10 can communicate with the network and other electronic devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0072] The electronic device 10 can realize the display function through a GPU, a display screen 180, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 180 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0073] The camera module 170 includes a camera. The display screen 180 is used to display images, videos, etc. The display screen 180 can be a touch screen. The display screen 180 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 10 may include one or more display screens 180.

[0074] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 10. The external memory card communicates with the processor 110 via the external memory interface 120 to implement a data storage function.

[0075] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 10, etc. 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. The processor 110 executes various functional methods or data processing of the electronic device 10 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0076] The audio module 150 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 150 can also be used to encode and decode audio signals. In some embodiments, the audio module 150 can be arranged in the processor 110, or some functional modules of the audio module 150 can be arranged in the processor 110.

[0077] The software system of the electronic device 10 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 10.

[0078] Figure 2 It is a software structure block diagram of the electronic device 10 according to an embodiment of the present application.

[0079] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime (ART) and native C / C++ library, hardware abstract layer (HAL) and kernel layer.

[0080] The application layer can include a series of application packages.

[0081] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0082] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0083] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and the like.

[0084] The window manager provides window management services (WMS). WMS can be used for window management, window animation management, surface management, and as a transfer station for the input system.

[0085] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

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

[0087] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0088] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0089] The activity manager can provide activity management services (AMS), which can be used to start, switch, and schedule system components (such as activities, services, content providers, and broadcast receivers) as well as manage and schedule application processes.

[0090] The input manager can provide input management services (IMS), which can be used to manage system input, such as touch screen input, key input, sensor input, etc. IMS takes events from input device nodes and distributes them to appropriate windows through interaction with WMS.

[0091] The Android runtime includes the core library and the Android runtime. The Android runtime is responsible for converting source code into machine code. The Android runtime mainly uses the ahead of time (AOT) compilation technology and the just in time (JIT) compilation technology.

[0092] The core library is mainly used to provide basic Java class library functions, such as basic data structures, mathematics, IO, tools, databases, networks, etc. The core library provides an API for users to develop Android applications.

[0093] The native C / C++ library can include multiple functional modules, such as surface manager, media framework, libc, OpenGL ES, SQLite, Webkit, etc.

[0094] Among them, the surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media framework supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. OpenGL ES provides drawing and operation of 2D graphics and 3D graphics in applications. SQLite provides a lightweight relational database for applications of electronic device 10.

[0095] The hardware abstraction layer runs in user space, encapsulates kernel layer drivers, and provides a calling interface to the upper layer.

[0096] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0097] Combine the following Figure 3 , a schematic diagram of the launch scenario of existing quick applications is introduced as an example.

[0098] In this embodiment, an electronic device 10, a development device 11 and a first application server 12 may be included. The first application server 12 may be used to provide services such as application package listing, upgrading, maintenance, storage, etc. of quick applications. The first application server 12 may be a cloud server.

[0099] The development device 11 can be an electronic device equipped with an IDE such as a laptop computer or a desktop computer. Program developers can use the development device 11 to write the source code of the quick application. After the source code of the quick application is written, the development device 11 can generate an application package of the quick application based on the source code, and store these application packages on the first application server 12 for users to download and use. Among them, the application package is a collection of self-decompressible files, which can parse out the files required to run the quick application. The application package is stored on the first application server 12 in the form of a resource package (RPK).

[0100] In some embodiments, each application package stored on the first application server 12 may have a corresponding download address, and the electronic device 10 may be an electronic device that can support the running of quick applications, such as a smart phone and a tablet computer. The electronic device 10 may send a download request for the application package of the quick application to the first application server 12, and the download request may include the identifier of the quick application. The first application server 12 may return the download address of the application package to the electronic device 10, and the electronic device 10 implements the download of the application package based on the download address.

[0101] In some embodiments, when the first application server 12 receives a download request for an application package of a quick application sent by the electronic device 10 , the first application server 12 may also send the application package of the quick application to the electronic device 10 .

[0102] The electronic device 10 may also create a shortcut icon of the quick application on the desktop in response to the user adding the quick application opened online to the desktop, so that the quick application can be opened directly on the desktop later.

[0103] Combine the following Figure 4 , a schematic diagram of an exemplary scenario for launching the quick application of this application is introduced.

[0104] In this embodiment, an electronic device 10, a development device 11 and a second application server 13 may be included. The second application server 13 may be used to provide services such as quick application management (e.g., quick application search management, configuration management, card management, plug-in management, etc.), quick application package compilation, packaging and signing, quick application application package and application package listing, upgrading, maintenance, storage, etc. The second application server 13 may be a cloud server. In the embodiment of the present application, the second application server 13 may be a specific implementation example of the first preset server described below.

[0105] The program developer can write the source code of the quick application with the help of the development device 11. After the source code of the quick application is written, the development device 11 can generate an application package of the quick application according to the source code.

[0106] In some embodiments, the second application server 13 can prepare the application package template required by the quick application in advance, have an Android compilation and packaging environment, and deploy the tools required for signing. The second application server 13 can compile, package and sign the application package of the quick application to obtain the application package corresponding to the quick application. The application package of the quick application can be stored on the second application server 13 for users to download and use. The application package of the quick application has the ability to send notifications and display red dots for messages.

[0107] In some embodiments, the application package of each quick application stored on the second application server 13 may have a corresponding download address. That is, the quick application of the present application is stored in the second application server 13 in the form of an application package, while the existing quick application is stored in the first application server 12 in the form of an RPK.

[0108] In some embodiments, the application package of the quick application can also be stored on the second application server 13, so that the user can open the quick application online through the electronic device 10. If the user requests to add the quick application to the desktop during the use of the quick application opened online, the electronic device 10 can respond to the operation of adding the quick application to the desktop, download the application package of the quick application from the second application server 13 and install it, and can create an icon of the quick application client on the desktop, so that the user can directly open the quick application on the desktop later.

[0109] The quick application client installed based on the application package of the quick application also needs to be interpreted and executed by the quick application engine. However, compared with the existing quick application shortcut icon on the desktop, it has the characteristics of an application package (uninstallation requires secondary confirmation), independent notification permission management and message notification channels, and the ability to display messages through a small red dot.

[0110] Combine the following Figure 5 , an exemplary introduction is given to a quick application system provided by an embodiment of the present application. The quick application system may include two parts: a server side and an electronic device side.

[0111] The server side may include a second application server 13 and a message push server 14. The message push server 14 may be used to push messages to the electronic device 10. For example, the message push server 14 may push messages to the electronic device 10 installed with the quick application client, and the program developer of the first quick application may pre-configure the push message to be sent on the message push server 14. The message push server 14 may be a specific implementation example of the second preset server described below.

[0112] Taking the application package of the first quick application as an example, the first quick application can be an e-commerce quick application, an e-book quick application, a news quick application, a travel quick application, etc., and this application does not limit this.

[0113] The second application server 13 can receive the application package of the first quick application released by the program developer. The second application server 13 can periodically detect whether there is a quick application packaging task. If it is detected that there is a quick application packaging task, the second application server 13 compiles, packages and signs the application package of the quick application. For example, the second application server 13 can perform a detection every preset time, and the preset time can be set according to actual needs, which is not limited in this application.

[0114] The second application server 13 can compile, package and sign the application package of the first quick application based on the pre-made application package template to obtain the application package corresponding to the first quick application. The application package corresponding to the first quick application can be put on the shelf and stored in the second application server 13. For example, the backstage personnel or the automatic application package review system deployed by the second application server 13 can review the application package put on the shelf, and the application package that passes the review can be stored in the second application server 13. For the application package that fails the review, the second application server 13 may not store it.

[0115] The electronic device side may include an application store APP and a quick application engine installed on the electronic device 10. The application store APP may be upgraded to a version that supports the download of application packages of quick applications.

[0116] Take the example of the electronic device 10 downloading the application package of the first quick application from the second application server 13 in response to the user operation. When the user uses the first quick application opened online (based on the application package of the first quick application), he actively clicks to add it to the desktop. The quick application engine can respond to the user operation and pass the information of the first quick application to the application store APP, and the application store APP can request the second application server 13 to download the application package of the first quick application based on the received information of the first quick application. If the second application server 13 determines that there is an application package of the first quick application on the shelves, the second application server 13 can return the download address of the latest version of the application package of the first quick application to the application store APP. The application store APP can download the application package of the first quick application based on the download address. After the download is complete, the application package of the first quick application can be silently installed, and the client icon of the first quick application can be generated on the desktop. After the first quick application client is installed based on the application package of the first quick application, the quick application engine can also inform the user of the installation result through a message prompt box (Toast prompt box).

[0117] In some embodiments, when the quick application engine receives a message pushed by the message push server 14, the notification of the message can be delivered to the first quick application client. The first quick application client has independent notification authority management (for example, closing application notification, opening application notification, pinning application notification, etc.) and message notification channels, and can display the notification of the received message in the notification bar. For example, the quick application engine can deliver notifications of subscription messages or notification messages to the first quick application client, and the first quick application client can also display and update the small red dot number based on the number of messages transmitted by the quick application engine (the small red dot number represents the number of unread messages). When the user uninstalls the first quick application client, the application framework layer of the operating system can send the uninstallation message of the first quick application client to the application store APP, or the application store APP can obtain the uninstallation message of the first quick application client in response to the user's operation of uninstalling the first quick application client. The application store APP can forward the uninstallation message of the first quick application client to the quick application engine, and the quick application engine can clear the data associated with the first quick application client (for example, the application package of the first quick application, the files installed based on the application package of the first quick application, cached data, etc.) and the usage record based on the uninstallation message of the first quick application client.

[0118] Reference Figure 6 As shown, a schematic diagram of the process of putting an application package of a quick application on the shelves provided by an embodiment of the present invention is exemplarily introduced. In this embodiment, taking the quick application as the first quick application as an example, the process of putting an application package of the quick application on the shelves may include the following steps. It can be understood that the order of the steps may be changed according to different requirements, and some steps may be omitted.

[0119] 60 . The second application server 13 receives the application package of the first quick application uploaded by the development device 11 .

[0120] In some embodiments, the program developer can write or update the source code of the quick application with the help of the development device 11. After the source code of the quick application is written, the development device 11 can generate the application package of the latest version of the quick application according to the source code. The program developer can upload the application package of the latest version of the first quick application to the second application server 13 through the development device 11 to realize the release of the latest version of the first quick application (application package, application program package).

[0121] 61. The second application server 13 periodically detects whether there is a quick application packaging task. If there is a quick application packaging task, the second application server 13 executes the task of packaging the application package of the first quick application into an application package.

[0122] In some embodiments, the second application server 13 can periodically detect the quick application packaging task. When it is detected that the application package of the first quick application needs to be packaged, the second application server 13 can perform the task of packaging the application package of the first quick application into an application package. If there are multiple quick application packaging tasks, the second application server 13 can perform packaging in sequence according to the reception time of the application package, or perform packaging in parallel through multiple threads.

[0123] 62. The second application server 13 decompresses the compilation environment package and deploys a compilation and packaging environment for compiling and packaging an application package of the first quick application.

[0124] 63. The second application server 13 fills the application package information of the first quick application into the application package template to obtain the application package engineering code corresponding to the first quick application.

[0125] In some embodiments, the application package template may have the ability to send notifications, display a small red dot, etc. By filling the application package information of the first quick application (for example, application name, package name, version number, etc.) into the application package template, the application package engineering code corresponding to the first quick application can be obtained.

[0126] 64. The second application server 13 executes the compilation and packaging script based on the deployed compilation and packaging environment and the application package engineering code to generate an application package corresponding to the first quick application.

[0127] In some embodiments, an application package corresponding to the first quick app may be generated by executing a compilation and packaging script on the application package engineering code in a deployed compilation and packaging environment.

[0128] 65. The second application server 13 signs the application package of the first quick application.

[0129] In some embodiments, by uniquely signing the application package of the first quick application, the authenticity of the source of the application package of the first quick application and the fact that the application package of the first quick application has not been tampered with by a third party can be ensured. When installing the application package of the first quick application, the electronic device 10 can compare the signature information to determine the integrity of the application package of the first quick application, thereby determining whether the application package of the first quick application can be installed to improve system security.

[0130] 66. The second application server 13 stores the signed application package of the first quick application.

[0131] In some embodiments, the second application server 13 can perform a listing review on the application package of the signed first quick application (for example, the review includes: performing virus and compatibility tests, determining whether the name and content have any violations, etc.), and the application package of the first quick application that passes the listing review can be stored in the second application server 13, so that the electronic device 10 can download the application package of the first quick application through the application store APP.

[0132] Compared with the existing quick applications that only support being added to the desktop in the form of desktop shortcuts, do not have application package characteristics (such as secondary confirmation of uninstallation), and the application package update mechanism is generally a full update, which puts a lot of pressure on the server load. The application package of the quick application of the present application has the general characteristics of the application package of the existing APP (for example, secondary confirmation of uninstallation), and can regularly save the application package that is put on the shelf or updated on the second application server 13 in advance, which can reduce the load pressure of the second application server 13 and improve the ability of the second application server 13 to cope with the peak period of the quick application being put on the shelf, without increasing the workload of program developers and without causing any perception to program developers.

[0133] Reference Figure 7 As shown, a schematic diagram of a process for installing an application package of a quick application on an electronic device 10 provided by an embodiment of the present invention is exemplarily introduced. In this embodiment, the quick application is taken as an example of the first quick application, and the installation process may include the following steps. It can be understood that the order of the steps may be changed according to different requirements, and some steps may be omitted.

[0134] To facilitate subsequent quick launch of the first quick app, the user can actively add the first quick app to the desktop while using the first quick app opened online. The electronic device 10 can obtain the user's operation of adding the first quick app to the desktop. For example, the user clicks the icon of adding to the desktop while using the first quick app opened online to add the first quick app to the desktop.

[0135] 71. In response to the operation of adding the first quick application to the desktop, the quick application engine sends information of the first quick application to the application store APP.

[0136] In some embodiments, the quick app engine may send information of the first quick app to the app store APP in response to the user's operation of adding the first quick app to the desktop, so that the app store APP may request to download the application package of the first quick app.

[0137] 72. The application store APP sends a request to download the application package of the first quick application to the second application server 13.

[0138] In some embodiments, the application store APP may send a request to download the application package of the first quick application to the second application server 13 to obtain a download address of the application package of the first quick application.

[0139] 73. After determining that the application package of the first quick application exists, the second application server 13 transmits the download address of the application package of the first quick application back to the application store APP.

[0140] In some embodiments, after receiving the request for downloading the application package of the first quick application sent by the application store APP, the second application server 13 can determine whether there is an application package of the first quick application based on the application package listing record, and after determining that there is an application package of the first quick application, return the download address of the latest version of the first quick application to the application store APP. The application store APP receives the download address of the application package of the first quick application sent by the second application server 13.

[0141] In some embodiments, if it is determined that the application package of the first quick application does not exist, the second application server 13 may return information to the application store APP indicating that the application package corresponding to the first quick application does not exist. In this case, the quick application engine may create a shortcut icon of the first quick application on the desktop to facilitate the user to quickly start the first quick application later. For example, after the application store APP receives the information sent by the second application server 13 indicating that the application package corresponding to the first quick application does not exist, it may control the quick application engine to create a shortcut icon of the first quick application on the desktop.

[0142] 74. The App Store APP downloads the application package of the first quick application based on the download address.

[0143] In some embodiments, after receiving the download address of the application package of the first quick application transmitted back by the second application server 13 , the application store APP may download the application package of the first quick application based on the download address.

[0144] In some embodiments, after determining that the application package of the first quick application exists, the second application server 13 may also transmit the application package information of the first quick application and the download address of the application package back to the application store APP. The application store APP may verify the application package information of the first quick application transmitted back by the second application server 13 to confirm whether it is the application package of the first quick application, so as to avoid downloading an application package that is not the first quick application. After the application package information of the first quick application is verified, the application store APP downloads the application package of the first quick application based on the download address.

[0145] 75. The application package of the first quick application installed by the App Store APP.

[0146] In some embodiments, after downloading the application package of the first quick application, the application store APP can install the application package of the first quick application to obtain the first quick application client.

[0147] In some embodiments, before installing the application package of the first quick application, the operating system or the application store APP can verify the application package of the downloaded first quick application (for example, signature verification) to determine that the downloaded application package of the first quick application is a legitimate and untampered application package. After the verification is passed, the application package of the first quick application can be silently installed, and a client icon of the first quick application can be created on the desktop.

[0148] like Figure 8 As shown, taking the Huawei Video quick app as the first quick app as an example, when the user uninstalls the first quick app client, a prompt box for uninstall confirmation can pop up to implement secondary confirmation of the uninstallation.

[0149] In some embodiments, the installation process may further include step 76 and step 77 .

[0150] 76. The App Store APP transmits the installation result of the application package of the first quick application back to the quick application engine.

[0151] 77. The quick application engine generates an installation result notification.

[0152] In some embodiments, the quick application engine may display the installation result notification through a toast prompt box or other forms of information prompts to inform the user of the installation result.

[0153] In some embodiments, the quick app engine may not inform the user of the installation result through a toast prompt box, and the user may confirm that the installation is complete through the client icon of the first quick app generated on the desktop.

[0154] Compared with the existing quick applications that exist on the desktop in the form of desktop shortcuts, users do not need to confirm twice when deleting the shortcut icon of the quick application on the desktop. The present application can achieve the same experience of launching the quick application with one click as the desktop shortcut by installing the application package of the quick application on the desktop. Users need to confirm twice when deleting the client icon of the quick application on the desktop, which can avoid accidental deletion. The installation of the application package of the quick application is imperceptible to the user. The user only needs to add the quick application to the desktop to generate the client icon of the quick application on the desktop. Since the application package of the quick application can have an independent message channel function, the quick application client installed based on the application package can also have an independent message channel function.

[0155] Reference Fig. 9 As shown, a schematic diagram of a process flow of receiving a push message by a quick application client provided by an embodiment of the present invention is exemplarily introduced. In this embodiment, the quick application client is taken as the first quick application client as an example. The process of receiving a push message by the quick application client may include the following steps. It can be understood that the order of the steps may be changed according to different requirements, and some steps may be omitted.

[0156] 90. The first quick application client sends a registration application for push message notification to the quick application engine.

[0157] In some embodiments, the first quick app client may send a registration application for push message notification to the quick app engine through a preset interface. For example, the first quick app client may send a registration application for push message notification to the quick app engine through a push.subscribe interface.

[0158] 91. The quick application engine returns a message notification token corresponding to the first quick application client based on the registration application of the first quick application client.

[0159] In some embodiments, after receiving the registration application of the first quick application client, the quick application engine may return a message notification token corresponding to the first quick application client to the first quick application client. The quick application engine may send a push message notification to the first quick application client based on the message notification token.

[0160] 92. The quick application engine receives the push message sent by the message push server 14.

[0161] In some embodiments, the program developer of the first quick application may pre-configure the push message to be sent on the message push server 14, such as activity information, advertisement information, subscription information, etc. associated with the first quick application.

[0162] 93. When the quick application engine determines that there is a first quick application client installed based on the application package, the quick application engine sends a notification of the push message to the first quick application client.

[0163] In some embodiments, when determining that there is a first quick app client installed based on the application package, the quick app engine can send a push message notification to the first quick app client through a preset interface. For example, the quick app engine can send the push message notification to the first quick app client through the Android interface definition language (AIDL).

[0164] In some embodiments, the quick app engine may further send a notification of the push message to the first quick app client through AIDL after determining that there is a first quick app client installed based on the application package and the information verification passes.

[0165] In some embodiments, the information verification may include verifying whether the package name and signature of the application package corresponding to the first quick app client are consistent, so as to determine the legitimacy of the first quick app client.

[0166] In some embodiments, if the quick app engine determines that there is no first quick app client installed based on the application package, indicating that the first quick app may exist on the desktop in the form of a desktop shortcut, the quick app engine can call the system API to display the push message notification on the notification bar.

[0167] 94. The first quick application client executes a notification display of a push message.

[0168] In some embodiments, after receiving the push message notification forwarded by the quick app engine, the first quick app client can call the system API to display the push message notification on the notification bar, or call the system API to display the push message notification on the status bar, or call the system API to display the push message notification in the form of a prompt box.

[0169] In some embodiments, the operating system supports the user to individually manage the notification permissions of the quick application client installed based on the application package, that is, the user can choose to enable or disable the notification permissions of the first quick application client.

[0170] After receiving the notification of the push message forwarded by the quick application engine, the first quick application client can also first verify whether it has the notification permission. If it has the notification permission, the first quick application client can call the system API to display the push message notification on the notification bar, or call the system API to display the push message notification on the status bar, or call the system API to display the push message notification in the form of a prompt box. If it does not have the notification permission, the push message notification will not be displayed.

[0171] In some embodiments, for example, if a notification of a push message is displayed on a notification bar, after a user sees a notification of a message associated with a first quick app in the notification bar, the user may click on the notification to view the details of the push message. The electronic device 10 may obtain an operation of the user clicking on the notification associated with the first quick app in the notification bar.

[0172] In some embodiments, the process of the quick app client receiving a push message may further include step 95 , step 96 , and step 97 .

[0173] 95. In response to an operation of clicking a notification associated with the first quick app in the notification bar, the quick app engine obtains a deep link of the notification.

[0174] In some embodiments, if the user sees a notification of a message associated with the first quick app in the notification bar and clicks on the notification, the quick app engine can obtain a deep link of the notification in response to the operation of clicking on the notification. The deep link can include a quick app identifier and a uniform resource locator (URL) of the page.

[0175] 96. The quick application engine launches the first quick application client based on the deep link in the notification.

[0176] 97. The first quick application client opens a page corresponding to the deep link.

[0177] Compared with the existing quick application notifications, which all share a notification channel (the quick application engine calls the system API to display the push message notification on the notification bar), the user disables the notification permission of a certain quick application and then simultaneously disables the notification permission of the quick application engine, making other quick applications unable to receive message notifications. The quick application client installed based on the application package in this application has an independent message notification channel and can perform independent notification permission management.

[0178] Reference Fig.10 As shown, a schematic diagram of a process flow of displaying the number of unread messages by a quick application client provided by an embodiment of the present invention is exemplarily introduced. In this embodiment, the quick application client is taken as the first quick application client as an example. The process flow of displaying the number of unread messages by the quick application client may include the following steps. It can be understood that the order of the steps may be changed according to different requirements, and some steps may be omitted.

[0179] 101 . The quick application engine receives a push message sent by the message push server 14 .

[0180] 102. The quick application engine sends a notification of the push message to the first quick application client.

[0181] In some embodiments, after receiving the push message associated with the first quick application sent by the message push server 14 , the quick application engine may send a notification of the push message to the first quick application client through a preset interface (eg, AIDL).

[0182] In some embodiments, the quick app engine may send a notification of the push message to the first quick app client through AIDL after determining that there is a first quick app client installed based on the application package and the information verification passes.

[0183] 103. The first quick application client executes notification display of the push message.

[0184] In some embodiments, the first quick app client may first verify whether it has notification authority, and if it has notification authority, it may call a system API to display a notification of the push message on the notification bar.

[0185] In some embodiments, the first quick app client may also call a system API to display a notification of a push message on a status bar, or call a system API to display a notification of a push message in a prompt box.

[0186] 104. The quick application engine obtains the number of unread push messages, sets the number of unread red dots based on the number of unread push messages, and sends the number of unread red dots to the first quick application client.

[0187] In some embodiments, the quick app engine may send the number of unread red dots to the first quick app client via AIDL.

[0188] In some embodiments, step 102 and step 104 may also be performed in parallel.

[0189] 105. The first quick application client sets its own small red dot number based on the number of unread red dots, and displays the small red dot number on the client icon.

[0190] In some embodiments, the first quick app client can call the system API to set its own red dot number based on the number of unread red dots.

[0191] like Fig.11 As shown, assuming that the number of unread push messages is 8, the client icon of the first quick application client on the desktop can display a small red dot number "8".

[0192] In some embodiments, when the user is using the first quick application client, there may be a need to use other quick application clients or APPs, and the electronic device 10 can exit the first quick application client in response to the user operation. In some embodiments, the process of displaying the number of unread messages by the quick application client can also include steps 106, 107, and 108.

[0193] 106. The quick application engine re-acquires the number of unread push messages in response to the operation of exiting the first quick application client.

[0194] 107. The quick application engine generates an instruction to refresh or cancel the small red dot number based on the number of unread push messages that are retrieved, and transmits the instruction to the first quick application client.

[0195] In some embodiments, the user can start the first quick application client by clicking the client icon on the desktop. After starting the first quick application client, the user can click on the unread push message to enter the push message interface. The quick application engine can identify the push messages that the user has read (the read push messages can be marked as read). When the user exits the first quick application client, the quick application engine can re-acquire the number of unread push messages, and generate an instruction to refresh the small red dot number or cancel the small red dot number based on the re-acquired number of unread push messages, and transmit it to the first quick application client.

[0196] In some embodiments, after the user performs an application switching operation (for example, switching from the interface of the first quick application client to another APP interface, and the first quick application client switches to background operation), the quick application engine may also re-acquire the number of unread push messages, and generate an instruction to refresh the little red dot number or cancel the little red dot number based on the re-acquired number of unread push messages.

[0197] If the number of unread push messages is greater than or equal to one, the quick application engine can generate an instruction to refresh the small red dot number (the instruction can include the number of unread red dots) and transmit it to the first quick application client, so that the first quick application client can update the small red dot number on the client icon. If the number of unread push messages is zero, the quick application engine can generate an instruction to cancel the small red dot number and transmit it to the first quick application client, so that the first quick application client can cancel the display of the small red dot number on the client icon.

[0198] 108. The first quick application client updates the small red dot number on the client icon or cancels display of the small red dot number based on the instruction transmitted by the quick application engine.

[0199] The existing quick application exists on the desktop in the form of a desktop shortcut. The shortcut icon does not have the ability to display the small red dot number of unread messages. The first quick application client installed based on the application package in this application can display the read status and unread number of messages to the user through the client icon on the desktop, so as to realize the reminder of unread messages.

[0200] Reference Fig.12 As shown, a schematic diagram of a process for uninstalling a quick application client provided by an embodiment of the present invention is exemplarily introduced. Taking the first quick application client as an example, the process for uninstalling the quick application client may include the following steps. It can be understood that the order of the steps may be changed and some steps may be omitted according to different requirements.

[0201] After the electronic device 10 obtains the first quick application client based on the application package of the first quick application, there may be a need to uninstall the first quick application client for use experience, remaining storage space of the device, or other reasons. The user can perform a secondary confirmation of the uninstallation by long pressing the icon of the first quick application client, and the electronic device 10 can obtain the uninstallation operation of the first quick application client performed by the user.

[0202] 121. In response to an operation of uninstalling the first quick application client, the application store APP obtains uninstallation information of the first quick application client.

[0203] In some embodiments, Figure 8 As shown, the user can long press the client icon of the first quick application client on the desktop to pop up the "Uninstall" icon. After the user clicks the "Uninstall" icon, a prompt box for uninstallation can pop up. The user clicks Uninstall in the prompt box again to trigger the operation of uninstalling the first quick application client. The application framework layer of the operating system can pass the uninstallation information of the first quick application client to the application store APP, so that the application store APP can obtain the uninstallation information of the first quick application client. The uninstallation information may include the package name of the application package corresponding to the first quick application client.

[0204] In some embodiments, the application store APP may also obtain uninstallation information of the first quick application client in response to the uninstallation operation of the first quick application client. 122. The application store APP forwards the uninstallation information of the first quick application client to the quick application engine.

[0205] 123. The quick application engine deletes and stops the running process of the first quick application client, and deletes the data and usage records associated with the first quick application client.

[0206] In some embodiments, the quick application engine can delete data (such as local cache data, application packages, installation files of application packages, etc.) and usage records associated with the first quick application client based on the uninstallation information of the first quick application client. If there is a running process of the first quick application client, the quick application engine can also stop the running process of the first quick application client based on the uninstallation information of the first quick application client.

[0207] In some embodiments, the application framework layer of the operating system may also directly pass the uninstallation information of the first quick application client to the quick application engine, and the quick application engine may stop the running process of the first quick application client based on the received uninstallation information, and delete the data and usage records associated with the first quick application client.

[0208] In some embodiments, after uninstalling the first quick app client, if the user opens the first quick app online again based on the quick app engine, there is no previous usage record for the first quick app opened online, and if the user needs to add the first quick app to the desktop, the application package of the first quick app needs to be downloaded again and installed.

[0209] Compared with the existing method of deleting the shortcut icon of the quick application on the desktop, the usage record and data of the quick application are still stored in the quick application engine. When the quick application client is uninstalled, the present application can delete the data and usage record associated with the quick application client.

[0210] Reference Fig.13 As shown, an embodiment of the present application provides a quick application deployment method, which is applied to an electronic device 10. In this embodiment, the quick application deployment method may include the following steps. It can be understood that the order of the steps may be changed according to different requirements, and some steps may be omitted.

[0211] Step S131 , in response to the operation of adding the first quick app to the desktop of the electronic device 10 , sending a request for downloading an application package of the first quick app to a first preset server.

[0212] In some embodiments, the first preset server may be a server for providing services such as application packages of quick applications, listing, upgrading, maintenance, and storage of application packages. For example, the first preset server may be the second application server 13 mentioned above. The following example takes the first preset server as the second application server 13. While the user is using the first quick application online (for example, opening the first quick application in an APP), the user can add the first quick application to the desktop of the electronic device so as to quickly start the first quick application next time. The electronic device 10 may send a request to download the application package of the first quick application to the second application server 13 in response to the operation of adding the first quick application to the desktop. The present application does not limit the specific type of the first quick application. For example, the first quick application may be an e-commerce quick application, an e-book quick application, a news quick application, a travel quick application, and the like.

[0213] Step S132: Download the application package of the first quick app based on the first download address returned by the first preset server.

[0214] In some embodiments, after receiving the request for downloading the application package of the first quick application sent by the electronic device 10, the second application server 13 may first confirm whether there is an application package of the first quick application on the shelves. If it is determined that there is, the second application server 13 may return the download address (first download address) of the latest version of the application package of the first quick application to the electronic device 10, and then the electronic device 10 may download the application package of the first quick application based on the first download address.

[0215] If the second application server 13 determines that the application package of the first quick application does not exist, it can return information to the electronic device 10 indicating that the application package corresponding to the first quick application does not exist. In this case, the electronic device 10 can create a shortcut icon of the first quick application on the desktop to facilitate the user to quickly start the first quick application later.

[0216] Step S133 : installing the application package of the first quick application and creating a client icon of the first quick application on the desktop of the electronic device 10 .

[0217] In some embodiments, after the electronic device 10 downloads the application package of the first quick application, it can silently install the application package of the first quick application to obtain the first quick application client, and the electronic device 10 can create a client icon of the first quick application on the desktop to facilitate the user to quickly start the first quick application later. After the electronic device 10 installs the application package of the first quick application, it can also display a message prompt box containing the installation result of the application package of the first quick application to remind the user that the installation is complete.

[0218] In some embodiments, the electronic device 10 is also pre-installed with a quick application engine, and the quick application engine can receive a push message issued by a second preset server (for example, the second preset server can be the above-mentioned message push server 14). If the push message is a push message associated with the first quick application, the quick application engine can send a notification of the push message to the first quick application client. If the notification permission of the first quick application client is turned on, the first quick application client can display the notification of the push message on the notification bar to realize the display of the message notification. If the notification permission of the first quick application client is turned off, the first quick application client does not display the message notification (that is, the notification of the push message will not be displayed on the notification bar).

[0219] In some embodiments, in order to enable the quick app engine to send a push message notification to the first quick app client, the first quick app client can send a registration application for push message notification to the quick app engine. For example, the first quick app client can send a registration application for push message notification to the quick app engine through the push.subscribe interface.

[0220] In some embodiments, when browsing notifications on the notification bar, the user can click on the notification displayed in the notification bar, and the quick app engine can obtain the deep link of the clicked notification. If the clicked notification is a notification associated with the first quick app, the quick app engine can start the first quick app client based on the deep link, and the first quick app client opens the page corresponding to the deep link.

[0221] In some embodiments, the quick application engine may also obtain the number of unread push messages, set the number of unread red dots based on the number of unread push messages, and send the number of unread red dots to the first quick application client. The first quick application client may set a small red dot number based on the number of unread red dots, and display the small red dot number on the client icon to realize the reminder of unread messages.

[0222] In some embodiments, the user can open the first quick application client by clicking the client icon on the desktop to view unread notification messages. If the user exits the first quick application client or switches from the interface of the first quick application client to the interface of other applications, the quick application engine can re-acquire the number of unread push messages, and generate an instruction to refresh the little red dot number or cancel the little red dot number based on the number of unread push messages re-acquired. The quick application engine can send the generated instruction to the first quick application client. The first quick application client can update the little red dot number on the client icon based on the instruction to refresh the little red dot number sent by the quick application engine, or cancel the little red dot number displayed on the client icon based on the instruction to cancel the little red dot number sent by the quick application engine. For example, if the number of unread push messages re-acquired by the quick application engine is greater than or equal to one, the quick application engine generates an instruction to refresh the little red dot number; if the number of unread push messages re-acquired by the quick application engine is zero, the quick application engine generates an instruction to cancel the little red dot number.

[0223] In some embodiments, if the user long presses the client icon on the desktop to uninstall the first quick app client, the quick app engine can delete the data (local cache data, application package, files obtained based on the installation of the application package, etc.) and usage records associated with the first quick app client.

[0224] In some embodiments, electronic device 10 may also implement online launching of the first quick app in the following manner: in response to a user operation of launching the first quick app (e.g., clicking a link or icon in an application), electronic device 10 sends a request to download an application package of the first quick app to second application server 13, and electronic device 10 downloads the application package of the first quick app based on the second download address (the download address of the application package of the latest version of the first quick app) returned by second application server 13; after the download is complete, electronic device 10 may launch the first quick app based on the application package of the first quick app.

[0225] In the electronic device 10 provided in the embodiment of the present application, the internal memory 121 can be used to store instructions, and the processor 110 can be used to call the instructions in the internal memory 121, so that the electronic device 10 executes the above-mentioned related method steps to implement the quick application deployment method in the above-mentioned embodiment.

[0226] The embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on the electronic device 10, the electronic device 10 executes the above-mentioned related method steps to implement the quick application deployment method in the above-mentioned embodiment.

[0227] The embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the quick application deployment method in the above-mentioned embodiment.

[0228] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes the quick application deployment method in the above-mentioned method embodiments.

[0229] Among them, the computer storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0230] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0231] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0232] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0233] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0234] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0235] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A quick application deployment method, applied to an electronic device, characterized in that: The method comprises: In response to an operation of adding a first quick application to the desktop of the electronic device, a request for downloading an application package of the first quick application is sent to a first preset server, the first preset server having an application package of the first quick application and an application package of the first quick application, the application package of the first quick application being used to start the first quick application, and the application package of the first quick application being generated based on the application package of the first quick application and a preset application package template; Downloading the application package of the first quick app based on the first download address returned by the first preset server; An application package of the first quick application is installed, and a client icon of the first quick application is created on the desktop of the electronic device.

2. The quick application deployment method according to claim 1, characterized in that: After the application package of the first quick application is installed, the method further includes: A message prompt box containing the installation result of the application package of the first quick app is displayed.

3. The quick application deployment method according to claim 1 or 2, characterized in that: The method further includes obtaining a first quick application client after installing the application package of the first quick application on the electronic device: The quick application engine of the electronic device receives a push message sent by the second preset server, and sends a notification of the push message to the first quick application client, where the push message is a push message associated with the first quick application; If the notification permission of the first quick application client is enabled, the first quick application client displays the notification of the push message in the notification bar.

4. The quick application deployment method according to claim 3, characterized in that: Before the quick application engine sends the notification of the push message to the first quick application client, the method further includes: The first quick app client sends a registration application for push message notification to the quick app engine.

5. The quick application deployment method according to claim 3, characterized in that: The method further comprises: In response to a click operation on a notification displayed in the notification bar, the quick app engine obtains a deep link of the clicked notification, where the clicked notification is a notification associated with the first quick app; The quick application engine launches the first quick application client based on the deep link; The first quick app client opens a page corresponding to the deep link.

6. The quick application deployment method according to claim 3, characterized in that: The method further comprises: The quick application engine obtains the number of unread push messages, sets the number of unread red dots based on the number of unread push messages, and sends the number of unread red dots to the first quick application client; The first quick application client sets a small red dot number based on the number of unread red dots, and displays the small red dot number on the client icon.

7. The quick application deployment method according to claim 6, characterized in that: The method further comprises: In response to an operation of exiting the first quick app client or an application switching operation, the quick app engine re-acquires the number of unread push messages, generates an instruction to refresh the small red dot number or cancel the small red dot number based on the re-acquired number of unread push messages, and sends the generated instruction to the first quick app client; The first quick application client updates the little red dot number on the client icon based on the instruction to refresh the little red dot number, or cancels the display of the little red dot number on the client icon based on the instruction to cancel the little red dot number.

8. The quick application deployment method according to claim 7, characterized in that: The generating of an instruction to refresh the little red dot number or cancel the little red dot number based on the number of unread push messages retrieved includes: If the number of unread push messages retrieved is greater than or equal to one, an instruction to refresh the small red dot number is generated; If the number of unread push messages retrieved is zero, an instruction to cancel the small red dot number is generated.

9. The quick application deployment method according to claim 1 or 2, characterized in that: The electronic device is installed with a quick application engine and a first quick application client, the first quick application client is obtained by installing an application package of the first quick application, and the method further includes: In response to the operation of uninstalling the first quick app client, the quick app engine deletes data and usage records associated with the first quick app client.

10. The quick application deployment method according to claim 1 or 2, characterized in that: The electronic device is installed with a quick application engine, a first quick application client, and an application store, the first quick application client is obtained by installing an application package of the first quick application, and the method further includes: When the application store obtains the uninstall information of the first quick application client, the application store sends the uninstall information to the quick application engine; The quick app engine deletes the data and usage records associated with the first quick app client based on the uninstall information.

11. The quick application deployment method according to claim 1, characterized in that: The method further comprises: In response to the operation of starting the first quick application, sending a request for downloading an application package of the first quick application to the first preset server; Downloading the application package of the first quick application based on the second download address returned by the first preset server; The first quick app is started based on the application package of the first quick app.

12. The quick application deployment method according to claim 1, characterized in that: The method further comprises: Based on the information returned by the first preset server indicating that the application package of the first quick application does not exist, a shortcut icon of the first quick application is created on the desktop of the electronic device.

13. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the quick application deployment method as claimed in any one of claims 1 to 12.

14. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the quick application deployment method described in any one of claims 1 to 12.

15. A computer program product, characterized in that The method comprises computer instructions, which, when executed on a processor, enable an electronic device to execute the quick application deployment method as claimed in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method and device for debugging application program, equipment and storage medium

    CN109828915A

  • A program unloading method and a mobile terminal

    CN109918088A

  • Data processing method, terminal, server and application development equipment

    CN110502245A

  • Application installation source determination method and device, readable medium and electronic equipment

    CN115543409A

  • Fast application processing method, electronic equipment and fast application system

    CN115686659A