Method, device, equipment and medium for displaying functional modules in application

By creating a combined display method of the main suspended window and the sub suspended window in the application, the problem that the suspended window can only carry a single function is solved, and the display and rapid access of multiple functional modules are realized, which improves the user experience.

CN114089875BActive Publication Date: 2025-08-22BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011360114.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2025-08-22
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

The existing application terminal floating window can only carry a single function and cannot meet the user's display needs for multiple functional modules, reducing the application value of the floating window.

Method used

By creating a main suspended window associated with the first functional module in the first application and creating a sub-suspended window associated with the multiple second functional modules, multiple sub-suspended windows are displayed when the main suspended window receives a user trigger operation, the display of multiple functional modules is realized.

Benefits of technology

It improves the application value of the floating window, and users can quickly open commonly used functional modules, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114089875B_ABST
    Figure CN114089875B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, storage medium, and electronic device for displaying functional modules in an application; and relates to the field of terminal technology. The method comprises: creating and displaying a main floating window associated with a first functional module in a first application; creating sub-floating windows respectively associated with multiple second functional modules in the first application; and displaying the multiple sub-floating windows when the main floating window receives a first trigger operation from the user. The present disclosure can use floating windows to carry and display multiple functional modules of at least one application, thereby increasing the application value of floating windows.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a method for displaying a functional module in an application, a display device for a functional module in an application, a computer-readable storage medium, and an electronic device. Background Art

[0002] In the mobile internet era, smart devices such as smartphones are becoming increasingly popular and have become an essential tool in people's daily lives. To meet people's diverse needs, mobile terminal applications are becoming increasingly diverse. To further enhance the user experience, developers are incorporating floating window technology into their applications. This technology allows users to instantly access relevant information from the application by displaying a floating window on the desktop or other application interface when the application is retired to the background.

[0003] However, the existing application terminal floating window is not a complete carrier of the application and cannot carry multiple functions of the application, thereby reducing the application value of the floating window.

[0004] Therefore, in order to improve the application value of the floating window, it is very necessary to provide a method for displaying functional modules in an application so that the floating window can carry and display multiple functional modules of at least one application.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a method for displaying functional modules in an application, a display device for functional modules in an application, a computer-readable storage medium, and an electronic device, so as to solve the problem in the prior art that the floating window of an application terminal cannot carry multiple functions of the application.

[0007] According to a first aspect of the present disclosure, a method for displaying a functional module in an application is provided, comprising:

[0008] Creating and displaying a main floating window associated with a first functional module in a first application program;

[0009] Creating sub-floating windows respectively associated with a plurality of second functional modules in the first application;

[0010] When the main floating window receives a first trigger operation from the user, a plurality of sub-floating windows are displayed.

[0011] In an exemplary embodiment of the present disclosure, the method further includes:

[0012] Initializing layout parameters of the main floating window associated with the first functional module in the first application;

[0013] Creating the main floating window based on the layout parameters;

[0014] In response to a second triggering operation of the user on the function control corresponding to the first function module, the main floating window is displayed.

[0015] In an exemplary embodiment of the present disclosure, the method further includes:

[0016] According to the user's historical behavior data, a plurality of second functional modules to be displayed in the first application are determined.

[0017] In an exemplary embodiment of the present disclosure, the method further includes:

[0018] In response to a third triggering operation of the user on the sub-floating window associated with the second functional module, a functional interface associated with the sub-floating window is displayed.

[0019] In an exemplary embodiment of the present disclosure, the second functional module includes an interactive functional module, and the method further includes:

[0020] In response to a third triggering operation of the user on the sub-floating window associated with the interactive function module, displaying an input control associated with the sub-floating window;

[0021] After detecting that the user inputs the interaction information into the input control, the interaction information is displayed in a preset floating window form.

[0022] In an exemplary embodiment of the present disclosure, the method further includes:

[0023] In response to a first triggering operation of the user on the main floating window, starting a sub-floating window thread associated with the second functional module;

[0024] In response to a third triggering operation of the user on the sub-floating window, a function interface corresponding to the sub-floating window thread is displayed.

[0025] In an exemplary embodiment of the present disclosure, the method further includes:

[0026] In response to a third triggering operation of the user on the main floating window, a customized interface of the sub-floating window is displayed.

