Application program starting method and device, storage medium and program product

By loading and displaying the application's ad page and home page in parallel, and realizing its linkage in the upper and lower hierarchy of the launch background page, the problem of insufficient linkage between ad pages and home pages in traditional applications is solved, and the user experience and advertising information transmission efficiency is improved .

CN119025181APending Publication Date: 2024-11-26BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411046224.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The lack of linkage between the advertising pages and home pages of traditional applications leads to inefficient transmission of advertising information and affects the user experience.

Method used

By loading the ad page and home page in parallel when the application starts and displaying it above and below the launch background page, as the ad page gradually hides, the home page gradually appears and switches the unhidden part to interactive Target elements to realize the coordinated display of the ad page and the home page.

Benefits of technology

It improves the linkage display effect of advertising pages and home pages, ensures that advertising information can be continuously and effectively transmitted to users, and reduces the problem of incoherence of page display during application startup.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025181A_ABST
    Figure CN119025181A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application program starting method and device, a storage medium and a program product. In the embodiment of the invention, the application program starting method is provided, the advertisement page of the application program is displayed on the upper layer of the home page, the advertisement page is gradually hidden, the home page is gradually displayed along with the gradual hiding of the advertisement page, and in the process of hiding the advertisement page, the advertisement page is gradually hidden. And switching the unhidden part into an interactive target element and displaying the interactive target element on the home page to realize linkage display of the advertisement page and the home page, so that the advertisement information in the advertisement page can be continuously and effectively transmitted to a user. Furthermore, the advertisement page and the home page are loaded in parallel, and the advertisement page and the home page are displayed above and below the starting background page respectively, so that the problem that page display is not coherent in the application program starting process is solved, and the linkage display effect of the advertisement page and the home page is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to an application startup method, device, storage medium and program product. Background Art

[0002] An application (APP) can display an ad page, which refers to a splash screen ad that is displayed when the user starts the application. This splash screen ad usually appears during the application startup process and can be displayed for a short period of time (usually a few seconds) before entering the homepage of the application. During the whole process, the advertising information included in the ad page is not efficiently transmitted to the user. Summary of the invention

[0003] Multiple aspects of the present application provide an application startup method, device, storage medium and program product for realizing the linked display of an advertising page and a home page, so that the advertising information in the advertising page can be continuously and effectively delivered to the user.

[0004] An embodiment of the present application provides an application startup method, comprising: in response to a startup event for a target application, loading and displaying a startup background page of the target application, the target application also including an advertisement page and a home page, and the advertisement page points to the target page; in the process of displaying the startup background page, loading the advertisement page and the home page in parallel, and displaying the advertisement page and the home page above and below the startup background page, respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page; in response to a closing trigger event for the advertisement page during the startup of the target application, closing the startup background page and gradually hiding the advertisement page, and as the advertisement page is gradually hidden, the home page is gradually revealed; in the process of the advertisement page being gradually hidden, switching the non-hidden part of the advertisement page to an interactive target element and displaying it on the home page, the target element pointing to the target page, so as to achieve the linkage display of the advertisement page and the home page.

[0005] An embodiment of the present application also provides an electronic device, comprising: a memory and a processor; the memory is used to store a computer program; the processor is coupled to the memory and is used to execute the computer program to implement each step in the application startup method provided in the embodiment of the present application.

[0006] The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements each step of the application startup method provided in the embodiment of the present application.

[0007] The embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor implements the steps in the application startup method provided in the embodiment of the present application.

[0008] In an embodiment of the present application, a method for starting an application is provided, wherein the application's advertising page is displayed on the upper layer of the home page, and the advertising page is gradually hidden. As the advertising page is gradually hidden, the home page is gradually revealed. In the process of hiding the advertising page, the non-hidden part is switched to an interactive target element and displayed on the home page, so as to realize the linkage display of the advertising page and the home page, so that the advertising information in the advertising page can be continuously and effectively delivered to the user. Furthermore, the advertising page and the home page are loaded in parallel, and the advertising page and the home page are displayed above and below the startup background page respectively, so as to reduce the problem of incoherent page display during the application startup process and improve the linkage display effect of the advertising page and the home page. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0010] Figure 1a to Figure 1c A schematic diagram of realizing linkage between an advertisement page and a home page based on a shared element provided by an exemplary embodiment of the present application;

[0011] Figure 2 A flowchart of a method for starting an application program provided by an exemplary embodiment of the present application;

[0012] Figure 3a A schematic diagram of a startup background page provided for an exemplary embodiment of the present application;

[0013] Figure 3b A schematic diagram of an advertising page provided for an exemplary embodiment of the present application;

[0014] Figure 3c and Figure 3d A schematic diagram of an exemplary embodiment of the present application providing an advertisement page that is gradually hidden and a home page that is gradually revealed;

[0015] Figure 3e A schematic diagram of a home page provided for an exemplary embodiment of the present application;

[0016] Figure 4a A schematic diagram of an application startup process provided for an exemplary embodiment of the present application;

[0017] Figure 4b A schematic diagram of another application startup process provided for an exemplary embodiment of the present application;

[0018] Figure 5 A schematic diagram of the structure of an application startup device provided for an exemplary embodiment of the present application;

[0019] Figure 6 A schematic structural diagram of an electronic device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0021] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0022] The advertising page of traditional applications often exists independently of the home page. After the advertisement is closed, the advertising information on the advertising page cannot be effectively transmitted and linked with the home page content, which reduces the delivery effect of the advertisement and affects the user experience.

[0023] In this embodiment X, a method for launching an application based on shared elements is provided, which can realize the linkage between the advertising page and the home page. Among them, the shared element is a design technology in the operating system of the terminal device (such as Android) that is specifically used to create transition animations. The main purpose is to create a continuous visual experience for users when switching between pages and provide a more natural user interface transition. In the operating system of the terminal device, when two application pages are switched, the shared elements of the two application pages can be set. The position and appearance of the shared elements in the two pages can be different. The application can automatically create a transition animation for it, so that the user feels that the shared element is "moved" from one application page to another application page, rather than suddenly disappearing and then suddenly reappearing. The use of shared elements can greatly improve the user experience.

