WO2021218455A1 - Interface display method, apparatus, terminal, and medium - Google Patents

Interface display method, apparatus, terminal, and medium Download PDF

Info

Publication number
WO2021218455A1
WO2021218455A1 PCT/CN2021/080726 CN2021080726W WO2021218455A1 WO 2021218455 A1 WO2021218455 A1 WO 2021218455A1 CN 2021080726 W CN2021080726 W CN 2021080726W WO 2021218455 A1 WO2021218455 A1 WO 2021218455A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
display
displayed
display priority
priority
Prior art date
Application number
PCT/CN2021/080726
Other languages
French (fr)
Chinese (zh)
Inventor
张勇
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021218455A1 publication Critical patent/WO2021218455A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • This application relates to terminal display, for example, to an interface display method, device, terminal, and medium.
  • terminal products such as mobile phones and tablet computers have become commonly used portable smart electronic devices.
  • Various terminal products have more and more functions, and more and more applications (App) are installed.
  • the space resources of the terminal screen display Area
  • time resources display duration
  • the application interfaces on the terminal are displayed in a fixed size full screen, usually arranged according to the startup sequence of multiple interfaces. When a new interface appears, it will completely cover or obscure the old interface. This display mechanism ignores that for different users, the value of each application interface is not necessarily equal. If another new but relatively unimportant interface appears while the user is viewing an important interface, it will still be overwritten. Or block the original important interface and hinder the user from obtaining information on the important interface. In order to return to the original important interface, the user has to try to switch the interface again. This display mechanism is inflexible and prevents the user from using the terminal smoothly.
  • the present application provides an interface display method, device, terminal and medium to realize the display of the interface according to the display priority, which can improve the flexibility of interface display and the convenience of viewing or operating the interface while displaying the target interface.
  • the embodiment of the present application provides an interface display method, including:
  • the embodiment of the present application also provides an interface display device, including:
  • a priority reading module configured to read the first display priority of the target interface and the second display priority of the displayed interface in response to the creation instruction of the target interface
  • the display control module is configured to display the target interface on the displayed interface according to the first display priority and the second display priority.
  • the embodiment of the present application also provides a terminal, including:
  • One or more processors are One or more processors;
  • Storage device set to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned interface display method.
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the above-mentioned interface display method is realized.
  • FIG. 1 is a flowchart of an interface display method provided by an embodiment
  • FIG. 2 is a schematic diagram of displaying a target interface on a displayed interface according to an embodiment
  • FIG. 3 is a flowchart of an interface display method provided by another embodiment
  • FIG. 4 is a flowchart of an interface display method provided by another embodiment
  • FIG. 5 is a schematic structural diagram of an interface display device provided by an embodiment
  • Fig. 6 is a schematic diagram of a hardware structure of a terminal provided by an embodiment.
  • the application interface on the terminal is displayed in a fixed-size full screen, usually arranged according to the startup sequence of multiple interfaces. When a new interface appears, it will completely obscure the old interface. For example, calling is one of the most important functions of the terminal. It has high timeliness and requires timely operation and processing. If the interface of a third-party application pops up during the display of the incoming call interface, it will be completely blocked In the incoming call interface, the user’s first reaction is that the incoming call interface cannot be found and cannot be viewed and operated in time.
  • the interface of third-party applications can be set to transparent or semi-transparent, but Because it obscures the incoming call interface, although the user can see part of the incoming call interface, they still cannot perform any operations because touch events are all received by the uppermost third-party application interface. Due to the need for manual switching and the inability to conveniently operate the interface, it causes confusion for users and affects user experience.
  • the interface display is only performed according to the startup sequence of the application, and the user's needs are not considered, and the display is inflexible.
  • an interface display method is provided. According to the priority of the displayed interface and the target interface to be displayed, the target interface is displayed on the basis of the displayed interface, thereby realizing the interface for different display priorities.
  • the display can improve the flexibility of the interface display and the convenience of viewing or operating the interface while displaying the target interface.
  • FIG. 1 is a flowchart of an interface display method provided in an embodiment. As shown in FIG. 1, the method provided in this embodiment includes step 110 and step 120.
  • step 110 in response to the creation instruction of the target interface, the first display priority of the target interface and the second display priority of the displayed interface are read.
  • step 120 the target interface is displayed on the displayed interface according to the first display priority and the second display priority.
  • the target interface refers to a new interface that needs to be additionally displayed during the display process of the displayed interface, and the creation of the target interface can be triggered by the user or automatically triggered by the application.
  • the displayed interface is a call interface.
  • the user can start an application with a shortcut key, such as launching an album application.
  • the target interface to be displayed can be the home page interface of the album application.
  • the home page interface includes multiple sub-albums or For the list of picture folders, thumbnails, etc., the processor of the terminal generates instructions for creating the home page interface of the photo album application according to the user's keystrokes or touch screen operations.
  • the displayed interface is a call interface.
  • a timed task of an application (such as an alarm clock application) is started, and the target interface to be displayed can be the ring interface of the alarm clock application.
  • the ring interface includes the current Time, the interval between the next resounding, and the key to turn off the alarm clock, etc.
  • the processor of the terminal generates a ring interface creation instruction according to the timed task of the alarm clock application.
  • step 110 when the terminal generates a target interface creation instruction, the first display priority of the target interface and the second display priority of the displayed interface are read.
  • the first display priority and the second display priority may be pre-stored in the local database of the terminal or stored in the network database of the server.
  • all interfaces of the same application can correspond to the same display priority, or different interfaces of the same application can correspond to different display priorities, and the corresponding display priority of each application or each interface of the application can be It is set independently by the user and stored in the database.
  • the display priority of the call application and the display priority of the album application are searched in the database.
  • Level you can determine how the home page interface of the photo album application should be displayed during a call.
  • the photo album application also includes the shooting interface. The display priority of the home page interface is inferior to the display priority of the call application, but the display priority of the shooting interface is higher than the display priority of the call application.
  • the corresponding display priority should be read according to whether the target interface to be displayed is the home page interface or the shooting interface.
  • the default display priority can be adopted.
  • the target interface can be displayed on the displayed interface.
  • the target interface and the displayed interface are displayed on different layers, the order of the upper or lower layer is the Z-order, and the one perpendicular to the plane of the mobile phone screen is the Z axis.
  • the target interface has a higher use value than the displayed interface and carries more important information.
  • you can On the layer above the displayed interface display the target interface in full screen or display the target interface in a larger proportion (for example, more than 50% of the screen).
  • the target interface can completely or partially occlude the displayed interface to ensure that the user can intuitively obtain the target interface
  • the important information in, the target interface can be conveniently operated.
  • the target interface has a lower use value (or equal) than the displayed interface, and the displayed interface
  • the information carried by the interface is more important (or equally important).
  • the target interface can be displayed on the displayed interface to remind the user that a new interface is created, but the target interface can only occupy a part of the screen, not completely The displayed interface is blocked to ensure that the user can still intuitively view the displayed interface or operate on the displayed interface.
  • the target interface can also be displayed on the displayed interface intermittently and blinking at a certain frequency (the target interface can be displayed in full screen, It can also occupy only a part of the screen) to remind the user that a new interface has been created.
  • the user can still view the displayed interface intuitively.
  • the user can also directly The interface has been displayed for operation.
  • the screen can also be divided into two parts, one part is used to display the target interface, the other part is used to display the displayed interface, and the two parts can overlap.
  • the user can view the target interface and the displayed interface at the same time, and can also operate on any one of the target interface and the displayed interface.
  • you can also remind users to select more important interfaces for full-screen display through shortcut keys, floating balls, dialog boxes, etc.
  • Fig. 2 is a schematic diagram of displaying a target interface on a displayed interface according to an embodiment.
  • the target interface is displayed in the diagonal area above the displayed interface, and the target interface can also flash to remind the user of the new The interface is created, but the target interface only occupies a part of the screen and does not completely obscure the displayed interface. Therefore, the user can still view the displayed interface intuitively, and can directly operate the displayed interface, which can avoid the target interface being The displayed interface is completely obscured after the startup, resulting in the omission of important information or hindering the user from operating the more important displayed interface. On this basis, when the user operates any one of the target interface or the displayed interface, the interface can be enlarged to full-screen display.
  • the interface display method of this embodiment determines the way to display the target interface above the displayed priority according to the display priority of the displayed interface and the target interface to be displayed, so that the target interface and the displayed interface can be displayed and covered together Display, flashing display, etc., so that users can conveniently view or operate relatively more important interfaces. While ensuring that the target interface is displayed, it can also avoid omitting important information or affecting important operations of the user. It can take into account the user’s personal habits and Demands have improved the flexibility and convenience of viewing and operating the interface.
  • Fig. 3 is a flowchart of an interface display method provided by another embodiment. As shown in Figure 3, the method provided in this embodiment includes steps 210-260.
  • step 210 in response to the creation instruction of the target interface, the first display priority of the target interface and the second display priority of the displayed interface are read.
  • step 220 it is judged whether the display priority of the target interface is higher than the display priority of the displayed interface; based on the judgment result that the display priority of the target interface is higher than the display priority of the displayed interface, execute S230; If the display priority is lower than or equal to the display priority of the displayed interface, execute S240.
  • step 230 the target interface is displayed in full screen on the displayed interface.
  • the target interface when the first display priority is higher than the second display priority, the target interface is displayed in full screen on the displayed interface.
  • the target interface can completely or partially block the displayed interface, and the displayed interface is no longer displayed. Occupy the display space of the screen, so as to make full use of display space resources to ensure that users can intuitively obtain important information in the target interface and perform convenient operations on the target interface.
  • step 240 the target interface is displayed in the setting display area above the displayed interface.
  • the display area is set to be smaller than the display area of the target interface.
  • the setting display area may be preset by the user according to different applications, different interfaces of each application, or according to different display priorities. For example, if the user sets the display area corresponding to the home page interface of the photo album application to a rectangular area of a certain size selected by a pre-frame at the bottom right of the screen through operations such as dragging and zooming, it will be regarded as a lower priority on the home page interface of the photo album application When the target interface needs to be displayed, the home page interface can be displayed in the rectangular area selected by the pre-frame at the bottom right of the screen.
  • the display priority can be in the form of a numerical value. The larger the value, the higher the display priority.
  • the user can preset any interface for any application, if the corresponding display priority value is lower than the set threshold "3 ", when it needs to be displayed as a lower priority target interface, it will be displayed in a certain size ratio above the displayed interface and at the bottom right of the screen to remind the user that a new interface is created, etc.
  • the display priority of the target interface is low, it only occupies a part of the screen and does not completely obscure the displayed interface, ensuring that the user can still intuitively view the displayed interface or perform operations on the displayed interface.
  • step 250 an operation instruction input by the user is received through the displayed interface.
  • the target interface on the basis that the target interface is displayed in the setting display area above the displayed interface, the target interface is located in the upper layer but does not completely obscure the displayed interface, and the displayed interface (the part that is not obscured by the target interface) is passed through Can receive the user's operating instructions on the displayed interface.
  • the home page interface of the photo album application if the home page interface of the photo album application is displayed in the setting display area above the call interface, the user can still record the call by clicking the unobstructed "Record" button on the call interface.
  • the home page interface of the photo album application does not affect the user's normal use of the call application, which can ensure that important information will not be missed, and will not affect the user's direct operation of higher priority.
  • step 260 the displayed interface is adjusted to the target interface according to the operation instruction and the displayed interface is displayed in full screen.
  • the displayed interface (such as the call interface) can be adjusted to the target interface (such as an album).
  • the target interface such as an album
  • the displayed interface can completely cover the target interface, which is intuitive and convenient for users Continue to operate on the displayed interface without having to consider the target interface with a lower priority.
  • steps 250-260 may also be: through shortcut keys, floating balls, dialog boxes, etc., independent of the displayed interface and the target interface, reminding the user to actively choose one of the displayed interface and the target interface is more important The interface switches to full screen for display.
  • the interface display method of this embodiment flexibly adjusts the area or way of displaying the target interface according to the comparison result of the first display priority and the second display priority, so that the user can conveniently view or operate the relatively more important interface , And can ensure the user's convenient operation of the displayed interface when the priority of the displayed interface is higher, taking into account the user's personal habits and needs, and improving the flexibility and convenience of viewing and operating the interface.
  • the method before reading the first display priority of the target interface and the second display priority of the displayed interface, the method further includes: determining the application and/or interface status according to the priority setting instruction input by the user Display priority; the display priority is stored in the database according to the package name of the application and/or the class name of the interface.
  • the user can pre-set the display priority of different applications installed on the terminal, or different interfaces of each application, and store them in the database in the unit of application or interface, so as to facilitate the creation of the target interface.
  • Find and read For example, set the display priority of the homepage interface of the album application to "2", set the display priority of the photographing interface of the album application to "5", and set the display priority of the alarm clock application (all interfaces) to "1" Etc., the larger the display priority value, the higher the display priority; then mark the home page interface of the album application as class name 1, the shooting interface as class name 2, the alarm clock application as package name 1, and the album
  • the display priority of multiple interfaces of the application is stored in the database according to the class name
  • the display priority of the alarm clock application is stored in the database according to the package name.
  • the corresponding display priority can be read according to the class name 1, and the corresponding display priority is 2; when the created target interface is the shooting interface of the photo album application, the corresponding display priority is 2 The corresponding display priority can be read as "5"; when the created target interface is an interface of the alarm clock application, the corresponding display priority can be read as "1" according to the package name 1. It should be noted that the display priority is not limited to a numerical value, and may also be any form of letters, words, graphics, characters, character strings, etc. that can be used to indicate a predetermined priority order.
  • the method before reading the first display priority of the target interface and the second display priority of the displayed interface, the method further includes: determining the application and/or interface according to the display area setting instruction input by the user Display area; the display area is stored in the database according to the package name of the application and/or the class name of the interface.
  • the user can preset different applications installed on the terminal or display areas of different interfaces of each application, and store them in the database in units of applications or interfaces, which is convenient for searching when creating a target interface. And read. For example, set the display area of the home page interface of the album application to "bottom right of the screen, ratio 40%”, set the display area of the shooting interface of the album application to "bottom right of the screen, ratio 60%”, and set the alarm clock application (all interfaces )’S display priority is set to "bottom right of the screen, ratio 30%", etc.
  • the home page interface of the photo album application is marked as category name 1
  • the shooting interface is marked For class name 2
  • record the alarm clock application as package name 1
  • the created target interface is the home page interface of the photo album application
  • the corresponding display area can be read as "bottom right of the screen, ratio 40%" according to the category name 1.
  • the corresponding display priority can be read according to the class name 2 as "bottom right of the screen, ratio 60%"; when the created target interface is an interface of the alarm clock application, the corresponding display can be read according to the package name 1.
  • the priority is "bottom right of the screen, ratio 30%”.
  • the display area is not limited to the position and proportion, and can also be any form of letters, words, graphics, characters, character strings, etc. associated with and corresponding to a predetermined priority order.
  • Fig. 4 is a flowchart of an interface display method provided by another embodiment. As shown in Figure 4, the method provided in this embodiment includes steps 301-311.
  • step 301 the display priority of the application and/or interface is determined according to the priority setting instruction input by the user.
  • the priority setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes the display priority for the selected application and/or interface input; the unselected application And/or the interface corresponds to the default display priority.
  • the display priority can be represented by a certain number interval, for example: "-5" represents the lowest display priority, "5" represents the highest display priority, and "0" represents the default display priority ( This value is used when the user does not specify the display priority). For example, if the user pays much attention to the call interface, he can define it as the highest display priority "5". Therefore, when the display priority of the created target interface is lower than 5, the target interface can only be in the set display area Display, without completely obscuring the call interface; applications or interfaces that the user does not care about need not be set, and the default display priority "0" is adopted; for some infrequently used applications such as Subscriber Identity Module (SIM)
  • SIM Subscriber Identity Module
  • the interface of the card toolkit can be defined by the user as the lowest display priority "-5". Therefore, when the interface of the SIM card toolkit is created, the displayed interface will not be completely obscured by the interface.
  • the user can uniformly specify a priority for all interfaces of an application. For example, a list of all currently installed applications can be displayed on the terminal. The user can select one of the applications, and then specify the display priority of this application. The value of the level.
  • the package name of the application can uniquely represent the application, and the package name and display priority value of the application are stored in the database.
  • the user can also specify a priority for a specific interface in an application. For example, by displaying a floating button or shortcut key on the terminal, the user enters the application whose display priority is to be set and enters a specific interface of the application. At this time, the user can click the floating button or shortcut key to indicate that the value of the display priority of the current interface is to be specified.
  • the class name of the interface can uniquely represent the interface, and the class name and display priority value of the interface are stored in the database.
  • the display priority of the interface is preferentially used. If the user does not set an application or interface, the default display priority is adopted.
  • step 302 the display area of the application and/or interface is determined according to the display area setting instruction input by the user.
  • the display area setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes display area information input for the selected application and/or interface; the display area information includes Adjustable display area border and/or display area to screen ratio; unselected applications and/or interfaces correspond to the default display area information.
  • the user can specify how much display area of the screen can be occupied by multiple display priority interfaces when they are displayed as lower priority target interfaces. For example, in the process of setting the display area of an interface, a box can be displayed, and the user can drag the four sides or corners of the box to set the position and size of the display area corresponding to the interface.
  • the size of the display area can also be defined as a ratio relative to the physical screen. For example, the display area of a certain interface can be defined as the lower right of the screen, occupying two-thirds of the size of the entire physical screen.
  • the display area of the interface is preferentially used. If the user does not set an application or interface, the default display area is used.
  • step 303 the display priority and the display area are respectively stored in a database according to the package name of the application and/or the class name of the interface.
  • the display priority and display area specified by the user are stored according to the package name and/or class name, where the display priority is set for the application (or the interface in the application), and the display area can not only be set for the application (or the interface in the application)
  • the application (or the interface in the application) can be set, and the display priority can also be set. For example, set the interface of all applications with a display priority of "3", and the corresponding display area is the lower right of the screen, occupying the entire physical screen Two-thirds the size of the area.
  • step 304 in response to the target interface creation instruction, according to the package name of the application to which the target interface belongs or the target interface class name, the corresponding display priority is searched in the database as the first display priority.
  • step 305 according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, the corresponding display priority is searched in the database as the second display priority.
  • step 306 it is determined whether the display priority of the target interface is higher than the display priority of the displayed interface; based on the judgment result that the display priority of the target interface is higher than the display priority of the displayed interface, step 307 is executed; based on the target interface If the display priority of is lower than or equal to the display priority of the displayed interface, step 308 is executed.
  • step 307 the target interface is displayed in full screen on the displayed interface.
  • full screen refers to using all areas of the entire physical screen to display the target interface, or using the area of the screen to display the target interface after removing the top status bar. If the display priority of the target interface is higher than the display priority of the displayed interface, the target interface will obscure the displayed interface.
  • step 308 according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, the corresponding display area is searched in the database as the set display area.
  • step 309 the target interface is displayed in the setting display area above the displayed interface.
  • step 310 an operation instruction input by a user is received through the displayed interface.
  • step 311 adjust the displayed interface to the target interface according to the operation instruction and display the displayed interface in full screen
  • the target interface should be displayed in the top-most set display area on the screen.
  • the entire area to be displayed is the set display area.
  • the set display area is equivalent to a virtual screen, and the content of the target interface will be reduced by a certain ratio compared to occupying the full physical screen. show.
  • part of the displayed interface in the lower layer can still be seen by the user and can respond to the user's operation.
  • the user can choose to continue to operate the target interface or the displayed interface. If the user operates the displayed interface, the displayed interface returns to the top level, that is, the foreground. If the target interface is operated, the functions provided on the target interface can also be used normally.
  • the foregoing embodiment is described by taking a case of two interfaces (a displayed interface and a target interface) as an example.
  • the displayed interface is the A interface
  • the target interface is the B interface.
  • the display priority of the B interface is lower than that of the A interface, and it is displayed in the setting display area above the A interface.
  • the display priority of the C interface can be compared with the display priority of the A interface. If the display priority of the C interface is lower than or equal to the display priority of the A interface Display priority, you can display the C interface below the B interface and above the A interface according to the display area corresponding to the C interface, and the display priority of the C interface is also higher than the display priority of the A interface, that is, the C interface. The display priority of is higher than the display priority of all the displayed interfaces, then the C interface can be displayed in full screen, occupying all the screen area available to the application, and covering all other displayed interfaces.
  • the flexible display of any number of interfaces can be realized, and the user's convenient operation of important interfaces can be ensured, and the user experience can be improved.
  • the target interface when a new target interface with a lower priority is created, the target interface can be displayed and does not completely obscure the displayed interface with a higher priority, so that the user can easily Discover the existence of a high-priority interface, and you can quickly switch back to the high-priority interface to continue operation by clicking on the high-priority interface, which not only meets the display requirements of the new interface, but also does not completely obscure the high-priority interface and hinder users View and operate, effectively avoid missing important information; users can independently set the display priority and display area, fully consider the personal preferences and needs of different users, improve user experience; and can be extended to display multiple interfaces, significantly improving the interface The flexibility of the display and the convenience of the user to use the terminal.
  • FIG. 5 is a schematic structural diagram of an interface display device provided by an embodiment. As shown in FIG. 5, the interface display device includes: a priority reading module 410 and a display control module 420.
  • the priority reading module 410 is configured to read the first display priority of the target interface and the second display priority of the displayed interface in response to the creation instruction of the target interface;
  • the display control module 420 is configured to display the target interface on the displayed interface according to the first display priority and the second display priority.
  • the priority reading module 410 reads the first display priority and the second display priority, and compares and determines the display priorities of the two. The result is transmitted to the display control module 420; in the display process of the target interface, the display control module 420 decides the layout and display mode of the target interface and the displayed interface. According to the display priority of the displayed interface and the target interface to be displayed, the target interface is displayed on the basis of the displayed interface, which realizes the display of interfaces with different display priorities, which can improve the interface display while displaying the target interface The flexibility and convenience of viewing or operating the interface.
  • the display control module 420 is configured to:
  • the target interface is displayed in the set display area above the displayed interface, wherein the set display area is smaller than the set display area.
  • the display area of the target interface is described.
  • the display control module 420 is configured to:
  • the target interface is displayed in full screen on the displayed interface.
  • it further includes:
  • An operation instruction receiving module configured to receive an operation input by a user through the displayed interface after displaying the target interface on the displayed interface according to the first display priority and the second display priority instruction;
  • the adjustment module is configured to adjust the displayed interface to the target interface according to the operation instruction and display the displayed interface in full screen.
  • it further includes:
  • the priority setting module is set to determine the display priority of the application and/or interface according to the priority setting instruction input by the user;
  • the priority storage module is configured to store the display priority in the database according to the package name of the application and/or the class name of the interface.
  • the priority setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes the display priority input for the selected application and/or interface;
  • it further includes:
  • An area setting module configured to determine the display area of the application and/or interface according to the display area setting instruction input by the user before reading the first display priority of the target interface and the second display priority of the displayed interface;
  • the area storage module is configured to store the display area in the database according to the package name of the application and/or the class name of the interface.
  • the display area setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and the display area information input for the selected application and/or interface;
  • the display area information includes an adjustable display area border and/or a ratio value of the display area to the screen;
  • the unselected applications and/or interfaces correspond to the default display area information.
  • the priority setting module is set to provide the user with an interactive interface and data storage for customizing the display priority of a certain application or interface
  • the regional setting module is set to provide the user with a display of multiple priority interfaces.
  • Customized interactive interface and data storage for the location and size of the area. In order to consider the user's personal preferences and needs for flexible settings.
  • the priority reading module 410 is set to:
  • it further includes:
  • the set display area determination module is set to search for the corresponding display area in the database as the set display area according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface.
  • the interface display device proposed in this embodiment belongs to the same concept as the interface display method proposed in the above embodiment.
  • the embodiment of the present application also provides a terminal.
  • the interface display method may be executed by an interface display device, which may be implemented by software and/or hardware, and integrated in the terminal.
  • the terminals include desktop computers, notebook computers, smart phones, and tablet computers.
  • Fig. 6 is a schematic diagram of a hardware structure of a terminal provided by an embodiment.
  • a terminal provided in this embodiment includes a processor 510 and a storage device 520.
  • one processor 510 is taken as an example.
  • the processor 510 and the storage device 520 in the device may be connected by a bus or other methods. Connect as an example.
  • the one or more programs are executed by the one or more processors 510, so that the one or more processors implement the interface display method described in any of the foregoing embodiments.
  • the storage device 520 in the terminal can be configured to store one or more programs.
  • the programs can be software programs, computer-executable programs, and modules, such as the interface display method in the embodiment of the present application.
  • Corresponding program instructions/modules (for example, the modules in the interface display device shown in FIG. 5 include: a priority reading module 410 and a display control module 420).
  • the processor 510 executes various functional applications and data processing of the terminal by running software programs, instructions, and modules stored in the storage device 520, that is, implements the interface display method in the foregoing method embodiment.
  • the storage device 520 mainly includes a storage program area and a storage data area.
  • the storage program area can store an operating system and an application program required by at least one function; the storage data area can store data created according to the use of the device, etc. In the example, the first display priority, creation instruction, etc.).
  • the storage device 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the storage device 520 may include a memory remotely provided with respect to the processor 510, and these remote memories may be connected to the terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the following operations are implemented: in response to the creation instruction of the target interface, the first display priority of the target interface is read And a second display priority of the displayed interface; displaying the target interface on the displayed interface according to the first display priority and the second display priority.
  • the terminal proposed in this embodiment and the interface display method proposed in the above embodiment belong to the same concept.
  • the embodiment of the present application also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are set to execute an interface display method when executed by a computer processor.
  • the interface display method includes: in response to the creation instruction of the target interface, reading the first display priority of the target interface and the second display priority of the displayed interface; according to the first display priority and the second display priority The display priority displays the target interface above the displayed interface.
  • this application can be implemented by software and general hardware, or can be implemented by hardware.
  • the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-Only Memory (ROM), Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including multiple instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute any of this application The method described in the embodiment.
  • the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
  • the computer program can be stored on the memory.
  • the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read only memory (ROM), random access memory (RAM), optical storage devices and systems (digital multi-function optical discs) DVD or CD) etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSP), application-specific integrated circuits (ASIC), programmable logic devices (FGPA) And processors based on multi-core processor architecture.
  • DSP digital signal processors
  • ASIC application-specific integrated circuits
  • FGPA programmable logic devices
  • the embodiments of the present application provide an interface display method, device, terminal, and medium.
  • the method responds to a creation instruction of a target interface and reads the first display priority of the target interface and the second display priority of the displayed interface ; According to the first display priority and the second display priority to display the target interface above the displayed interface.
  • the above technical solution realizes the display of the interface according to the display priority.
  • the user's personal habits and needs can be considered when the interface is displayed, and the flexibility of the interface display and the convenience of viewing or operating the interface can be improved while the target interface is displayed. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application provides an interface display method, an apparatus, a terminal, and a medium. The method comprises: in response to a creation instruction for a target interface, reading a first display priority of the target interface and a second display priority of a displayed interface; and displaying the target interface on the displayed interface according to the first display priority and the second display priority.