[0027] In an exemplary embodiment of the present disclosure, the method further includes:

[0028] According to a user's selection operation on a plurality of second functional modules to be displayed in the first application through the custom interface, a sub-floating window associated with the second functional module is updated.

[0029] In an exemplary embodiment of the present disclosure, the method further includes:

[0030] Creating and displaying a main floating window associated with a first functional module in a first application program;

[0031] Creating sub-floating windows associated with a plurality of second functional modules in the first application and the second application respectively;

[0032] When the main floating window receives a first trigger operation from the user, a plurality of sub-floating windows are displayed.

[0033] According to a second aspect of the present disclosure, a device for displaying a functional module in an application is provided, comprising:

[0034] A first display module, configured to create and display a main floating window associated with a first functional module in a first application program;

[0035] A creation module, configured to create sub-floating windows associated with a plurality of second functional modules in the first application and the second application respectively;

[0036] The second display module is configured to display the plurality of sub-floating windows when the main floating window receives a first triggering operation from the user.

[0037] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for displaying the functional modules in the application described above is implemented.

[0038] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned method of displaying the functional modules in the application by executing the executable instructions.

[0039] The exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:

[0040] In the method for displaying functional modules in an application provided in an example embodiment of the present disclosure, a main floating window associated with a first functional module in a first application is created and displayed; sub-floating windows are created that are respectively associated with multiple second functional modules in the first application; and when the main floating window receives a first trigger operation from the user, multiple sub-floating windows are displayed. This method can carry and display multiple functional modules of at least one application through the floating window. On the one hand, multiple functional modules are displayed in the form of floating windows, thereby improving the application value of the floating window. On the other hand, users can quickly open commonly used functional modules through the floating window, thereby improving the user experience.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, serve to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0043] Figure 1 A schematic diagram showing an exemplary system architecture of a method and apparatus for displaying functional modules in an application program to which the embodiments of the present disclosure may be applied;

[0044] Figure 2 A schematic diagram showing the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present disclosure is shown;

[0045] Figure 3 A flowchart schematically illustrates a method for displaying a functional module in an application according to an embodiment of the present disclosure;

[0046] Figure 4 A schematic diagram schematically shows a main floating window display according to an embodiment of the present disclosure;

[0047] Figure 5 A schematic diagram schematically illustrates a sub-floating window display according to an embodiment of the present disclosure;

[0048] Figure 6 Schematically shows a functional interface diagram according to a specific embodiment of the present disclosure;

[0049] Figure 7 Schematically shows a functional interface diagram according to another specific embodiment of the present disclosure;

[0050] Figure 8 Schematically shows a functional interface diagram according to another specific embodiment of the present disclosure;

[0051] Figure 9 A schematic diagram schematically illustrates a customized interface of a sub-floating window according to an embodiment of the present disclosure;

[0052] Figure 10 A flowchart schematically illustrates a method for displaying functional modules in an application according to yet another embodiment of the present disclosure;

[0053] Figure 11 A block diagram schematically illustrates a display device for functional modules in an application according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0055] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0056] When using a smart mobile device, users may need to use other applications while simultaneously using one. Currently, switching between different applications is relatively complicated. For example, switching to another application requires the system to load and run it in the background, then exit the current application after use, and then switch back to the original application. This operation process does not allow for quick access and exit of applications, causing inconvenience to users.

[0057] Furthermore, existing application terminal floating windows can only carry a single function. For example, the terminal floating window of an antivirus software primarily displays the available memory on the user's phone, while the terminal floating window of an instant messaging software primarily displays the friends who have recently sent messages. Clearly, these application terminal floating windows fail to carry the multiple functions of the application and are not complete carriers of the application. Therefore, the application value of the floating window is reduced.

[0058] Based on one or more of the above problems, this exemplary embodiment provides a method for displaying functional modules in an application.

[0059] Figure 1 A schematic diagram shows a system architecture of an exemplary application environment in which a method and apparatus for displaying functional modules in an application program according to an embodiment of the present disclosure can be applied.

[0060] like Figure 1 As shown, the system architecture 100 may include one or more terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as needed. For example, the server 105 may be a server cluster consisting of multiple servers.