[0024] For example, in a picture browsing application (App), a user can click a thumbnail on the thumbnail list page to enter the detail page corresponding to the thumbnail. During the whole process, the thumbnail clicked by the user can be set as a shared element. During the transition from the thumbnail list page to the detail page, the user can see the process of the thumbnail "expanding" and "moving" from the list to the detail page, instead of suddenly seeing a brand new detail page.

[0025] In terms of technical implementation, the operating system of the terminal device can set and use shared elements through the set application programming interface (API). For example, in the Android system, you can use the setSharedElementReturnTransition interface and the setSharedElementEnterTransition interface to set the shared element transition animation behavior, and you can also customize the animation effect according to user needs.

[0026] In this embodiment, the application includes a startup page and a home page, the startup page includes an advertisement page, and the home page includes a home page, wherein the startup page and the home page are implemented through different activity components, and the advertisement page and the home page are implemented through different fragment components, wherein the activity component A1 corresponding to the startup page includes the fragment component B1 corresponding to the advertisement page, and the activity component A2 corresponding to the home page includes the fragment component B2 corresponding to the home page. Based on the element sharing principle when the activity component or the fragment component is switched, a seamless transition from the advertisement page to the home page can be achieved, providing users with a better visual experience.

[0027] The specific steps are as follows:

[0028] 1. Define the element displayed on the ad page (such as a product image) as a shared element.

[0029] 2. After the ad page is played, it closes automatically, starts the home page, and provides the view information of the shared element to the home page. The view information at least includes: view ID or view snapshot, etc. For example, the ad page can provide the view information to the startup page, which provides it to the home page, and the home page provides the view information to the home page. That is, the transmission path of the view information is: fragment component B1—>activity component A1—>activity component A2—>fragment component B2; for another example, the ad page can directly provide the view information to the home page, and the transmission path is: fragment component B1—>fragment component B2.

[0030] 3. The home page receives the view information when it is started, and after the home page is loaded, the shared element is displayed on the home page through animation technology.

[0031] 4. At the same time, other elements on the homepage (such as product introduction, recommended content, etc.) are updated according to the information of the shared elements to display content related to the shared elements.

[0032] In this way, the shared element establishes a visual connection between the ad page and the home page, allowing the shared element to be continuously and effectively delivered to users. Figure 1a to Figure 1c As shown, a schematic diagram of an application startup process is provided, wherein an advertisement page is used as a shared element, and when the advertisement page is switched to the home page, the advertisement page is continuously reduced to a set position of the home page.

[0033] The use of shared elements requires the following conditions to be met:

[0034] (1) The page theme of the application needs to be set to a specified format in order to see the shared element effect, which has a certain degree of constraints in use; for example, the specified format is Theme.AppCompat, which is a compatibility theme that enables developers to use the functions and designs of the new version on the old version of the operating system.

[0035] (2) Because shared elements were introduced in Android 5.0, they must be run on Android 5.0 and above. Running on versions lower than 5.0 will result in an error, indicating version compatibility issues.

[0036] (3) When jumping from an ad page to the home page, if the home page content requires a network request to load, it may cause a delay in the display of the home page content. This may affect the transition effect of the shared element, resulting in an unsatisfactory final effect.

[0037] In response to the above-mentioned problems existing in the application startup method based on shared elements, in an embodiment of the present application, a method for starting an application is provided, which displays the advertising page of the application on the upper layer of the homepage and gradually hides the advertising page. As the advertising page is gradually hidden, the homepage is gradually revealed. In the process of hiding the advertising page, the non-hidden part is switched to an interactive target element and displayed on the homepage to achieve the linkage display of the advertising page and the homepage, so that the advertising information in the advertising page can be continuously and effectively delivered to the user, without being restricted by the compatibility issues of the page theme and operating system version required by the shared elements.

[0038] Furthermore, the advertisement page and the home page are loaded in parallel and displayed above and below the startup background page respectively, which reduces the delay in loading the home page, reduces the problem of discontinuous page display during the application startup process, and improves the linkage display effect of the advertisement page and the home page.

[0039] A solution provided by an embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0040] Figure 2A flowchart of a method for starting an application program provided by an exemplary embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:

[0041] 201. In response to a start event for a target application, a start background page of the target application is loaded and displayed. The target application also includes an advertisement page and a home page. The advertisement page points to the target page.

[0042] 202. During display of the startup background page, the advertisement page and the home page are loaded in parallel, and the advertisement page and the home page are displayed above and below the startup background page, respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page;

[0043] 203. In response to a closing trigger event for the advertisement page during the start-up process of the target application, the start-up background page is closed and the advertisement page is gradually hidden. As the advertisement page is gradually hidden, the home page is gradually revealed.

[0044] 204. When the advertisement page is gradually hidden, the non-hidden part of the advertisement page is switched to an interactive target element and displayed on the home page. The target element points to the target page to realize the linkage display of the advertisement page and the home page.

[0045] In this embodiment, the application startup method provided in the embodiment of the present application can be used for any application. For the sake of distinction and description, the subsequent description is taken as an example of the target application, but it is not limited to this. The target application may include but is not limited to: rental applications, video applications, social applications, game applications, and recruitment applications. The target application can be an application on a terminal device or a mini-program. The target application can be deployed on a terminal device, and the operating system of the terminal device can include but is not limited to: Android system, IOS system, Windows system, etc. The terminal device can include but is not limited to: smart phones, desktop computers, laptops, and tablet computers.

[0046] In this embodiment, the start event for the target application is not limited. All events that can start the target application are used in the embodiments of this application. For example, the start event can be a user operation in which the user clicks on the application icon corresponding to the target application. For another example, the start event can be an event initiated by the intelligent assistant of the terminal device to start the target application, wherein the intelligent assistant can receive the user's instruction to turn on the target application and initiate an event to start the target application, or the user can set the time point or delay time for starting the target application through the intelligent assistant, and when the time point arrives or the delay time arrives, the intelligent assistant automatically initiates an event to start the target application. For another example, a power-on start event for the target application can be set in the system in advance, and when the terminal device is turned on, the system automatically initiates a start event for the target application.