Description

一种界面显示方法、装置、终端及介质Interface display method, device, terminal and medium 技术领域Technical field
本申请涉及终端显示,例如涉及一种界面显示方法、装置、终端及介质。This application relates to terminal display, for example, to an interface display method, device, terminal, and medium.
背景技术Background technique
如今手机和平板电脑等终端产品已经成为人们普遍使用的便携式智能电子设备,各类终端产品的功能越来越丰富,安装的应用(App)也越来越多,但终端屏幕的空间资源(显示面积)和时间资源(显示时长)是有限的,众多应用尤其是第三方应用之间为了争夺用户,存在激烈的竞争关系,当用户的目光聚焦在终端屏幕上时,哪个应用在屏幕上显示的面积越大、时间越久,就更有可能得到用户的关注。Nowadays, terminal products such as mobile phones and tablet computers have become commonly used portable smart electronic devices. Various terminal products have more and more functions, and more and more applications (App) are installed. However, the space resources of the terminal screen (display Area) and time resources (display duration) are limited. Many applications, especially third-party applications, are competing for users. There is fierce competition. When users focus on the terminal screen, which application is displayed on the screen The larger the area and the longer the time, the more likely it is to get the attention of users.
目前,终端上的应用界面都是按固定大小满屏显示的,通常会根据多个界面的启动顺序来排列显示,当新的界面出现时,就会完全覆盖或遮挡旧的界面。这种显示机制忽略了对于不同的用户来说,每个应用界面的价值不一定是相等的,如果在用户正在查看一个重要界面时,出现另一个新的但是相对不重要的界面,仍然会覆盖或遮挡住原来的重要界面,阻碍用户获取重要界面的信息,为了再回到原来的重要界面,用户还要再设法切换界面,这种显示机制不灵活,妨碍了用户顺畅地使用终端。At present, the application interfaces on the terminal are displayed in a fixed size full screen, usually arranged according to the startup sequence of multiple interfaces. When a new interface appears, it will completely cover or obscure the old interface. This display mechanism ignores that for different users, the value of each application interface is not necessarily equal. If another new but relatively unimportant interface appears while the user is viewing an important interface, it will still be overwritten. Or block the original important interface and hinder the user from obtaining information on the important interface. In order to return to the original important interface, the user has to try to switch the interface again. This display mechanism is inflexible and prevents the user from using the terminal smoothly.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请提供一种界面显示方法、装置、终端及介质,以实现根据显示优先级对界面进行显示,能够在显示目标界面的同时,提高界面显示的灵活性以及查看或操作界面的便捷性。The present application provides an interface display method, device, terminal and medium to realize the display of the interface according to the display priority, which can improve the flexibility of interface display and the convenience of viewing or operating the interface while displaying the target interface.
本申请实施例提供一种界面显示方法,包括:The embodiment of the present application provides an interface display method, including:
响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;In response to the creation instruction of the target interface, read the first display priority of the target interface and the second display priority of the displayed interface;
根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。Displaying the target interface on the displayed interface according to the first display priority and the second display priority.
本申请实施例还提供了一种界面显示装置,包括:The embodiment of the present application also provides an interface display device, including:
优先级读取模块,设置为响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;A priority reading module, configured to read the first display priority of the target interface and the second display priority of the displayed interface in response to the creation instruction of the target interface;
显示控制模块,设置为根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。The display control module is configured to display the target interface on the displayed interface according to the first display priority and the second display priority.
本申请实施例还提供了一种终端,包括:The embodiment of the present application also provides a terminal, including:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序;Storage device, set to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的界面显示方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned interface display method.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现上述的界面显示方法。The embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the above-mentioned interface display method is realized.
在阅读并理解了附图和详细描述后,可以明白其他方面。After reading and understanding the drawings and detailed description, other aspects can be understood.
附图说明Description of the drawings
图1为一实施例提供的一种界面显示方法的流程图;FIG. 1 is a flowchart of an interface display method provided by an embodiment;
图2为一实施例提供的在已显示界面之上显示目标界面的示意图;FIG. 2 is a schematic diagram of displaying a target interface on a displayed interface according to an embodiment;
图3为另一实施例提供的一种界面显示方法的流程图;FIG. 3 is a flowchart of an interface display method provided by another embodiment;
图4为又一实施例提供的一种界面显示方法的流程图;FIG. 4 is a flowchart of an interface display method provided by another embodiment;
图5为一实施例提供的一种界面显示装置的结构示意图;FIG. 5 is a schematic structural diagram of an interface display device provided by an embodiment;
图6为一实施例提供的一种终端的硬件结构示意图。Fig. 6 is a schematic diagram of a hardware structure of a terminal provided by an embodiment.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。可以理解的是,此处所描述的实施例仅仅用于解释本申请,而非对本申请的限定。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be described below with reference to the drawings and embodiments. It can be understood that the embodiments described here are only used to explain the application, but not to limit the application. It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other arbitrarily if there is no conflict. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
终端上的应用界面都是按固定大小满屏显示的,通常会根据多个界面的启动顺序来排列显示,当新的界面出现时,就会完全遮挡旧的界面。例如,通话是终端最重要的功能之一,具有较高的时效性,需要及时的操作和处理,如果 在显示来电界面的过程中,某个第三方应用的界面主动弹出,就会完全遮挡住来电界面,用户第一反应是找不到来电界面,无法及时查看和操作,还需要通过悬浮菜单、任务栏等手动切换;有些终端中可以将第三方应用的界面设置为透明或半透明,但由于其遮挡住了来电界面,虽然用户可以看到来电界面的部分内容,但仍无法进行任何操作,因为触摸事件都被最上层的第三方应用界面接收。由于需要手动切换、无法便捷地对界面进行操作,给用户带来了困扰,影响用户体验,仅根据应用的启动顺序进行界面显示,没有考虑到用户的需求,显示不灵活。The application interface on the terminal is displayed in a fixed-size full screen, usually arranged according to the startup sequence of multiple interfaces. When a new interface appears, it will completely obscure the old interface. For example, calling is one of the most important functions of the terminal. It has high timeliness and requires timely operation and processing. If the interface of a third-party application pops up during the display of the incoming call interface, it will be completely blocked In the incoming call interface, the user’s first reaction is that the incoming call interface cannot be found and cannot be viewed and operated in time. It also needs to be manually switched through the floating menu, task bar, etc.; in some terminals, the interface of third-party applications can be set to transparent or semi-transparent, but Because it obscures the incoming call interface, although the user can see part of the incoming call interface, they still cannot perform any operations because touch events are all received by the uppermost third-party application interface. Due to the need for manual switching and the inability to conveniently operate the interface, it causes confusion for users and affects user experience. The interface display is only performed according to the startup sequence of the application, and the user's needs are not considered, and the display is inflexible.
在本申请实施例中,提供了一种界面显示方法,根据已显示界面和待显示的目标界面的优先级,在已显示界面的基础上再显示目标界面,实现了针对不同显示优先级的界面的显示,能够在显示目标界面的同时,提高界面显示的灵活性以及查看或操作界面的便捷性。In the embodiment of the present application, an interface display method is provided. According to the priority of the displayed interface and the target interface to be displayed, the target interface is displayed on the basis of the displayed interface, thereby realizing the interface for different display priorities. The display can improve the flexibility of the interface display and the convenience of viewing or operating the interface while displaying the target interface.
图1为一实施例提供的一种界面显示方法的流程图,如图1所示,本实施例提供的方法包括步骤110和步骤120。FIG. 1 is a flowchart of an interface display method provided in an embodiment. As shown in FIG. 1, the method provided in this embodiment includes step 110 and step 120.
在步骤110中,响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级。In step 110, in response to the creation instruction of the target interface, the first display priority of the target interface and the second display priority of the displayed interface are read.
在步骤120中,根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。In step 120, the target interface is displayed on the displayed interface according to the first display priority and the second display priority.
本实施例中,目标界面是指需要在已显示界面的显示过程中另外显示的新的界面,目标界面的创建可以由用户触发或者由应用自动触发。例如,已显示界面为通话界面,在通话过程中,用户可以通过快捷键启动一个应用,例如启动相册应用,则待显示的目标界面可以为相册应用的首页界面,首页界面中包括多个子相册或图片文件夹的列表、缩略图等,终端的处理器根据用户的按键或触屏操作生成相册应用的首页界面的创建指令。又如,已显示界面为通话界面,在通话过程中,某个应用(例如闹钟应用)的定时任务被启动,则待显示的目标界面可以为闹钟应用的响铃界面,响铃界面中包括当前时间、下次重响间隔、关闭闹钟的按键等,终端的处理器根据闹钟应用的定时任务生成响铃界面的创建指令。In this embodiment, the target interface refers to a new interface that needs to be additionally displayed during the display process of the displayed interface, and the creation of the target interface can be triggered by the user or automatically triggered by the application. For example, the displayed interface is a call interface. During the call, the user can start an application with a shortcut key, such as launching an album application. The target interface to be displayed can be the home page interface of the album application. The home page interface includes multiple sub-albums or For the list of picture folders, thumbnails, etc., the processor of the terminal generates instructions for creating the home page interface of the photo album application according to the user's keystrokes or touch screen operations. For another example, the displayed interface is a call interface. During the call, a timed task of an application (such as an alarm clock application) is started, and the target interface to be displayed can be the ring interface of the alarm clock application. The ring interface includes the current Time, the interval between the next resounding, and the key to turn off the alarm clock, etc. The processor of the terminal generates a ring interface creation instruction according to the timed task of the alarm clock application.
在步骤110中,在终端生成目标界面的创建指令的情况下,读取目标界面的第一显示优先级和已显示界面的第二显示优先级。其中,第一显示优先级和第二显示优先级可以预先存储在终端的本地数据库中或者存储在服务器的网络 数据库中。在数据库中,同一个应用的所有界面可以对应于相同的显示优先级,或者同一个应用的不同界面可以对应于不同的显示优先级,每个应用或者应用的每个界面对应的显示优先级可以由用户自主设置并存储在数据库中。In step 110, when the terminal generates a target interface creation instruction, the first display priority of the target interface and the second display priority of the displayed interface are read. Wherein, the first display priority and the second display priority may be pre-stored in the local database of the terminal or stored in the network database of the server. In the database, all interfaces of the same application can correspond to the same display priority, or different interfaces of the same application can correspond to different display priorities, and the corresponding display priority of each application or each interface of the application can be It is set independently by the user and stored in the database.
例如,用户设置了通话应用的显示优先级为最高优先级,相册应用的显示优先级次于通话应用的显示优先级等,则通过在数据库中查找通话应用的显示优先级和相册应用的显示优先级,可以确定通话过程中相册应用的首页界面应如何显示。又如,相册应用除了首页界面以外还包括拍摄界面,首页界面的显示优先级次于通话应用的显示优先级,但拍摄界面的显示优先级高于通话应用的显示优先级,则在启动相册应用时,要根据待显示的目标界面是首页界面还是拍摄界面,从而读取相应的显示优先级。此外,对于用户未设置显示优先级的应用,可以采用默认的显示优先级。For example, if the user sets the display priority of the call application to the highest priority, and the display priority of the album application is inferior to the display priority of the call application, etc., the display priority of the call application and the display priority of the album application are searched in the database. Level, you can determine how the home page interface of the photo album application should be displayed during a call. For another example, in addition to the home page interface, the photo album application also includes the shooting interface. The display priority of the home page interface is inferior to the display priority of the call application, but the display priority of the shooting interface is higher than the display priority of the call application. At the time, the corresponding display priority should be read according to whether the target interface to be displayed is the home page interface or the shooting interface. In addition, for applications for which the user has not set a display priority, the default display priority can be adopted.
在步骤120中,通过比较第一显示优先级与第二显示优先级,可以在已显示界面之上显示目标界面。其中,目标界面和已显示界面显示在不同层,上层或下层的排列顺序即为Z序(Z-order),垂直于手机屏幕平面的即为Z轴。例如,如果第一显示优先级高于第二显示优先级,则对于用户来说,目标界面相比于已显示界面具有更高的使用价值,携带了更重要的信息,这种情况下,可以在已显示界面之上的层,全屏显示目标界面或者以较大比例(例如超过屏幕的50%)显示目标界面,目标界面可以完全遮挡或部分遮挡已显示界面,保证用户可以直观地获取目标界面中的重要信息、对目标界面进行便捷地操作。In step 120, by comparing the first display priority with the second display priority, the target interface can be displayed on the displayed interface. Among them, the target interface and the displayed interface are displayed on different layers, the order of the upper or lower layer is the Z-order, and the one perpendicular to the plane of the mobile phone screen is the Z axis. For example, if the first display priority is higher than the second display priority, for the user, the target interface has a higher use value than the displayed interface and carries more important information. In this case, you can On the layer above the displayed interface, display the target interface in full screen or display the target interface in a larger proportion (for example, more than 50% of the screen). The target interface can completely or partially occlude the displayed interface to ensure that the user can intuitively obtain the target interface The important information in, the target interface can be conveniently operated.
在一实施例中,如果第一显示优先级低于(或等于)第二显示优先级,则对于用户来说,目标界面相比于已显示界面,使用价值较低(或相等),已显示界面携带的信息更为重要(或同等重要),这种情况下,可以在已显示界面之上显示目标界面以提醒用户新的界面被创建,但目标界面可以只占据屏幕的一部分、不会完全遮挡已显示界面,保证用户仍然可以直观地查看已显示界面或者对已显示界面进行操作。In one embodiment, if the first display priority is lower than (or equal to) the second display priority, then for the user, the target interface has a lower use value (or equal) than the displayed interface, and the displayed interface The information carried by the interface is more important (or equally important). In this case, the target interface can be displayed on the displayed interface to remind the user that a new interface is created, but the target interface can only occupy a part of the screen, not completely The displayed interface is blocked to ensure that the user can still intuitively view the displayed interface or operate on the displayed interface.
在一些实施例中,如果第一显示优先级低于或等于第二显示优先级,也可以在已显示界面之上,按照一定的频率间断地、闪烁地显示目标界面(目标界面可以全屏显示,也可以只占据屏幕的一部分),以提醒用户新的界面被创建,用户仍然可以直观地查看已显示界面,并且在目标界面闪烁过程中,在目标界面消失的时间段内,用户也可以直接对已显示界面进行操作。In some embodiments, if the first display priority is lower than or equal to the second display priority, the target interface can also be displayed on the displayed interface intermittently and blinking at a certain frequency (the target interface can be displayed in full screen, It can also occupy only a part of the screen) to remind the user that a new interface has been created. The user can still view the displayed interface intuitively. During the flashing of the target interface, the user can also directly The interface has been displayed for operation.
例如,在一些实施例中,如果第一显示优先级等于第二显示优先级,也可 以将屏幕划分为两部分,一部分用于显示目标界面,一部分用于显示已显示界面,两部分可以有重叠,用户可以同时查看目标界面和已显示界面,也可以对目标界面和已显示界面中的任意一个进行操作。此外,还可以通过快捷键、悬浮球、对话框等方式提醒用户选择更重要的界面进行全屏显示。For example, in some embodiments, if the first display priority is equal to the second display priority, the screen can also be divided into two parts, one part is used to display the target interface, the other part is used to display the displayed interface, and the two parts can overlap. , The user can view the target interface and the displayed interface at the same time, and can also operate on any one of the target interface and the displayed interface. In addition, you can also remind users to select more important interfaces for full-screen display through shortcut keys, floating balls, dialog boxes, etc.
图2为一实施例提供的在已显示界面之上显示目标界面的示意图。如图2所示,以第一显示优先级低于第二显示优先级的情况为例,在已显示界面之上的斜线区域显示目标界面,该目标界面也可以闪烁,从而提醒用户新的界面被创建,但目标界面只占据了屏幕的一部分,并没有完全遮挡已显示界面,因此,用户仍然可以直观地查看已显示界面,并且可以直接对已显示界面进行操作,能够避免由于目标界面是后启动的而完全遮挡了已显示界面,导致遗漏重要信息或妨碍用户对更重要的已显示界面进行操作。在此基础上,用户对目标界面或已显示界面中的任意一个界面进行操作时,可以再将该界面放大至全屏显示。Fig. 2 is a schematic diagram of displaying a target interface on a displayed interface according to an embodiment. As shown in Figure 2, taking the case where the first display priority is lower than the second display priority as an example, the target interface is displayed in the diagonal area above the displayed interface, and the target interface can also flash to remind the user of the new The interface is created, but the target interface only occupies a part of the screen and does not completely obscure the displayed interface. Therefore, the user can still view the displayed interface intuitively, and can directly operate the displayed interface, which can avoid the target interface being The displayed interface is completely obscured after the startup, resulting in the omission of important information or hindering the user from operating the more important displayed interface. On this basis, when the user operates any one of the target interface or the displayed interface, the interface can be enlarged to full-screen display.
本实施例的界面显示方法,通过根据已显示界面与待显示的目标界面的显示优先级,确定在已显示优先级之上显示目标界面的方式,使目标界面与已显示界面可以共同显示、覆盖显示、闪烁显示等,使得用户可以便捷地对相对更重要的界面进行查看或操作,在确保显示目标界面的同时也可以避免遗漏重要信息或影响用户的重要操作,能够考虑到用户的个人习惯和需求,提高了查看和操作界面的灵活性和便捷性。The interface display method of this embodiment determines the way to display the target interface above the displayed priority according to the display priority of the displayed interface and the target interface to be displayed, so that the target interface and the displayed interface can be displayed and covered together Display, flashing display, etc., so that users can conveniently view or operate relatively more important interfaces. While ensuring that the target interface is displayed, it can also avoid omitting important information or affecting important operations of the user. It can take into account the user’s personal habits and Demands have improved the flexibility and convenience of viewing and operating the interface.
图3为另一实施例提供的一种界面显示方法的流程图。如图3所示,本实施例提供的方法包括步骤210-260。Fig. 3 is a flowchart of an interface display method provided by another embodiment. As shown in Figure 3, the method provided in this embodiment includes steps 210-260.
在步骤210中,响应于目标界面的创建指令,读取目标界面的第一显示优先级以及已显示界面的第二显示优先级。In step 210, in response to the creation instruction of the target interface, the first display priority of the target interface and the second display priority of the displayed interface are read.
在步骤220中,判断目标界面的显示优先级是否高于已显示界面的显示优先级;基于目标界面的显示优先级高于已显示界面的显示优先级的判断结果,执行S230;基于目标界面的显示优先级低于或等于已显示界面的显示优先级的判断结果,执行S240。In step 220, it is judged whether the display priority of the target interface is higher than the display priority of the displayed interface; based on the judgment result that the display priority of the target interface is higher than the display priority of the displayed interface, execute S230; If the display priority is lower than or equal to the display priority of the displayed interface, execute S240.
在步骤230中,在所述已显示界面之上全屏显示目标界面。In step 230, the target interface is displayed in full screen on the displayed interface.
本实施例中,在第一显示优先级高于第二显示优先级的情况下,在已显示界面之上全屏显示目标界面,目标界面可以完全遮挡或部分遮挡已显示界面,已显示界面不再占用屏幕的显示空间,从而充分利用显示空间资源,保证用户可以直观地获取目标界面中的重要信息、对目标界面进行便捷地操作。In this embodiment, when the first display priority is higher than the second display priority, the target interface is displayed in full screen on the displayed interface. The target interface can completely or partially block the displayed interface, and the displayed interface is no longer displayed. Occupy the display space of the screen, so as to make full use of display space resources to ensure that users can intuitively obtain important information in the target interface and perform convenient operations on the target interface.
在步骤240中,在所述已显示界面之上的设定显示区域显示目标界面。In step 240, the target interface is displayed in the setting display area above the displayed interface.
本实施例中,设定显示区域小于目标界面的显示区域。设定显示区域可以是用户根据不同的应用、每个应用的不同界面、或者根据不同的显示优先级预先设置的。例如,用户通过拖动和缩放等操作设置了相册应用的首页界面对应的显示区域为屏幕右下方的预先框选出的一定大小的长方形区域,则在相册应用的首页界面作为较低优先级的目标界面需要被显示的情况下,可以将该首页界面在屏幕右下方的预先框选出的长方形区域内进行显示。又如,显示优先级可以为数值的形式,数值越大,则显示优先级越高,用户可以预先设置对于任意应用的任意界面,如果其对应的显示优先级的数值低于设定阈值“3”,则在其作为较低优先级的目标界面需要被显示的情况下,都将在已显示界面之上、屏幕右下方按照一定的大小比例进行显示,以提醒用户新的界面被创建等。本实施例中,目标界面的显示优先级较低,其只占据了屏幕的一部分、不会完全遮挡已显示界面,保证用户仍然可以直观地查看已显示界面或者对已显示界面进行操作。In this embodiment, the display area is set to be smaller than the display area of the target interface. The setting display area may be preset by the user according to different applications, different interfaces of each application, or according to different display priorities. For example, if the user sets the display area corresponding to the home page interface of the photo album application to a rectangular area of a certain size selected by a pre-frame at the bottom right of the screen through operations such as dragging and zooming, it will be regarded as a lower priority on the home page interface of the photo album application When the target interface needs to be displayed, the home page interface can be displayed in the rectangular area selected by the pre-frame at the bottom right of the screen. For another example, the display priority can be in the form of a numerical value. The larger the value, the higher the display priority. The user can preset any interface for any application, if the corresponding display priority value is lower than the set threshold "3 ", when it needs to be displayed as a lower priority target interface, it will be displayed in a certain size ratio above the displayed interface and at the bottom right of the screen to remind the user that a new interface is created, etc. In this embodiment, the display priority of the target interface is low, it only occupies a part of the screen and does not completely obscure the displayed interface, ensuring that the user can still intuitively view the displayed interface or perform operations on the displayed interface.
在步骤250中,通过所述已显示界面接收用户输入的操作指令。In step 250, an operation instruction input by the user is received through the displayed interface.
本实施例中,在已显示界面之上的设定显示区域内显示有目标界面的基础上,目标界面位于上层但没有完全遮挡已显示界面,通过已显示界面(未被目标界面遮挡的部分)可以接收用户对已显示界面的操作指令。例如,在通话过程中,通话界面之上的设定显示区域内显示有相册应用的首页界面,则用户仍可以通过点击通话界面上未被遮挡的“录音”按钮,对本次通话进行录音,相册应用的首页界面并没有影响到用户对通话应用的正常使用,可以保证不会遗漏重要信息,也不会影响用户对于较高优先级的直接操作。In this embodiment, on the basis that the target interface is displayed in the setting display area above the displayed interface, the target interface is located in the upper layer but does not completely obscure the displayed interface, and the displayed interface (the part that is not obscured by the target interface) is passed through Can receive the user's operating instructions on the displayed interface. For example, during a call, if the home page interface of the photo album application is displayed in the setting display area above the call interface, the user can still record the call by clicking the unobstructed "Record" button on the call interface. The home page interface of the photo album application does not affect the user's normal use of the call application, which can ensure that important information will not be missed, and will not affect the user's direct operation of higher priority.
在步骤260中,根据操作指令将已显示界面调整至目标界面之上并全屏显示所述已显示界面。In step 260, the displayed interface is adjusted to the target interface according to the operation instruction and the displayed interface is displayed in full screen.
本实施例中,在通过已显示界面(未被目标界面遮挡的部分)接收到用户对已显示界面的操作指令的情况下,可以将已显示界面(例如通话界面)调整至目标界面(例如相册应用的首页界面)之上,由于目标界面所占的设定显示区域小于已显示界面,因此将已显示界面调整至目标界面之上时,已显示界面即可完全遮挡目标界面,用户可直观方便地继续对已显示界面进行操作,而无需再考虑优先级较低的目标界面。In this embodiment, when the user's operation instruction on the displayed interface is received through the displayed interface (the part not covered by the target interface), the displayed interface (such as the call interface) can be adjusted to the target interface (such as an album). On the home page interface of the application), since the setting display area occupied by the target interface is smaller than the displayed interface, when the displayed interface is adjusted to the target interface, the displayed interface can completely cover the target interface, which is intuitive and convenient for users Continue to operate on the displayed interface without having to consider the target interface with a lower priority.
在一些实施例中,步骤250-260也可以为:通过独立于已显示界面和目标界 面的快捷键、悬浮球、对话框等方式,提醒用户在已显示界面和目标界面中主动选择一个更重要的界面切换至全屏进行显示。In some embodiments, steps 250-260 may also be: through shortcut keys, floating balls, dialog boxes, etc., independent of the displayed interface and the target interface, reminding the user to actively choose one of the displayed interface and the target interface is more important The interface switches to full screen for display.
本实施例的界面显示方法,根据第一显示优先级和第二显示优先级的比较结果,灵活地调整显示目标界面的区域或方式,使得用户可以便捷地对相对更重要的界面进行查看或操作,并且可以在已显示界面的优先级较高的情况下,保证用户对已显示界面的便捷操作,考虑了用户的个人习惯和需求,提高了查看和操作界面的灵活性和便捷性。The interface display method of this embodiment flexibly adjusts the area or way of displaying the target interface according to the comparison result of the first display priority and the second display priority, so that the user can conveniently view or operate the relatively more important interface , And can ensure the user's convenient operation of the displayed interface when the priority of the displayed interface is higher, taking into account the user's personal habits and needs, and improving the flexibility and convenience of viewing and operating the interface.
在一实施例中,在读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级之前,还包括:根据用户输入的优先级设置指令,确定应用和/或界面的显示优先级;将所述显示优先级按照所述应用的包名和/或所述界面的类名存储在数据库中。In an embodiment, before reading the first display priority of the target interface and the second display priority of the displayed interface, the method further includes: determining the application and/or interface status according to the priority setting instruction input by the user Display priority; the display priority is stored in the database according to the package name of the application and/or the class name of the interface.
本实施例中,用户可以预先设置终端上安装的不同应用、或者每个应用的不同界面的显示优先级,并且以应用为单位、或者以界面为单位存储在数据库中,便于在创建目标界面时查找和读取。例如,将相册应用的首页界面的显示优先级设置为“2”,将相册应用的拍摄界面的显示优先级设置为“5”,将闹钟应用(所有界面)的显示优先级设置为“1”等,显示优先级的数值越大,则显示优先级越高;然后将相册应用的首页界面记为类名1,拍摄界面记为类名2,将闹钟应用记为包名1,并将相册应用多个界面的显示优先级按照类名存储至数据库中,将闹钟应用的显示优先级按照包名存储至数据库中。在此基础上,当创建的目标界面为相册应用的首页界面时,根据类名1可以读取对应的显示优先级为2;当创建的目标界面为相册应用的拍摄界面时,根据类名2可以读取对应的显示优先级为“5”;当创建的目标界面为闹钟应用的某个界面时,根据包名1可以读取对应的显示优先级为“1”。需要说明的是,显示优先级不限于为数值,也可以为能够用于表示既定优先顺序的任意形式的字母、文字、图形、字符、字符串等。In this embodiment, the user can pre-set the display priority of different applications installed on the terminal, or different interfaces of each application, and store them in the database in the unit of application or interface, so as to facilitate the creation of the target interface. Find and read. For example, set the display priority of the homepage interface of the album application to "2", set the display priority of the photographing interface of the album application to "5", and set the display priority of the alarm clock application (all interfaces) to "1" Etc., the larger the display priority value, the higher the display priority; then mark the home page interface of the album application as class name 1, the shooting interface as class name 2, the alarm clock application as package name 1, and the album The display priority of multiple interfaces of the application is stored in the database according to the class name, and the display priority of the alarm clock application is stored in the database according to the package name. On this basis, when the created target interface is the home page interface of the photo album application, the corresponding display priority can be read according to the class name 1, and the corresponding display priority is 2; when the created target interface is the shooting interface of the photo album application, the corresponding display priority is 2 The corresponding display priority can be read as "5"; when the created target interface is an interface of the alarm clock application, the corresponding display priority can be read as "1" according to the package name 1. It should be noted that the display priority is not limited to a numerical value, and may also be any form of letters, words, graphics, characters, character strings, etc. that can be used to indicate a predetermined priority order.
在一实施例中,在读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级之前,还包括:根据用户输入的显示区域设置指令,确定应用和/或界面的显示区域;将所述显示区域按照所述应用的包名和/或所述界面的类名存储在数据库中。In an embodiment, before reading the first display priority of the target interface and the second display priority of the displayed interface, the method further includes: determining the application and/or interface according to the display area setting instruction input by the user Display area; the display area is stored in the database according to the package name of the application and/or the class name of the interface.
本实施例中,用户可以预先设置终端上安装的不同应用、或者每个应用的不同界面的显示区域,并且以应用为单位、或者以界面为单位存储在数据库中, 便于在创建目标界面时查找和读取。例如,将相册应用的首页界面的显示区域设置为“屏幕右下方,比例40%”,将相册应用的拍摄界面的显示区域设置为“屏幕右下方,比例60%”,将闹钟应用(所有界面)的显示优先级设置为“屏幕右下方,比例30%”等,显示区域站屏幕的比例越大,则显示优先级越高;然后将相册应用的首页界面记为类名1,拍摄界面记为类名2,将闹钟应用记为包名1,并将相册应用多个界面的显示区域按照类名存储至数据库中,将闹钟应用的显示区域按照包名存储至数据库中。在此基础上,当创建的目标界面为相册应用的首页界面时,根据类名1可以读取对应的显示区域为“屏幕右下方,比例40%”;当创建的目标界面为相册应用的拍摄界面时,根据类名2可以读取对应的显示优先级为“屏幕右下方,比例60%”;当创建的目标界面为闹钟应用的某个界面时,根据包名1可以读取对应的显示优先级为“屏幕右下方,比例30%”。需要说明的是,显示区域不限于为位置和比例,也可以为与既定优先顺序相关联和对应的任意形式的字母、文字、图形、字符、字符串等。In this embodiment, the user can preset different applications installed on the terminal or display areas of different interfaces of each application, and store them in the database in units of applications or interfaces, which is convenient for searching when creating a target interface. And read. For example, set the display area of the home page interface of the album application to "bottom right of the screen, ratio 40%", set the display area of the shooting interface of the album application to "bottom right of the screen, ratio 60%", and set the alarm clock application (all interfaces )’S display priority is set to "bottom right of the screen, ratio 30%", etc. The larger the ratio of the display area station screen, the higher the display priority; then the home page interface of the photo album application is marked as category name 1, and the shooting interface is marked For class name 2, record the alarm clock application as package name 1, and store the display areas of multiple interfaces of the photo album application in the database according to the class name, and store the display areas of the alarm clock application in the database according to the package name. On this basis, when the created target interface is the home page interface of the photo album application, the corresponding display area can be read as "bottom right of the screen, ratio 40%" according to the category name 1. When the created target interface is the photo album application shooting In the interface, the corresponding display priority can be read according to the class name 2 as "bottom right of the screen, ratio 60%"; when the created target interface is an interface of the alarm clock application, the corresponding display can be read according to the package name 1. The priority is "bottom right of the screen, ratio 30%". It should be noted that the display area is not limited to the position and proportion, and can also be any form of letters, words, graphics, characters, character strings, etc. associated with and corresponding to a predetermined priority order.
图4为又一实施例提供的一种界面显示方法的流程图。如图4所示,本实施例提供的方法包括步骤301-311。Fig. 4 is a flowchart of an interface display method provided by another embodiment. As shown in Figure 4, the method provided in this embodiment includes steps 301-311.
在步骤301中,根据用户输入的优先级设置指令,确定应用和/或界面的显示优先级。In step 301, the display priority of the application and/or interface is determined according to the priority setting instruction input by the user.
在一实施例中,优先级设置指令,包括:用户通过应用列表选中的应用和/或通过快捷键选中的界面,还包括针对选中的应用和/或界面输入的显示优先级;未选中的应用和/或界面对应于默认显示优先级。In one embodiment, the priority setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes the display priority for the selected application and/or interface input; the unselected application And/or the interface corresponds to the default display priority.
本实施例中,显示优先级可以用某个数字区间来表示,例如:“-5”表示最低的显示优先级,“5”表示最高的显示优先级,“0”表示默认的显示优先级(当用户未指定显示优先级时取此值)。例如,用户很关注通话界面,则可以定义其为最高的显示优先级“5”,由此,当创建的目标界面的显示优先级低于5时,目标界面就只能在设定显示区域内显示,而不会完全遮挡通话界面;用户不关注的应用或界面可以不进行设置,则采用默认的显示优先级“0”;对于一些不常用的应用如客户识别模块(Subscriber Identity Module,SIM)卡工具包的界面,用户可定义其为最低的显示优先级“-5”,由此,当创建SIM卡工具包的界面时,已显示界面都不会被该界面完全遮挡。In this embodiment, the display priority can be represented by a certain number interval, for example: "-5" represents the lowest display priority, "5" represents the highest display priority, and "0" represents the default display priority ( This value is used when the user does not specify the display priority). For example, if the user pays much attention to the call interface, he can define it as the highest display priority "5". Therefore, when the display priority of the created target interface is lower than 5, the target interface can only be in the set display area Display, without completely obscuring the call interface; applications or interfaces that the user does not care about need not be set, and the default display priority "0" is adopted; for some infrequently used applications such as Subscriber Identity Module (SIM) The interface of the card toolkit can be defined by the user as the lowest display priority "-5". Therefore, when the interface of the SIM card toolkit is created, the displayed interface will not be completely obscured by the interface.
本实施例中,用户可以针对某个应用的所有界面统一指定一个优先级,例如可在终端上显示当前安装的所有应用的列表,用户可选择其中的某个应用, 然后指定此应用的显示优先级的取值。应用的包名可唯一代表该应用,将该应用的包名和显示优先级的数值存入数据库中。用户也可以针对某个应用中的特定界面指定一个优先级,例如通过在终端上显示一个悬浮按钮或快捷键,用户进入将要设置显示优先级的应用,并进入该应用的某个特定的界面,此时用户可以点击悬浮按钮或快捷键,表示要指定当前界面的显示优先级的数值。界面的类名可唯一代表该界面,将该界面的类名和显示优先级的数值存入数据库中。In this embodiment, the user can uniformly specify a priority for all interfaces of an application. For example, a list of all currently installed applications can be displayed on the terminal. The user can select one of the applications, and then specify the display priority of this application. The value of the level. The package name of the application can uniquely represent the application, and the package name and display priority value of the application are stored in the database. The user can also specify a priority for a specific interface in an application. For example, by displaying a floating button or shortcut key on the terminal, the user enters the application whose display priority is to be set and enters a specific interface of the application. At this time, the user can click the floating button or shortcut key to indicate that the value of the display priority of the current interface is to be specified. The class name of the interface can uniquely represent the interface, and the class name and display priority value of the interface are stored in the database.
在一些实施例中,如果用户同时设置了应用的显示优先级和应用中的界面的显示优先级,则优先使用该界面的显示优先级。如果用户未对某个应用或界面进行设置,则采用默认的显示优先级。In some embodiments, if the user sets the display priority of the application and the display priority of the interface in the application at the same time, the display priority of the interface is preferentially used. If the user does not set an application or interface, the default display priority is adopted.
在步骤302中,根据用户输入的显示区域设置指令,确定应用和/或界面的显示区域。In step 302, the display area of the application and/or interface is determined according to the display area setting instruction input by the user.
在一实施例中,显示区域设置指令,包括:用户通过应用列表选中的应用和/或通过快捷键选中的界面,还包括针对选中的应用和/或界面输入的显示区域信息;显示区域信息包括可调节的显示区域边框和/或显示区域与屏幕的比例值;未选中的应用和/或界面对应于默认显示区域信息。In an embodiment, the display area setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes display area information input for the selected application and/or interface; the display area information includes Adjustable display area border and/or display area to screen ratio; unselected applications and/or interfaces correspond to the default display area information.
本实施例中,用户可以指定多种显示优先级的界面在作为较低优先级的目标界面进行显示时,能够占用多少屏幕的显示区域。例如可以在对一个界面设置显示区域的过程中,显示一个方框,用户可以拖动方框的四个边或角,从而设置该界面对应的显示区域的位置和大小。在一些实施例中,显示区域的大小也可以定义为相对于物理屏幕的比例,例如某个界面的显示区域可定义为屏幕右下方,占据整体物理屏幕的三分之二大小的区域。在一些实施例中,如果用户同时设置了应用的显示区域和应用中的界面的显示区域,则优先使用该界面的显示区域。如果用户未对某个应用或界面进行设置,则采用默认的显示区域。In this embodiment, the user can specify how much display area of the screen can be occupied by multiple display priority interfaces when they are displayed as lower priority target interfaces. For example, in the process of setting the display area of an interface, a box can be displayed, and the user can drag the four sides or corners of the box to set the position and size of the display area corresponding to the interface. In some embodiments, the size of the display area can also be defined as a ratio relative to the physical screen. For example, the display area of a certain interface can be defined as the lower right of the screen, occupying two-thirds of the size of the entire physical screen. In some embodiments, if the user sets the display area of the application and the display area of the interface in the application at the same time, the display area of the interface is preferentially used. If the user does not set an application or interface, the default display area is used.
在步骤303中,分别将所述显示优先级和所述显示区域按照所述应用的包名和/或所述界面的类名存储在数据库中。In step 303, the display priority and the display area are respectively stored in a database according to the package name of the application and/or the class name of the interface.
本实施例中,将用户指定的显示优先级和显示区域按照包名和/或类名进行存储,其中,显示优先级是针对应用(或者应用中的界面)进行设置的,而显示区域不仅可以针对应用(或者应用中的界面)进行设置,还可以针对显示优先级进行设置,例如,设置所有显示优先级为“3”的应用的界面,对应的显示区域都为屏幕右下方,占据整体物理屏幕的三分之二大小的区域。In this embodiment, the display priority and display area specified by the user are stored according to the package name and/or class name, where the display priority is set for the application (or the interface in the application), and the display area can not only be set for the application (or the interface in the application) The application (or the interface in the application) can be set, and the display priority can also be set. For example, set the interface of all applications with a display priority of "3", and the corresponding display area is the lower right of the screen, occupying the entire physical screen Two-thirds the size of the area.
在步骤304中,响应于目标界面的创建指令,根据目标界面所属应用的包 名或目标界面类名,在数据库中查找对应的显示优先级作为第一显示优先级。In step 304, in response to the target interface creation instruction, according to the package name of the application to which the target interface belongs or the target interface class name, the corresponding display priority is searched in the database as the first display priority.
在步骤305中,根据已显示界面所属应用的包名或已显示界面类名,在数据库中查找对应的显示优先级作为第二显示优先级。In step 305, according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, the corresponding display priority is searched in the database as the second display priority.
在步骤306中,判断目标界面的显示优先级是否高于已显示界面的显示优先级;基于目标界面的显示优先级高于已显示界面的显示优先级的判断结果,执行步骤307;基于目标界面的显示优先级低于或等于已显示界面的显示优先级的判断结果,则执行步骤308。In step 306, it is determined whether the display priority of the target interface is higher than the display priority of the displayed interface; based on the judgment result that the display priority of the target interface is higher than the display priority of the displayed interface, step 307 is executed; based on the target interface If the display priority of is lower than or equal to the display priority of the displayed interface, step 308 is executed.
在步骤307中,在已显示界面之上全屏显示目标界面。In step 307, the target interface is displayed in full screen on the displayed interface.
本实施例中,全屏是指利用整个物理屏幕的全部区域显示目标界面,也可以是利用屏幕除去顶部状态栏之后的区域显示目标界面。如果目标界面的显示优先级高于已显示界面的显示优先级,则目标界面会遮挡住已显示界面。In this embodiment, full screen refers to using all areas of the entire physical screen to display the target interface, or using the area of the screen to display the target interface after removing the top status bar. If the display priority of the target interface is higher than the display priority of the displayed interface, the target interface will obscure the displayed interface.
在步骤308中,根据述已显示界面所属应用的包名或已显示界面的类名,在数据库中查找对应的显示区域,作为设定显示区域。In step 308, according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, the corresponding display area is searched in the database as the set display area.
在步骤309中,在已显示界面之上的设定显示区域显示目标界面。In step 309, the target interface is displayed in the setting display area above the displayed interface.
在步骤310中,通过所述已显示界面接收用户输入的操作指令。In step 310, an operation instruction input by a user is received through the displayed interface.
在步骤311中,根据操作指令将已显示界面调整至目标界面之上并全屏显示所述已显示界面In step 311, adjust the displayed interface to the target interface according to the operation instruction and display the displayed interface in full screen
本实施例中,目标界面的显示优先级低于或等于已显示界面的显示优先级,则目标界面要显示在屏幕上最顶层的设定显示区域,此时对于目标界面的代码实现来说,要显示的全部区域就是该设定显示区域,对目标界面来说,该设定显示区域相当于一个虚拟屏幕,目标界面的内容相比于占据全部物理屏幕满屏显示时会按一定的比例缩小显示。此时下层的已显示界面仍有部分内容能被用户看见,并且可以响应用户的操作。在此基础上,用户可以选择继续操作目标界面还是已显示界面。如果用户操作了已显示界面,则已显示界面回到最顶层,也就是前台,如果操作了目标界面,则也可以正常使用目标界面上提供的功能。In this embodiment, if the display priority of the target interface is lower than or equal to the display priority of the displayed interface, the target interface should be displayed in the top-most set display area on the screen. At this time, for the code implementation of the target interface, The entire area to be displayed is the set display area. For the target interface, the set display area is equivalent to a virtual screen, and the content of the target interface will be reduced by a certain ratio compared to occupying the full physical screen. show. At this time, part of the displayed interface in the lower layer can still be seen by the user and can respond to the user's operation. On this basis, the user can choose to continue to operate the target interface or the displayed interface. If the user operates the displayed interface, the displayed interface returns to the top level, that is, the foreground. If the target interface is operated, the functions provided on the target interface can also be used normally.
需要说明的是,上述实施例是以两个界面(一个已显示界面和一个目标界面)的情况为例进行说明的。对于多个界面(一个已显示界面,以及先后创建的多个目标界面),上述方法同样适用。例如,已显示界面为A界面,目标界面为B界面,B界面的显示优先级低于A界面,显示在A界面之上的设定显示区域内,当再有应用启动一个新的C界面时,如果C界面的显示优先级低于(或等于)B界面的显示优先级,则可以按照C界面对应的显示区域,在B界面之 上再(闪烁)显示C界面,此时可以存在三种界面的重叠显示,显示优先级越低的界面越靠近顶层,但每一层的界面都不会完全遮挡其下一层的界面,保证用户可以对任意一个显示优先级较高的界面进行操作。It should be noted that the foregoing embodiment is described by taking a case of two interfaces (a displayed interface and a target interface) as an example. For multiple interfaces (a displayed interface and multiple target interfaces created one after another), the above method is also applicable. For example, the displayed interface is the A interface, and the target interface is the B interface. The display priority of the B interface is lower than that of the A interface, and it is displayed in the setting display area above the A interface. When a new C interface is launched by an application , If the display priority of the C interface is lower than (or equal to) the display priority of the B interface, you can display the C interface on the B interface (flashing) according to the display area corresponding to the C interface. At this time, there can be three types The overlapping display of the interface, the interface with the lower display priority is closer to the top layer, but the interface of each layer will not completely obscure the interface of the next layer, ensuring that the user can operate on any interface with a higher display priority.
如果C界面的显示优先级高于B界面的显示优先级,则可以将C界面的显示优先级再和A界面的显示优先级进行比较,如果C界面的显示优先级低于或等于A界面的显示优先级,则可以按照C界面对应的显示区域,在B界面之下、A界面之上显示C界面,而C界面的显示优先级也高于A界面的显示优先级,也就是说C界面的显示优先级高于已显示的所有界面的显示优先级,则可以将C界面全屏显示,占据应用可用的全部屏幕区域,遮挡其他所有已显示界面。以此类推,可以实现任意多个界面的灵活显示,并且保证用户对重要界面的便捷操作,提升用户体验。If the display priority of the C interface is higher than the display priority of the B interface, the display priority of the C interface can be compared with the display priority of the A interface. If the display priority of the C interface is lower than or equal to the display priority of the A interface Display priority, you can display the C interface below the B interface and above the A interface according to the display area corresponding to the C interface, and the display priority of the C interface is also higher than the display priority of the A interface, that is, the C interface The display priority of is higher than the display priority of all the displayed interfaces, then the C interface can be displayed in full screen, occupying all the screen area available to the application, and covering all other displayed interfaces. By analogy, the flexible display of any number of interfaces can be realized, and the user's convenient operation of important interfaces can be ensured, and the user experience can be improved.
本实施例的界面显示方法,在创建了较低优先级的新的目标界面的情况下,目标界面可以显示并且不会完全遮挡住较高优先级的已显示界面,由此用户可以很容易的发现高优先级界面的存在,并且可以通过点击高优先级界面,快速切换回到高优先级界面继续操作,既满足了新界面的显示需求,也不会完全遮挡住高优先级界面、妨碍用户查看和操作,有效地避免遗漏重要信息;用户可以自主设置显示优先级和显示区域,充分考虑了不同用户的个人偏好和需求,提升用户体验;并且可扩展至多个界面的显示,显著提高了界面显示的灵活性,以及用户使用终端的便捷性。In the interface display method of this embodiment, when a new target interface with a lower priority is created, the target interface can be displayed and does not completely obscure the displayed interface with a higher priority, so that the user can easily Discover the existence of a high-priority interface, and you can quickly switch back to the high-priority interface to continue operation by clicking on the high-priority interface, which not only meets the display requirements of the new interface, but also does not completely obscure the high-priority interface and hinder users View and operate, effectively avoid missing important information; users can independently set the display priority and display area, fully consider the personal preferences and needs of different users, improve user experience; and can be extended to display multiple interfaces, significantly improving the interface The flexibility of the display and the convenience of the user to use the terminal.
本申请实施例还提供一种界面显示装置。图5为一实施例提供的一种界面显示装置的结构示意图。如图5所示,所述界面显示装置包括:优先级读取模块410和显示控制模块420。The embodiment of the present application also provides an interface display device. FIG. 5 is a schematic structural diagram of an interface display device provided by an embodiment. As shown in FIG. 5, the interface display device includes: a priority reading module 410 and a display control module 420.
优先级读取模块410,设置为响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;The priority reading module 410 is configured to read the first display priority of the target interface and the second display priority of the displayed interface in response to the creation instruction of the target interface;
显示控制模块420,设置为根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。The display control module 420 is configured to display the target interface on the displayed interface according to the first display priority and the second display priority.
本实施例的界面显示装置,在目标界面的创建流程中,通过优先级读取模块410读取第一显示优先级和第二显示优先级,并对两者的显示优先级进行比较和判定,将结果传递至显示控制模块420;在目标界面的显示流程中,通过显示控制模块420决策目标界面和已显示界面的布局和显示方式。根据已显示界 面和待显示的目标界面的显示优先级,在已显示界面的基础上再显示目标界面,实现了针对不同显示优先级的界面的显示,能够在显示目标界面的同时,提高界面显示的灵活性以及查看或操作界面的便捷性。In the interface display device of this embodiment, in the creation process of the target interface, the priority reading module 410 reads the first display priority and the second display priority, and compares and determines the display priorities of the two. The result is transmitted to the display control module 420; in the display process of the target interface, the display control module 420 decides the layout and display mode of the target interface and the displayed interface. According to the display priority of the displayed interface and the target interface to be displayed, the target interface is displayed on the basis of the displayed interface, which realizes the display of interfaces with different display priorities, which can improve the interface display while displaying the target interface The flexibility and convenience of viewing or operating the interface.
在一实施例中,显示控制模块420,设置为:In an embodiment, the display control module 420 is configured to:
若所述第一显示优先级低于或等于所述第二显示优先级,则在所述已显示界面之上的设定显示区域显示所述目标界面,其中,所述设定显示区域小于所述目标界面的显示区域。If the first display priority is lower than or equal to the second display priority, the target interface is displayed in the set display area above the displayed interface, wherein the set display area is smaller than the set display area. The display area of the target interface is described.
在一实施例中,显示控制模块420,设置为:In an embodiment, the display control module 420 is configured to:
若所述目标界面的显示优先级高于所述已显示界面的显示优先级,则在所述已显示界面之上全屏显示所述目标界面。If the display priority of the target interface is higher than the display priority of the displayed interface, the target interface is displayed in full screen on the displayed interface.
在一实施例中,还包括:In an embodiment, it further includes:
操作指令接收模块,设置为在根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面之后,通过所述已显示界面接收用户输入的操作指令;An operation instruction receiving module configured to receive an operation input by a user through the displayed interface after displaying the target interface on the displayed interface according to the first display priority and the second display priority instruction;
调整模块,设置为根据所述操作指令将所述已显示界面调整至所述目标界面之上并全屏显示所述已显示界面。The adjustment module is configured to adjust the displayed interface to the target interface according to the operation instruction and display the displayed interface in full screen.
在一实施例中,还包括:In an embodiment, it further includes:
优先级设置模块,设置为根据用户输入的优先级设置指令,确定应用和/或界面的显示优先级;The priority setting module is set to determine the display priority of the application and/or interface according to the priority setting instruction input by the user;
优先级存储模块,设置为将所述显示优先级按照所述应用的包名和/或所述界面的类名存储在数据库中。The priority storage module is configured to store the display priority in the database according to the package name of the application and/or the class name of the interface.
在一实施例中,所述优先级设置指令,包括:用户通过应用列表选中的应用和/或通过快捷键选中的界面,还包括针对选中的应用和/或界面输入的显示优先级;In an embodiment, the priority setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and also includes the display priority input for the selected application and/or interface;
未选中的应用和/或界面对应于默认显示优先级。Applications and/or interfaces that are not selected correspond to the default display priority.
在一实施例中,还包括:In an embodiment, it further includes:
区域设置模块,设置为在读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级之前,根据用户输入的显示区域设置指令,确定应用和/或界面的显示区域;An area setting module, configured to determine the display area of the application and/or interface according to the display area setting instruction input by the user before reading the first display priority of the target interface and the second display priority of the displayed interface;
区域存储模块,设置为将所述显示区域按照所述应用的包名和/或所述界面的类名存储在数据库中。The area storage module is configured to store the display area in the database according to the package name of the application and/or the class name of the interface.
在一实施例中,所述显示区域设置指令,包括:用户通过应用列表选中的应用和/或通过快捷键选中的界面,还包括针对选中的应用和/或界面输入的显示区域信息;In an embodiment, the display area setting instruction includes: the application selected by the user through the application list and/or the interface selected by the shortcut key, and the display area information input for the selected application and/or interface;
所述显示区域信息包括可调节的显示区域边框和/或显示区域与屏幕的比例值;The display area information includes an adjustable display area border and/or a ratio value of the display area to the screen;
未选中的应用和/或界面对应于默认显示区域信息。The unselected applications and/or interfaces correspond to the default display area information.
本实施例中,优先级设置模块设置为提供给用户对某个应用或界面的显示优先级进行自定义的交互界面和数据存储,区域设置模块设置为提供给用户对多种优先级界面的显示区域位置和大小进行自定义的交互界面和数据存储。从而考虑用户的个人偏好和需求进行灵活设置。In this embodiment, the priority setting module is set to provide the user with an interactive interface and data storage for customizing the display priority of a certain application or interface, and the regional setting module is set to provide the user with a display of multiple priority interfaces. Customized interactive interface and data storage for the location and size of the area. In order to consider the user's personal preferences and needs for flexible settings.
在一实施例中,优先级读取模块410,设置为:In an embodiment, the priority reading module 410 is set to:
根据所述目标界面所属应用的包名或所述目标界面类名,在数据库中查找对应的显示优先级作为所述第一显示优先级;According to the package name of the application to which the target interface belongs or the class name of the target interface, search for a corresponding display priority in a database as the first display priority;
根据所述已显示界面所属应用的包名或所述已显示界面类名,在数据库中查找对应的显示优先级作为所述第二显示优先级。According to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, search for a corresponding display priority in a database as the second display priority.
在一实施例中,还包括:In an embodiment, it further includes:
设定显示区域确定模块,设置为根据所述已显示界面所属应用的包名或所述已显示界面的类名,在数据库中查找对应的显示区域,作为所述设定显示区域。The set display area determination module is set to search for the corresponding display area in the database as the set display area according to the package name of the application to which the displayed interface belongs or the class name of the displayed interface.
本实施例提出的界面显示装置与上述实施例提出的界面显示方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述任意实施例,并且本实施例具备与执行界面显示方法相同的有益效果。The interface display device proposed in this embodiment belongs to the same concept as the interface display method proposed in the above embodiment. For technical details not described in detail in this embodiment, please refer to any of the above embodiments, and this embodiment has the same features as the implementation of the interface display method. The beneficial effects.
本申请实施例还提供一种终端。所述界面显示方法可以由界面显示装置执行,该界面显示装置可以通过软件和/或硬件的方式实现,并集成在所述终端中。所述终端包括台式计算机、笔记本电脑、智能手机以及平板电脑等。The embodiment of the present application also provides a terminal. The interface display method may be executed by an interface display device, which may be implemented by software and/or hardware, and integrated in the terminal. The terminals include desktop computers, notebook computers, smart phones, and tablet computers.
图6为一实施例提供的一种终端的硬件结构示意图。如图6所示,本实施例提供的一种终端,包括:处理器510和存储装置520。该终端中的处理器可以是一个或多个,图6中以一个处理器510为例,所述设备中的处理器510和存储装置520可以通过总线或其他方式连接,图6中以通过总线连接为例。Fig. 6 is a schematic diagram of a hardware structure of a terminal provided by an embodiment. As shown in FIG. 6, a terminal provided in this embodiment includes a processor 510 and a storage device 520. There may be one or more processors in the terminal. In FIG. 6, one processor 510 is taken as an example. The processor 510 and the storage device 520 in the device may be connected by a bus or other methods. Connect as an example.
所述一个或多个程序被所述一个或多个处理器510执行,使得所述一个或 多个处理器实现上述任一实施例所述的界面显示方法。The one or more programs are executed by the one or more processors 510, so that the one or more processors implement the interface display method described in any of the foregoing embodiments.
该终端中的存储装置520作为一种计算机可读存储介质,可设置为存储一个或多个程序,所述程序可以是软件程序、计算机可执行程序以及模块,如本申请实施例中界面显示方法对应的程序指令/模块(例如,附图5所示的界面显示装置中的模块,包括:优先级读取模块410和显示控制模块420)。处理器510通过运行存储在存储装置520中的软件程序、指令以及模块,从而执行终端的多种功能应用以及数据处理,即实现上述方法实施例中的界面显示方法。As a computer-readable storage medium, the storage device 520 in the terminal can be configured to store one or more programs. The programs can be software programs, computer-executable programs, and modules, such as the interface display method in the embodiment of the present application. Corresponding program instructions/modules (for example, the modules in the interface display device shown in FIG. 5 include: a priority reading module 410 and a display control module 420). The processor 510 executes various functional applications and data processing of the terminal by running software programs, instructions, and modules stored in the storage device 520, that is, implements the interface display method in the foregoing method embodiment.
存储装置520主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等(如上述实施例中的第一显示优先级、创建指令等)。此外,存储装置520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置520可包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The storage device 520 mainly includes a storage program area and a storage data area. The storage program area can store an operating system and an application program required by at least one function; the storage data area can store data created according to the use of the device, etc. In the example, the first display priority, creation instruction, etc.). In addition, the storage device 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the storage device 520 may include a memory remotely provided with respect to the processor 510, and these remote memories may be connected to the terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
并且,当上述终端中所包括一个或者多个程序被所述一个或者多个处理器510执行时,实现如下操作:响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。Moreover, when one or more programs included in the aforementioned terminal are executed by the one or more processors 510, the following operations are implemented: in response to the creation instruction of the target interface, the first display priority of the target interface is read And a second display priority of the displayed interface; displaying the target interface on the displayed interface according to the first display priority and the second display priority.
本实施例提出的终端与上述实施例提出的界面显示方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述任意实施例,并且本实施例具备与执行界面显示方法相同的有益效果。The terminal proposed in this embodiment and the interface display method proposed in the above embodiment belong to the same concept. For technical details not described in this embodiment in detail, please refer to any of the above embodiments, and this embodiment has the same benefits as the implementation of the interface display method. Effect.
本申请实施例还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时设置为执行一种界面显示方法。该界面显示方法包括:响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。The embodiment of the present application also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are set to execute an interface display method when executed by a computer processor. The interface display method includes: in response to the creation instruction of the target interface, reading the first display priority of the target interface and the second display priority of the displayed interface; according to the first display priority and the second display priority The display priority displays the target interface above the displayed interface.
通过以上关于实施方式的描述,所属领域的技术人员可以了解到,本申请可借助软件及通用硬件来实现,也可以通过硬件实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请任意实施例所述的方法。Based on the above description of the implementation manners, those skilled in the art can understand that this application can be implemented by software and general hardware, or can be implemented by hardware. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-Only Memory (ROM), Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including multiple instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute any of this application The method described in the embodiment.
以上所述,仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。The above are only exemplary embodiments of the present application, and are not used to limit the protection scope of the present application.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(ROM)、随机访问存储器(RAM)、光存储器装置和系统(数码多功能光碟DVD或CD光盘)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、可编程逻辑器件(FGPA)以及基于多核处理器架构的处理器。The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program can be stored on the memory. The memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read only memory (ROM), random access memory (RAM), optical storage devices and systems (digital multi-function optical discs) DVD or CD) etc. Computer-readable media may include non-transitory storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSP), application-specific integrated circuits (ASIC), programmable logic devices (FGPA) And processors based on multi-core processor architecture.
通过示范性和非限制性的示例,上文已提供了对本申请的示范实施例的详细描述。但结合附图和权利要求来考虑,对以上实施例的多种修改和调整对本领域技术人员来说是显而易见的,但不偏离本申请的范围。因此,本申请的恰当范围将根据权利要求确定。By way of exemplary and non-limiting examples, a detailed description of the exemplary embodiments of the present application has been provided above. However, considering the accompanying drawings and claims, various modifications and adjustments to the above embodiments are obvious to those skilled in the art, but they do not deviate from the scope of the present application. Therefore, the proper scope of the application will be determined according to the claims.
本申请实施例提供的一种界面显示方法、装置、终端及介质,该方法响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。上述技术方案实现了根据显示优先级对界面进行显示,在界面显示时可以考虑用户的个人习惯和需求,并且能够在显示目标界面的同时,提高界面显示的灵活性以及查看或操作界面的便捷性。The embodiments of the present application provide an interface display method, device, terminal, and medium. The method responds to a creation instruction of a target interface and reads the first display priority of the target interface and the second display priority of the displayed interface ; According to the first display priority and the second display priority to display the target interface above the displayed interface. The above technical solution realizes the display of the interface according to the display priority. The user's personal habits and needs can be considered when the interface is displayed, and the flexibility of the interface display and the convenience of viewing or operating the interface can be improved while the target interface is displayed. .