[0061] The method for displaying the functional modules in the application provided in the embodiments of the present disclosure is generally executed by the terminal devices 101, 102, and 103, and accordingly, the display device for the functional modules in the application is generally provided in the terminal devices 101, 102, and 103. However, it will be readily understood by those skilled in the art that the method for displaying the functional modules in the application provided in the embodiments of the present disclosure may also be executed by the server 105, and accordingly, the display device for the functional modules in the application may also be provided in the server 105, and this is not particularly limited in the present exemplary embodiment.

[0062] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present disclosure is shown.

[0063] It should be noted that Figure 2The computer system 200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0064] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 202 or the program loaded from the storage part 208 to the random access memory (RAM) 203. Various programs and data required for system operation are also stored in the RAM 203. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0065] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, and the like; an output section 207 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 208 including a hard disk; and a communication section 209 including a network interface card such as a LAN card or a modem. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 210 as needed, so that computer programs read therefrom can be installed into the storage section 208 as needed.

[0066] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 209, and / or installed from a removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, the various functions defined in the method and apparatus of the present application are performed.

[0067] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment. For example, the electronic device may implement the following Figure 3 The various steps shown, etc.

[0068] It should be noted that the computer-readable medium described in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.

[0069] The technical solutions of the embodiments of the present disclosure are described in detail below:

[0070] The display method of the functional modules in the application can be applied to one or more of the terminal devices 101, 102, and 103, and can also be applied to the server 105, which is not particularly limited in this exemplary embodiment. Figure 3 As shown, the method may include the following steps S310 to S330:

[0071] Step S310: Create and display a main floating window associated with the first functional module in the first application.

[0072] Step S320: Create sub-floating windows respectively associated with multiple second functional modules in the first application.

[0073] Step S330: When the main floating window receives a first trigger operation from the user, multiple sub-floating windows are displayed.

[0074] In the method for displaying functional modules in an application provided in an example embodiment of the present disclosure, a main floating window associated with a first functional module in a first application is created and displayed; sub-floating windows are created that are respectively associated with multiple second functional modules in the first application; and when the main floating window receives a first trigger operation from the user, multiple sub-floating windows are displayed. This method can carry and display multiple functional modules of at least one application through the floating window. On the one hand, multiple functional modules are displayed in the form of floating windows, thereby improving the application value of the floating window. On the other hand, users can quickly open commonly used functional modules through the floating window, thereby improving the user experience.

[0075] The above steps of this exemplary embodiment are described in more detail below.

[0076] In step S310, a main floating window associated with a first functional module in a first application is created and displayed.

[0077] In this example implementation, an application refers to a computer program for completing one or more specific tasks, which runs in user mode, can interact with the user, and has a visual user interface. The first application may include multiple functional modules, wherein the first functional module refers to a functional module that can be associated with the main floating window. A floating window is a view element that can be displayed on other view elements. It is a small window displayed on the terminal interface that can be used to display information, similar to a small bubble that appears on the terminal interface, and occupies a small area of ​​the terminal interface. The floating window can be displayed on the terminal interface at all times, which is beneficial for the user to obtain the information displayed on the floating window at any time. The main floating window in this embodiment can be suspended at the edge of the terminal interface. It can be understood that the main floating window can be displayed at any position on the terminal interface.

[0078] First, the main floating window associated with the first functional module in the first application can be created through the Window Manager. Specifically, the layout parameters of the main floating window can be initialized, such as setting the size, background color, rounded corners, alignment, control type, screen initialization position, etc. of the main floating window. Based on the layout parameters, a view can be further added to the Window to create the main floating window. This method can conveniently manage all open windows on the system desktop, such as hiding, making transparent, or pinning windows to the top, and can also formulate corresponding rules to control the opening of windows. It can also support resource manager windows, programs, dialog boxes, etc.

[0079] Exemplarily, the main floating window can be used as a functional component, and accordingly, the main floating window can be located anywhere in the first application. In this case, the main floating window can only be opened in the first application. For example, the user can perform a second trigger operation on the function control corresponding to the first functional module, such as clicking or pressing, to display the main floating window associated with the first functional module. In an example implementation, the terminal main floating window can also be published as an independent application to the application market. When the terminal main floating window is used as an independent application, the main floating window can be started by opening the application.