[0047] In this embodiment, the terminal device can load and display the startup background page of the target application in response to a startup event for the target application. The implementation method of loading and displaying the startup background page of the target application is not limited. For example, in response to a startup event for the target application, the terminal device can display a user interface (User Interface, UI) through a launch window (Launch Window), and the user interface can also be called a startup background page. The background color of the startup background page can be the background color defined in the theme of the terminal device. For example, when the theme of the terminal device is a light theme, the background color is black, and when the theme of the terminal device is a dark theme, the background color is white. In addition, a startup background image can be added to the startup background page, and the startup background image can include description information of the target application. For example, the description information can include but is not limited to: icons, trademarks (logos), names, slogans, and functions of the target application. Among them, the developer of the target application can pre-define the background properties of the startup window (window Background) in the theme of the target application, and specify a customized startup background image for the startup background page. For Figure 2 The method shown, Figure 3a A startup background page is provided by way of example, which is illustrated using a light-colored theme as an example. The startup background page includes a startup background image, which includes but is not limited to: brand logo information, "looking for a job and a house", "looking for life services", "individual landlord", "virtual reality (VR) house viewing", "helping people live and work in peace and contentment", "no agency fees", "no deposit required", "second-hand cars" and "housekeeping services", etc.

[0048] In this embodiment, the target application includes an advertising page and a home page in addition to a startup background page. Among them, the advertising page during the startup process of the target application is usually called a "startup screen advertisement" or a "splash screen advertisement". This type of advertising page is displayed when the user opens the target application. The purpose is to display the page while the user is waiting for the target application (such as the home page) to load. The home page usually contains the main functions and navigation elements of the target application so that the user can quickly understand and access the various functions of the target application. The following is an exemplary description of the implementation method of displaying the startup background page, the advertising page, and the home page.

[0049] In one embodiment Y, the advertising information is displayed on the startup background page. In response to the startup event for the target application, the startup background page and the home page are loaded and displayed. For example, the startup background page is loaded through the startup window, and the home page is loaded through the main activity component (Activity). Among them, in the process of displaying the startup background page, advertising information can be displayed. The startup background page and the home page are loaded in parallel. It should be noted that parallel loading expresses non-serial, and does not mean that the startup background page is loaded first and then the home page is loaded. For example, the startup background page and the home page are loaded through different threads. As for whether to start loading the startup background page and the home page at the same time, there is no limitation. For example, the startup background page and the home page can be loaded at the same time in response to the startup event for the target application. Usually, the startup background page is located locally in the terminal and can be displayed first. It takes a certain amount of time to load and initialize the home page. During this process, the startup background image can be continuously displayed to provide a temporary visual feedback to the user to avoid the appearance of a white screen or a black screen. When the home page is loaded, the startup background image is switched to the home page, and advertisements can be displayed seamlessly during the application startup process to improve the user experience, and this time can be used for brand promotion or advertising display. For another example, in response to a startup event for a target application, the startup background page is loaded and displayed, and the home page is loaded after a set time interval. For example, the set time can be 10ms, 50ms or 1s, etc. When the home page is loaded, the startup background image is switched to the home page.

[0050] However, for implementation mode Y, during the startup of the target application, the startup background page is first displayed, and the startup background page includes advertising information, that is, the startup background page and the advertising page are the same page. When the home page is loaded, the startup background page is switched to the home page. There are the following problems: 1) If the loading and initialization process of the home page is very fast, the startup background page will be displayed for a short time, and the user may not even be able to see the startup background page. At this time, the advertising information included in the startup background page will not be displayed, and the expected effect cannot be achieved; 2) The startup background page does not support video format, and advertising information in video format cannot be embedded in the startup background page.

[0051] In view of the problems existing in the above implementation mode Y, in this embodiment, the following method Z is provided, and the specific steps are as follows:

[0052] 1. Create a new activity component (Launch Activity), also known as a startup component, for the target application. Load the advertisement page through the activity component so that the advertisement page and the startup background page are independent of each other.

[0053] 2. Setting a startup advertisement image or advertisement video in the layout file of the startup component. The advertisement information is no longer embedded in the startup background page, but an advertisement page is set in the startup component, and the advertisement page may include an advertisement image or advertisement video.

[0054] 3. Set a delayed task in the startup component. The time point when the delayed task starts to execute can be the time point when the advertisement page starts to be displayed, or the time point when the advertisement page starts to be loaded. There is no limitation on this. The delayed task means to execute the set operation after the specified time. The set operation is to start the main activity component corresponding to the homepage and end the startup component, that is, close the advertisement page and display the homepage. For example, the delayed task can be set in the onCreate() method in the startup component. Specifically, the postDelayed() method in the Handler class can be used in the onCreate() method to set the delayed task.

[0055] Among them, the onCreate() method is called by the system when the Activity or Fragment is created. It is the beginning of the life cycle of the Activity or Fragment. The onCreate() method is mainly used to initialize the state of the Activity or Fragment, such as loading the layout, initializing variables, and binding services. The Handler class is an important tool for inter-thread communication and processing asynchronous messages, and is mainly responsible for sending and processing messages. The postDelayed() method is a method that performs a set operation after a delay.

[0056] 4. In the configuration file of the target application, set the startup mode of the main activity component to single task mode to prevent repeated creation of the main activity component. The configuration file of the target application can describe the basic properties of the target application, such as the package name, version information, required permissions, components used, and metadata of the target application. For example, the configuration file can include an Android configuration file (AndroidManifest.xml), etc. The single task mode can include but is not limited to: single task stack mode (singleTask) or stack top reuse mode (singleTop), etc.

[0057] In this embodiment, during the process of starting the target application, the startup background page can be displayed first, and then the advertisement page can be displayed through the startup component, and the delay task can be executed. When the delay time arrives, the main activity component can be automatically started, the home page can be displayed, and the startup component can be terminated at the same time, so as to realize the timed display of the advertisement page. Among them, the advertisement page is realized by the fragment component included in the startup component, and the home page is realized by the fragment component included in the main activity component. Figure 4aAs shown, the startup process of the target application includes: displaying the startup background page, running the startup component and running the main activity component, wherein the startup component includes a fragment component corresponding to the startup default page and a fragment component corresponding to the advertisement page, and the startup default page and the advertisement page are respectively started by their corresponding fragment components, and the main activity component includes a fragment component corresponding to the homepage, and the homepage is started by the fragment component. Figure 4a ① to ④ are executed in sequence. ① means loading and displaying the startup background page, ② means loading and displaying the startup default page, ③ means loading and displaying the advertisement page, and ④ means loading and displaying the home page.