Claims (13)

  1. 一种界面显示方法,包括:An interface display method, including:
    响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;In response to the creation instruction of the target interface, read the first display priority of the target interface and the second display priority of the displayed interface;
    根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。Displaying the target interface on the displayed interface according to the first display priority and the second display priority.
  2. 根据权利要求1所述的方法,其中,根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面,包括:The method according to claim 1, wherein displaying the target interface on the displayed interface according to the first display priority and the second display priority comprises:
    响应于确定所述第一显示优先级低于或等于所述第二显示优先级,在所述已显示界面之上的设定显示区域显示所述目标界面,其中,所述设定显示区域小于所述目标界面的显示区域。In response to determining that the first display priority is lower than or equal to the second display priority, the target interface is displayed in a setting display area above the displayed interface, wherein the setting display area is smaller than The display area of the target interface.
  3. 根据权利要求1所述的方法,其中,根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面,包括:The method according to claim 1, wherein displaying the target interface on the displayed interface according to the first display priority and the second display priority comprises:
    响应于确定所述目标界面的显示优先级高于所述已显示界面的显示优先级,在所述已显示界面之上全屏显示所述目标界面。In response to determining that the display priority of the target interface is higher than the display priority of the displayed interface, the target interface is displayed in a full screen on the displayed interface.
  4. 根据权利要求1所述的方法,在根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面之后,还包括:The method according to claim 1, after displaying the target interface on the displayed interface according to the first display priority and the second display priority, further comprising:
    通过所述已显示界面接收操作指令;Receiving operation instructions through the displayed interface;
    根据所述操作指令将所述已显示界面调整至所述目标界面之上并全屏显示所述已显示界面。Adjust the displayed interface to the target interface according to the operation instruction and display the displayed interface in full screen.
  5. 根据权利要求1所述的方法,在读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级之前,还包括:The method according to claim 1, before reading the first display priority of the target interface and the second display priority of the displayed interface, further comprising:
    根据接收到的优先级设置指令,确定应用和界面中至少一种的显示优先级;Determine the display priority of at least one of the application and the interface according to the received priority setting instruction;
    将所述显示优先级按照所述应用的包名和所述界面的类名中的至少一种存储在数据库中。The display priority is stored in a database according to at least one of the package name of the application and the class name of the interface.
  6. 根据权利要求5所述的方法,其中,所述优先级设置指令包括:The method according to claim 5, wherein the priority setting instruction comprises:
    通过应用列表选中的应用和通过快捷键选中的界面中的至少之一;At least one of the application selected through the application list and the interface selected through the shortcut key;
    针对选中的应用和界面中的至少之一设置的显示优先级;The display priority set for at least one of the selected application and interface;
    其中,未选中的应用和界面中的至少之一的显示优先级为默认的显示优先级。Wherein, the display priority of at least one of the unselected application and interface is the default display priority.
  7. 根据权利要求2所述的方法,在读取所述目标界面的第一显示优先级 以及已显示界面的第二显示优先级之前,还包括:The method according to claim 2, before reading the first display priority of the target interface and the second display priority of the displayed interface, further comprising:
    根据接收到的显示区域设置指令,确定应用和界面中至少一种的显示区域;Determining the display area of at least one of the application and the interface according to the received display area setting instruction;
    将所述显示区域按照所述应用的包名和所述界面的类名中的至少一种存储在数据库中。The display area is stored in a database according to at least one of the package name of the application and the class name of the interface.
  8. 根据权利要求7所述的方法,其中,所述显示区域设置指令包括:The method according to claim 7, wherein the display area setting instruction comprises:
    通过应用列表选中的应用和通过快捷键选中的界面中的至少之一;At least one of the application selected through the application list and the interface selected through the shortcut key;
    针对选中的应用和界面中的至少之一设置的显示区域信息;Display area information set for at least one of the selected application and interface;
    其中,所述显示区域信息包括以下至少之一:可调节的显示区域边框;显示区域与屏幕的比例值;Wherein, the display area information includes at least one of the following: an adjustable display area border; a ratio value of the display area to the screen;
    未选中的应用和界面中的至少之一的显示区域信息为默认的显示区域信息。The display area information of at least one of the unselected applications and interfaces is the default display area information.
  9. 根据权利要求5所述的方法,其中,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级,包括:The method according to claim 5, wherein reading the first display priority of the target interface and the second display priority of the displayed interface comprises:
    根据所述目标界面所属应用的包名或所述目标界面类名,在数据库中查找对应的显示优先级作为所述第一显示优先级;According to the package name of the application to which the target interface belongs or the class name of the target interface, search for a corresponding display priority in a database as the first display priority;
    根据所述已显示界面所属应用的包名或所述已显示界面类名,在数据库中查找对应的显示优先级作为所述第二显示优先级。According to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, search for a corresponding display priority in a database as the second display priority.
  10. 根据权利要求7所述的方法,还包括:The method according to claim 7, further comprising:
    根据所述已显示界面所属应用的包名或所述已显示界面的类名,在数据库中查找对应的显示区域,作为所述设定显示区域。According to the package name of the application to which the displayed interface belongs or the class name of the displayed interface, the corresponding display area is searched in the database as the set display area.
  11. 一种界面显示装置,包括:An interface display device, including:
    优先级读取模块,设置为响应于目标界面的创建指令,读取所述目标界面的第一显示优先级以及已显示界面的第二显示优先级;A priority reading module, configured to read the first display priority of the target interface and the second display priority of the displayed interface in response to the creation instruction of the target interface;
    显示控制模块,设置为根据所述第一显示优先级与所述第二显示优先级在所述已显示界面之上显示所述目标界面。The display control module is configured to display the target interface on the displayed interface according to the first display priority and the second display priority.
  12. 一种终端,包括:A terminal including:
    一个或多个处理器;One or more processors;
    存储装置,设置为存储一个或多个程序;Storage device, set to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-10中任一所述的界面显示方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the interface display method according to any one of claims 1-10.
  13. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-10中任一所述的界面显示方法。A computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the interface display method according to any one of claims 1-10 is realized.