[0080] refer to Figure 4 As shown in the example, in the JD Finance app, the homepage interface can include multiple functional modules, such as "Jinzai," "Insurance," "Sign-in," "Payment," "Wealth Management," "Investment Advisor," and "Pet Care." "Jinzai" can be the first functional module, while "Insurance," "Sign-in," and so on can be second functional modules. It is understood that if the "Sign-in" functional module is associated with the main floating window, the "Sign-in" functional module becomes the first functional module.

[0081] When the user clicks the start button of the "Jinzai" function module, the main floating window will be displayed on the terminal interface, corresponding to Figure 4 At this time, the main floating window displays "income mode" and the content displayed on the floating ball is "+49", indicating that the user's income in "JD Finance" is 49 yuan.

[0082] In step S320, sub-floating windows respectively associated with a plurality of second functional modules in the first application are created.

[0083] Similarly, a view can be added to the Window Manager to create a sub-floating window associated with multiple second functional modules in the first application. This step is similar to step S310 and will not be repeated here. It is understood that the second functional module in the first application is different from the first functional module. The second functional module can be a module with actual application functions in the first application, such as the "financial management" and "investment consulting" functional modules in the application "JD Finance".

[0084] In step S330, when the main floating window receives a first trigger operation from the user, a plurality of sub-floating windows are displayed.

[0085] In this example implementation, first, the user's historical behavior data can be obtained to determine multiple second function modules to be displayed in the first application. For example, the target user's operation data on each function module in the first application in the past month, such as the number of times used, usage time, etc., can be obtained. The function module that the target user uses the most times can be used as the second function module to be displayed, or the function module that the target user uses for a long time can be used as the second function module to be displayed. In an example implementation, the operation data of multiple other users on each function in the first application in the past month can also be obtained, and based on big data statistical analysis, the second function module to be displayed can be determined based on the choices of other users.

[0086] Secondly, the user's first trigger operation can be a click, press, or other operation. For example, a view can be added to the Window as the main entrance. When the user clicks on the main floating window, multiple sub-floating windows and the information contained in the sub-floating windows can be displayed in a pop-up manner. Compared with directly launching the page Activity (an important component of the Android application to provide an interactive interface), this method starts the sub-floating window faster. In addition, each terminal floating window can also display and hide related life cycles to facilitate some initialization and resource release operations.

[0087] refer to Figure 5 As shown in the figure, in the terminal interface, you can click on the main floating window to pop up 5 sub-floating windows, such as clicking on the main floating window. Figure 5 The first sub-floating window in the main window (the order of sub-floating windows is not specified) is set as the start button of the "financial management" function module. Correspondingly, the remaining four sub-floating windows can be set as the start buttons of the four function modules "investment consulting", "payment", "sign-in", and "pet". At this time, the display mode of the main floating window is "pet mode", corresponding to Figure 5 In addition, users can also customize the main floating window by selecting their favorite pet image.

[0088] In one example embodiment, in response to a user's third triggering operation on a sub-floating window associated with the second functional module, a functional interface associated with the sub-floating window can be displayed, and the functional interface is displayed in the terminal interface as a floating window. At the same time, the main floating window can be permanently displayed at the edge of the terminal interface. The third triggering operation can be a click, press, or other operation. Specifically, after the sub-floating window associated with the second functional module is set as the start button of the corresponding functional module, the user can click the start button of a functional module.

[0089] For example, in the terminal interface, you can click the start button of the "payment" function module to Figure 6 As shown, the "payment" function interface can be displayed in the terminal interface as a floating window. The payment interface displays the payment code associated with the user's "China Merchants Bank Savings Card" account. This method associates the sub-floating window with the payment interface and implements the scan code payment based on the terminal interface. You can also click the start button of the "Pet" function module, refer to Figure 7 As shown, the "Love Pet" function interface can be displayed in the terminal interface as a floating window. The "Love Pet" function module is a game function module, and the game interface displays related game scenes and virtual characters. This method associates the sub-floating window with the game interface, realizing game interaction based on the terminal interface.

[0090] In one example embodiment, the second functional module may include an interactive functional module. In response to a user's third triggering operation on a sub-floating window associated with the interactive functional module, an input control associated with the sub-floating window may be displayed. The third triggering operation may be a click, a press, or the like, and the input control may be a text input control or a voice input control. Upon detecting that a user has entered interactive information into the input control, the interactive information may be displayed in a preset floating window format.