[0058] There is a problem with the above method, that is, after displaying the advertising page, executing the delayed task and loading the home page with the set delay time may cause a delay in the display of the home page, affecting the linkage effect between the advertising page and the home page.

[0059] exist Figure 2 In the illustrated method embodiment, the startup background page, the advertisement page and the home page are independent of each other. In the process of displaying the startup background page, the advertisement page and the home page are loaded in parallel, and the advertisement page and the home page are displayed above and below the startup background page, respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page. Among them, parallel loading means non-serial, which does not mean that the startup background page is loaded first and then the home page is loaded. For example, the startup background page and the home page are loaded through different threads. As to whether to start loading the startup background page and the home page at the same time, there is no limitation. For example, the startup background page and the home page can be loaded at the same time, or they can be loaded with a set time difference. For example, the startup background page is loaded first, and then the home page is loaded after an interval of 10ms, or the home page is loaded first, and then the startup background page is loaded after an interval of 5ms.

[0060] Among them, in the process of starting the background page, the home page is loaded directly below the advertisement page, which may cause inconsistent page display. For example, the startup background is displayed first, the home page is loaded successfully first, and then the advertisement page is loaded successfully, and the advertisement page is displayed above the home page. After the advertisement page is displayed, the home page is displayed. That is, in the process of starting the target application, the page display order may be: startup background page -> home page -> advertisement page -> home page, resulting in inconsistent page display. In this embodiment, the startup background page is displayed in the lower layer of the advertisement page, and the startup background page is displayed in the upper layer of the home page. No matter which of the advertisement page and the home page is loaded successfully first, a relatively consistent display screen is generated, that is, startup background page -> advertisement page -> home page.

[0061] In this embodiment, in response to a closing trigger event for an advertisement page during the startup of a target application, the startup background page is closed and the advertisement page is gradually hidden. As the advertisement page is gradually hidden, the home page is gradually revealed.

[0062] Among them, the closing trigger event is not limited. For example, it can be a closing trigger event initiated by a user operation, an application event, or a system event. There is no limitation on this.

[0063] The method of gradually hiding the advertisement page is not limited. The advertisement page can be gradually hidden by turning off the animation. For example, the advertisement page can be gradually hidden from the upper left corner to the lower right corner, or from the edge of the page to the center of the page, or can be gradually hidden by rotating, which is not limited.

[0064] In the process of gradually hiding the advertisement page, the home page is gradually revealed as the advertisement page is gradually hidden. For example, the home page is gradually revealed in the manner in which the advertisement page is gradually hidden. For example, the advertisement page is gradually hidden from the upper left corner to the lower right corner, and the home page is gradually revealed from the upper left corner to the lower right corner. For another example, the advertisement page is gradually hidden from the edge of the page to the center of the page, and the home page is gradually revealed from the edge of the page to the center of the page.

[0065] When the advertisement page is gradually hidden, the non-hidden part of the advertisement page is switched to an interactive target element, and the target element is displayed on the home page. The target element points to the target page, so as to realize the linkage display of the advertisement page and the home page. The advertisement page points to the target page. For example, the target page can be the details page of the advertisement page. In terms of implementation, the target page can be an application page in the target application, an application page of a third-party application, or a web page, and there is no limitation on this.

[0066] Among them, the target element is interactive means that user operations can be performed on the target element, for example, in response to the first user operation on the target element, jumping from the home page to the target page; the first user operation includes but is not limited to: single click, double click, slide or long press, etc. For another example, the target element also includes a close control, and in response to the second user operation on the close control, the target element can no longer be displayed, that is, the target element is closed. Among them, the second user operation may include but is not limited to: single click, double click, long press and slide, etc. For another example, the user initiates a third user operation of clicking and dragging the target element, and the terminal device can respond to the third user operation and move the position of the target element along the user's sliding trajectory.

[0067] like Figures 3a to 3e As shown, a schematic diagram of a target application startup process is provided as an example. Figure 3a An example of a startup background page is shown. Figure 3b An example of an advertisement page is shown. Figure 3c to Figure 3d A schematic diagram showing an example of an advertisement page gradually hiding and a home page gradually appearing. Figure 3e The figure is a schematic diagram showing an exemplary home page.

[0068] In an embodiment of the present application, a method for starting an application is provided, wherein the application's advertising page is displayed on the upper layer of the home page, and the advertising page is gradually hidden. As the advertising page is gradually hidden, the home page is gradually revealed. In the process of hiding the advertising page, the non-hidden part is switched to an interactive target element and displayed on the home page, so as to realize the linkage display of the advertising page and the home page, so that the advertising information in the advertising page can be continuously and effectively delivered to the user. Furthermore, the advertising page and the home page are loaded in parallel, and the advertising page and the home page are displayed above and below the startup background page respectively, so as to reduce the problem of incoherent page display during the application startup process and improve the linkage display effect of the advertising page and the home page.

[0069] In an optional embodiment, the implementation method of gradually hiding the advertisement page and switching the non-hidden part to an interactive target element and displaying it on the homepage is not limited.

[0070] For example, the closing animation of the advertising page can be customized, and the closing animation is used to gradually hide the advertising page and switch the non-hidden part to the target element. Among them, in the process of closing the advertising page, any closing animation that can guide the user to the interactive target element is applicable to the embodiment of the present application. For example, the first area of ​​the target element on the homepage is predetermined, and the second area that is last hidden on the advertising page is determined according to the first area of ​​the target element, for example, the first area and the second area are the same, or the first area covers the second area, or the first area is located within the second area; through the set hiding method (such as closing animation), other areas in the advertising page except the first area are hidden; the first area is switched to the target element.