PCT/CN2021/080726 2020-04-26 2021-03-15 Interface display method, apparatus, terminal, and medium WO2021218455A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010340213.4 2020-04-26
CN202010340213.4A CN113553129A (en) 2020-04-26 2020-04-26 Interface display method, device, terminal and medium

Publications (1)

Publication Number Publication Date
WO2021218455A1 true WO2021218455A1 (en) 2021-11-04

Family

ID=78129918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080726 WO2021218455A1 (en) 2020-04-26 2021-03-15 Interface display method, apparatus, terminal, and medium

Country Status (2)

Country Link
CN (1) CN113553129A (en)
WO (1) WO2021218455A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821142A (en) * 2021-11-24 2021-12-21 腾讯科技(深圳)有限公司 Interface window management method and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114942811A (en) * 2022-05-31 2022-08-26 上海嘉车信息科技有限公司 Display interface layout method, device and system and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN103577091A (en) * 2012-07-27 2014-02-12 三星电子株式会社 Display device for executing multiple applications and method for controlling the same
US20170168683A1 (en) * 2015-12-10 2017-06-15 Salesforce.Com, Inc. Enhanced graphical display controls for user interface
CN107678654A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of Application Program Interface display methods, equipment and computer-readable recording medium
CN110275748A (en) * 2019-06-18 2019-09-24 广州小鹏汽车科技有限公司 Pop-up display methods, device and the intelligent automobile of vehicular applications
CN111427657A (en) * 2020-04-23 2020-07-17 湖南快乐阳光互动娱乐传媒有限公司 Application window display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577091A (en) * 2012-07-27 2014-02-12 三星电子株式会社 Display device for executing multiple applications and method for controlling the same
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
US20170168683A1 (en) * 2015-12-10 2017-06-15 Salesforce.Com, Inc. Enhanced graphical display controls for user interface
CN107678654A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of Application Program Interface display methods, equipment and computer-readable recording medium
CN110275748A (en) * 2019-06-18 2019-09-24 广州小鹏汽车科技有限公司 Pop-up display methods, device and the intelligent automobile of vehicular applications
CN111427657A (en) * 2020-04-23 2020-07-17 湖南快乐阳光互动娱乐传媒有限公司 Application window display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821142A (en) * 2021-11-24 2021-12-21 腾讯科技(深圳)有限公司 Interface window management method and related device
CN113821142B (en) * 2021-11-24 2022-03-25 腾讯科技(深圳)有限公司 Interface window management method and related device