[0091] refer to Figure 8 As shown, it can be seen that the "Investment Advisor" function module is an interactive function module. After the user clicks the start button of the "Investment Advisor" function module, a voice input button is displayed on the terminal interface. The user can input interactive information through the voice input button. For example, when inputting "I want to buy insurance", "I want to buy insurance" is displayed on the terminal interface as a floating window dialog box. This method pops up a voice or text input box by clicking on the sub-floating window, and pops up the voice or text of the conversation through the floating window, realizing a new interactive form based on the terminal floating window, which is different from the existing interactive method based on the fixed window.

[0092] In an example implementation, the user can display the customized interface of the sub-floating window in response to a third trigger operation of the user on the main floating window. The third trigger operation can be an operation such as clicking or pressing. For example, referring to Figure 9 As shown, in the terminal interface, you can double-click the main floating window to pop up a custom interface of the sub-floating window, and the custom interface is displayed in the terminal interface in the form of a floating window. The custom interface can include a floating window display form, custom functions, and custom accounts.

[0093] First, the floating window display mode can include income mode, pet mode and stealth mode. According to the display mode of the main floating window, it can be seen that Figure 4The floating window shown is the revenue model. Figure 5 The floating window shown is displayed in pet mode, and the main floating window corresponding to the stealth mode can be a transparent floating ball.

[0094] Secondly, the core function module in the first application, that is, the second function module frequently used by the user determined in step S330, can be displayed in the custom function interface, such as Figure 9 In the example, multiple second functional modules to be displayed, such as "Friends," "White Bars," and "Gold Bars," can be displayed. Based on the user's selection of the multiple second functional modules to be displayed, the sub-floating window associated with each second functional module can be updated. Specifically, the user can drag the second functional module to be displayed to display it in the sub-floating window.

[0095] refer to Figure 9 As shown, there are initially 5 sub-floating windows, namely the "Investment Advisor", "Financial Management", "Payment", "Sign-in", and "Pet" function modules. Users can drag the "Friends" function module in the custom function interface to the sub-floating window of the display interface where the main floating window is located to increase the sub-floating window. Similarly, functions such as reducing and replacing sub-floating windows can also be achieved. It is easy to think that any number of function modules can be added to the display interface of the main floating window. This method can facilitate users to quickly open commonly used function modules and is applicable to all applications to develop a minimalist version of each application.

[0096] Finally, by Figure 6 As can be seen, the payment account associated with the "Payment" function page of the "JD Finance" application is a "China Merchants Bank Savings Card" account. Similar to step S330, the user's frequently used bank accounts, such as "China CITIC Bank" and "Minsheng Bank," can be determined, displayed on the custom account interface, and associated with the "Payment" function page. This method can host the account systems of different applications through sub-floating windows, thereby achieving cross-platform operation.

[0097] The above method adopts an interactive method of popping up multiple sub-floating windows by clicking the main floating window, combined with a custom interface of popping up the sub-floating window by double-clicking the main floating window, so that various functional modules of the application can be carried by one main floating window, realizing a new way of displaying functional modules in floating windows, which is different from the display format of various functional modules in existing applications (N-grid, such as nine-grid, sixteen-grid, etc.).

[0098] In one example implementation, reference Figure 10 As shown, the method for displaying the functional modules in the application may further include the following steps S1010 to S1030:

[0099] Step S1010: Create and display a main floating window associated with a first functional module in a first application.

[0100] Step S1020: Create sub-floating windows respectively associated with the first application and the second application and a plurality of second functional modules.

[0101] Step S1030: When the main floating window receives a first trigger operation from the user, multiple sub-floating windows are displayed.

[0102] Step S1010 and step S1030 are similar to step S310 and step S330 and will not be repeated here.

[0103] In step S1020, a view can be added to the Window through the Window Manager to create a sub-floating window associated with multiple second functional modules in the first application and the second application respectively. It can be understood that this method can create sub-floating windows associated with the second functional modules in any number of applications.