[0071] For another example, the attribute information of the target element associated with the homepage is obtained, and the attribute information includes at least the shape information and position information of the outer contour of the target element; the hidden contour of the advertisement page is determined according to the shape information of the outer contour, for example, if the outer contour is a square, the hidden contour is a square; if the outer contour is an irregular shape, the hidden contour is a circle; according to the hidden contour, the advertisement page is gradually hidden toward the position information of the outer contour until the outer contour of the unhidden part matches the outer contour of the target element. When the outer contour of the unhidden part matches the outer contour of the target element, the unhidden part of the advertisement page is switched to an interactive target element and displayed on the homepage.

[0072] Among them, the hidden outline means that the advertising page gradually shrinks or disappears along the outline. The shape information of the outer contour of the target element is not limited, for example, it can be a circle, square, star or irregular shape, etc. The position information of the target element is also not limited, and the target element can be located at any position on the homepage, for example, above, below, left or right, etc. There are many ways to adapt the outer contour of the unhidden part to the outer contour of the target element, for example, the outer contour of the unhidden part coincides with the outer contour of the target element, for example, the outer contour of the unhidden part covers the outer contour of the target element, and for example, the outer contour of the unhidden part is located inside the outer contour of the target element.

[0073] In an optional embodiment, the implementation method of the target element is not limited. For example, the target element can be implemented as a floating component, a pop-up component, or a drawer component on the homepage; the target element includes visual information, and the visual information is adapted to the advertising information of the advertising page. For example, the visual information of the target element is the same as the advertising information. For another example, the visual information of the target element is part of the advertising information. For example, the advertising information includes text and icons, and the target element can be a keyword in the text and a thumbnail of the icon. For example, the text in the advertising information is "Only talk to the landlord about renting a house", and the icon is a cartoon character. The target element can be implemented as a combination of text and icon, with the text being "Direct rental from the landlord" and the icon being a thumbnail of the cartoon character, such as Figure 3e shown.

[0074] In an optional embodiment, the implementation method of closing the startup background page in response to a closing trigger event for the advertisement page during the startup of the target application is not limited.

[0075] Example E1: The advertisement page includes a second close control, and in response to a third user operation on the second close control during the target application startup process, the startup background page is closed. The third user operation may include but is not limited to: single click, double click, slide, and long press, etc. Figure 3b and Figure 3c In the figure, the second control is illustrated as a "click to jump to the details page or third-party application" control as an example, but it is not limited to this.

[0076] Example E2, during the startup of the target application, in response to the end event of the delayed task corresponding to the advertising page, the startup background page is closed. The time point when the delayed task starts to execute can be the time point when the advertising page starts to be displayed, or the time point when the advertising page starts to be loaded. The delayed task means that the set operation is performed after a set delay time from the start time point, and the set time can include but is not limited to: 2s, 3s, 4s or 5s, etc. The set operation at least includes closing the startup background page and gradually closing the advertising page. As the advertising page is closed, the home page gradually appears.

[0077] In an optional embodiment, the advertisement page further includes a jump control, and the jump control points to the target page; when the advertisement page is gradually hidden, and the jump control is not hidden, in response to a third user operation on the jump control, the page jumps from the advertisement page to the target page. In the process of displaying the advertisement page, that is, before the advertisement page is hidden, in response to a third user operation on the jump control, the page jumps from the advertisement page to the target page. Figure 3b The jump control is implemented as "skip advertisement" as an example, but is not limited to this.

[0078] In an optional embodiment, the target application includes a startup homepage, the startup homepage includes at least the homepage, and the startup homepage maintains an advertisement field, the advertisement field is used to indicate whether the startup homepage includes an advertisement page, when the advertisement field is a first value, it indicates that the startup homepage includes an advertisement page, and when the advertisement field is a second value, it indicates that the startup homepage does not include an advertisement page; wherein the first value may be true, the second value may be false, or the first value may be 1, the second value may be 0, and there is no limitation on this. In the process of displaying the startup background page, the advertisement page and the homepage are loaded in parallel, including: when the value of the advertisement field is the first value, in the process of displaying the startup background page, the advertisement page and the homepage are loaded in parallel.

[0079] Optionally, when the value of the advertisement field is the second value, during the process of displaying the startup background page, the home page is loaded and the advertisement page is no longer loaded. When the home page is loaded successfully, the home page is displayed.

[0080] In an optional embodiment, the home page is returned to the startup activity component, and the dynamic page loading capability of the fragment component is utilized to comprehensively coordinate the home page and the advertising page as sub-pages, so that the advertising page and the home page can be loaded in parallel, thereby solving the problem of the advertising page and the home page linkage animation being paused due to network loading and other reasons.

[0081] Specifically, the target application includes a startup homepage, which includes a homepage and an advertisement page; the advertisement page and the homepage are displayed above and below the startup background page respectively, including: using the startup background page as the background of the advertisement page; using the advertisement page and the homepage as management objects of the fragment manager, and using the fragment manager to add the advertisement page and the homepage to the task stack corresponding to the homepage in the order of the advertisement page on top and the homepage on the bottom, wherein the advertisement page is displayed as the top element of the stack.

[0082] The startup background page is a system page, and the application page can reference the system page as the background. For example, when the advertisement page does not reference the startup background page, the layout information of the advertisement page can be set, such as the width and length of the advertisement page. When the advertisement page references the startup background page, in addition to setting the layout information of the advertisement page, the background information of the advertisement page can also be set, that is, the background information is set as the startup background page.

[0083] In an optional embodiment, in response to a closing trigger event for an advertisement page during the target application startup process, the implementation method of closing the startup background page is not limited, and an exemplary description is given below. In response to a closing trigger event for an advertisement page during the target application startup process, the background of the advertisement page is set from the startup background page to transparent.

[0084] In an optional embodiment, a specific implementation method of switching the non-hidden portion of an advertising page to an interactive target element and displaying it on the home page includes: when the outer contour of the non-hidden portion of the advertising page is adapted to the outer contour of the target element associated with the home page, removing the advertising page from the task stack to display the home page; switching the non-hidden portion to an interactive target element.

