Recommended methods for applications and electronic devices
By analyzing user data and cloud data on terminal devices, the probability of using newly installed applications can be predicted, solving the problem of users searching for application icons across multiple desktops and improving the user experience.
Patent Information
- Application Number
- CN202211570070.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-12-08
AI Technical Summary
After installing a new application on a terminal device, users need to search for the icon on multiple desktops, which degrades the user experience.
By analyzing data from installed applications and cloud data, the terminal device predicts the probability of a user using a newly installed application. If the probability is greater than a preset threshold, the icon of the newly installed application will be displayed in the application icon recommendation area.
It simplifies the process for users to find newly installed applications and improves the user experience.
Smart Images

Figure CN118170445B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and more particularly to a method for recommending an application and an electronic device. Background Technology
[0002] With the development of terminal technology, terminal devices can support a variety of applications, and users can use the service functions of those applications.
[0003] In a possible implementation, a user's device may have many applications installed, with their icons distributed across multiple home screens. In some cases, when a user installs a new application and wants to use it, they need to switch between multiple home screens and search for the newly installed application among numerous others, which degrades the user experience. Summary of the Invention
[0004] This application provides an application recommendation method and an electronic device, which are applied in the field of terminal technology. It can provide users with a method to quickly launch newly installed applications based on the icons of newly installed applications in the application icon recommendation area, simplifying the user's operation of searching for the icons of newly installed applications on the desktop and improving the user experience.
[0005] In a first aspect, embodiments of this application propose an application recommendation method applied to a terminal device. The method includes: at a first moment, the terminal device completes the installation of a first application; at a second moment, the terminal device completes the installation of a second application; wherein the first application and the second application are different, and the second moment is later than the first moment; at a third moment, the terminal device displays a first interface, which displays an application icon recommendation area; the application icon recommendation area includes the icon of the first application but does not include the icon of the second application; the third moment is later than the second moment, and the interval between the third moment and the first moment does not exceed a first duration; at a fourth moment, the application icon recommendation area of the first interface does not include the icon of either the first application or the icon of the second application; the fourth moment is later than the third moment, and the interval between the fourth moment and the first moment exceeds the first duration. In this way, the terminal device can display the icons of newly installed applications in the application icon recommendation area, allowing users to quickly and conveniently launch newly installed applications using these application icons, simplifying user operations and improving the user experience.
[0006] The first application can correspond to Figure 4 The music application shown in the interface 'a', the second application can correspond to Figure 5 The clipping application shown in 'a' is the interface in the first section. The first interface can correspond to... Figure 4 The interface shown in b is... Figure 4The interface shown in b displays an application icon recommendation area 403; the icon of the first application can correspond to... Figure 4 The music application icon 405 in the interface shown in b. The first interface can also correspond to... Figure 5 The interface shown in b is... Figure 5 The interface shown in b displays an application icon recommendation area 503, which does not include the icons for editing applications. The first interface can also correspond to... Figure 6 The interface shown in c is... Figure 6 The interface shown in c displays an application icon recommendation area 602; the application icon recommendation area 602 does not include icons for music applications or editing applications.
[0007] In one possible implementation, before the terminal device displays the first interface, the method further includes: the terminal device determining that the first recommendation probability of the first application is greater than or equal to a preset probability threshold, and the second recommendation probability of the second application is less than the preset probability threshold. In this way, the terminal device can determine whether to display the icon of the newly installed application in the application icon recommendation area based on the preset probability threshold.
[0008] In one possible implementation, before the terminal device determines that the first recommendation probability of the first application is greater than or equal to a preset probability threshold, the process includes: the terminal device obtaining a first recommendation probability based on a first probability and / or a second probability; wherein the first probability includes the probability that the terminal device will launch the installed application within a second duration, the second duration being related to the time between the installation completion and the first launch of the installed application on the terminal device; the second probability includes the probability of launching the first application within a third duration based on cloud data, the third duration being related to the time between the installation completion and the first launch of the first application in the cloud data. Thus, the terminal device can calculate the first recommendation probability of the first application based on data from the installed applications and / or cloud data.
[0009] In one possible implementation, the first probability P u Satisfying the following formula: P u =M / N.
[0010] Where M and N are both natural numbers, M represents the number of applications installed on the terminal device whose time between installation and first launch is less than the second duration; N represents the number of applications installed on the terminal device; and the second duration t represents the total number of applications installed on the terminal device. u Satisfy the following formula: t 1,i For any installed application on a terminal device, the time from installation completion to first launch.
[0011] In one possible implementation, the second probability P g Satisfying the following formula: Pg =L / K.
[0012] Where L and K are both natural numbers; L represents the number of cloud data entries whose time between installation of the first application and first launch is less than the third duration; K represents the number of cloud data entries; and the third duration t represents the number of entries in the cloud data. g Satisfy the following formula: t 2,i For any given cloud data, the time from the completion of the first application installation to its first launch.
[0013] In one possible implementation, the first recommendation probability P n Satisfying the following formula: P n =α n ×P u +β n ×P g .
[0014] Among them, α n and β n All are weights.
[0015] In one possible implementation, ɑ n Satisfy the following formula: a n =ɑ n-1 +λ u .
[0016] Among them, α n-1 The weight λ of the first probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device. u For ɑ n-1 The penalty coefficient.
[0017] In one possible implementation, λ u Satisfy the following formula:
[0018] Specifically, when the terminal device launches the previous application within the recommended duration of the previous application, y n-1 The value is 1, meaning that y is set to 1 when the terminal device does not launch the previous application within the recommended timeframe. n-1 The value of P is 0; u,n-1 This is the first probability corresponding to the previous application; when the recommendation probability of the previous application is greater than or equal to a preset probability threshold, A value of 1 indicates that when the recommendation probability of an application is less than a preset probability threshold, The value is 0; P is the probability parameter; threshold is the preset probability threshold.
[0019] In one possible implementation, βn Satisfy the following formula: β n =β n-1 +λ g .
[0020] Where, β n-1 The weight of the second probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device; λ g For β n-1 The penalty coefficient.
[0021] In one possible implementation, λ g Satisfy the following formula:
[0022] Specifically, when the terminal device launches the previous application within the recommended duration of the previous application, y n-1 The value is 1, meaning that y is set to 1 when the terminal device does not launch the previous application within the recommended timeframe. n-1 The value of p is 0; g,n-1 This is the second probability corresponding to the previous application; when the recommendation probability of the previous application is greater than or equal to a preset probability threshold, A value of 1 indicates that when the recommendation probability of an application is less than a preset probability threshold, The value is 0; P is the probability parameter; threshold is the preset probability threshold.
[0023] In one possible implementation, the method further includes: at the fifth moment, the terminal device completes the installation of the third application; at the sixth moment, the terminal device displays a first interface, which includes an application icon recommendation area; wherein multiple application icon display positions in the application icon recommendation area all display application icons, and the application icon recommendation area includes the icon of the third application; the sixth moment is later than the fifth moment; at the seventh moment, the terminal device completes the installation of the fourth application; wherein the seventh moment is later than the sixth moment; at the eighth moment, the application icon recommendation area of the first interface includes the icon of the fourth application but does not include the icon of the third application; the eighth moment is later than the seventh moment; at the ninth moment, the application icon recommendation area of the first interface includes the icon of the third application but does not include the icon of the fourth application; wherein the ninth moment is later than the eighth moment, and the interval between the ninth moment and the fifth moment does not exceed the fourth moment. Thus, when there are insufficient application icon display positions for displaying the icon of a newly installed application, the terminal device can adjust the icons of applications displayed in the application icon display positions, thereby increasing the probability that the user will use the icon of the application displayed in the application icon display position, improving the accuracy and flexibility of the application recommendation method.
[0024] In one possible implementation, the third recommendation probability of the third application is greater than or equal to a preset probability threshold, and the fourth recommendation probability of the fourth application is greater than or equal to a preset probability threshold. The third recommendation probability gradually decreases as the third application is installed, and the fourth recommendation probability gradually decreases as the fourth application is installed. At the eighth time point, the decreased third recommendation probability is lower than the decreased fourth recommendation probability. At the ninth time point, the decreased third recommendation probability is higher than the decreased fourth recommendation probability. Thus, when multiple newly installed applications need to be displayed in the application icon recommendation area, but there is insufficient space for displaying the icons of newly installed applications, the terminal device can prioritize displaying the icons of newly installed applications with higher decreased recommendation probabilities in the application icon display area.
[0025] In one possible implementation, the decayed third recommendation probability P 3,w (t) satisfies the following formula:
[0026]
[0027] Where P0 is the preset attenuation coefficient; t 3,app Recommended duration for third-party applications; P 3,app The probability of the third recommendation is t; t is time; t 3,init The timing for installing third-party applications on terminal devices; P 3,end This is the default value.
[0028] In one possible implementation, the decayed fourth recommendation probability P 4,w (t) satisfies the following formula:
[0029]
[0030] Where P0 is the preset attenuation coefficient; t 4,app Recommended duration for the fourth application; P 4,app The fourth recommendation probability; t is time; t 4,init The timing for installing the fourth application on the terminal device; P 4,endThis is a preset value. Secondly, embodiments of this application provide a terminal device, which can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc.
[0031] The terminal device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, causing the terminal device to perform the method as described in the first aspect.
[0032] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the method as described in the first aspect.
[0033] Fourthly, embodiments of this application provide a computer program product, which includes a computer program that, when run, causes a computer to perform the method as described in the first aspect.
[0034] Fifthly, embodiments of this application provide a chip, the chip including a processor, the processor being configured to invoke a computer program in memory to execute the method as described in the first aspect.
[0035] It should be understood that the second to fifth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0036] Figure 1 A schematic diagram of the interface for launching a newly installed application in a possible implementation;
[0037] Figure 2 This is a schematic diagram of the structure of the terminal device 100 provided in the embodiments of this application;
[0038] Figure 3 A software structure block diagram of the terminal device 100 provided in the embodiments of this application;
[0039] Figure 4 A schematic diagram of an interface for a recommendation method of an application provided in an embodiment of this application;
[0040] Figure 5 A schematic diagram of an interface for a recommendation method of an application provided in an embodiment of this application;
[0041] Figure 6 A schematic diagram of an interface for a recommendation method of an application provided in an embodiment of this application;
[0042] Figure 7 A schematic diagram of a penalty intensity parameter provided for an embodiment of this application;
[0043] Figure 8 A schematic diagram of an interface for a recommendation method of an application provided in an embodiment of this application;
[0044] Figure 9 A schematic diagram of the recommendation probability of a newly installed application after decaying over time, provided for an embodiment of this application;
[0045] Figure 10 A flowchart illustrating an application recommendation method provided in this application embodiment;
[0046] Figure 11 A flowchart illustrating an application recommendation method provided in this application embodiment;
[0047] Figure 12 This is a schematic diagram of the structure of an application recommendation device provided in an embodiment of this application. Detailed Implementation
[0048] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "exemplary" or "for example" are used in the embodiments of this application to indicate that they are examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0049] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0050] It should be noted that the phrase "at...time" in the embodiments of this application can refer to the instant at which a certain situation occurs, or to a period of time after the occurrence of a certain situation; the embodiments of this application do not specifically limit this. Furthermore, the display interface provided in the embodiments of this application is merely an example, and the display interface may include more or less content.
[0051] A user's device may have many applications installed, with their icons distributed across multiple home screens. In some cases, when a user installs a new application and wants to use it, they need to switch between multiple home screens and search through numerous applications, which degrades the user experience.
[0052] In a possible implementation, to facilitate users quickly finding applications, the terminal device provides an application icon recommendation function. The terminal device can identify frequently used applications based on the user's application usage history and display their icons in the application icon recommendation area on the desktop, allowing users to launch the application more conveniently from this area. However, the application icon recommendation area will not display icons for newly installed applications. For example, in a possible implementation, the process of launching a newly installed application on the terminal device could be as follows: Figure 1 As shown:
[0053] Terminal devices can install applications based on applications with download functionality, such as app stores or browsers. In some cases, other applications may also have download functionality; for example, social applications can be downloaded by scanning QR codes or clicking application links. This application does not limit the method for installing applications.
[0054] The following example, using the installation of a music application on a terminal device, illustrates the process of launching a newly installed application on the terminal device. In one possible implementation, the terminal device may display something like... Figure 1The application download interface is shown as 'a' in the image. Figure 1 The interface shown in Figure a displays an icon 101 for the newly installed music application and a label 102 indicating that the music application is in a completed installation state. When the terminal device... Figure 1 When the terminal device receives a trigger operation by swiping up from the bottom of the screen in the interface shown in Figure 'a', it can enter the following... Figure 1 The interface shown in b is shown in the image. Figure 1 The interface shown in b can be the desktop of the terminal device. This interface displays an application icon recommendation area 103 (also known as an application recommendation card). The application icon recommendation area 103 can include icons of multiple applications that users frequently use, but does not include the icon of a newly installed music application.
[0055] exist Figure 1 In the interface shown in b, when the terminal device receives a trigger operation from the user swiping left, the terminal device enters... Figure 1 The interface shown in c is shown in the image. Figure 1 The interface shown in Figure c displays an icon 104 for the music application. When the terminal device receives a trigger operation targeting the icon 104 for the music application, the terminal device launches the music application and enters... Figure 1 The interface shown in d is shown in the image.
[0056] Understandably, in some embodiments, after a new application is installed, the terminal device can display the icon of the newly installed application on the last screen. When the terminal device has many applications installed, Figure 1 The desktop shown in b is the same as Figure 1 The desktops indicated by 'c' may be separated by multiple desktops. If a user wants to use the music application, they need to perform multiple left / right swipes. After switching desktops multiple times, the music application icon 104 may appear on the desktop. This may require users to go through a cumbersome process to find the newly installed application, thus reducing the user experience.
[0057] It should be noted that although the terminal device provides an application icon recommendation function, the terminal device cannot determine whether to display the icon of a newly installed application in the application icon recommendation area based on the historical usage record of the newly installed application.
[0058] In view of this, embodiments of this application provide an application recommendation method. This method predicts the probability that a user will use an application within a certain timeframe based on data of applications already installed on the terminal device and / or cloud data. When the probability is greater than or equal to a preset probability threshold, the terminal device can display the icon of the newly installed application in the application icon recommendation area. Users can quickly find newly installed applications from this area. This simplifies the user's operation of switching desktops to find newly installed applications, thereby improving the user experience.
[0059] To better understand the embodiments of this application, the structure of the terminal device of this application embodiment is described below. For example, Figure 2 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.
[0060] It is understood that terminal equipment can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. Terminal equipment can be a mobile phone with a display screen, a smart TV, wearable device, tablet computer, computer with wireless transceiver capabilities, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal equipment.
[0061] like Figure 2 As shown, the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, an indicator 192, a camera 193, and a display screen 194, etc.
[0062] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device. In other embodiments of this application, the terminal device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0063] The processor 110 may include one or more processing units. These processing units may be independent devices or integrated within one or more processors. The processor 110 may also include memory for storing instructions and data.
[0064] USB port 130 is a USB standard compliant interface, which can be a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal devices, and can also be used for data transfer between terminal devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0065] The charging management module 140 receives charging input from the charger. The charger can be a wireless charger or a wired charger. The power management module 141 connects the charging management module 140 to the processor 110.
[0066] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0067] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Antennas in terminal equipment can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0068] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on terminal devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.
[0069] The wireless communication module 160 can provide solutions for wireless communication applications on terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.
[0070] The terminal device implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering.
[0071] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include one or N display screens 194, where N is a positive integer greater than 1.
[0072] Terminal devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0073] Camera 193 is used to capture still images or videos. In some embodiments, the terminal device may include one or N cameras 193, where N is a positive integer greater than 1.
[0074] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0075] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area.
[0076] The terminal device can implement audio functions such as music playback and recording through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.
[0077] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Terminal devices can listen to music or make hands-free calls through speaker 170A. Receiver 170B, also called a "handset," is used to convert audio electrical signals into sound signals. When the terminal device answers a phone call or voice message, it can listen to the voice by bringing the receiver 170B close to the user's ear. Headphone jack 170D is used to connect wired headphones.
[0078] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. In this embodiment, the terminal device can receive a sound signal used to wake up the terminal device based on microphone 170C, and convert the sound signal into an electrical signal that can be further processed. The terminal device can have at least one microphone 170C.
[0079] The sensor module 180 may include one or more of the following sensors, such as: pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, accelerometer, distance sensor, proximity sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, or bone conduction sensor, etc.
[0080] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The terminal device can receive button input and generate key signal inputs related to user settings and function control of the terminal device. Indicator 192 can be an indicator light, used to indicate charging status, power level changes, messages, missed calls, notifications, etc.
[0081] The software system of terminal devices can adopt layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture, etc., which will not be elaborated here.
[0082] This application uses the layered architecture of the Android system as an example to illustrate the software structure of the electronic device 100.
[0083] Figure 3 This is a software structure block diagram of the electronic device 100 according to an embodiment of this application.
[0084] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system may include: an application layer, an application framework layer, a hardware abstraction layer (HAL), and a kernel layer, where the kernel layer may also be called the driver layer.
[0085] The application layer can include a series of application packages.
[0086] like Figure 3 As shown, the application package may include applications such as calendar, email, music, phone, desktop application, perception module and brain module, wherein the brain module may include an application recommendation module.
[0087] A desktop application (launcher) is a launcher for a terminal device's desktop. The desktop UI of the terminal device is collectively referred to as the launcher. The launcher can be used to display and manage other applications on the terminal device. For example, when the terminal device receives a trigger action on an application icon on the desktop, the terminal device can launch the application based on the launcher. In some embodiments of this application, the desktop application is mainly used to draw and display the desktop, where the desktop may include an application icon recommendation area displaying application icons.
[0088] The perception module has the ability to perceive external facts or the environment. In some embodiments of this application, the perception module stores tables corresponding to data in a database, such as data on installed applications and data on newly installed applications. The main function of the perception module is to sense whether the user has downloaded and installed a new application on the terminal device. The brain module can obtain data on installed applications from the perception module, etc.
[0089] The brain module has computational logic processing capabilities and can be used to obtain data from the perception module and process it according to computational logic.
[0090] The application recommendation module, a submodule of the "brain" module, is used to calculate and determine whether to display application icons in the application icon recommendation area. For example, in some embodiments of this application, the application recommendation module may execute calculation-related steps in the application recommendation method of this application embodiment, determining whether to display the icon of a newly installed application in the application icon recommendation area. As another example, in some embodiments of this application, the application recommendation module may determine whether to display the icon of an already installed application in the application icon recommendation area.
[0091] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0092] like Figure 3 As shown, the application framework layer may include a window manager, content provider, resource manager, view system, notification manager, camera access interface, etc.
[0093] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, allow screen touch, drag the screen, and capture the screen, among other things.
[0094] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0095] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0096] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0097] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.
[0098] The camera access interface allows applications to manage the camera and access the camera device, such as managing the camera to capture images.
[0099] The hardware abstraction layer can contain multiple library modules, such as camera libraries and algorithm libraries. The Android system can load the corresponding library modules for the device hardware, thereby enabling the application framework layer to access the device hardware.
[0100] The kernel layer is the layer between hardware and software. It drives the hardware, enabling it to function. The kernel layer can contain drivers for camera devices, displays, audio, and more.
[0101] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.
[0102] In this embodiment of the application, a mobile phone is used as an example for illustration. This example does not constitute a limitation on the embodiments of this application.
[0103] The following combination Figure 4 A recommended method for an application provided in an embodiment of this application will be described. Figure 4 A schematic diagram of the interface of the recommended method of the application according to an embodiment of this application is shown, such as... Figure 4 As shown:
[0104] For example, after a terminal device has finished installing an application, the terminal device can display the application's download and installation interface, such as: Figure 4 The interface shown in Figure 'a'. Figure 4 The interface shown in Figure 'a' displays icons for newly installed applications, such as icon 401 for a music application. The installation identifier 402 corresponding to the music application indicates that the music application has been successfully installed on the current terminal device. It is understood that this embodiment uses the example of a terminal device downloading and installing a new application from an app store to illustrate the recommended method for applications in this embodiment. The application download and installation interface can also be other interfaces, such as an interface for installing a new application based on a browser application, or an interface for installing a new application based on a third-party application. This embodiment does not impose any limitations on these. The newly installed application can be an application that the terminal device is installing for the first time; it can also be an application that the terminal device uninstalled and then re-downloaded and installed. This embodiment also does not impose any limitations on these.
[0105] exist Figure 4 In the interface shown in Figure 'a', when the terminal device receives a trigger operation by swiping up from the bottom of the screen, the terminal device displays... Figure 4 The interface shown in b is shown in the image. Figure 4 The interface shown in Figure b displays an application icon recommendation area 403. This area provides multiple application icon display positions, where an application icon can be displayed, such as the gallery application icon 404 and the music application icon 405. Users can click on the application icon in this recommendation area to quickly launch the corresponding application. In some embodiments, the application icon recommendation area may display icons of frequently used applications, such as the gallery application icon 404. In other embodiments, the application icon recommendation area may display icons of newly installed applications, such as the music application icon 405.
[0106] It is understood that the application icon recommendation area can be understood as a card displaying application icons, and the terminal device can launch the corresponding application based on a trigger operation on the application icon displayed on the card. In some embodiments, the icons of applications in the application icon recommendation area can be the same style as the icons of applications not in the application icon recommendation area on the desktop, or they can be different styles. For example, the icon 405 of the music application in the application icon recommendation area 403 is the same as... Figure 1The icon 104 of the music application in the interface shown in c has the same style, and this embodiment of the application does not limit it.
[0107] exist Figure 4 In the interface shown in b, when the terminal device receives a trigger operation for the music application icon 405, the terminal device can launch the music application and display... Figure 4 The interface shown in c is shown in the image.
[0108] In the above embodiments, the terminal device can display an application icon recommendation area. When a user downloads and installs a new application, the terminal device can display the icon of the newly installed application in the application icon recommendation area, so that the user can quickly launch the application by clicking the application icon in the application icon recommendation area, reducing the need for the user to search for the icon of the newly installed application in multiple desktops and improving the user experience.
[0109] In some embodiments, a user may have a low probability of launching a newly installed application within a short period of time. If the user does not use the application for a certain period after installation, the application icon will occupy the application icon display space in the application icon recommendation area during this time, affecting the terminal device's ability to recommend other applications to the user. To address this situation, embodiments of this application provide an application recommendation method.
[0110] For example, after an application is installed, the terminal device can determine whether to display the application's icon in the application icon recommendation area. When the terminal device determines that the probability of a user launching the application is greater than or equal to a preset probability threshold within a certain period after the application is installed, the terminal device can display the application's icon in the application icon recommendation area. Figure 4 The scenario is illustrated; the algorithm for calculating the recommendation probability will be explained later in this application embodiment, and will not be elaborated upon here. When the terminal device determines that the recommendation probability of a user launching the application is less than a preset probability threshold within a certain period after the application is installed, the application icon recommendation area of the terminal device may not display the application icon. For example, as shown... Figure 5 As shown:
[0111] After a new application is installed on a terminal device, the terminal device may display the application's download and installation interface, for example: Figure 5 The interface shown in Figure 'a'. Figure 5 The interface shown in Figure 'a' displays icons for newly installed applications, such as the video editing application icon 501; the installation identifier 502 corresponding to the video editing application indicates that the video editing application has been successfully installed on the current terminal device.
[0112] exist Figure 5In the interface shown in Figure 'a', when the terminal device receives a trigger operation by swiping up from the bottom of the screen, the terminal device displays... Figure 5 The interface shown in b is shown in the image. Figure 5 The interface shown in b displays an application icon recommendation area 503; this area provides multiple application icon display positions, and any of these positions can display an application's icon. However, the application icon recommendation area 503 does not include the icon for newly installed editing applications.
[0113] In this way, for some applications whose recommendation probability is lower than a preset probability threshold, the terminal device will not display the application icon in the application icon recommendation area, so as to reduce the situation where the icons of these applications occupy the application icon display space.
[0114] In some embodiments, the icons of applications in the application icon recommendation area can be changed, and the terminal device can update the application icon recommendation area at regular intervals. The terminal device displays the icon of a newly installed application in the application icon recommendation area, and after a period of time, the application icon recommendation area may no longer display the application's icon. Figure 6 The diagram illustrates an interface schematic of a recommendation method for an application provided in an embodiment of this application, such as... Figure 6 As shown:
[0115] For example, such as Figure 6 As shown in the interface (a), at 8:00, the terminal device completed the installation of the music application 601. When the terminal device receives a trigger operation of swiping up from the bottom of the screen, the terminal device enters... Figure 6 The interface shown in b is an example. For instance, at 8:01, the terminal device displays... Figure 6 The interface shown in b is in Figure 6 The interface shown in b displays an application icon recommendation area 602, which includes an icon 603 for the music application. After a period of time, for example, at 8:30, the application icon recommendation area 602 on the terminal device no longer includes the icon for the music application. Figure 6 The interface shown in c is shown in the image.
[0116] It is understood that in the application recommendation method provided in this application embodiment, the terminal device can display the application icon in the application icon recommendation area within the recommended duration; when the recommended duration is exceeded, the terminal device will no longer display the application icon. For example, if the recommended duration for a music application is 25 minutes, and at 8:30, the interval has exceeded the recommended duration for the music application, then the music application icon will no longer be displayed in the application icon recommendation area of the terminal device.
[0117] The recommended installation time for a newly installed application in this embodiment can be a fixed time preset by the user, or it can be a recommended installation time corresponding to the newly installed application calculated by the terminal device. This embodiment does not impose any restrictions on this.
[0118] In this way, the terminal device can update the icons in the application icon recommendation area based on the application's recommended duration, thereby improving the user experience.
[0119] The above embodiments, in conjunction with schematic diagrams of the terminal device interface, illustrate the applicable scenarios for the application recommendation method provided in this application. The application recommendation method in this application embodiment will be described below.
[0120] For example, the newly installed applications on the terminal device can be a first application and a second application, which are different from each other. The terminal device determines that the first application's first recommendation probability is greater than or equal to a preset probability threshold, and the second application's second recommendation probability is less than the preset probability threshold. The terminal device's application icon recommendation area may display the icon of the first application, but not the icon of the second application.
[0121] In one possible implementation, the terminal device can obtain a first recommendation probability for the first application based on data of the user's installed applications. This first recommendation probability can be the probability that the terminal device will launch the installed application within a second duration, where the second duration is related to the time elapsed between the application's installation completion and its first launch. The process for calculating the first recommendation probability is as follows:
[0122] For example, in step S101, the terminal device obtains the time elapsed between the completion of installation and the first startup of an application installed on the terminal device.
[0123] In some embodiments, the time between the installation completion and the first launch of an application on a terminal device can be the time difference between the time when the application is installed and the time when it is first launched. The terminal device obtains the time when the application is installed and the time when it is first launched.
[0124] For example, the data on installed applications obtained by the terminal device can be shown in Table 1:
[0125] Table 1: Data on installed applications on terminal devices
[0126]
[0127]
[0128] Specifically, the installation completion time of an application on the terminal device can be represented by the installation completion time (install_time); the installed application can be represented by the application name (app_cname); the first launch time of an installed application on the terminal device can be represented by the first launch time (app_use_time); and the time between installation completion and first launch of an installed application on the terminal device can be represented by the time difference (diff_time_minutes). It should be noted that launching within t min (click_in_t_min) indicates whether the time between installation completion and first launch of an installed application on the terminal device is less than a second time interval; when the time difference of the installed application is less than or equal to the second time interval, the value of click_in_t_min is 1; when the time difference of the installed application is greater than the second time interval, the value of click_in_t_min is 0.
[0129] It is understood that Table 1 only shows a portion of the data of installed applications as an example, but this portion does not limit the number of installed applications and their corresponding parameters in the embodiments of this application.
[0130] In one possible implementation, the average of the diff_time_minutes of multiple installed applications can be used as the second duration. In another possible implementation, the terminal device can also calculate the second duration using a method based on a third or fourth fraction. This application does not limit the specific algorithm used to obtain the second duration.
[0131] S102, the probability that the terminal device receives the first recommendation from the first application.
[0132] The first recommendation probability can be understood as the probability that the terminal device will launch the first application within a second time period, based on the data of the installed applications.
[0133] For example, the first recommendation probability can be the ratio of the number of times click_in_t_min is 1 to the number of installed applications.
[0134] The probability of the first recommendation can satisfy the following formula:
[0135] P n =M / N, where M and N are both natural numbers.
[0136] Where M represents the number of applications installed on the terminal device whose time between installation and first launch is less than the second duration; N represents the number of applications installed on the terminal device; and the second duration t represents the number of applications installed on the terminal device. u Satisfy the following formula: t 1,i For any installed application on a terminal device, the time from installation completion to first launch.
[0137] Understandably, in some embodiments, a terminal device may have installed an application, but uninstalled it after a period of use, and then reinstalled the application. The data on installed applications may include duplicate application names (app_cname). For example, the first set of data in Table 1 is related to application 1, and the fifth set of data is also related to application 1. In this case, these two sets of data can be defined as: the number of installed applications is 2. In the above scenario, the number N of applications installed on the terminal device can be understood as the application being downloaded and installed N times on the terminal device. The applications can be the same application or different applications.
[0138] In other embodiments, in the above scenario, the terminal device may also use either of the two sets of data related to application 1. For example, after obtaining the first set of data and the fifth set of data in Table 1, the terminal device can retain the most recent application 1 data (e.g., the fifth set of data) based on the installation completion time parameter. In this way, the terminal device can more accurately predict the user's recent habit of installing and using new applications based on the data of recently installed applications. This application embodiment does not limit the number of installed applications.
[0139] Specifically, taking Table 1 as an example, the second duration t u The time taken is 129.2 minutes, the number of times click_in_t_min is 1 is 3, the number of installed applications is 5, and the probability of the first recommendation is P. n It is 0.6.
[0140] S103, The terminal device determines that the first recommendation probability of the first application is greater than or equal to the preset probability threshold.
[0141] The preset probability threshold is a user-defined probability threshold. When the terminal device determines that the first application's recommendation probability is greater than or equal to the preset probability threshold, the terminal device can recommend the first application's icon in the application icon recommendation area. Subsequent users can launch the first application based on its icon in the application icon recommendation area, which can be referenced... Figure 4 The scene shown.
[0142] Alternatively, in S104, the terminal device determines that the probability of the first recommendation for the first application is less than a preset probability threshold.
[0143] When the terminal device determines that the probability of recommending the first application is less than a preset probability threshold, the terminal device may not recommend the icon of the first application in the application icon recommendation area. (See reference...) Figure 5 The scene shown.
[0144] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and corresponding operation entry points are provided for the user to choose to authorize or refuse.
[0145] In this embodiment, the terminal device can calculate the probability of a user launching the first application within a second time period after installing it, based on data from already installed applications. When the first recommendation probability is greater than or equal to a preset probability threshold, the terminal device recommends the first application. This allows the terminal device to conveniently and quickly launch the first application based on its icon in the application icon recommendation area, improving the user experience.
[0146] In another possible implementation, the terminal device can obtain a first recommendation probability for the first application based on cloud data. This first recommendation probability includes the probability that the terminal device will launch the first application within a third time period, where the third time period is related to the duration from the completion of installation to the first launch of the first application, as shown in the cloud data. The process for calculating the first recommendation probability is as follows:
[0147] S201. The terminal device obtains cloud data from the cloud device.
[0148] Cloud data can be the time between installation and first launch of the first application on other devices, as recorded by cloud devices; cloud data can also be the probability of the first recommendation calculated by cloud devices.
[0149] When the cloud data refers to the time from the completion of installation to the first launch of the first application on another device, as recorded by the cloud device, the cloud data can be as shown in Table 2:
[0150] Table 2: Cloud Data
[0151] Installation complete Application Name The moment of first startup Time difference Start within t min 2022-05-07 15:50:09 First Application 2022-05-07 15:50:21 0.2 1 2022-05-07 15:51:05 First Application 2022-05-07 15:51:10 0.1 1 2022-05-07 15:52:11 First Application / / 0 2022-04-25 15:31:53 First Application 2022-04-25 15:32:21 0.5 1 2022-04-20 15:53:58 First Application 2022-04-20 19:08:23 3194.4 0 2022-04-08 15:43:44 First Application 2022-04-11 15:22:26 4298.7 0 2022-04-02 15:45:16 First Application 2022-04-02 15:49:07 3.9 1 2022-03-31 15:38:58 First Application / / 0 2022-03-31 15:44:21 First Application 2022-04-09 19:27:54 13183.6 0 2022-03-31 15:54:41 First Application / / 0
[0152] Specifically, cloud data can be statistics from cloud devices on other devices installing the first application; the time when the first application is installed on other devices can correspond to the installation completion time (install_time); the first application can correspond to the application name (app_cname); the time when the first application is launched for the first time on other devices can correspond to the first launch time (app_use_time); and the time between the first application's installation completion and first launch on other devices can correspond to the time difference (diff_time_minutes). It should be noted that launching within t min (click_in_t_min) indicates whether the time between the first application's installation completion and first launch in the cloud data is less than a third time interval. When the time difference for the first application is less than or equal to the third time interval, the value of click_in_t_min is 1; when the time difference for the first application is greater than the third time interval, the value of click_in_t_min is 0.
[0153] It is understood that Table 2 only shows a portion of the cloud data as an example, but this portion does not limit the amount of cloud data and corresponding parameters in the embodiments of this application. In some embodiments, when the terminal device obtains cloud data from the cloud device, there may be a situation where other devices have already installed the first application but have not started the first application, as shown in the third, eighth, and tenth groups of data in Table 2. In this case, the terminal device may filter out this part of the data or may not delete this part of the data. The embodiments of this application do not impose any restrictions on this.
[0154] In one possible implementation, the average of the diff_time_minutes of multiple first applications can be used as the third duration in this embodiment. In another possible implementation, the terminal device can also calculate the third duration using a method based on a third-to-fourth fraction. This embodiment does not limit the specific algorithm for obtaining the third duration.
[0155] Optionally, given the large amount of data in the cloud, terminal devices can obtain some cloud data from cloud devices to calculate the probability of the first recommendation.
[0156] For example, in some embodiments, the terminal device can set a timebucket (timeBucketX) and obtain the time when the terminal device completes the installation of the first application. The terminal device can obtain cloud data within the timebucket containing the time when the terminal device completes the installation of the first application from the cloud device. The duration of the timebucket can be customized. For example, if the duration of each timebucket is 30 minutes, then 0:00-0:30 is timeBucketX=1; 0:30-1:00 is timeBucketX=2; 1:00-1:30 is timeBucketX=3, and so on.
[0157] For example, taking Table 2 as an example, the terminal device completes the installation of the first application between 13:30 and 14:00, and the time bucket timeBucketX = 28; the terminal device can obtain cloud data within the time period of timeBucketX = 28 from the cloud device.
[0158] In other embodiments, the terminal device may obtain the geographical location when the first application is installed and obtain cloud data from the cloud device, wherein the geographical location of the cloud data is within a certain range of the geographical location of the terminal device when the first application is installed.
[0159] In another possible implementation, the terminal device can also filter cloud data based on both time bucket and geographic location.
[0160] Optionally, given the massive amount of data in the cloud, terminal devices can use algorithmic modeling to calculate the first recommendation probability from the cloud data.
[0161] It should be noted that the embodiments of this application may use various methods to filter or process cloud data, and the embodiments of this application do not limit the data source or quantity of cloud data.
[0162] The above embodiments, in conjunction with step S201, describe the situation where the cloud data is the time between the installation completion and the first launch of the first application on another device, as recorded by the cloud device. When the cloud data is the time between the installation completion and the first launch of the first application on another device, as recorded by the cloud device, the terminal device can execute step S202. When the cloud data is the first recommended probability calculated by the cloud device, the terminal device can directly use the first recommended probability and execute step S203.
[0163] S202, the probability that the terminal device receives the first recommendation from the first application.
[0164] The first recommendation probability can be the probability predicted by the terminal device based on cloud data that the terminal device will launch the first application within the third time period, or the first recommendation probability can also be the probability obtained by the terminal device from the cloud device that the terminal device will launch the first application within the third time period.
[0165] For example, the first recommendation probability can be the ratio of the number of times click_in_t_min is 1 to the amount of data in the cloud.
[0166] The probability of making the first recommendation satisfies the following formula:
[0167] P n =L / K (L and K are both natural numbers).
[0168] Where L represents the number of cloud data entries whose time between installation of the first application and first launch is less than the third duration; K represents the amount of cloud data; and the third duration t represents the number of entries. g Satisfy the following formula: t 2,i For any given cloud data, the time from the completion of the first application installation to its first launch.
[0169] For example, taking Table 2 as an example, the third duration t g The time taken is 2954.5 minutes, the number of clicks in t_min is 4, the amount of data in the cloud is 10, and the probability of the first recommendation is P. n It is 0.4.
[0170] S203, The terminal device determines that the first recommendation probability of the first application is greater than or equal to the preset probability threshold.
[0171] The preset probability threshold is a custom probability threshold, for example, threshold = 0.5. When the terminal device determines that the first application's first recommendation probability is greater than or equal to the preset probability threshold, the terminal device can recommend the first application's icon in the application icon recommendation area. Subsequent users can launch the first application based on its icon in the application icon recommendation area, which can be referenced... Figure 4 The scene shown.
[0172] Alternatively, in S204, the terminal device determines that the probability of the first recommendation for the first application is less than a preset probability threshold.
[0173] When the terminal device determines that the probability of recommending the first application is less than a preset probability threshold, the terminal device may not recommend the icon of the first application in the application icon recommendation area. (See reference...) Figure 5 The scene shown.
[0174] In this embodiment, the terminal device can calculate the probability of launching the first application within a third time period after the user installs it based on cloud data, and recommend the first application when the first recommendation probability is greater than or equal to a preset probability threshold. This allows the terminal device to conveniently and quickly launch the first application based on its icon in the application icon recommendation area, improving the user experience.
[0175] In another possible implementation, the terminal device can merge the data of the applications already installed on the terminal device with cloud data to obtain the first recommendation probability of the first application.
[0176] For example, in S301, the terminal device obtains a first recommendation probability based on a first probability and / or a second probability.
[0177] The first probability includes the probability that the terminal device will launch the installed application within a second time period, which is related to the time between the application's installation completion and its first launch on the terminal device. The second probability includes the probability of launching the first application within a third time period, obtained based on cloud data, which is related to the time between the first application's installation completion and its first launch, as determined by cloud data. Upon obtaining the first and second probabilities, the terminal device can fuse them to obtain a first recommended probability. The first recommended probability can be understood as the probability predicted by the terminal device to launch the first application within its recommended time period after installation, where the recommended time period is related to both the second and third time periods.
[0178] The first probability can satisfy the following formula:
[0179] P u =M / N, where M and N are both natural numbers.
[0180] Where M represents the number of applications installed on the terminal device whose time between installation and first launch is less than the second duration; N represents the number of applications installed on the terminal device; and the second duration t represents the number of applications installed on the terminal device. u Satisfy the following formula: t 1,i The duration t represents the time from installation completion to first launch of any installed application on the terminal device. This embodiment of the application obtains a second duration t. u First probability P u The method can be found in the relevant descriptions of steps S101-S102, which will not be repeated here.
[0181] The second probability can satisfy the following formula:
[0182] P g =L / K (L and K are both natural numbers).
[0183] Where L represents the number of cloud data entries whose time between installation of the first application and first launch is less than the third duration; K represents the amount of cloud data; and the third duration t represents the number of entries. g Satisfy the following formula: t 2,i For any given cloud data, the duration from the completion of the first application installation to its first launch. This application embodiment obtains the third duration t. g Second probability P g The method can be found in the relevant descriptions of steps S201-S202, which will not be repeated here.
[0184] The probability of the first recommendation can satisfy the following formula:
[0185] P n =ɑ n ×P u +β n ×P g ; where ɑ n and β n All are weights.
[0186] The recommended duration for the first application can satisfy the following formula:
[0187] t n =α n ×t u +β n ×t g .
[0188] In this embodiment of the application, the terminal device receives P u With P g Then, the weights can be obtained through negative feedback function calculation and normalization. The method for calculating the weights is explained below.
[0189] α n Satisfy the following formula:
[0190] α n =α n-1 +λ u
[0191] Among them, α n-1 The weight λ of the first probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device. u For α n-1 The penalty coefficient.
[0192] β n Satisfy the following formula:
[0193] β n =βn-1 +λ g
[0194] Where, β n-1 The weight of the second probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device; λ g For β n-1 The penalty coefficient.
[0195] Below, starting with ɑ n For example, to calculate λ u The method will be explained.
[0196] It is understood that, in this embodiment of the application, when the terminal device installs any application, it can record the time when the application is completed and the time when the application is first launched, and calculate the recommendation probability corresponding to the application; when calculating the recommendation probability corresponding to the application, the terminal device can use the weight α of the first probability when calculating the recommendation probability of the previous application. n-1 The weight α of the first probability when the terminal device installs the first application is calculated. n For the case where the application is installed on a terminal device for the first time, an initial weight α1 can be set in this embodiment, for example, α1 = 0.5. This embodiment does not limit this.
[0197] λ u This can be used to calibrate the weights of the first probability of the previous application, resulting in more accurate weights for the first probability of the first application. λ u Satisfy the following formula:
[0198]
[0199] Specifically, when the terminal device launches the previous application within the recommended duration of the previous application, y n-1 The value is 1, meaning that y is set to 1 when the terminal device does not launch the previous application within the recommended timeframe. n-1 The value of P is 0; u,n-1 This is the first probability corresponding to the previous application; when the recommendation probability of the previous application is greater than or equal to a preset probability threshold, A value of 1 indicates that when the recommendation probability of an application is less than a preset probability threshold, The value is 0; P is the probability parameter; threshold is the preset probability threshold.
[0200] It should be noted that λ u It may include two parts: punishment determination parameters and punishment intensity parameters; punishment determination parameters The weight α of the first probability of the previous application can be controlled. n-1Punishment, punishment intensity parameters Adjustable weight α of the first probability of the previous application n-1 The severity of the punishment.
[0201] The penalty determination parameters will be explained below.
[0202] For example, when a terminal device completes the installation of a previous application, the terminal device calculates the first probability, second probability, second duration, third duration, weight of the first probability, and weight of the second probability for the previous application. Based on this data, the terminal device calculates the recommendation probability of the previous application. If the recommendation probability of the previous application is greater than or equal to a preset probability threshold, the terminal device displays the icon of the previous application in the application icon recommendation area; if the recommendation probability of the previous application is less than the preset probability threshold, the terminal device does not display the icon of the previous application in the application icon recommendation area.
[0203] However, in some real-world applications, after an application is installed on a terminal device, the device can determine whether to recommend the application based on its recommendation probability. Since the recommendation probability of the application is a predicted value, this can lead to prediction errors.
[0204] For example, consider the scenario where a terminal device has just installed a previous application. The terminal device calculates a recommendation probability higher than a preset probability threshold. The terminal device displays the previous application's icon in the recommended application area, but within the recommended duration of the previous application, the terminal device does not receive a trigger operation to launch the previous application. Alternatively, the terminal device calculates a recommendation probability lower than the preset probability threshold. The terminal device does not display the previous application's icon in the recommended application area, but within the recommended duration of the previous application, the terminal device receives a trigger operation from the user on the desktop to launch the previous application. In these cases, the terminal device makes an incorrect prediction when installing the previous application.
[0205] Understandably, in the event of a prediction error, the terminal device needs to calibrate the weights used for the next calculation.
[0206] For example, middle, y n-1 This indicates whether the terminal device launches the previous application within the recommended duration of the previous application; if so, then y n-1 If y is 1, then y is 1; otherwise, y is 1. n-1 is 0. This represents the relationship between the recommendation probability of the previous application and a preset probability threshold, used to characterize whether the terminal device displays the icon of the previous application in the application icon recommendation area; if the terminal device displays the icon of the previous application in the application icon recommendation area, then... =1; otherwise, is 0.
[0207] Thus, when y n-1 and When both are 1, the terminal device recommends the icon of the previous application in the application icon recommendation area, and the user launches the previous application within the recommended duration. Therefore, the prediction result when the terminal device completes the installation of the previous application is correct; or, when y n-1 and When both are 0, the terminal device does not recommend the icon of the previous application in the application icon recommendation area, and the user does not launch the previous application within the recommended duration. Therefore, the prediction result when the terminal device completes the installation of the previous application is also correct. Or, when y n-1 =1 and When y is 0, the terminal device does not recommend the icon of the previous application in the application icon recommendation area, but the user launches the previous application within the recommended duration, and the prediction result of the terminal device when the previous application is installed is incorrect; or when y n-1 =0 and When the value is 1, the terminal device recommends the icon of the previous application in the application icon recommendation area, but the user does not launch the previous application within the recommended time period, and the prediction result of the terminal device when the previous application is installed is incorrect.
[0208] When the prediction is accurate, λ u =0, a n =ɑ n-1 The terminal device can continue to use α n-1 The weight is used as the first probability for the first application; in case of an incorrect prediction result. Or 1, penalty coefficient λ u It will only take effect after that, and the corresponding penalty value is related to the penalty strength parameter.
[0209] The following combination Figure 7 The penalty intensity parameter (P-threshold) is explained. 2 A schematic diagram of the curves showing the change of parameters with probability parameters is shown below. Figure 7 As shown:
[0210] For example, with Figure 7 Taking points A and B as examples, the line l A Let point A lie at (P-threshold). 2 Tangent line on curve, straight line l B Let point B lie at (P-threshold). 2 The tangent line on the curve, where the penalty force parameter corresponding to the probability parameter at point A is the straight line l. AThe slope of the line; the penalty parameter corresponding to the probability parameter of point B is the line l. B The slope.
[0211] It can be seen that the further the probability parameter deviates from the center point, the steeper the slope of the line corresponding to that probability parameter, and the greater the penalty force. Conversely, the closer the probability parameter is to the center point, the shallower the slope of the line corresponding to that probability parameter, and the smaller the penalty force. This can be understood as follows: when the probability parameter is higher or lower, the recommended probability predicted by the terminal device should be more accurate. However, in practical applications, the prediction results of the terminal device are incorrect, indicating that the predicted recommended probability deviates significantly from the actual probability. In this case, the penalty force on the weight can be increased to improve the accuracy of the next prediction result.
[0212] Below, β n For example, to calculate λ g The method will be explained.
[0213] λ g Satisfy the following formula:
[0214]
[0215] Where, p g,n-1 This is the second probability corresponding to the previous application; when the recommendation probability of the previous application is greater than or equal to a preset probability threshold, A value of 1 indicates that when the recommendation probability of an application is less than a preset probability threshold, The value is 0.
[0216] In this embodiment of the application, λ g The calculation method can be found in λ. u The relevant description of the calculation method is not elaborated here.
[0217] It should be noted that the recommended duration t for the first application n =ɑ n ×t u +β n ×t g The calculation method for the weights in the first application can be found in the first recommendation probability P. n The calculation method is not limited in the embodiments of this application.
[0218] S302. When the first recommendation probability is greater than or equal to a preset probability threshold, the terminal device displays the icon of the first application in the application icon recommendation area.
[0219] When P n When the threshold is reached, the terminal device displays the icon of the first application in the application icon recommendation area.
[0220] Alternatively, in S303, when the first recommendation probability is greater than or equal to a preset probability threshold, the terminal device displays the icon of the first application in the application icon recommendation area.
[0221] When P n <threshold, the terminal device does not display the icon of the first application in the application icon recommendation area.
[0222] In the embodiments of the present application, the terminal device can calculate the first recommendation probability of starting the first application within the recommended duration after the user installs the first application based on the data of the applications installed on the terminal device and the cloud data, and recommend the first application when the first recommendation probability is greater than or equal to the preset probability threshold. In this way, the terminal device can quickly and conveniently start the first application based on the icon of the first application in the application icon recommendation area, improving the user experience.
[0223] The above embodiments are combined with Figures 4-7 to illustrate the application recommendation method provided by the embodiments of the present application.
[0224] In some cases, the display positions of the application icons in the application icon recommendation area of the terminal device can be used to display the icons of commonly used installed applications and can also be used to display the icons of newly installed applications. The terminal device can reserve some application icon display positions for newly installed applications and provide the remaining application icon display positions for commonly used installed applications.
[0225] However, due to the limited application icon display positions provided for newly installed applications, the following scenario may occur: The terminal device installs multiple application programs in a short period of time, and the recommendation probabilities of multiple application programs are greater than or equal to the preset probability threshold. The terminal device needs to display the icons of multiple application programs in the application icon recommendation area, but the number of application icon display positions without displayed application icons is less than the number of newly installed applications. At this time, multiple newly installed applications will compete for application icon display positions.
[0226] In response to the above scenario, the embodiments of the present application provide a schematic diagram of the interface of the application recommendation method, as Figure 8 shown:
[0227] Exemplarily, taking the scenario where the terminal device reserves one application icon display position for displaying the icon of a newly installed application and the terminal device installs two new application programs in a short period of time as an example. The application icon display position reserved by the terminal device for displaying the icon of a newly installed application can be one or more, and the embodiments of the present application do not limit this.
[0228] The terminal device can display as Figure 8The interface shown in Figure 'a' is as follows: This interface can display an application icon recommendation area 801, which includes multiple application icon display positions. Any application icon display position can display the icon of an application. For example, the application icon recommendation area 801 displays icons for social applications, calendar applications, photo apps, email applications, calculator applications, and a blank area 802 where no application icons are displayed. The blank area 802 where no application icons are displayed can be an application icon display position used to display the icon of a newly installed application.
[0229] It is understandable that, in order to make full use of the application icon recommendation area, the terminal device may also display the icons of installed applications in the application icon display position used to display the icons of newly installed applications. For example, in some cases, the terminal device does not need to recommend newly installed applications during the current time period, and the icons of commonly used installed applications can be displayed in the application icon display position used to display the icons of newly installed applications. Subsequently, when a new application is installed on the terminal device, and the newly installed application needs to be displayed in the application icon recommendation area, the icon of the already installed application will no longer be displayed in the application icon display position used to display the icon of the newly installed application; instead, the icon of the newly installed application will be displayed. This application embodiment, to demonstrate that the terminal device reserves application icon display positions for newly installed applications, uses the blank area 802 (where no application icon is displayed) as the application icon display position for newly installed applications as an example to illustrate a scenario where multiple newly installed applications compete for application icon display positions. However, in this application embodiment... Figure 8 The interface diagram shown in 'a' does not restrict the display position of the application icon used to display the icon of a newly installed application.
[0230] At 8:00 AM, the music application was successfully installed on the terminal device, with the recommendation probability of the music application being greater than or equal to a preset probability threshold; the terminal device then displayed... Figure 8 The interface shown in Figure b includes the music application icon 803. Figure 8 In the interface shown in b, when the terminal device receives a swipe-up gesture from the bottom of the screen, the terminal device can enter... Figure 8 The interface shown in c is shown in the image.
[0231] At 8:01, Figure 8 The interface shown in Figure c displays an application icon recommendation area 801, which includes an icon 804 for a music application. Figure 8 In the interface shown in Figure a, the music app icon 804 is displayed in the same position as the blank area 802 where no app icon is displayed. At this time, each app icon display position in the app icon recommendation area 801 displays an app icon.
[0232] The terminal device completes the installation of another application within a short period of time. For example, at 8:02, the terminal device completes the installation of an e-book application, where the recommendation probability of the e-book application is greater than or equal to a preset probability threshold; the terminal device displays... Figure 8 The interface shown in Figure d includes an icon 805 for an e-book application. Figure 8 In the interface shown as d, when the terminal device receives a swipe-up gesture from the bottom of the screen, the terminal device can enter... Figure 8 The interface shown in 'e'.
[0233] It should be noted that after a music app is installed on a device, the probability of that app being recommended gradually decreases over time. Similarly, after an e-book app is installed on a device, the probability of that e-book app being recommended also gradually decreases over time.
[0234] At 8:03, the recommended probability of music apps, after being reduced, is lower than that of e-book apps; therefore, the terminal device can prioritize displaying the e-book app icon. For example, Figure 8 The interface shown in Figure 'e' displays an application icon recommendation area 801. This area includes an e-book application icon 806 but excludes a music application icon. [The text then abruptly shifts to a seemingly unrelated topic:] ...and... Figure 8 In the interface shown in Figure a, the e-book application icon 806 is displayed in the same position as the blank area 802 where no application icon is displayed. At this time, the application icon is displayed in each application icon display position in the application icon recommendation area 801.
[0235] After a period of time, for example, at 8:10, the recommended probability of the music app after its decline is higher than that of the e-book app after its decline, and the terminal device can prioritize displaying the music app's icon. For example, the terminal device displays... Figure 8 The interface shown in Figure f is an application icon recommendation area 801. This area includes an icon 804 for music applications but excludes icons for e-book applications. Figure 8 In the interface shown in Figure a, the music application icon 804 is displayed in the same position as the blank area 802 where no application icon is displayed. At this time, the application icon display position in the application icon recommendation area 801 displays the application icon.
[0236] The above embodiments illustrate the interface diagram of an application recommendation method in this application embodiment. The flow of the application recommendation method in this application embodiment will be described below in conjunction with the scenarios in the above embodiments.
[0237] Exemplarily, the terminal device reserves a display positions for the icons of newly installed applications in the application icon recommendation area. The terminal device installs b application programs, and the recommendation probabilities of c of these application programs are greater than or equal to a preset probability threshold; where a < c ≤ b, and a, b, and c are all natural numbers. At this time, the number of newly installed applications that the terminal device needs to recommend is greater than the reserved display positions for application icons.
[0238] For the above scenario, an embodiment of the present application provides a method for recommending application programs. The terminal device can calculate the recommendation probabilities of multiple application programs respectively, as well as the recommendation probabilities after the recommendation probabilities of the application programs gradually decay with the duration after the installation of the application programs. The terminal device sorts the decayed recommendation probabilities of these application programs. The terminal device displays the icons of the application programs with high decayed recommendation probabilities in the application icon recommendation area.
[0239] The decayed recommendation probability P w (t) satisfies the following formula:
[0240]
[0241] where P0 is a preset decay coefficient; t app is the recommendation duration of the application program; P app is the recommendation probability of the application program; t is time; t init is the moment when the terminal device installs the application program; P end is the recommendation probability of the application program after the installation of the application program and after the decay of the recommendation duration of the application program, P end is a preset value, for example: P end = 0.001.
[0242] Specifically, when the terminal device finishes installing the third application, it calculates the third recommendation probability of the third application. The terminal device determines that the third recommendation probability is greater than or equal to the preset probability threshold. The terminal device calculates the recommendation probability of the third application that gradually decays with the duration after the installation of the third application.
[0243] Exemplarily, the decayed third recommendation probability P 3,w (t) of the third application satisfies the following formula:
[0244]
[0245] where t 3,app is the recommendation duration of the third application; P 3,app is the third recommendation probability; t 3,init is the moment when the terminal device installs the third application; P 3,endP represents the probability of a third recommendation after the third application has been installed and the recommended duration of the third application has decayed; 3,end This is the default value.
[0246] After a period of time, when the terminal device has completed the installation of the fourth application, the fourth recommendation probability of the fourth application is calculated. The terminal device determines that the fourth recommendation probability is greater than or equal to a preset probability threshold. The terminal device calculates the recommendation probability of the fourth application, which gradually decreases over time after the fourth application is installed.
[0247] For example, the decayed fourth recommendation probability P 4,w (t) satisfies the following formula:
[0248]
[0249] Among them, t 4,app Recommended duration for the fourth application; P 4,app The fourth recommendation probability; t 4,init The timing for installing the fourth application on the terminal device; P 4,end Let P be the probability of a fourth recommendation after the fourth application has been installed and the recommended duration of the fourth application has decayed. 4,end This is the default value.
[0250] The following is based on Figure 8 Taking the example of a music application installed on a terminal device as the third application and an e-book application as the fourth application, and combining this with... Figure 9 The recommended probability of the application after decay is explained. Figure 9 The attenuated third recommendation probability P in the embodiments of this application is shown. 3,w (t) and the decayed fourth recommendation probability P 4,w A schematic diagram of the curve (t). For example... Figure 9 As shown:
[0251] Among them, the third recommendation probability P of points A, B, and C after decay 3,w On the curve of (t); points D and E are on the fourth recommendation probability P after decay. 4,w The curve (t) is on the graph. In this embodiment, the moment when the third application is installed is taken as the moment t=0.
[0252] For example, such as Figure 8 As shown in the interface (b), at 8:00 AM, the terminal device installs a third-party application; corresponding to... Figure 9 At t=0, the third application is installed on the terminal device, and the probability of the third application being recommended by the third application is 0.6.
[0253] like Figure 8In the interface shown as c, at 8:01, the icon 804 of the third application is displayed in the application icon recommendation area 801; corresponding to Figure 9 At t=1, only the third application was newly installed on the terminal device, and the icon of the third application was displayed in the application icon recommendation area of the terminal device. The decayed recommendation probability P of the third application at point A is... 3,w (t=1)=0.52.
[0254] It can be seen that between 8:00 and 8:02 (excluding 8:02), the recommended application icon area on the terminal device displays the icon of the third application.
[0255] like Figure 8 As shown in the 'd' section, the terminal device completed the installation of the fourth application at 8:02; corresponding to... Figure 9 At t=2, the terminal device completes the installation of the fourth application. The fourth application's fourth recommendation probability is 0.7, and the decayed third recommendation probability P of the third application... 3,w (t=2)=0.44.
[0256] like Figure 8 In the interface shown as 'e', at 8:03, the icon 806 of the fourth application is displayed in the application icon recommendation area 801; corresponding to... Figure 9 At t=3, the decayed third recommendation probability P at point B 3,w (t=3)=0.37, the decayed fourth recommendation probability P at point D 4,w (t=3)=0.5, P 3,w (t=3)<P 4,w (t=3), the application icon recommendation area of the terminal device will prioritize displaying the icon of the fourth application.
[0257] like Figure 9 As shown, when t=5, P 3,w (t=5)=P 4,w (t=5)=0.28. At this point, the terminal device can either display the icon of the third application without displaying the icon of the fourth application, or display the icon of the fourth application without displaying the icon of the third application. In one possible implementation, at t=5, the terminal device displays the icon of the application displayed at the previous moment. For example, at t=5, the terminal device continues to display the icon of the fourth application in the application icon recommendation area.
[0258] It can be seen that between 8:02 and 8:05, the probability of the fourth recommendation after decay is greater than or equal to the probability of the third recommendation after decay. The application icon recommendation area of the terminal device displays the icon of the fourth application and does not display the icon of the third application.
[0259] like Figure 8In the interface shown by f, at 8:10, the icon 804 of the third application is displayed in the application icon recommendation area 801; corresponding to Figure 9 At t=10, the decayed third recommendation probability P at point C 3,w (t=10)=0.15, the decayed fourth recommendation probability P at point E 4,w (t=10)=0.06, P 3,w (t=10)>P 4,w (t=10), the application icon recommendation area of the terminal device will prioritize displaying the icon of the third application.
[0260] like Figure 9 As shown, at t=22, P 4,w (t=22)=P end =0.001, P 3,w (t=22)=0.02. Understandably, the recommended duration for the fourth application is 20 minutes.
[0261] It can be seen that between 8:05 and 8:22, the probability of the third recommendation after decay is greater than that of the fourth recommendation after decay. The application icon recommendation area of the terminal device displays the icon of the third application and does not display the icon of the fourth application.
[0262] like Figure 9 As shown, between t=22 and t=40, the recommended application icon area on the terminal device displays the icon of the third application, and the fourth application is no longer displayed as a newly installed application in the reserved application icon display position. It can be understood that the recommended duration for the third application is 40 minutes.
[0263] It should be noted that the above embodiments are one possible implementation to solve the problem that the number of newly installed applications to be recommended exceeds the reserved application icon display space. This application embodiment can also determine the icons of newly installed applications displayed in the application icon recommendation area through other methods. For example, the terminal device can sort newly installed applications according to their popularity and display the icons of applications with higher popularity in the application icon recommendation area. For instance, popularity can be the amount of cloud data of newly installed applications obtained by the terminal device.
[0264] In this embodiment, when the number of newly installed applications to be recommended exceeds the reserved application icon display space, the terminal device can sort the recommended probabilities of each application after decay and display the icons of applications with high recommended probabilities after decay in the application icon recommendation area. This increases the probability that users will use the icons of the applications displayed in the reserved application icon display space, improving the accuracy and flexibility of the application recommendation method.
[0265] The internal interaction process of the terminal device in the embodiments of this application will be described below.
[0266] For example, such as Figure 3 As shown, the application layer of a terminal device may include a perception module, a desktop application, and an application recommendation module.
[0267] When the terminal device has finished installing the application, the application recommendation module can obtain the data of the installed applications from the perception module. The data of any installed application includes the application name, the time when the application was completed and the time when the application was first launched.
[0268] Specifically, when any application is installed on a terminal device, the sensing module can collect the installation completion time and the application's icon or symbol displayed on the terminal device's desktop. When the terminal device receives a click action from the user on the application's icon or symbol, the desktop application can send an application click event to the sensing module; the sensing module can collect the current time and the application's name. Thus, the sensing module obtains and stores the data of installed applications.
[0269] When the terminal device has finished installing the application, the application recommendation module can also receive cloud data related to the application from the cloud device; the cloud data can be the application's second probability, or the time from the application's installation to its first launch, or the time when the application was installed and the time when it was first launched.
[0270] In some embodiments, when the terminal device completes the installation of the application, it can obtain the current geographical location based on the GPS system and notify the application recommendation module of the geographical location; the application recommendation module receives cloud data related to the geographical location sent by the cloud device.
[0271] In some embodiments, when the terminal device completes the installation of the application, it can obtain the current time based on the clock application and notify the application recommendation module of the current time; the application recommendation module receives cloud data related to the current time sent by the cloud device.
[0272] After obtaining data on installed applications and cloud data, the application recommendation module can perform logical operations to determine whether to display the application's icon in the application icon recommendation area.
[0273] When the application recommendation module determines that the recommendation probability of an application is greater than or equal to a preset probability threshold, the application recommendation module can notify the desktop application to draw the application's icon in the application icon recommendation area.
[0274] Alternatively, when the application recommendation module determines that the recommendation probability of an application is less than a preset probability threshold, the application recommendation module can instruct the desktop application to draw the application's icon in other areas of the desktop where there is no application icon recommendation area.
[0275] The following combination Figure 10 The recommended method for the application in the embodiments of this application will be further described. For example... Figure 10 As shown:
[0276] S1001, The first application is completed after the terminal equipment is installed.
[0277] S1002, The terminal device obtains data of the installed applications.
[0278] S1003, The terminal device calculates the first probability and the second duration based on the data of the installed applications.
[0279] Steps S1001-S1003 can be referred to the relevant descriptions in steps S101-S102, and will not be repeated here.
[0280] Following step S1001, the method further includes:
[0281] S1004. Terminal devices obtain data from the cloud.
[0282] S1005. The terminal device calculates the second probability and the third duration based on cloud data.
[0283] Steps S1004-S1005 can be referred to the relevant descriptions in steps S201-S202, and will not be repeated here.
[0284] Following steps S1003 and S1005, the method further includes:
[0285] S1006. The terminal device calculates the weights, where the weights include: α n and β n .
[0286] S1007. The terminal device calculates the first recommendation probability and the recommendation duration of the first application based on the weights.
[0287] Steps S1006-S1007 can be referred to the relevant description in step S301, and will not be repeated here.
[0288] Following step S1007, the method further includes:
[0289] S1008. When the first recommendation probability is greater than or equal to a preset probability threshold, the terminal device displays the icon of the first application in the application icon recommendation area.
[0290] Alternatively, in S1009, when the first recommendation probability is less than a preset probability threshold, the terminal device does not display the icon of the first application in the application icon recommendation area.
[0291] In this embodiment, the terminal device can obtain a first recommendation probability of a first application based on data from installed applications and cloud data, and determine whether to display the icon of the first application in the application icon recommendation area based on the relationship between the first recommendation probability and a preset probability threshold. In this way, the terminal device can conveniently and quickly launch the first application based on its icon in the application icon recommendation area, improving the user experience.
[0292] Based on the above embodiments, this application provides a method for recommending applications. For example, Figure 11 This is a flowchart illustrating a method for recommending an application provided in an embodiment of this application.
[0293] like Figure 11 As shown, the recommended approach for this application may include the following steps:
[0294] S1101. At the first moment, the terminal device completes the installation of the first application.
[0295] The first application is a newly installed application on the terminal device. For example, the first application may correspond to... Figure 4 The music application shown in the 'a' section.
[0296] S1102. At the second moment, the terminal device completes the installation of the second application; wherein the first application is different from the second application, and the second moment is later than the first moment.
[0297] The second application is a newly installed application on the terminal device. For example, the second application may correspond to... Figure 5 The clipping application shown in the 'a' section.
[0298] It is understood that the time when the first application is installed and the time when the second application is installed can be the same or different; the time when the first application is installed can be before or after the time when the second application is installed. This application embodiment only illustrates the scenario where the second time is later than the first time. The second time can also be earlier than the first time, and this application embodiment does not limit this.
[0299] S1103. At the third moment, the terminal device displays the first interface, which displays an application icon recommendation area; the application icon recommendation area includes the icon of the first application but does not include the icon of the second application; the third moment is later than the second moment, and the interval between the third moment and the first moment does not exceed the first duration.
[0300] For example, the interface described in the embodiments of this application can be understood as a user interface (UI). The UI refers to the layout design of the software's human-computer interaction, operation logic, and aesthetic appearance.
[0301] The first interface can correspond to Figure 4 The interface shown in b is... Figure 4 The interface shown in b displays an application icon recommendation area 403; the icon of the first application can correspond to... Figure 4 The icon for the music application, 405, is shown in the interface shown in b.
[0302] The first interface can also correspond to Figure 5 The interface shown in b is... Figure 5 The interface shown in b displays an application icon recommendation area 503, which does not include the icons for editing applications.
[0303] S1104. At the fourth moment, the application icon recommendation area of the first interface does not include the icon of the first application, nor does it include the icon of the second application; the fourth moment is later than the third moment, and the interval between the fourth moment and the first moment exceeds the first duration.
[0304] The first interface can correspond to Figure 6 The interface shown in c is... Figure 6 The interface shown in c displays an application icon recommendation area 602; the application icon recommendation area 602 does not include icons for music applications or editing applications.
[0305] Based on this, terminal devices can display icons of newly installed applications in the application icon recommendation area. Users can use the application icons in the application icon recommendation area to quickly and conveniently launch newly installed applications, simplifying user operations and improving the user experience.
[0306] Optionally, the method further includes: at the fifth moment, the terminal device completes the installation of the third application; at the sixth moment, the terminal device displays a first interface, which displays an application icon recommendation area; wherein multiple application icon display positions in the application icon recommendation area all display application icons, and the application icon recommendation area includes the icon of the third application; the sixth moment is later than the fifth moment; at the seventh moment, the terminal device completes the installation of the fourth application; wherein the seventh moment is later than the sixth moment; at the eighth moment, the application icon recommendation area of the first interface includes the icon of the fourth application, but does not include the icon of the third application; the eighth moment is later than the seventh moment; at the ninth moment, the application icon recommendation area of the first interface includes the icon of the third application, but does not include the icon of the fourth application; wherein the ninth moment is later than the eighth moment, and the interval between the ninth moment and the fifth moment does not exceed the fourth duration.
[0307] The third application can correspond to Figure 8 The music application in the interface shown in b; at the sixth moment, the first interface can correspond to Figure 8 The interface shown in Figure c displays an application icon recommendation area 801. The icon of the third application corresponds to the icon of the music application 804; the icon of the fourth application corresponds to... Figure 8 The e-book application in the interface shown by d; at the eighth moment, the first interface can correspond to Figure 8 The interface shown in Figure 'e' displays an application icon recommendation area 801, where the icon of the fourth application corresponds to the icon 806 of the e-book application; at the ninth moment, the first interface corresponds to... Figure 8 The interface shown in f has an application icon recommendation area 801, and the icon of the third application can correspond to the icon 804 of the music application.
[0308] The recommended method for the application described in the embodiments of this application has been explained above. The apparatus for executing the recommended method for the application provided in the embodiments of this application will now be described. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced in each other, and the related apparatus provided in the embodiments of this application can execute the steps in the recommended method for the application described above.
[0309] like Figure 12 As shown, Figure 12 This is a schematic diagram of the structure of an application recommendation device provided in an embodiment of this application. The application recommendation device can be the terminal device in the embodiment of this application, or it can be a chip or chip system within the terminal device.
[0310] like Figure 12As shown, the application recommendation device 1200 can be used in communication devices, circuits, hardware components, or chips. The application recommendation device includes a display unit 1201 and a processing unit 1202. The display unit 1201 supports the display steps performed by the application recommendation device 1200; the processing unit 1202 supports the information processing steps performed by the application recommendation device 1200.
[0311] In a possible implementation, the application recommendation device 1200 may also include a communication unit 1203. Specifically, the communication unit supports the application recommendation device 1200 in performing data transmission and data reception steps. The communication unit 1203 may be an input or output interface, pins, or circuitry, etc.
[0312] In a possible embodiment, the application recommendation device may further include a storage unit 1204. The processing unit 1202 and the storage unit 1204 are connected via a line. The storage unit 1204 may include one or more memories, which may be devices in one or more devices or circuits used for storing programs or data. The storage unit 1204 may exist independently and be connected to the processing unit 1202 of the application recommendation device via a communication line. Alternatively, the storage unit 1204 may be integrated with the processing unit 1202.
[0313] Storage unit 1204 may store computer-executable instructions for the methods in the terminal device, so that processing unit 1202 executes the methods in the above embodiments. Storage unit 1204 may be a register, cache, or RAM, etc., and storage unit 1204 may be integrated with processing unit 1202. Storage unit 1204 may be a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, and storage unit 1204 may be independent of processing unit 1202.
[0314] The recommended application method provided in this application embodiment can be applied to electronic devices with communication functions. Electronic devices include terminal devices, and the specific device form of the terminal device can be referred to the above-mentioned descriptions, which will not be repeated here.
[0315] This application provides a terminal device, which includes a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the terminal device to perform the above-described method.
[0316] This application provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0317] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the methods described above. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0318] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, Digital Versatile Discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0319] This application provides a computer program product, which includes a computer program that, when run, causes a computer to perform the above-described method.
[0320] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0321] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A recommendation method for an application, applied to a terminal device, characterized in that, include: At the first moment, the terminal device completes the installation of the first application; At a second moment, the terminal device completes the installation of the second application; wherein the first application is different from the second application, and the second moment is later than the first moment; At the third moment, the terminal device displays a first interface, which displays an application icon recommendation area; the application icon recommendation area includes the icon of the first application but does not include the icon of the second application; the third moment is later than the second moment, and the interval between the third moment and the first moment does not exceed the first duration; At the fourth moment, the application icon recommendation area of the first interface does not include the icon of the first application, nor does it include the icon of the second application; the fourth moment is later than the third moment, and the interval between the fourth moment and the first moment exceeds the first duration; Before the terminal device displays the first interface, it also includes: The terminal device determines that the first recommendation probability of the first application is greater than or equal to a preset probability threshold, and the second recommendation probability of the second application is less than the preset probability threshold.
2. The method according to claim 1, characterized in that, Before the terminal device determines that the first recommendation probability of the first application is greater than or equal to a preset probability threshold, the process includes: The terminal device obtains the first recommended probability based on a first probability and / or a second probability; wherein, the first probability includes the probability that the terminal device will launch the installed application within a second duration, the second duration being related to the duration between the installation completion and the first launch of the installed application on the terminal device; the second probability includes the probability of launching the first application within a third duration based on cloud data, the third duration being related to the duration between the installation completion and the first launch of the first application in the cloud data.
3. The method according to claim 2, characterized in that, The first probability P u Satisfy the following formula: P u = M / N, where M and N are both natural numbers; Where M represents the number of applications installed on the terminal device whose time between installation and first launch is less than the second time duration; N represents the number of applications installed on the terminal device; and the second time duration t represents the number of applications installed on the terminal device. u Satisfy the following formula: t 1,i The duration from the completion of installation to the first startup of any installed application in the terminal device.
4. The method according to claim 3, characterized in that, The second probability P g Satisfy the following formula: P g = L / K, where L and K are both natural numbers; Where L is the number of cloud data entries whose duration from the completion of installation of the first application to its first launch is less than the third duration; K is the quantity of cloud data; and the third duration t is... g Satisfy the following formula: t 2,i For any given cloud data, the time from the completion of the installation of the first application to its first launch.
5. The method according to claim 4, characterized in that, The first recommendation probability P n Satisfy the following formula: P n =a n ×P u +b n ×P g Among them, α n and β n All are weights.
6. The method according to claim 5, characterized in that, The α n Satisfy the following formula: a n =a n-1 +λ u Among them, α n-1 The weight of the first probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device; λ u For α n-1 The penalty coefficient.
7. The method according to claim 6, characterized in that, The λ u Satisfy the following formula: Specifically, when the terminal device launches the previous application within the recommended duration of the previous application, y n-1 The value is 1, meaning that y is set to 1 when the terminal device does not launch the previous application within the recommended duration. n-1 The value of P is 0; u,n-1 The first probability corresponds to the previous application; when the recommendation probability of the previous application is greater than or equal to the preset probability threshold, The value is 1 when the recommendation probability of the previous application is less than the preset probability threshold. The value is 0; P is the probability parameter; threshold is the preset probability threshold.
8. The method according to claim 5, characterized in that, The β n Satisfy the following formula: b n =b n-1 +λ g Where, β n-1 The weight of the second probability corresponding to the previous application when calculating the recommendation probability of installing the previous application before installing the first application on the terminal device; λ g For β n-1 The penalty coefficient.
9. The method according to claim 8, characterized in that, The λ g Satisfy the following formula: Specifically, when the terminal device launches the previous application within the recommended duration of the previous application, y n-1 The value is 1, meaning that y is set to 1 when the terminal device does not launch the previous application within the recommended duration. n-1 The value of p is 0; g,n-1 The second probability corresponds to the previous application; when the recommendation probability of the previous application is greater than or equal to the preset probability threshold, The value is 1 when the recommendation probability of the previous application is less than the preset probability threshold. The value is 0; P is the probability parameter; threshold is the preset probability threshold.
10. The method according to any one of claims 1-9, characterized in that, Also includes: At the fifth moment, the terminal device completes the installation of the third application; At the sixth moment, the terminal device displays the first interface, which includes the application icon recommendation area; wherein, multiple application icon display positions in the application icon recommendation area all display application icons, and the application icon recommendation area includes the icon of the third application; the sixth moment is later than the fifth moment; At the seventh moment, the terminal device completes the installation of the fourth application; wherein the seventh moment is later than the sixth moment; At the eighth moment, the application icon recommendation area of the first interface includes the icon of the fourth application but does not include the icon of the third application; the eighth moment is later than the seventh moment. At the ninth moment, the application icon recommendation area of the first interface includes the icon of the third application but does not include the icon of the fourth application; wherein the ninth moment is later than the eighth moment, and the interval between the ninth moment and the fifth moment does not exceed the fourth duration.
11. The method according to claim 10, characterized in that, The third recommendation probability of the third application is greater than or equal to a preset probability threshold, and the fourth recommendation probability of the fourth application is greater than or equal to the preset probability threshold; the third recommendation probability gradually decreases as the third application is installed, and the fourth recommendation probability gradually decreases as the fourth application is installed. At the eighth time point, the decayed third recommendation probability is lower than the decayed fourth recommendation probability; At the ninth time point, the decayed third recommendation probability is higher than the decayed fourth recommendation probability.
12. The method according to claim 11, characterized in that, The third recommendation probability P after decay 3,w (t) satisfies the following formula: Where P0 is the preset attenuation coefficient; t 3,app Recommended duration for the third application; P 3,app The third recommendation probability is given; t is time; t 3,init The timing of installing the third application on the terminal device; P 3,end This is the default value.
13. The method according to claim 11, characterized in that, The fourth recommendation probability P after decay 4,w (t) satisfies the following formula: Where P0 is the preset attenuation coefficient; t 4,app Recommended duration for the fourth application; P 4,app The fourth recommendation probability is given; t is time; t 4,init The timing of installing the fourth application on the terminal device; P 4,end This is the default value.
14. A terminal device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the terminal device to perform the method as described in any one of claims 1-13.
15. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-13.
16. A computer program product, characterized in that, Includes a computer program that, when run, causes a computer to perform the method as described in any one of claims 1-13.
Citation Information
Patent Citations
Icon display method and device
CN113835568A
Application (APP) recommendation method and electronic equipment
CN115017400A