[0104] In the terminal interface, when the main floating window receives the user's first trigger operation, multiple sub-floating windows can be displayed. The multiple sub-floating windows can be associated with multiple functional modules in at least one application, that is, the functional modules of multiple applications can be integrated into one terminal interface. For example, a main floating window is displayed in the terminal interface, and the main floating window is associated with the first application "JD Finance". When the user clicks on the main floating window, multiple sub-floating windows including the corresponding "Huabei" functional module can be displayed. When the user clicks on the function button corresponding to the "Huabei" functional module, the functional interface of the "Huabei" functional module can be displayed in the form of a floating window. Among them, the "Huabei" functional module is the second functional module in the second application "Alipay". The various sub-floating windows in this method can be started independently and can run independently. The functional interfaces of different applications can be carried by each sub-floating window, thereby realizing cross-platform operation.

[0105] In one example implementation, in response to a first user trigger operation on the main floating window, a sub-floating window thread associated with the second functional module may be started. In response to a third user trigger operation on the sub-floating window, a functional interface corresponding to the sub-floating window thread may be displayed.

[0106] This method can start and close the sub-floating window in advance. For example, for the second functional module that starts slower in the application, such as the game functional module. When the user clicks the main floating window, the sub-floating window thread associated with the second functional module is started. When the user clicks the sub-floating window, the function interface corresponding to the sub-floating window thread can be displayed, and the function interface can be displayed in the terminal interface in the form of a floating window. When the user clicks to close the sub-floating window, the sub-floating window thread can be ended at the same time. After the user clicks the main floating window, even if the sub-floating window is not clicked, the sub-floating window thread will not be closed, which is equivalent to the main floating window thread and the sub-floating window thread running at the same time, which can avoid the problem of frequent restarts of the sub-floating window thread due to frequent clicks on the main floating window, thereby improving the user experience of the floating window.

[0107] In the method for displaying functional modules in an application provided in an example embodiment of the present disclosure, a main floating window associated with a first functional module in a first application is created and displayed; sub-floating windows are created that are respectively associated with multiple second functional modules in the first application; and when the main floating window receives a first trigger operation from the user, multiple sub-floating windows are displayed. This method can carry and display multiple functional modules of at least one application through the floating window. On the one hand, multiple functional modules are displayed in the form of floating windows, thereby improving the application value of the floating window. On the other hand, users can quickly open commonly used functional modules through the floating window, thereby improving the user experience.

[0108] It should be noted that although the steps of the method of the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all steps must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0109] Furthermore, in this exemplary embodiment, a display device for a functional module in an application is also provided. The device can be applied to a terminal device or a server. Figure 11 As shown, the display device 1100 of the functional modules in the application may include a first display module 1110, a creation module 1120 and a second display module 1130, wherein:

[0110] The first display module 1110 is configured to create and display a main floating window associated with a first functional module in a first application.

[0111] The creation module 1120 is configured to create sub-floating windows respectively associated with a plurality of second functional modules in the first application.

[0112] The second display module 1130 is configured to display a plurality of sub-floating windows when the main floating window receives a first trigger operation from the user.

[0113] In an example implementation, the first display module 1110 includes:

[0114] A parameter initialization module, configured to initialize layout parameters of the main floating window associated with the first functional module in the first application;

[0115] A floating window creation module, configured to create the main floating window based on the layout parameters;

[0116] The floating window display module is used to display the main floating window in response to the user's triggering operation on the function control corresponding to the first function module.

[0117] In an example implementation, the apparatus 1100 for displaying functional modules in the application further includes: a determination module configured to determine a plurality of second functional modules to be displayed in the first application based on historical behavior data of the user.

[0118] In an example embodiment, the display device 1100 of the functional module in the application further includes: a functional interface display module for displaying the functional interface associated with the sub-floating window in response to a third trigger operation of the user on the sub-floating window associated with the second functional module.

[0119] The function interface display module includes:

[0120] an input control display module, configured to display an input control associated with the sub-floating window in response to a third triggering operation of the user on the sub-floating window associated with the interactive function module;

[0121] The interactive information display module is used to monitor that the user inputs the interactive information into the input control and then display the interactive information in a preset floating window form.

[0122] The function interface display module also includes:

[0123] a thread starting module, configured to start a sub-floating window thread associated with the second functional module in response to a first triggering operation of the user on the main floating window;

[0124] The interface display module is configured to display a function interface corresponding to the sub-floating window thread in response to a third triggering operation of the user on the sub-floating window.

[0125] In an exemplary embodiment, the display device 1100 for the functional modules in the application further includes:

[0126] The custom interface display module is used to display the custom interface of the sub-floating window in response to a third triggering operation of the user on the main floating window.