[0085] Among them, Figure 4b As shown in the figure, the home page corresponds to the main activity component (Launch Activity). The fragment manager (FragmentManager) can manage multiple fragment components. Among them, the advertising page and the home page can be implemented through fragment components, that is, the fragment manager can manage the advertising page and the home page as management objects. For example, the fragment manager can load the advertising page and the home page in parallel through different fragment components. Among them, the fragment manager is not shown in Figure 4b In addition to the advertisement page and the home page, the home page also includes a startup default page, which is the default page included in the main activity component and is generally a transparent page.

[0086] Among them, the main activity component corresponds to a task stack, which can push the startup default page, advertising page and home page into the stack, and the element at the top of the stack is displayed on the page. Among them, if the home page is placed below the advertising page, the home page needs to be pushed into the stack first, and the advertising page needs to be pushed into the stack later. This poses a problem, that is, when the home page is pushed into the stack but the advertising page is not, the home page is at the top of the stack. At this time, the home page is displayed before the advertising page, which is not what the user wants to see. Therefore, in the order of the startup default page, home page and advertising page from bottom to top, the startup default page, home page and advertising page are added as a whole to the task stack corresponding to the main activity component. At this time, the advertising page is displayed as the top element of the stack. After the advertising page is displayed, the advertising page is popped out of the stack, and the home page is displayed at the top of the stack.

[0087] Among them, Figure 4bIn the figure, ① indicates displaying the startup background page, and then the startup default page, home page, and advertisement page are stacked in the order from bottom to top. ② indicates displaying the advertisement page, and ③ indicates displaying the home page. After the home page is displayed, the startup is completed.

[0088] It should be noted that Figure 4b Relative to Figure 4a The advantages of the provided method are: Figure 4a In , the ad page belongs to the startup component, and the home page belongs to the main activity component. The ad page and the home page belong to different activity components. Therefore, the home page needs to be loaded after the ad page is displayed. The slow loading speed of the home page caused by network problems may cause poor linkage between the ad page and the home page. Figure 4b The method shown no longer uses the startup component, but implements the advertising page and the home page in the main activity component through the fragment component. Combined with the dynamic loading capability of the fragment component, the advertising page and the home page are comprehensively coordinated as sub-pages of the home page, and the synchronous and parallel loading of the advertising page and the home page is achieved, thereby solving the problem of slow loading of the home page due to network loading and other reasons, which causes the advertising page and the home page linkage animation to pause, thereby improving the user experience and advertising display effect.

[0089] The core of the embodiment of the present application is to achieve the effect of process integration by using a fragment manager to uniformly manage the advertising page and the home page. The feature of the fragment manager that can load multiple fragment components at the same time is used to achieve the synchronous loading of the advertising page and the home page during the process of starting the target application, and the advertising page is displayed first. At the same time, the background of the advertising page directly uses the startup background page. This clever design realizes a seamless connection from the startup background page to the advertisement.

[0090] It should be noted that the user operations provided in the above embodiments of the present application can be issued through a human-machine interface provided by a terminal device, and the human-machine interface may include: a command line interface (CLI), a graphical user interface (GUI), a text user interface (TUI), a voice user interface (VUI), a touch user interface (Touch UI), a gesture user interface (Gestural UI), a keyboard and mouse interface, a natural language processing (NLP) interface, a sensor and biometric interface, and at least one of a hardware controller.

[0091] Regarding the embodiments of the present application Figure 2 The detailed implementation and beneficial effects of each step in the method have been described in detail in the aforementioned embodiments and will not be elaborated here.

[0092] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 201 to 203 can be device A; for another example, the execution subject of steps 201 and 202 can be device A, and the execution subject of step 203 can be device B; and so on.

[0093] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0094] Figure 5 A schematic diagram of a structure of an application startup device provided by an exemplary embodiment of the present application is shown in FIG. Figure 5 As shown, the device includes: a processing module 51, a closing module 52, a hiding module 53, and a switching module 54.

[0095] A processing module, for responding to a startup event for a target application, loading and displaying a startup background page of the target application, wherein the target application also includes an advertisement page and a home page, and the advertisement page points to the target page;

[0096] A processing module, used for loading the advertisement page and the home page in parallel during the display of the startup background page, and displaying the advertisement page and the home page above and below the startup background page respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page;

[0097] A closing module, used for closing the startup background page in response to a closing trigger event for the advertisement page during the startup process of the target application;

[0098] The hiding module is used to gradually hide the advertisement page. As the advertisement page gradually hides, the home page gradually appears.

[0099] The switching module is used to switch the non-hidden part of the advertising page to an interactive target element and display it on the home page as the advertising page is gradually hidden. The target element points to the target page to achieve the linkage display of the advertising page and the home page.

[0100] In an optional embodiment, the hiding module is specifically used to: obtain attribute information of the target element associated with the homepage, the attribute information at least including shape information and position information of the outer contour of the target element; determine the hidden contour of the advertising page based on the shape information of the outer contour; and gradually hide the advertising page toward the outer contour position information of the target element according to the hidden contour until the outer contour of the unhidden part matches the outer contour of the target element.

[0101] In an optional embodiment, the target element is implemented as a floating component, a pop-up component, or a drawer component; the visual information of the target element is adapted to the advertisement information contained in the advertisement page.

[0102] In an optional embodiment, the device also includes a jump module; the adjustment module is used to jump from the home page to the target page in response to a first user operation on the target element; or, the target element includes a first close control, and the close module is also used to close the target element in response to a second user operation on the close control.

[0103] In an optional embodiment, the closing module is specifically used for: the advertising page includes a second closing control, and the startup background page is closed in response to the user operation on the second closing control during the startup of the target application; or, during the startup of the target application, the startup background page is closed in response to the end event of the delayed task corresponding to the advertising page.

[0104] In an optional embodiment, the advertising page includes a jump control, which points to the target page; the jump module is also used to: when the advertising page is hidden and the jump control is not hidden, in response to a third user operation on the jump control, jump from the advertising page to the target page.

[0105] In an optional embodiment, the target application includes a startup homepage, the startup homepage includes at least the homepage, and the startup homepage maintains an advertisement field, the advertisement field is used to indicate whether the startup homepage contains an advertisement page, when the advertisement field is a first value, it indicates that the startup homepage includes the advertisement page, and when the advertisement field is a second value, it indicates that the startup homepage does not include the advertisement page; the processing module is specifically used to: when the value of the advertisement field is the first value, in the process of displaying the startup background page, load the advertisement page and the homepage in parallel.

