Page display method and device and electronic equipment
By suspending the display of the second application page in response to touch operations on the electronic device, the problem of inflexible display of the existing application interface is solved, and page-level suspended display and better user experience are achieved.
Patent Information
- Application Number
- CN202310590599.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
The display method of the existing application interface is not flexible enough, which affects the user experience.
By displaying the first application page of the application on the electronic device and in response to the user's touch operation, the second application page is suspended and displayed at the action position of the touch operation, so that the display position of the second application page changes according to the user's operation position. , realize page-level floating display.
Improves the flexibility of page display, allowing users to easily switch and manage application pages through touch operations, improving user experience.
Smart Images

Figure CN119025004A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and more specifically, to a page display method, device and electronic device. Background Art
[0002] After the application is started, the application page included in the application can be displayed to show the content corresponding to the application. However, the display method of the relevant application interface is not flexible enough, which affects the user experience. Summary of the invention
[0003] In view of the above problems, the present application proposes a page display method, device and electronic device to improve the above problems.
[0004] In a first aspect, the present application provides a page display method, which is applied to an electronic device, the method comprising: displaying a first application page of an application; in response to a first touch operation applied to the first application page, displaying a second application page in a floating manner at the location of the first touch operation, wherein the second application page is an application page triggered by the first touch operation, and the second application page belongs to the application, and the size of the second application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0005] In a second aspect, the present application provides a page display device that runs on an electronic device, the device comprising: a first page display unit, used to display a first application page of an application; a second page display unit, used to respond to a first touch operation applied to the first application page, and to display the second application page in a floating manner at the location of the first touch operation, wherein the second application page is an application page triggered by the first touch operation, and the second application page belongs to the application, and the size of the second application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0006] In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0007] In a fourth aspect, the present application provides a computer-readable storage medium storing a program code executable by a processor, wherein the computer-readable storage medium includes the stored program code, wherein the above method is executed when the program code is run.
[0008] The present application provides a page display method, device, and electronic device, which can respond to a first touch operation applied to the first application page and suspend and display a second application page at the action position of the first touch operation when displaying the first application page of an application. Thus, in the above manner, when the first application page of an application is already displayed, the suspending display of the second application page belonging to the same application can be triggered by the first touch operation to achieve page-level suspending display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of a page display method proposed in an embodiment of the present application is shown;
[0011] Figure 2 A schematic diagram of a desktop in an embodiment of the present application is shown;
[0012] Figure 3 A schematic diagram of a first application page in an embodiment of the present application is shown;
[0013] Figure 4 A schematic diagram of a second application page in an embodiment of the present application is shown;
[0014] Figure 5 A schematic diagram showing a method of floatingly displaying a second application page in an embodiment of the present application is shown;
[0015] Figure 6 A schematic diagram showing another method of floatingly displaying a second application page in an embodiment of the present application;
[0016] Figure 7 A schematic diagram showing another method of floatingly displaying a second application page in an embodiment of the present application is shown;
[0017] Figure 8 A schematic diagram showing adding a drag control to an application page in an embodiment of the present application is shown;
[0018] Fig. 9 A flow chart of a page display method proposed in another embodiment of the present application is shown;
[0019] Fig.10 A flow chart of a page display method proposed in another embodiment of the present application is shown;
[0020] Fig.11 A schematic diagram showing the positional relationship between the second application page and the first application page when the second application page is displayed in a floating manner in an embodiment of the present application;
[0021] Fig.12 A schematic diagram showing the positional relationship between the third application page, the second application page, and the first application page when the third application page is displayed in a floating manner in an embodiment of the present application;
[0022] Fig.13 A schematic diagram showing the positional relationship between the third application page and the first application page when the third application page is suspended and displayed in an embodiment of the present application;
[0023] Fig.14 A flow chart of a page display method proposed in another embodiment of the present application is shown;
[0024] Fig.15 A schematic diagram showing that an application page cannot be fully displayed in an embodiment of the present application;
[0025] Fig.16 A schematic diagram showing a method of determining a new display position in an embodiment of the present application is shown;
[0026] Fig.17 A schematic diagram showing a second application page being displayed in a floating manner at a new display position in an embodiment of the present application is shown;
[0027] Fig.18 A flow chart of a page display method proposed in another embodiment of the present application is shown;
[0028] Fig.19 A structural block diagram of a page display device proposed in an embodiment of the present application is shown;
[0029] Fig. 20 A structural block diagram of an electronic device for executing a page display method according to an embodiment of the present application is shown;
[0030] Fig.21 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing a page display method according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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 creative work are within the scope of protection of this application.
[0032] In electronic devices, applications usually display the content of the application through the application pages they include. For example, for payment applications, the information required for payment can be displayed through the payment page of the payment application. For another example, for information applications, information can be displayed through the information display page it includes. After the application is started, the application can be triggered to display different application pages to display different content. For example, when the application is just started, the home page can be displayed. When the home page is displayed, the user can trigger the display of another application page by applying a touch operation.
[0033] However, the inventors discovered during their research on the display methods of related application interfaces that the display methods of related application interfaces are not flexible enough, which affects the user experience. Therefore, the inventors proposed a page display method, device, and electronic device in the present application, which can respond to a first touch operation applied to the first application page when displaying the first application page of an application, and display a second application page in suspension at the action position of the first touch operation. Thus, through the above method, when the first application page of an application is already displayed, the first touch operation can be used to trigger the suspension display of the second application page belonging to the same application, so as to achieve page-level suspension display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display.
[0034] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0035] See also Figure 1 The present application provides a page display method, which is applied to an electronic device, and the method includes:
[0036] S110: Displaying a first application page of an application program.
[0037] The first application page can be understood as the page that is first displayed after the application is started, for example, the homepage of the application. Figure 2 As shown, the electronic device displays Figure 2In the case of the desktop 10 shown, if a click operation on an application icon named Music is detected, the application named Music can be started, and the first page displayed after the application named Music is started can be the first application page.
[0038] In addition, the first application page can also be understood as any other application page in the application except the home page. For example, when the application is started and the home page is displayed, the user can trigger the jump from the home page to the application page A1 by performing a touch operation. When the application page A1 of the application is displayed, the user can further trigger the jump from the application page A1 to the application page A2 by a touch operation. In this case, the application page A1 and the application page A2 can both be understood as the first application page.
[0039] S120: In response to a first touch operation applied to a first application page, a second application page is displayed in a floating manner at the location of the first touch operation, wherein the second application page is an application page triggered by the first touch operation, and the second application page and the first application page belong to the same application program, and a size of the second application page when displayed in a floating manner is smaller than a size of a screen of the electronic device.
[0040] In the embodiment of the present application, the first touch operation can be implemented in multiple ways.
[0041] As a method, the first touch operation can be an operation of clicking on the content in the first application page. It should be noted that, in some cases, the content in the application page (for example, the first application page) may correspond to a link, and the link may point to other application pages. In this case, if the corresponding connected content is clicked, the application page corresponding to the link can be triggered to display. Furthermore, when the first touch operation is to click on the content in the first application page, a second application page can be obtained, and the second application page is the application page pointed to by the link corresponding to the content clicked by the click operation.
[0042] There are many possibilities for the content corresponding to the link in the first application page. Optionally, the content corresponding to the link can be text, picture or video. For example, Figure 3 As shown, the first application page of the application program may be an information title page 20, and the content displayed on the information title page 20 may be Figure 3 The text-type information titles shown in the figure, for example, information 1, information 2, information 3 and information 4. If the content affected by the first touch operation is information 1, the application page linked to information 1 can be used as the second application page. For example, the page linked to information 1 can be the information details page of information 1.
[0043] Alternatively, the content corresponding to the link may be a specified control in the first application page. The specific type of the specified control is not specifically limited in the present embodiment of the application. For example, it may be a control for displaying a title, or it may be a button. For example, Figure 4 As shown, Figure 4 A dialogue interface 30 in an instant messaging application is shown, in which multiple controls are displayed, and different controls are used to display relevant information of different chat objects, and the relevant information includes the personal information of the chat object and the most recent chat content. Among them, the personal information may include the name of the chat object and the avatar of the chat object. For example, the multiple controls displayed in the dialogue interface 30 include control 31, control 32 and control 33. Among them, control 31 is used to display relevant information with the chat object Xiaolan, control 32 is used to display relevant information with the chat object Xiaohong, and control 33 is used to display relevant information with the chat object Xiaohuang. If the object acted on by the first touch operation is control 31, it will trigger the display of the chat details page with Xiaolan, and then the chat details page with Xiaolan can be used as the second application page.
[0044] As another way, the first touch operation may be a gesture operation acting on the first application page. The gesture operation may be a sliding operation, a pressing operation, etc. The sliding operation may include a single-finger sliding operation and a multi-finger sliding operation. The pressing operation may be a large-area pressing operation or a long-pressing operation. Among them, the large-area pressing operation may be understood as a pressing operation in which the pressing area is greater than a specified area threshold. The long-pressing operation may be understood as a pressing operation in which the pressing duration is greater than a specified duration.
[0045] In the embodiment of the present application, the second application page can also be understood as being displayed in the form of a pop-up window. When the second application page is displayed in the form of a pop-up window, the second application page can be stacked on top of the first application page.
[0046] Optionally, in an embodiment of the present application, the application page included in the application may correspond to a full-screen state and a suspended state. When the application page is displayed in a full-screen state, the size of the application page may be the same as the size of the screen of the electronic device, or when the application page is displayed in a full-screen state, the application page will fill the screen. When the application page is displayed in a suspended state, the size of the application page will be smaller than the size of the screen, or it can be understood that the application page only occupies a partial area of the screen. Moreover, whether the application page is in a full-screen state or in a suspended state, the category of the component corresponding to the application page is the same. Among them, the component corresponding to the application page can be understood as a component that displays the content of the application page.
[0047] Exemplarily, in the Android operating system, the component corresponding to the application page is the Activity component. In this case, whether the application page is displayed based on the full screen state or the suspended state, the component corresponding to the application page is the Activity component.
[0048] The second application page is displayed in a floating manner at the action position of the first touch operation. This can be understood as when the second application page is displayed in a floating manner, a partial area of the second application page overlaps with the action position of the first touch operation.
[0049] Optionally, the partial area may be the center of the second application page. Figure 5 As shown, Figure 5 The first application page 40 is displayed in the left image. If the first touch operation is performed at a position Figure 5 The position marked by the circle in the left image is as follows Figure 5 As shown in the right image, the center of the triggered second application page 41 may coincide with the position marked by the circle.
[0050] Alternatively, the partial area may be a vertex of the second application page. The vertex of the second application page may be understood as the intersection of two edges of the second application page. For example, Figure 6 As shown, Figure 6 The first application page 40 is displayed in the left image. If the first touch operation is performed at a position Figure 6 The position marked by the circle in the left image is as follows Figure 6 As shown in the right image, a vertex of the triggered and displayed second application page 41 may coincide with the position marked by the circle.
[0051] Alternatively, the partial area may be an edge of the second application page. Figure 7 As shown, Figure 7 The first application page 40 is displayed in the left image. If the first touch operation is performed at a position Figure 7 The position marked by the circle in the left image is as follows Figure 7 As shown in the right image, an edge of the triggered and displayed second application page 41 may coincide with the position marked by the circle.
[0052] It should be noted that for some applications, the display position and / or display size of some application pages included therein can be preconfigured. The display position can be understood as the position of the application page on the screen when it is displayed. The display size can be understood as the size of the application page when it is displayed.
[0053] As a method, before the second application page is displayed in a floating manner, it may also include: detecting whether the second application interface is pre-configured with a display position and / or a display size. If the display position and / or the display size are not pre-configured, the second application page is displayed in a floating manner at the position where the first touch operation is applied; if the display position and / or the display size are pre-configured, the second application page is displayed according to the pre-configured display position and / or the display size. For example, if the second application page is pre-configured to be displayed in a floating manner on the left side of the screen with a preset display size, then when the second application page is to be displayed, the size of the second application page will be directly configured with the preset display size, and will be displayed in a floating manner on the left side of the screen. For another example, if the second application page is pre-configured to be displayed in a full-screen state, when the second application page is to be displayed, the second application page can be directly displayed in a full-screen state. Among them, displaying the second application page in a full-screen state can be understood as the second application page filling the screen when the first application page is displayed.
[0054] In addition, it should be noted that there are multiple ways to trigger an application page in an electronic device to display the application page. For example, the application page can be triggered by a touch operation, or by a voice command. Furthermore, the electronic device can also trigger the application page in response to an event. Among them, when the application page is triggered by a touch operation, and the triggered application page is configured to be suspended, the triggered application page can be displayed at the position of the touch operation to achieve the display following the position of the user's touch operation. However, the application page configured to be suspended can also be triggered by other methods besides touch operation.
[0055] As a way, in order to enable the electronic device to accurately determine the display mode of the application page, if an application page is triggered and the triggered application page corresponds to the specified configuration information, the moment of the most recent touch operation is obtained, and if the time between the moment and the moment when the application page is triggered is less than the specified time (for example, 500ms), the triggered application page is suspended and displayed at the action position of the most recent touch operation. It should be noted that, in the case where the application page corresponds to the specified configuration information, it is characterized that the application page is configured to be displayed in a suspended manner. Furthermore, when it is detected that the time between the moment of the most recent touch operation and the moment when the application page is triggered is less than the specified time, it means that the application page is triggered in response to the touch operation, and then the triggered application page can be displayed following the touch operation, so that the triggered application page is suspended and displayed at the action position of the most recent touch operation. On the contrary, when it is detected that the time between the moment of the most recent touch operation and the moment when the application page is triggered is not less than the specified time, it means that the triggered application page is not triggered in response to the most recent touch operation, and it can be displayed according to the display position pre-defined by the application page.
[0056] In addition, after some application pages are suspended, users may change the display position of the suspended application pages due to some needs. For example, if the user needs to view some content in the underlying page, and the suspended application page blocks the content that the user needs to view in the underlying page, the suspended application page can be dragged to change the display position of the suspended application page. Then as a method, if it is detected that the second application page supports dragging, a drag control can be displayed in the second application page when the second application page is displayed, so as to drag the second application page through the drag control. Exemplary, such as Figure 8 As shown, after a first touch operation is performed on the first application page 50, if it is detected that the second application page 51 supports dragging, a drag control 511 can be displayed in the second application page 51 displayed in suspension. The user can change the display position of the second application page 51 by touching the drag control 511. Figure 8 As shown in the left image, if the user touches and drags the control 511 to move in the direction indicated by the dotted arrow, the second application page 51 can be dragged to Figure 8 Position shown in the image to the right.
[0057] The present embodiment provides a page display method, which can respond to a first touch operation applied to the first application page and suspend the second application page at the action position of the first touch operation when displaying the first application page of the application. Thus, in the above manner, when the first application page of the application is already displayed, the suspend display of the second application page belonging to the same application can be triggered by the first touch operation to achieve page-level suspend display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display.
[0058] See also Fig. 9 The present application provides a page display method, which is applied to an electronic device, and the method includes:
[0059] S210: Displaying the first application page of the application program.
[0060] S220: In response to a first touch operation on a first application page, detecting whether a second application interface corresponds to designated configuration information, the second application page being an application page triggered by the first touch operation, and the second application page and the first application page belonging to the same application program.
[0061] It should be noted that in the embodiment of the present application, the application page can be configured with specified configuration information so that the application page can be displayed in a suspended manner. Wherein, if the application page supports configuration with corresponding specified configuration information, the electronic device can confirm whether to display the application page in a suspended manner according to whether the application page corresponds to the specified configuration information.
[0062] In an embodiment of the present application, as a method, the specified configuration information corresponding to the application page can be configured in the specified configuration file of the application to which the application page belongs. In this way, when detecting whether the second application interface corresponds to the specified configuration information, it can be detected whether there is the specified configuration information corresponding to the second application interface in the specified configuration file of the application to which the second application page belongs. Optionally, in the case where the application includes multiple application pages, the corresponding specified configuration information can be configured separately for the multiple application pages.
[0063] Optionally, the specified configuration file of the application may include a specified configuration file included in the installation package of the application. Exemplarily, taking the operating system of the electronic device as the Android system as an example, the installation package (Apk) of the application in the Android system may include AndroidManifest.xml. In AndroidManifest.xml, a meta-data information may be added as the specified configuration information corresponding to the application page. Furthermore, in the case where the application includes multiple application pages, corresponding meta-data information may be configured for each of the multiple application pages.
[0064] Optionally, the designated configuration file of the application may include a designated configuration file associated with the application. The designated configuration file associated with the application may be understood as a designated configuration file having a corresponding relationship with the application, and the designated configuration file is not in the installation package of the application. For example, in this manner, the storage area of the designated configuration file may be different from the storage area occupied by the application.
[0065] S221: If there is corresponding designated configuration information, a second application page is displayed in a floating manner at the action position of the first touch operation, wherein the size of the application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0066] S222: If there is no corresponding designated configuration information, display the second application page based on the full-screen state.
[0067] As a method, the specified configuration information of the application page can also specifically configure under what conditions the application will be displayed in a suspended state. Furthermore, the specified configuration information can also include, when the application page is displayed in a suspended state, in what state the application page displayed later triggered from the suspended application page is displayed. Optionally, the specified configuration information of the application page may include multiple feature values, each feature value is used to characterize different restriction conditions. The restriction condition may include a condition for triggering the application page to be displayed in a suspended state, a condition for the application page displayed later triggered from the previously displayed application page to still be displayed in a suspended state, a condition for the application page displayed later triggered from the application to be displayed in a full-screen state, and whether to configure the corresponding drag control for the suspended application page. In addition, there may be multiple feature values included in the specified configuration information, or there may be only one. In the case where there are multiple feature values included in the specified configuration information, different feature values can be divided by separators.
[0068] For example, taking the operating system of the electronic device as the Android system, when the specified configuration information corresponding to the application page is the meta-data information in AndroidManifest.xml, the content of the meta-data information may be:
[0069] "sw600dp|finishonTouchOutsideall|descendant|supportMove"
[0070] Among them, “|” is the separator used to separate multiple feature values.
[0071] sw600dp: means it will be effective on electronic devices with a minimum short side of 600dp or more. The term "effective on electronic devices" can be understood as the floating state will be triggered only on electronic devices with a minimum short side of 600dp or more.
[0072] finishonTouchOutsideall: can be set to "all" or "self". "finishOnTouchOutside:all" means that clicking on the area outside the floating application page can cancel the display of all floating application pages, and "finishOnTouchOutside:self" means that clicking on the area outside the floating application page can cancel the display of the current top-level application page. If not configured, it is the default, that is, it means that clicking on the area outside the application page does not cancel the display of the floating application page. The area outside the floating application page can include a blank area outside the floating application page.
[0073] descendant: Configuring this feature value means that the subsequent application page that is clicked to jump from the current floating application page continues to be displayed in the floating position of the current floating application page.
[0074] supportMove: If this value is configured, the electronic device will automatically add a drag control to the floating application page so that the floating application page can be moved to any position on the screen by touching the drag control. Correspondingly, if this value is not configured, the default application page does not support movement.
[0075] Furthermore, the meta-data information may also contain other characteristic values. For example, it may also include:
[0076] fullscreen: indicates that the application page will no longer be displayed in a floating manner following the previous application page, but will be displayed directly in full screen.
[0077] It should be noted that the above characteristic values are exemplary and can be adjusted accordingly in different situations. For example, the above "sw600dp" can also be modified to "sw700dp" or "sw800dp".
[0078] Based on the above content, as a method, if the electronic device detects that the second application page corresponds to the specified configuration information, and the size of the screen of the electronic device meets the target size condition, the second application page is displayed in a floating manner at the action position of the first touch operation. Among them, the target size condition can be the condition defined by the characteristic value "sw600dp" in the specified configuration information corresponding to the second application page.
[0079] As shown in the foregoing, the specific state in which the application page that is triggered to be displayed later is displayed can be determined according to the specified configuration information of the application page that was displayed previously. Then as a method, before detecting whether the second application interface corresponds to the specified configuration information, it can also include: detecting the display state of the first application page. The display state can be displayed in a full-screen state or in a suspended state. If the first application page is displayed based on the full-screen state, it is detected whether the second application interface corresponds to the specified configuration information. If the first application page is displayed based on the suspended state, it can be further combined with the specified configuration information of the first application page and / or the specified configuration information of the second application page to determine whether the second application page is displayed in a full-screen state or in a suspended state.
[0080] As a method, before the third application interface is displayed in a floating manner at the location where the second application page is located, it also includes: detecting whether the configuration information corresponding to the second application page includes first characteristic information (for example, the characteristic value named descendant mentioned above), the first characteristic information representing the display state of the application page triggered to be displayed from the second application page when it is displayed. If the first characteristic information is included, the third application interface is displayed in a floating manner at the location where the second application page is located. If the first characteristic information is not included, the third application page can be displayed in a full-screen state.
[0081] As a method, before the third application interface is displayed in a floating manner at the location where the second application page is located, the method further includes: detecting whether the configuration information corresponding to the third application page includes second characteristic information (for example, the characteristic value named fullscreen mentioned above), the second characteristic information indicating that the third application page is displayed in a full-screen state when displayed; if the second characteristic information is not included, the third application interface is displayed in a floating manner at the location where the second application page is located. If the second characteristic information is included, the third application page is displayed in a full-screen state.
[0082] It should be noted that, in the case where an application includes multiple application pages, which specific application pages can be configured with the corresponding specified configuration information can be determined by the developer of the application or by the user of the electronic device. For example, if the screen size of the electronic device is large, then the non-core application pages in the application do not need to be adapted to the larger screen of the electronic device, and then the corresponding specified configuration information can be configured for the non-core application pages to reduce the workload of screen size adaptation. For example, in the case where the screen of the electronic device is a telescopic screen or a folding screen, the screen of the electronic device will have a larger size in one state. For example, when the telescopic screen is in an extended state or the folding screen is in an unfolded state, the size of the screen will be larger, and then at least part of the displayed application pages need to be able to adapt to the larger screen.
[0083] The present embodiment provides a page display method, so that in the above manner, when the first application page of the application has been displayed, the second application page belonging to the same application can be triggered to be suspended and displayed through the first touch operation, so as to realize page-level suspended display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display. Moreover, in the present embodiment, the corresponding specified configuration information can be configured for the application page, so that the electronic device can determine whether to suspend and display the application page by identifying whether the application page has the corresponding specified configuration information, so that the application itself does not need to modify the page code, so that the application (for example, a third-party application) can quickly adapt to the page display method in the embodiment of the present application.
[0084] See also Fig.10 The present application provides a page display method, which is applied to an electronic device, and the method includes:
[0085] S310: Displaying the first application page of the application program.
[0086] S320: In response to a first touch operation applied to a first application page, a second application page is displayed in a floating manner at the location of the first touch operation, the second application page being an application page triggered by the first touch operation, the second application page and the first application page belonging to the same application program, wherein a size of the second application page when displayed in a floating manner is smaller than a size of a screen of the electronic device.
[0087] S330: In response to the second touch operation applied to the second application page, a third application interface is displayed in a floating manner at the location of the second application page. The third application page is the application page triggered by the second touch operation. The size of the third application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0088] In the embodiment of the present application, the third application page is displayed in a floating position at the location of the second application page. It can be understood that the position where the third application page is displayed in a floating position on the screen is the same as the position where the second application page is displayed in a floating position on the screen.
[0089] As a method, the third application interface is displayed in a floating manner on the second application page so that the displayed third application interface covers the second application page. Fig.11 As shown, when the second application page 51 is suspended and displayed, the stacking relationship between the second application page 51 and the first application page 50 can be as follows: Fig.11 As shown in the right image. Among them, the second application page 51 will be stacked on the first application page 50. When the third application interface is displayed in a floating manner on the second application page, as shown in FIG. Fig.12 As shown in the left image, when the third application interface 52 is displayed floating on the second application page 51, the third application page 52 will cover the second application page 51, thereby making the second application page 51 invisible. In addition, when the third application interface 52 is displayed floating on the second application page 51, the relative stacking relationship between the first application page 50, the second application page 51 and the third application page 52 can be as follows: Fig.12 Shown in the image on the right.
[0090] As another method, the third application interface is displayed in a floating manner at the location where the second application page is located, and the second application page is canceled from being displayed. In this method, when the third application page is displayed in a floating manner, the second application page has been canceled from being displayed. The cancellation of the display of the second application page can be understood as the second application page has been destroyed. For example, Fig.13 As shown, in this way, when the second application page 51 is destroyed, it can be understood that the second application page 51 no longer exists, and then the stacking relationship between the first application page 50 and the third application page 52 can be as follows Fig.13 Shown in the image on the right.
[0091] In the embodiment of the present application, after the application page is displayed, the application page that has been displayed can also be canceled. In addition, in the embodiment of the present application, there can be multiple ways to cancel the display of the application page.
[0092] As a method, the application page can be cancelled by a touch operation on an area other than the application page. The electronic device can also respond to a third touch operation on an area other than the topmost application page to close all floatingly displayed application pages. Where multiple application pages are stacked on top of each other, the application page stacked on top can be understood as the aforementioned topmost application page.
[0093] For example, the third application page and the second application page can be canceled in response to a third touch operation applied to an area other than the aforementioned third application page. It should be noted that, in the case where the second application page and the third application page are triggered and displayed step by step, the third application page and the second application page can be synchronously canceled by directly applying the third touch operation applied to an area other than the third application page, so that the user can close multiple floating application pages with one operation, avoiding the need for the user to close the application pages step by step. In addition, the electronic device can also respond to a third touch operation applied to an area other than the top-level application page to close only the top-level application page.
[0094] Among them, in the embodiment of the present application, there may also be multiple ways to enable the electronic device to identify whether it is necessary to cancel the display of all floating application pages or only cancel the display of the current top-level floating application page.
[0095] As a method, when an application page may correspond to specified configuration information, the specified configuration information corresponding to the application page currently displayed in the top-level floating state may be obtained, and then based on the corresponding feature value in the specified configuration information, it is determined that when a third touch operation is detected that acts on an area other than the application page displayed in the top-level floating state, the application page that needs to be canceled is to be canceled.
[0096] As another way, the electronic device can determine the application page that needs to be closed by identifying the operation content of the third touch operation. In this way, a correspondence between the operation content of the third touch operation and the application page that needs to be closed can be established. Exemplarily, the correspondence may include a click operation corresponding to the application page currently displayed in the topmost layer, and a long press operation corresponding to all suspended application pages. Based on this example, when the aforementioned third application page is displayed, if a click operation is detected that acts on an area outside the third application page, only the third application page will be canceled, and the display of the second application page can be restored while the display of the third application page is canceled. If a long press operation that acts on an area outside the third application page is detected, the display of the third application page and the second application page will be canceled. It should be noted that the operation content of the third touch operation can be diverse, and in the embodiment of the present application, the operation content of the third touch operation is not restricted.
[0097] When displaying the second application page, the electronic device can also support the user to drag content from the first application page to the second application page to trigger a corresponding operation. For example, you can drag pictures, text, audio and video and other multimedia files from the first application page to the second application page for playing or sending.
[0098] The present embodiment provides a page display method, so that in the above manner, when the first application page of an application is already displayed, the second application page belonging to the same application can be triggered to be suspended and displayed through a first touch operation, so as to realize page-level suspended display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display. Moreover, in the present embodiment, when the second application page is suspended and displayed, if there is a second touch operation acting on the second page and triggers the display of the third application page, it can be further determined according to the configuration information whether the third application page is suspended and displayed following the second application page, or displayed in full screen, thereby further improving the flexibility of application page display.
[0099] See also Fig.14 The present application provides a page display method, which is applied to an electronic device, and the method includes:
[0100] S410: Displaying a first application page of an application program.
[0101] S420: In response to a first touch operation applied to a first application page, detecting whether a second application page can be fully displayed when displayed at the location of the first touch operation, the second application page being an application page triggered by the first touch operation, and the second application page and the first application page belonging to the same application.
[0102] When the user triggers the first touch operation, the position of the first touch operation is random. For example, the position of the first touch operation may be at the edge of the screen. In this case, if the second application page is suspended at the position of the first touch operation, the second application page may not be fully displayed. Therefore, by detecting whether the second application page can be fully displayed, an adaptation operation can be performed on the second application page.
[0103] It should be noted that, as shown in the foregoing content, when the second application page is displayed at the position of the first touch operation, there are multiple ways to determine the specific display position of the second application page. For example, the center of the second application page may coincide with the position of the first touch operation, or a specified vertex of the second application page may coincide with the position of the first touch operation. Alternatively, an edge of the second application page may coincide with the position of the first touch operation. Then, when determining whether the second application page can be fully displayed, the currently used method for determining the display position of the second application page may be combined to determine whether the second application page is fully displayed on the screen.
[0104] For example, as a method, if the currently used method is to determine the specific display position of the second application page by overlapping the designated vertex of the second application page with the action position of the first touch operation, the electronic device can estimate whether the second application page can be fully displayed on the screen when the designated vertex of the second application page coincides with the action position of the first touch operation. If it is detected that the second application page cannot be fully displayed when the designated vertex of the second application page coincides with the action position of the first touch operation, it is determined that the second application page cannot be fully displayed when displayed at the action position of the first touch operation.
[0105] For example, Fig.15 As shown, if the first touch operation position is Fig.15 As shown in the left image, it is located at the circle in the first application page 60, and the designated vertex is the lower left corner of the second application page 61. In this case, Fig.15 As shown in the right image, a part of the second application page 61 (the area surrounded by the dotted line) cannot be displayed on the screen, thereby causing the second application page 61 to be unable to be fully displayed.
[0106] S421: If the display can be completed, the second application page is displayed in a floating manner at the position where the first touch operation is performed, wherein the size of the application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0107] S422: If the entire display cannot be performed, a new display position is obtained, where the new display position is obtained by offsetting the position of the first touch operation.
[0108] It should be noted that, as a way to determine the specific display position of the second application page, a partial area in the second application page can be overlapped with the action position of the first touch operation to determine the specific position of the second application page when it is suspended. In this case, the action position of the first touch operation can be offset to obtain the offset position, and then a partial area in the second application page is overlapped with the offset position to determine the new display position of the second application page.
[0109] Optionally, when the second application page is displayed in suspension at the new display position, one side of the second application page may overlap with the action position of the first touch operation, so that the second application page can still have a certain effect of following the action position of the first touch operation for display.
[0110] S423: The second application page is displayed in a suspended manner at the new display position, so as to display the second application page completely.
[0111] Exemplary, combined Fig.15 The situation shown, such as Fig.16 As shown, the action position of the first touch operation can be shifted along the direction indicated by the dotted arrow, and then Fig.17 The position of the middle circle is used as the offset position, and the lower left corner of the second application page 61 can be overlapped with the offset position, thereby determining the new display position corresponding to the second application page 61.
[0112] The present embodiment provides a page display method, so that in the above manner, when the first application page of an application is already displayed, the second application page belonging to the same application can be triggered to be suspended and displayed through a first touch operation, so as to realize page-level suspended display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display. Moreover, in the present embodiment, when the second application page is determined, it is also possible to pre-detect whether the second application page can be fully displayed when suspended and displayed at the action position of the first touch operation, and then different page processing methods will be used according to the detection results to ensure that the second application page can be fully suspended and displayed on the screen.
[0113] Next, pass Fig.18 A situation involved in an embodiment of the present application is described below. Fig.18 The steps involved are:
[0114] S510: The application starts the application page.
[0115] S520: Determine whether the application specifies startup parameters to limit the display area of the application page.
[0116] S521: If the display area of the application page is limited, the application page is displayed in a floating manner with the specified display size and area.
[0117] S530: Determine whether the original page that initiates the application startup page is already in floating display.
[0118] S531: If the original page is already in a floating display, the application page follows the original page and is displayed in a floating manner at the location of the original page.
[0119] S540: Determine whether the size of the electronic device meets the target size condition and whether the application page is in the specified configuration file.
[0120] S541: If the size of the electronic device does not meet the target size condition, or the application page is not in the specified configuration file, the application page is displayed in full screen mode.
[0121] S550: If the size of the electronic device meets the target size condition and the application page is in the specified configuration file, obtain the action position and timestamp of the most recent touch operation.
[0122] S560: Determine whether the duration between the timestamp and the triggering time of the application page is less than a specified duration.
[0123] S561: If the time is not less than the specified time, the application page is displayed on the screen in a preset display size of the electronic device.
[0124] S570: If the time is less than the specified time, determine whether the application page can be completely displayed when it is suspended at the location where the most recent touch operation was performed.
[0125] S571: If the application page can be fully displayed, the application page is displayed in a floating manner at the location of the most recent touch operation.
[0126] S580: If the entire page cannot be displayed, a position shift is performed starting from the position of the most recent touch operation, and the shifted position is used as the display position of the application page.
[0127] See also Fig.19 The present application provides a page display device 600, which runs on an electronic device. The device 600 includes:
[0128] The first page display unit 610 is used to display a first application page of an application program.
[0129] The second page display unit 620 is used to respond to the first touch operation applied to the first application page, and to display the second application page in a floating manner at the location where the first touch operation is applied, wherein the second application page is the application page triggered by the first touch operation, and the second application page belongs to the application program, and the size of the second application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0130] As a method, the second page display unit 620 is specifically used to detect whether the second application interface corresponds to the specified configuration information; if it corresponds to the specified configuration information, the second application page is displayed in a floating manner at the action position of the first touch operation.
[0131] Optionally, the second page display unit 620 is specifically used to display the second application page in a floating manner at the action position of the first touch operation if there is corresponding specified configuration information and the size of the screen of the electronic device meets the target size condition.
[0132] As a method, the second page display unit 620 is also used to detect the display status of the first application page; if the first application page is displayed based on the full-screen state, it is executed to detect whether the second application interface corresponds to the specified configuration information.
[0133] As a method, the second page display unit 620 is specifically used to detect whether there is specified configuration information corresponding to the second application interface in the specified configuration file of the application.
[0134] As a method, the second page display unit 620 is also used to respond to the second touch operation applied to the second application page, and to display the third application interface in a floating manner at the location of the second application page. The third application page is the application page triggered by the second touch operation, and the size of the third application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
[0135] Optionally, the second page display unit 620 is specifically configured to display the third application interface in a floating manner on the second application page, so that the displayed third application interface covers the second application page.
[0136] Optionally, the second page display unit 620 is further specifically configured to respond to a third touch operation applied to an area outside the third application page, and cancel display of the third application page and the second application page.
[0137] Optionally, the second page display unit 620 is specifically used to suspend and display the third application interface at the location of the second application page, and cancel the display of the second application page.
[0138] As a method, the second page display unit 620 is also used to detect whether the configuration information corresponding to the second application page includes the first characteristic information, the first characteristic information representing the display state of the application page triggered by the second application page when it is displayed; if the first characteristic information is included, the third application interface is displayed in a floating manner at the location where the second application page is located.
[0139] As a method, the second page display unit 620 is also used to detect whether the configuration information corresponding to the third application page includes second characteristic information, and the second characteristic information indicates that the third application page is displayed in full screen state when it is displayed; if the second characteristic information is not included, the third application interface is displayed in a floating manner at the location of the second application page.
[0140] As a method, the second page display unit 620 is also used to detect whether the second application interface is pre-configured with a display position and / or display size; if the display position and / or display size is not pre-configured, the second application page is displayed in a floating manner at the action position of the first touch operation.
[0141] As a method, the second page display unit 620 is also used to obtain the time of the most recent touch operation if an application page is triggered and the triggered application page corresponds to specified configuration information; if the duration between the moment and the moment when the application page is triggered is less than the specified duration, the triggered application page is displayed in a floating manner at the location of the most recent touch operation.
[0142] As a method, the second page display unit 620 is also used to detect whether the second application page can be fully displayed when it is displayed at the action position of the first touch operation; if it can be fully displayed, the second application page is suspended and displayed at the action position of the first touch operation. If it cannot be fully displayed, a new display position is obtained, and the new display position is obtained by offsetting the action position of the first touch operation; at the new display position, the second application page is suspended and displayed, so that the second application page is fully displayed.
[0143] Optionally, the second page display unit 620 is further used to determine that the second application page cannot be fully displayed when displayed at the action position of the first touch operation if it is detected that the designated vertex of the second application page coincides with the action position of the first touch operation and the second application page cannot be fully displayed.
[0144] As a method, the second page display unit 620 is also used to display a drag control in the second application page when the second application page is displayed if it is detected that the second application page supports dragging, so as to drag the second application page through the drag control.
[0145] The present application provides a page display device, through which, when a first application page of an application is already displayed, a second application page belonging to the same application can be triggered to be suspended and displayed through a first touch operation, so as to realize page-level suspended display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display.
[0146] It should be noted that the device embodiments in the present application correspond to the aforementioned method embodiments, and the specific implementation principles of each unit in the device embodiments are similar to the principles in the aforementioned method embodiments. The specific contents in the device embodiments can be found in the method embodiments, and will not be repeated in the device embodiments.
[0147] The following will be combined Fig. 20 An electronic device provided by the present application is described.
[0148] See also Fig. 20Based on the above-mentioned storage box positioning method and device, the embodiment of the present application also provides an electronic device 1000 that can execute the above-mentioned storage box positioning method. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106, and an audio acquisition device 108 that are coupled to each other. Among them, the memory 104 stores a program that can execute the content of the above-mentioned embodiment, and the processor 105 can execute the program stored in the memory 104.
[0149] Among them, the processor 105 may include one or more processing cores. The processor 105 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 105 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 105 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 105, but may be implemented separately through a communication chip.
[0150] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.
[0151] Furthermore, in addition to the aforementioned components, the electronic device 1000 may further include a network module 110 and a sensor module 112 .
[0152] The network module 110 is used to realize information interaction between the electronic device 1000 and other devices. For example, a connection can be established with other audio playback devices or other electronic devices, and information interaction is performed based on the established connection. As a way, the network module 110 of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize the mutual conversion of electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. For example, the radio frequency module can interact with external devices through electromagnetic waves sent or received.
[0153] The sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include but is not limited to: a pressure sensor, a motion sensor, an acceleration sensor, and other sensors.
[0154] Among them, the pressure sensor may be a sensor that detects the pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects the pressure generated by contact or pressing between the user and the electronic device 1000, for example, the pressure generated by contact or pressing between the user's ear and the electronic device 1000. Therefore, the pressure sensor can be used to determine whether contact or pressing occurs between the user and the electronic device 1000, and the magnitude of the pressure.
[0155] Among them, the acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of the electronic device 1000 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device 1000 can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, etc., which will not be repeated here.
[0156] The audio collection device 110 is used to collect audio signals. Optionally, the audio collection device 110 includes a plurality of audio collection devices, which may be microphones.
[0157] Please refer to Fig.21 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1100 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0158] The computer readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 that executes any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 1110 can be compressed, for example, in an appropriate form.
[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0160] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0161] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0162] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0163] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0164] In summary, the present application provides a page display method, device, and electronic device, which, when displaying the first application page of an application, can respond to a first touch operation applied to the first application page, and display a second application page in suspension at the action position of the first touch operation. Thus, in the above manner, when the first application page of an application is already displayed, the first touch operation can be used to trigger the suspension display of the second application page belonging to the same application, so as to achieve page-level suspension display. Moreover, the display position of the second application page is at the action position of the first touch operation, so that the second application page can be displayed following the action position of the first touch operation applied by the user, thereby improving the flexibility of page display.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical feature diagrams therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A page display method, It is characterized in that Applied to electronic equipment, the method comprises: Displaying the first application page of the application; In response to a first touch operation applied to the first application page, the second application page is displayed in a floating manner at the location of the first touch operation, wherein the second application page is the application page triggered by the first touch operation, and the second application page belongs to the application, and the size of the second application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
2. The method according to claim 1, It is characterized in that The floating display of the second application page at the action position of the first touch operation includes: When the second application interface corresponds to designated configuration information, the second application page is displayed in a floating manner at the action position of the first touch operation.
3. The method according to claim 2, It is characterized in that When the second application interface corresponds to the specified configuration information, the second application page is displayed in a floating manner at the action position of the first touch operation, including: If the designated configuration information corresponds to the electronic device and the size of the screen meets the target size condition, the second application page is displayed in a floating manner at the action position of the first touch operation.
4. The method according to claim 2, It is characterized in that When the second application interface corresponds to the specified configuration information, before the second application page is displayed in a floating manner at the action position of the first touch operation, the method further includes: Detecting a display status of the first application page; If the first application page is displayed based on a full-screen state, when the second application interface corresponds to designated configuration information, the second application page is displayed in a floating manner at the action position of the first touch operation.
5. The method according to claim 2, It is characterized in that When the second application interface corresponds to the specified configuration information, the second application page is displayed in a floating manner at the action position of the first touch operation, including: When the designated configuration file of the application program contains designated configuration information corresponding to the second application interface, the second application page is displayed in a floating manner at the action position of the first touch operation.
6. The method according to claim 1, It is characterized in that After the second application page is displayed in a suspended manner at the action position of the first touch operation, the method further includes: In response to a second touch operation applied to the second application page, the third application interface is displayed in a floating manner at the location of the second application page. The third application page is the application page triggered by the second touch operation. The size of the third application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
7. The method according to claim 6, It is characterized in that The floating display of the third application interface at the location where the second application page is located includes: The third application interface is displayed in a floating manner on the second application page so that the displayed third application interface covers the second application page.
8. The method according to claim 7, It is characterized in that After the third application interface is suspended and displayed at the location where the second application page is located, the method further includes: In response to a third touch operation applied to an area outside the third application page, the third application page and the second application page are canceled from being displayed.
9. The method according to claim 6, It is characterized in that The floating display of the third application interface at the location where the second application page is located includes: The third application interface is displayed in a floating manner at the location where the second application page is located, and the second application page is canceled.
10. The method according to claim 6, It is characterized in that Before the third application interface is suspended and displayed at the location where the second application page is located, the method further includes: If the configuration information corresponding to the second application page includes the first characteristic information, the third application interface is displayed in floating at the location of the second application page, wherein the first characteristic information represents the display state of the application page triggered from the second application page when it is displayed.
11. The method according to claim 6, It is characterized in that Before the third application interface is suspended and displayed at the location where the second application page is located, the method further includes: If the configuration information corresponding to the third application page does not include the second characteristic information, the third application interface is displayed in a floating manner at the location of the second application page, wherein the second characteristic information indicates that the third application page is displayed in a full-screen state.
12. The method according to claim 1, It is characterized in that Before the second application page is displayed in a suspended manner at the position where the first touch operation is performed, the method further includes: When the second application interface is not pre-configured with a display position and / or a display size, the second application page is displayed in a floating manner at the action position of the first touch operation.
13. The method according to claim 1, It is characterized in that The method further comprises: If an application page is triggered and the triggered application page corresponds to the specified configuration information, the time of the most recent touch operation is obtained; If the duration between the moment and the moment when the application page is triggered is less than the specified duration, the triggered application page is displayed in a floating manner at the action position of the most recent touch operation.
14. The method according to claim 1, It is characterized in that The method of floatingly displaying the second application page at the action position of the first touch operation includes: If the second application page can be completely displayed when displayed at the action position of the first touch operation, then floatingly displaying the second application page at the action position of the first touch operation is performed.
15. The method according to claim 14, It is characterized in that The method further comprises: If the display cannot be completed, a new display position is obtained, where the new display position is obtained by offsetting the action position of the first touch operation; At the new display position, the second application page is displayed in a floating manner so as to display the second application page completely.
16. The method according to claim 15, It is characterized in that The method further comprises: When the designated vertex of the second application page coincides with the action position of the first touch operation, the second application page cannot be completely displayed, and it is determined that the second application page cannot be completely displayed when displayed at the action position of the first touch operation.
17. The method according to claim 1, It is characterized in that The method further comprises: A drag control is displayed in the second application page, so as to be used to drag the second application page through the drag control.
18. A page display device, It is characterized in that Running on an electronic device, the device comprises: A first page display unit, used to display a first application page of an application program; A second page display unit is used to respond to a first touch operation applied to the first application page, and to display the second application page in a floating manner at the location where the first touch operation is applied, wherein the second application page is an application page triggered by the first touch operation, and the second application page belongs to the application program, and the size of the second application page when displayed in a floating manner is smaller than the size of the screen of the electronic device.
19. An electronic device, It is characterized in that including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 17.
20. A computer-readable storage medium storing a program code executable by a processor, It is characterized in that The computer-readable storage medium includes stored program code, wherein when the program code is executed, the method according to any one of claims 1 to 17 is executed.