[0127] The custom interface display module also includes:

[0128] The floating window updating module is used to update the sub-floating window associated with the second functional module according to the user's selection operation on multiple second functional modules to be displayed in the first application through the custom interface.

[0129] In an exemplary embodiment, the display device 1100 for the functional modules in the application further includes:

[0130] The third display module is used to create and display a main floating window associated with the first functional module in the first application.

[0131] The second creation module is used to create sub-floating windows associated with multiple second functional modules in the first application and the second application respectively.

[0132] The fourth display module is used to display the plurality of sub-floating windows when the main floating window receives a first triggering operation from the user.

[0133] The specific details of each module in the display device of the functional module in the above application have been described in detail in the display method of the functional module in the corresponding application, so they will not be repeated here.

[0134] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0135] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for displaying a functional module in an application, characterized in that: include: Creating and displaying a main floating window associated with a first functional module in a first application program; Creating sub-floating windows respectively associated with a plurality of second functional modules in the first application; When a first triggering operation performed by the user on the main floating window is received, displaying the plurality of sub-floating windows; Wherein, the second functional module includes an interactive functional module, and the method further includes: In response to a third triggering operation of the user on the sub-floating window associated with the interactive function module, displaying an input control associated with the sub-floating window; After detecting that the user inputs the interaction information into the input control, the interaction information is displayed in a preset floating window form.

2. The method for displaying functional modules in an application according to claim 1, characterized in that: The creating and displaying a main floating window associated with the first functional module in the first application program includes: Initializing layout parameters of the main floating window associated with the first functional module in the first application; Creating the main floating window based on the layout parameters; In response to a second triggering operation of the user on the function control corresponding to the first function module, the main floating window is displayed.

3. The method for displaying functional modules in an application according to claim 1, characterized in that: The method further comprises: According to the user's historical behavior data, a plurality of second functional modules to be displayed in the first application are determined.

4. The method for displaying functional modules in an application according to claim 1, wherein: The method further comprises: In response to a third triggering operation of the user on the sub-floating window associated with the second functional module, a functional interface associated with the sub-floating window is displayed.

5. The method for displaying functional modules in an application according to claim 4, characterized in that: The method further comprises: In response to a first triggering operation of the user on the main floating window, starting a sub-floating window thread associated with the second functional module; In response to a third triggering operation of the user on the sub-floating window, a function interface corresponding to the sub-floating window thread is displayed.

6. The method for displaying functional modules in an application according to claim 1, characterized in that: The method further comprises: In response to a third triggering operation of the user on the main floating window, a customized interface of the sub-floating window is displayed.

7. The method for displaying functional modules in an application according to claim 6, characterized in that: The method further comprises: According to a user's selection operation on a plurality of second functional modules to be displayed in the first application through the custom interface, a sub-floating window associated with the second functional module is updated.

8. The method for displaying functional modules in an application according to claim 1, characterized in that: The method further comprises: Creating and displaying a main floating window associated with a first functional module in a first application program; Creating sub-floating windows associated with a plurality of second functional modules in the first application and the second application respectively; When the main floating window receives a first trigger operation from the user, a plurality of sub-floating windows are displayed.

9. A display device for a functional module in an application, characterized in that: include: A first display module, configured to create and display a main floating window associated with a first functional module in a first application program; A creation module, configured to create sub-floating windows associated with a plurality of second functional modules in the first application and the second application respectively; The second functional module includes an interactive functional module; A second display module is configured to display the plurality of sub-floating windows when the main floating window receives a first triggering operation from the user; The display device further includes: an input control display module, configured to display an input control associated with the sub-floating window in response to a third triggering operation of the user on the sub-floating window associated with the interactive function module; The interactive information display module is used to monitor that the user inputs the interactive information into the input control and then display the interactive information in a preset floating window form.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

11. An electronic device, characterized in that: include: processor; as well as a memory for storing executable instructions of the processor; The processor is configured to perform the method according to any one of claims 1 to 8 by executing the executable instructions.

Citation Information

Patent Citations

  • Control method and device of mobile terminal and mobile terminal

    CN106775647A

  • Display position switching method and device for widget application

    CN107066268A

  • Page skip method, page skip creation method, page skip creation device and terminal equipment

    CN111158841A