[0106] In an optional embodiment, the processing module is further used for: when the value of the advertisement field is the second value, loading the home page during displaying the startup background page, and displaying the home page when the home page is loaded successfully.

[0107] In an optional embodiment, the target application includes a home page, and the home page includes a home page and an advertising page; the processing module is specifically used to: use the startup background page as the background of the advertising page; use the advertising page and the home page as management objects of the fragment manager, and use the fragment manager to add the advertising page and the home page to the task stack corresponding to the home page in the order of the advertising page on top and the home page on the bottom, wherein the advertising page is displayed as the top element of the stack.

[0108] Optionally, the closing module is specifically configured to: in response to a closing trigger event for the advertisement page during the startup of the target application, set the background of the advertisement page from the startup background page to transparent.

[0109] Optionally, the switching module is specifically used to: when the outer contour of the unhidden part of the advertising page matches the outer contour of the target element associated with the homepage, move the advertising page out of the task stack to display the homepage; and switch the unhidden part to an interactive target element.

[0110] Regarding the embodiments of the present application Figure 5 The detailed implementation and beneficial effects of each step in the illustrated device have been described in detail in the aforementioned embodiments and will not be elaborated on here.

[0111] Figure 6 A schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application is shown in FIG. Figure 6 As shown, the device includes: a memory 64 and a processor 65.

[0112] The memory 64 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method used to operate on the electronic device.

[0113] The processor 65 is coupled to the memory 64 and is used to execute the computer program in the memory 64, so as to: in response to a startup event for a target application, load and display a startup background page of the target application, the target application also including an advertisement page and a home page, and the advertisement page points to the target page; in the process of displaying the startup background page, load the advertisement page and the home page in parallel, and display the advertisement page and the home page above and below the startup background page respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page; in response to a closing trigger event for the advertisement page during the startup of the target application, close the startup background page and gradually hide the advertisement page, and as the advertisement page is gradually hidden, the home page is gradually revealed; in the process of the advertisement page being gradually hidden, switch the unhidden part of the advertisement page to an interactive target element and display it on the home page, and the target element points to the target page, so as to realize the linkage display of the advertisement page and the home page.

[0114] In an optional embodiment, when gradually hiding the advertising page, the processor 65 is specifically used to: obtain attribute information of the target element associated with the homepage, the attribute information at least including shape information and position information of the outer contour of the target element; determine the hidden contour of the advertising page according to the shape information of the outer contour; and gradually hide the advertising page toward the outer contour position information of the target element according to the hidden contour until the outer contour of the unhidden part matches the outer contour of the target element.

[0115] In an optional embodiment, the target element is implemented as a floating component, a pop-up component, or a drawer component; the visual information of the target element is adapted to the advertisement information contained in the advertisement page.

[0116] In an optional embodiment, the processor 65 is further used to: jump from the home page to the target page in response to a first user operation on the target element; or, the target element includes a first close control, and close the target element in response to a second user operation on the close control.

[0117] In an optional embodiment, when the processor 65 closes the startup background page in response to a close trigger event for the advertising page during the startup of the target application, it is specifically used to: the advertising page includes a second close control, and the startup background page is closed in response to a user operation on the second close control during the startup of the target application; or, during the startup of the target application, the startup background page is closed in response to an end event of a delayed task corresponding to the advertising page.

[0118] In an optional embodiment, the advertisement page includes a jump control, which points to the target page; the processor 65 is also used to: when the advertisement page is hidden and the jump control is not hidden, in response to a third user operation on the jump control, jump from the advertisement page to the target page.

[0119] In an optional embodiment, the target application includes a startup homepage, the startup homepage includes at least the homepage, and the startup homepage maintains an advertisement field, the advertisement field is used to indicate whether the startup homepage contains an advertisement page, when the advertisement field is a first value, it indicates that the startup homepage includes the advertisement page, and when the advertisement field is a second value, it indicates that the startup homepage does not include the advertisement page; when the processor 65 loads the advertisement page and the homepage in parallel during the process of displaying the startup background page, it is specifically used to: when the value of the advertisement field is the first value, when displaying the startup background page, load the advertisement page and the homepage in parallel.

[0120] Optionally, the processor 65 is further configured to: when the value of the advertisement field is the second value, load the home page during display of the startup background page, and display the home page when the home page is loaded successfully.

[0121] In an optional embodiment, the target application includes a home page, and the home page includes a home page and an advertisement page; when the processor 65 displays the advertisement page and the home page above and below the startup background page respectively, it is specifically used to: use the startup background page as the background of the advertisement page; use the advertisement page and the home page as management objects of the fragment manager, and use the fragment manager to add the advertisement page and the home page to the task stack corresponding to the home page in the order of the advertisement page on top and the home page on the bottom, wherein the advertisement page is displayed as the top element of the stack.

[0122] Optionally, when the processor 65 closes the startup background page in response to a closing trigger event for the advertising page during the startup of the target application, it is specifically used to: in response to the closing trigger event for the advertising page during the startup of the target application, set the background of the advertising page from the startup background page to transparent.

[0123] Optionally, when the processor 65 switches the non-hidden portion of the advertising page to an interactive target element and displays it on the home page, it is specifically used to: move the advertising page out of the task stack to display the home page when the outer contour of the non-hidden portion of the advertising page is adapted to the outer contour of the target element associated with the home page; and switch the non-hidden portion to an interactive target element.

[0124] Regarding the embodiments of the present application Figure 6 The detailed implementation and beneficial effects of each step in the illustrated device have been described in detail in the aforementioned embodiments and will not be elaborated on here.