Also Published As

Publication number Publication date
CN113553129A (en) 2021-10-26

Similar Documents

Publication Publication Date Title
US11868586B2 (en) Floating window user interface display method and apparatus, device, and storage medium
US11543928B2 (en) Method for displaying input method interface of improved accuracy of input, device, and terminal
US11782581B2 (en) Display control method and device, electronic device and storage medium
CN110837329B (en) Method and electronic device for managing user interface
KR102220085B1 (en) Operating Method For Multi-Window And Electronic Device supporting the same
WO2021082739A1 (en) Multi-task interface management method and electronic device
US11119651B2 (en) Method for displaying multi-task management interface, device, terminal and storage medium
US20130278484A1 (en) Mobile terminal and controlling method thereof
US11747977B2 (en) Method for displaying graphical user interface based on gesture and electronic device
BR102014002492A2 (en) method and apparatus for multitasking
US20130024818A1 (en) Apparatus and Method for Handling Tasks Within a Computing Device
WO2021218455A1 (en) Interface display method, apparatus, terminal, and medium
TW201923547A (en) Processing method, device, apparatus, and machine-readable medium
US11537265B2 (en) Method and apparatus for displaying object
US20200028961A1 (en) Switching presentations of representations of objects at a user interface
CN114756778A (en) Method, device, equipment and storage medium for page interaction
CN114327105A (en) Split screen display control method and device, electronic equipment and storage medium
KR20130116976A (en) Mobile terminal and method for controlling thereof
WO2024088317A1 (en) Application interface display method and apparatus, electronic device, and storage medium
WO2022247473A1 (en) Cross-process information processing method, and controller, terminal and storage medium
CN115640782A (en) Method, device, equipment and storage medium for document demonstration
WO2022247557A1 (en) Content sharing method and apparatus, and terminal and storage medium
US12014019B2 (en) Display method, apparatus and computer readable storage medium
US20220385985A1 (en) Method and apparatus for video processing
CN114942802A (en) Application switching method, device, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21797662

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 17/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21797662

Country of ref document: EP

Kind code of ref document: A1