[0125] Further, if Figure 6 As shown, the electronic device also includes: a communication component 66, a display 67, a power component 68, an audio component 69 and other components. Figure 6 Only some components are shown schematically, which does not mean that the electronic device only includes Figure 6 In addition, Figure 6 The components in the dashed box are optional components, not mandatory components, and the specific components depend on the product form of the electronic device. The electronic device of this embodiment can be implemented as a terminal device such as a desktop computer, a laptop computer, a smart phone, or an IOT device, or a server device such as a conventional server, a cloud server, or a server array. If the electronic device of this embodiment is implemented as a terminal device such as a desktop computer, a laptop computer, a smart phone, etc., it can include Figure 6 If the electronic device of this embodiment is implemented as a server device such as a conventional server, a cloud server or a server array, it may not include Figure 6 Components within the dashed box.

[0126] Accordingly, the embodiment of the present application further provides a computer-readable storage medium storing a computer program, which can achieve the above-mentioned Figure 2The steps in the method embodiment shown may be executed by an electronic device.

[0127] The present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor is caused to implement Figure 2 The steps in the method embodiment shown may be executed by an electronic device.

[0128] The above-mentioned memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0129] The above-mentioned communication component is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (Ultra Wide Band, UWB) technology, Bluetooth (BlueTooth, BT) technology and other technologies.

[0130] The above-mentioned display includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0131] The power supply assembly provides power to various components of the device where the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply assembly is located.

[0132] The above-mentioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (Microphone, MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, compact disk read-only memory (Compact Disk Read-Only Memory, CD-ROM), optical storage, etc.) that contain computer-usable program code.

[0134] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0135] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0137] In a typical configuration, a computing device includes one or more processors (Central Processing Unit, CPU), input / output interface, network interface and memory.

[0138] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory (flashRAM). The memory is an example of a computer-readable medium.

[0139] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change random access memory (Phase-change Random Access Memory, PRAM), static random access memory (SRAM), dynamic random access memory (Dynamic Random Access Memory, DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory, etc.

[0140] (EEPROM), flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0141] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0142] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for starting an application, characterized in that: include: In response to a start event for a target application, loading and displaying a start background page of the target application, the target application also includes an advertisement page and a home page, and the advertisement page points to the target page; In the process of displaying the startup background page, the advertisement page and the home page are loaded in parallel, and the advertisement page and the home page are displayed above and below the startup background page respectively, so that the startup background page is covered by the advertisement page and the home page is covered by the startup background page; In response to a closing trigger event for the advertisement page during the startup of the target application, the startup background page is closed and the advertisement page is gradually hidden, and as the advertisement page is gradually hidden, the home page is gradually revealed; In the process of the advertisement page being gradually hidden, the unhidden part of the advertisement page is switched to an interactive target element and displayed on the home page, and the target element points to the target page to realize the linkage display of the advertisement page and the home page.

2. The method according to claim 1, characterized in that: Gradually hiding the advertisement page, including: Acquire attribute information of a target element associated with the homepage, wherein the attribute information at least includes shape information and position information of an outer contour of the target element; Determining the hidden outline of the advertisement page according to the shape information of the outer outline; According to the hidden outline, the advertisement page is gradually hidden toward the outer outline position information of the target element until the outer outline of the unhidden portion matches the outer outline of the target element.

3. The method according to claim 2, characterized in that The target element is implemented as a floating component, a pop-up component or a drawer component; the visual information of the target element is adapted to the advertisement information contained in the advertisement page.

4. The method according to claim 1, characterized in that: The method further comprises: In response to a first user operation on the target element, jumping from the home page to the target page; or, The target element includes a first closing control, and in response to a second user operation on the closing control, the target element is closed.

5. The method according to claim 1, characterized in that In response to a closing trigger event for the advertisement page during the start-up process of the target application, closing the start-up background page includes: The advertisement page includes a second close control, and in response to a user operation on the second close control during the start-up of the target application, the start-up background page is closed; or, During the start-up process of the target application, in response to an end event of the delayed task corresponding to the advertisement page, the start-up background page is closed.

6. The method according to claim 1, characterized in that The advertisement page includes a jump control, and the jump control points to the target page; When the advertisement page is hidden and the jump control is not hidden, in response to a third user operation on the jump control, the page is jumped from the advertisement page to the target page.

7. The method according to any one of claims 1 to 6, characterized in that: The target application includes a startup homepage, the startup homepage includes at least the homepage, and the startup homepage maintains an advertisement field, the advertisement field is used to indicate whether the startup homepage includes the advertisement page, when the advertisement field is a first value, it indicates that the startup homepage includes the advertisement page, and when the advertisement field is a second value, it indicates that the startup homepage does not include the advertisement page; During the process of displaying the startup background page, loading the advertisement page and the home page in parallel includes: When the value of the advertisement field is the first value, the advertisement page and the home page are loaded in parallel during the process of displaying the startup background page.

8. The method according to claim 7, characterized in that Also includes: When the value of the advertisement field is the second value, the home page is loaded during the display of the startup background page, and when the home page is loaded successfully, the home page is displayed.

9. The method according to any one of claims 1 to 6, characterized in that: The target application includes a home page, and the home page includes a home page and an advertisement page; Displaying the advertisement page and the home page above and below the startup background page respectively includes: Using the startup background page as the background of the advertisement page; The advertisement page and the home page are taken as management objects of the fragment manager, and the advertisement page and the home page are added to the task stack corresponding to the home page in the order of the advertisement page on top and the home page on the bottom using the fragment manager, wherein the advertisement page is displayed as the top element of the stack.

10. The method according to claim 9, characterized in that In response to a closing trigger event for the advertisement page during the start-up process of the target application, closing the start-up background page includes: In response to a closing trigger event for the advertisement page during the startup of the target application, the background of the advertisement page is set from the startup background page to transparent.

11. The method according to claim 9, characterized in that Switching the non-hidden part of the advertisement page to an interactive target element and displaying it on the homepage includes: When the outer contour of the unhidden portion of the advertisement page matches the outer contour of the target element associated with the home page, the advertisement page is moved out of the task stack to display the home page; The non-hidden portion is switched to the interactive target element.

12. An electronic device, characterized in that: include: Memory and processor; The memory is used to store a computer program; the processor is coupled to the memory and is used to execute the computer program to implement the steps in the method according to any one of claims 1 to 11.

13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to implement the steps in the method according to any one of claims 1 to 11.

14. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the processor is caused to implement the steps in the method according to any one of claims 1 to 11.