Display method and device, equipment, storage medium and program product
By using a priority-based split-screen mode, the problem of a single split-screen display mode in existing technologies is solved, thereby improving the user experience, ensuring that important applications are not interrupted, and improving the efficiency of displaying multiple applications simultaneously.
Patent Information
- Application Number
- CN202411111296.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2026-02-13
AI Technical Summary
The existing split-screen display mode is relatively simple, resulting in a poor user experience, especially when an application that the user does not want to be interrupted by another application, which affects the user experience.
By determining the priority of the target application and multiple primary applications, the first split-screen mode is determined based on the priority, ensuring that applications that users do not expect to be interrupted are continuously displayed in the foreground. Various implementation methods, such as the allocation of the number of windows and the application corresponding to each window, are adopted to meet the user's split-screen display preferences.
It enhances the user experience by using a priority-driven split-screen display mode to ensure that important applications are not interrupted, thereby improving the efficiency of displaying multiple applications simultaneously and increasing user satisfaction.
Smart Images

Figure CN121523772A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a display method, device, equipment, storage medium and program product. BACKGROUND
[0002] With the progress of science and technology and the popularity of intelligent terminal devices, people have not been satisfied with only manipulating a single application, so the demand for manipulating multiple applications at the same time is increasingly evident. In order to facilitate the operation of two application programs in the foreground at the same time, the software system of the electronic device currently supports split-screen display, for example, the electronic device can display a video application and a note application at the same time, in which case the user can use the video application and the note application at the same time (e.g., watching a video while taking notes). However, this split-screen mode is relatively single, resulting in a poor user experience. SUMMARY
[0003] The present application provides a display method, device, equipment, storage medium and computer program, which can improve the user experience. The technical solution is as follows:
[0004] In a first aspect, a display method is provided, the method comprising: in response to an opening instruction of a target application, determining a first split-screen mode based on a priority of the target application and priorities of a plurality of first applications; wherein the target application is an application supporting split-screen display, the plurality of first applications are applications currently performing split-screen display, the first split-screen mode indicates a split-screen display manner of the target application and at least one first application of the plurality of first applications, and the priority is used to describe a probability that a user expects a corresponding application to be interrupted by other applications; and performing split-screen display on the target application and the at least one first application based on the first split-screen mode.
[0005] Since the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications, the first split-screen mode determined based on the priorities of the plurality of first applications and the priority of the target application can represent the applications that the user expects to perform split-screen display. In this case, performing split-screen on the target application and the at least one first application based on the first split-screen mode can meet the user's preference for split-screen display, so that the application that the user does not expect to be interrupted can continue to be displayed in the foreground, thereby effectively improving the user experience.
[0006] It should be noted that for any one of the target application and the plurality of first applications, the probability that the user expects the application to be interrupted by other applications is proportional to the priority, that is, the greater the probability that the user expects the application to be interrupted by other applications, the higher the priority of the application. Of course, it can also be that the probability that the user expects the application to be interrupted by other applications is inversely proportional to the priority, that is, the greater the probability that the user expects the application to be interrupted by other applications, the lower the priority of the application. Subsequently, the probability that the user expects the application to be interrupted by other applications is inversely proportional to the priority, and each step in the present application is introduced.
[0007] Optionally, the first split screen mode includes the number of windows of the plurality of windows and the applications corresponding to the plurality of windows respectively, and the window is used to display the corresponding application. In this case, based on the priority of the target application and the priority of the plurality of first applications, the implementation manner of the first split screen mode includes multiple, and the following two implementation manners are introduced.
[0008] The first implementation manner is to determine the number of windows of the plurality of windows based on the priority of the target application and the priority of the plurality of first applications; and determine the applications corresponding to the plurality of windows from the plurality of first applications and the target application.
[0009] It should be noted that the applications corresponding to any two windows of the plurality of windows are different.
[0010] If the priority of the target application is less than or equal to the priority of all applications in the plurality of first applications, the number of windows of the plurality of windows is determined as N, N is the sum of the number of the plurality of first applications and the target application. If the priority of the target application is greater than the priority of part or all of the plurality of first applications, the number of windows of the plurality of windows is determined as N-1.
[0011] If the priority of the target application is less than or equal to the priority of all applications in the plurality of first applications, it means that compared with the target application, the probability that the user expects the plurality of first applications to be interrupted by other applications is lower, that is, the user is less acceptable to the first application being interrupted by other applications, and therefore, it is necessary to ensure that the plurality of first applications and the target application can be displayed. In this case, the number of windows of the plurality of windows can be determined as N.
[0012] If the priority of the target application is greater than the priority of part or all of the plurality of first applications, it means that there is at least one first application in the plurality of first applications whose priority is lower than the target application, and therefore, the number of windows of the plurality of windows can be determined as N-1, that is, the number of the plurality of windows is consistent with the number of the plurality of first applications, or the number of the plurality of windows is equal to the number of the currently displayed split screen windows, so as to ensure that one of the plurality of first applications can be replaced by the target application in the subsequent, thereby realizing the split screen display of the target application.
[0013] The implementation manner of determining the application corresponding to each window from the plurality of first applications and the target application includes multiple manners, and two of the implementation manners are introduced.
[0014] Firstly, based on the number of windows, a plurality of candidate applications are determined from the plurality of first applications and the target application, and based on the plurality of candidate applications, the application corresponding to each window is determined.
[0015] If the number of windows is N, for any one window in the plurality of windows, the plurality of first applications and the target application can be used as the plurality of candidate applications. If the number of windows is N-1, one first application is deleted from the plurality of first applications to obtain at least one first application after the deletion processing, and the at least one first application after the deletion processing and the target application are used as the plurality of candidate applications.
[0016] Optionally, any one first application is deleted from the plurality of first applications. Optionally, the first application with the lowest priority in the plurality of first applications is deleted.
[0017] Since for any first application, the lower the priority of the first application, the higher the probability that the user expects the first application to be interrupted by other applications, that is, the user is more willing to accept that the first application is interrupted by other applications, therefore, the first application with the lowest priority can be deleted from the plurality of first applications.
[0018] Based on the plurality of candidate applications, the implementation process of determining the application corresponding to each window includes: selecting any one application from the plurality of candidate applications to correspond to the window, and deleting the selected application from the plurality of candidate applications. Each window in the plurality of windows is processed in the same manner, and the application corresponding to each window can be determined.
[0019] Secondly, based on the priority of the target application and the priority of the plurality of first applications, the application corresponding to each window is determined from the plurality of first applications and the target application.
[0020] Since there are multiple cases in the size relationship between the priority of the target application and the priority of all the applications in the plurality of first applications, in different cases, the implementation manner of determining the application corresponding to each window from the plurality of first applications and the target application is different, and the cases will be introduced in detail.
[0021] (1) The priority of the target application is less than or equal to the priority of all the applications in the plurality of first applications
[0022] Optionally, the plurality of windows comprises a first window and N-1 second windows, the first window is suspended above the second windows; in this case, if the priority of the target application is less than the priority of all the first applications, the target application is determined as the application corresponding to the first window, and the first applications are determined as the applications corresponding to the N-1 second windows.
[0023] If the priority of the target application is less than the priority of all the first applications, it means that compared with the target application, the user expects that the first applications are less likely to be interrupted by other applications, i.e., the user is less willing to accept that the first applications are interrupted by other applications, therefore, the target application can be displayed through the first window, and the first applications can be displayed through the second windows, so as to avoid the first applications from being interrupted, and affect the user's experience, and since the first window is suspended above the second windows, the size of the second windows can be effectively ensured not to be affected by the size of the first window.
[0024] Optionally, N is an even number, and the N windows have the same size. In this case, if the priority of the target application is equal to the priority of the first applications, the target application is determined as the application corresponding to any one of the N windows, and the first applications are determined as the applications corresponding to the other N-1 windows.
[0025] If the priority of the target application is equal to the priority of all the first applications, it means that the user expects that the first applications and the target application have the same probability of being interrupted by other applications, and since N is an even number, the N windows have the same size, therefore, the target application can be determined as the application corresponding to any one of the N windows, and the first applications can be determined as the applications corresponding to the other N-1 windows, i.e., from the N windows with the same size, one window is allocated to each of the first applications and the target application, so as to ensure that the user has a small difference in experience of using the first applications and the target application.
[0026] Optionally, N is an odd number, and the N windows comprise a third window and N-1 fourth windows, the size of the third window is greater than the size of each of the N-1 fourth windows. In this case, if the priority of the target application is equal to the priority of the first applications, based on the use duration of the target application and the use duration of the first applications, the application corresponding to the third window is determined from the target application and the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
[0027] If the priority of the target application is equal to the priority of all the first applications, it indicates that the user expects the same probability of the target application and the first applications being interrupted by other applications. However, since the number of windows is odd, there is a third window with a larger size. Therefore, the application corresponding to the third window can be determined from the target application and the first applications based on the usage duration of the applications, and the remaining applications are determined as the applications corresponding to the fourth windows.
[0028] Optionally, the application with the longest usage duration among the target application and the first applications is determined as the application corresponding to the third window.
[0029] Since the longer the usage duration of an application, the higher the stickiness and interest of the user to the application, the application with the longest usage duration can be determined as the application corresponding to the third window, so as to ensure that the application with the longest usage duration has a larger display size, thereby improving the use experience of the application.
[0030] (2) The priority of the target application is higher than the priority of part or all of the first applications
[0031] Optionally, one of the first applications is selected from the first applications based on the priority of the first applications, and the window in which the selected first application is located is determined as the window corresponding to the target application, and the applications corresponding to the other windows remain unchanged.
[0032] If the priorities of the first applications are the same, the first application with the shortest usage duration is selected. If the priorities of the first applications are different, the first application with the lowest priority is selected.
[0033] If the priorities of the first applications are the same, it indicates that the user expects the same probability of the first applications being interrupted by other applications. Therefore, one of the first applications can be selected according to the usage duration of the first applications. The shorter the usage duration of an application, the lower the stickiness and interest of the user to the application, or the application fails to meet the expected needs of the user. Therefore, the first application with the shortest usage duration among the first applications can be selected.
[0034] If the priorities of the first applications are different, it indicates that the user expects different probabilities of the first applications being interrupted by other applications. Since the lower the priority of a first application, the higher the probability of the first application being interrupted by other applications, that is, the user is more willing to accept the first application being interrupted by other applications, the first application with the lowest priority among the first applications can be selected.
[0035] It should be noted that the usage duration of an application can be the average daily usage duration of the corresponding application, or the total cumulative usage duration.
[0036] In a second implementation, if there is no historical split-screen mode corresponding to the target application and the plurality of first applications, the first split-screen mode is determined based on the priority of the target application and the priority of the plurality of first applications, the at least one historical split-screen mode being a split-screen mode used by the electronic device before the current time, and each historical split-screen mode corresponding to a plurality of applications.
[0037] If there is no historical split-screen mode corresponding to the target application and the plurality of first applications, it indicates that the target application and the plurality of first applications have not been split-screen displayed in the past, and thus the first split-screen mode can be determined based on the priority of the target application and the priority of the plurality of first applications.
[0038] Optionally, the implementation process of determining the first split-screen mode based on the priority of the target application and the priority of the plurality of first applications includes: determining the number of windows of the plurality of windows based on the priority of the target application and the priority of the plurality of first applications; and determining the applications corresponding to the plurality of windows from the plurality of first applications and the target application.
[0039] Optionally, before determining the first split-screen mode based on the priority of the target application and the priority of the plurality of first applications, the electronic device can also determine an identifier of a user, the user being a user currently using the electronic device, obtain preference information of the user based on the identifier of the user, the preference information being used to describe the preference of the user for split-screen display, and the preference information including the priority of the target application and the priority of the plurality of first applications.
[0040] Since different users have different preferences for application use, the application determines the corresponding first split-screen mode for different users through the preference information corresponding to different user identifiers, so that the accuracy of determining the first split-screen mode can be effectively improved, and the user experience can be improved.
[0041] It should be noted that different user identifiers correspond to different preference information. The preference information is collected and stored in the process of using the electronic device by the corresponding user.
[0042] It should also be noted that the initial values of the priority of the target application and the priority of the plurality of first applications can be determined according to application types, the application types including: audio and video class applications (including audio and video calls and screen projection applications), communication and chat class applications, game and fitness class applications, shopping class applications, browser / news class applications, and document reading class applications. Optionally, the priority of the audio and video class and the game and fitness class applications is the highest, the priority of the browser / news class and the document reading class applications is the lowest, and the priority of the shopping class and the communication and chat class applications is lower than that of the audio and video class and the game and fitness class applications, and higher than that of the browser / news class and the document reading class applications.
[0043] Optionally, the electronic device can acquire information of the user, and identify the user based on the information of the user to obtain an identification of the user.
[0044] It should be noted that the identification of the user can uniquely indicate one user, or can uniquely indicate a class of users, i.e., the identification of the user indicates a class of users, and the class of users includes children, young adults, and the elderly.
[0045] Optionally, the preference information further includes a use duration corresponding to the target application, use durations respectively corresponding to the plurality of first applications, and at least one historical split-screen mode. In other words, the use duration corresponding to the target application, the use durations respectively corresponding to the plurality of first applications, and the at least one historical split-screen mode are all corresponding to the identification of the user.
[0046] Optionally, the target application and the at least one first application can be directly displayed in the first split-screen mode.
[0047] Optionally, a split-screen mode list can be generated, the split-screen mode list including the first split-screen mode and at least one second split-screen mode, the second split-screen mode being determined by permutation and combination of the target application and the at least one first application, the split-screen mode list is displayed, and in response to a selection operation of a target split-screen mode, the target application and the at least one first application are displayed in the target split-screen mode, the target split-screen mode being one of the split-screen modes in the split-screen mode list.
[0048] In a second aspect, a display device is provided, which has a function of implementing the display method in the first aspect. The display device includes at least one module for implementing the display method provided in the first aspect.
[0049] In a third aspect, an electronic device is provided, which includes a processor and a memory, the memory being configured to store a computer program for executing the display method provided in the first aspect. The processor is configured to execute the computer program stored in the memory to implement the display method in the first aspect.
[0050] Optionally, the electronic device can further include a communication bus for establishing a connection between the processor and the memory.
[0051] In a fourth aspect, a computer-readable storage medium is provided, and the storage medium stores a computer program, which, when running on a computer or a processor, causes the computer or the processor to execute the steps of the display method in the first aspect.
[0052] In a fifth aspect, a computer program product is provided, which contains computer instructions, when the computer instructions are run on a computer or a processor, make the computer execute the steps of the display method in the first aspect. Alternatively, a computer program is provided, when the computer program is run on a computer or a processor, make the computer or the processor execute the steps of the display method in the first aspect.
[0053] The technical effects obtained by the second aspect, the third aspect, the fourth aspect and the fifth aspect are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0054] Figure 1 FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application;
[0055] Figure 2 FIG. 2 is a flowchart of a display method according to an embodiment of the present application;
[0056] Figure 3 FIG. 3 is a schematic diagram of a first split-screen mode according to an embodiment of the present application;
[0057] Figure 4 FIG. 4 is a schematic diagram of another first split-screen mode according to an embodiment of the present application;
[0058] Figure 5 FIG. 5 is a schematic diagram of another first split-screen mode according to an embodiment of the present application;
[0059] Figure 6 FIG. 6 is a schematic diagram of an application priority according to an embodiment of the present application;
[0060] Figure 7 FIG. 7 is a schematic diagram of a split-screen mode list according to an embodiment of the present application;
[0061] Figure 8 FIG. 8 is a split-screen mode preview interface according to an embodiment of the present application;
[0062] Figure 9 FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present application;
[0063] Figure 10 FIG. 10 is a schematic diagram of interaction between a user identification unit and a preference information recording unit according to an embodiment of the present application;
[0064] Figure 11 FIG. 11 is a schematic diagram of interaction between a system split-screen unit, an application split-screen unit and a recommendation unit according to an embodiment of the present application;
[0065] Figure 12is a mode schematic diagram of split-screen display of a target application and at least one first application provided by an embodiment of the present application;
[0066] Figure 13 is another mode schematic diagram of split-screen display of a target application and at least one first application provided by an embodiment of the present application;
[0067] Figure 14 is another mode schematic diagram of split-screen display of a target application and at least one first application provided by an embodiment of the present application;
[0068] Figure 15 is another mode schematic diagram of split-screen display of a target application and at least one first application provided by an embodiment of the present application;
[0069] Figure 16 is another mode schematic diagram of split-screen display of a target application and at least one first application provided by an embodiment of the present application;
[0070] Figure 17 is a structure schematic diagram of a display device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0071] To make the objectives, technical solutions and advantages of embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0072] To facilitate understanding, before the display method provided by an embodiment of the present application is explained in detail, the application scenarios related to the embodiments of the present application are introduced.
[0073] With the progress of science and technology and the popularity of intelligent terminal devices, people have not been satisfied with only controlling a single application, and thus the demand for controlling multiple applications at the same time is increasingly obvious. In order to facilitate the operation of two application programs in the foreground at the same time, the software system of the electronic device currently supports split-screen display, for example, the electronic device can display a video application and a note application at the same time, in which case, the user can use the video application and the note application at the same time (for example, watching a video while taking notes).
[0074] In the related art, if a user opens a new target application while two first applications are being displayed in split screen, one of the two first applications will be replaced by the target application, in which case, the first application that is not replaced and the target application can be displayed in split screen, while the replaced first application cannot be displayed. As can be seen, this method can only display two applications in split screen, thereby resulting in a relatively single split-screen mode. Moreover, if the replaced first application is an application that the user does not want to cancel the display of, the user experience will be greatly affected.
[0075] Based on this, the embodiment of the present application provides a display method, which can determine a first split screen mode based on the priority of each of the first applications and the priority of the target application, and split screen display the target application and at least one first application based on the first split screen mode. Since the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications, the first split screen mode determined based on the priority of each of the first applications and the priority of the target application can represent the application that the user expects to be split screen displayed. In this case, split screen display of the target application and at least one first application based on the first split screen mode can meet the user's preference for split screen display, so that the application that the user does not expect to be interrupted can continue to be displayed in the foreground, thereby effectively improving the user's experience.
[0076] The execution subject of the display method provided by the embodiment of the present application can be an electronic device with a display function. The display function of the electronic device can be that the electronic device itself has the display function, or that the electronic device has the display function after being connected with other devices. That is, the electronic device can have a display screen itself, or can be connected with a display screen independent of the electronic device. The embodiment of the present application does not limit this.
[0077] It should be noted that, in the case that the electronic device can have a display screen itself, the electronic device can also be connected with a display screen independent of the electronic device. In this case, the electronic device can display through the display screen itself, or can display through the independent display screen. The embodiment of the present application does not limit this.
[0078] In some embodiments, the electronic device can be a personal computer (PC), a mobile phone, a pocket PC (pocket PC), a tablet computer, a television, a set-top box, etc.
[0079] It should be noted that the application scenarios and execution subjects described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It can be known by those skilled in the art that, with the emergence of new application scenarios and electronic devices, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0080] For reference Figure 1 , Figure 1 is a structural schematic diagram of an electronic device according to the embodiment of the present application. The electronic device can be Figure 1The electronic device 101 shown in the figure. The electronic device includes at least one processor 101, a communication bus 102, a memory 103, and at least one communication interface 104.
[0081] The processor 101 can be a general central processing unit (CPU), a network processor (NP), a microprocessor, or can be one or more integrated circuits for implementing the schemes of the present application, such as an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0082] The communication bus 102 is used to transmit information between the above-mentioned components. The communication bus 102 can be divided into address bus, data bus, control bus, etc. For the convenience of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0083] The memory 103 can be a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), an optical disk (including a compact disc read-only memory (CD-ROM), a compact disc, a laser disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited to. The memory 103 can exist independently and be connected to the processor 101 through the communication bus 102. The memory 103 can also be integrated with the processor 101.
[0084] The communication interface 104 uses any transceiver-like mechanism for communicating with other devices or communication networks. The communication interface 104 includes a wired communication interface and can also include a wireless communication interface. The wired communication interface can be, for example, an Ethernet interface. The Ethernet interface can be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface can be, for example, a wireless local area networks (WLAN) interface, a cellular network communication interface, or a combination thereof.
[0085] In a particular implementation, as one example, the processor 101 can include one or more CPUs, such as CPU0 and CPU1 as shown in FIG. 1. Figure 1
[0086] In a particular implementation, as one example, the electronic device can include multiple processors, such as the processor 101 and the processor 105 as shown in FIG. 1. Each of these processors can be a single-core processor or a multi-core processor. A processor herein can refer to one or more devices, circuits, and / or processing cores for processing data, such as computer program instructions. Figure 1
[0087] In a particular implementation, as one example, the electronic device can also include an output device 106 and an input device 107. The output device 106 is in communication with the processor 101 and can display information in various ways. For example, the output device 106 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, or the like. The input device 107 is in communication with the processor 101 and can receive user input in various ways. For example, the input device 107 can be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
[0088] In some embodiments, the memory 103 stores program code 110 for implementing the schemes of the present application, and the processor 101 can execute the program code 110 stored in the memory 103. The program code 110 can include one or more software modules, and the electronic device can implement the following Figure 2 The display method provided by the embodiments.
[0089] Figure 2 is a flowchart of a display method provided by the embodiments of the present application, and the method is applied to an electronic device. Please refer to Figure 2 The method includes the following steps.
[0090] Step 201: in response to an opening instruction of a target application, determining a first split-screen mode based on a priority of the target application and priorities of a plurality of first applications, the target application being an application supporting split-screen display, the plurality of first applications being applications currently performing split-screen display, the first split-screen mode indicating a split-screen display manner of the target application and at least one first application in the plurality of first applications, and the priority being used to describe a probability that a user expects the corresponding application to be interrupted by other applications.
[0091] It should be noted that, for any one of the target application and the plurality of first applications, the probability that the user expects the application to be interrupted by other applications is proportional to the priority, that is, the greater the probability that the user expects the application to be interrupted by other applications, the higher the priority of the application. Of course, it can also be that the probability that the user expects the application to be interrupted by other applications is inversely proportional to the priority, that is, the greater the probability that the user expects the application to be interrupted by other applications, the lower the priority of the application. For ease of description, the probability that the user expects the application to be interrupted by other applications is inversely proportional to the priority in the following description of each step in the embodiments of the present application.
[0092] In some embodiments, the user can trigger the opening instruction of the target application, and then the electronic device can respond to the opening instruction of the target application triggered by the user.
[0093] As an example, the user can directly trigger the opening instruction of the target application through the operating system of the electronic device, for example, the user can directly trigger the opening instruction of the target application by clicking the icon of the target application on the desktop of the electronic device. As another example, the user can also trigger the opening instruction of the target application in any one of the first applications, for example, the target application is a shopping application, and the user can click a commodity link in a communication application to trigger the opening instruction of the target application corresponding to the commodity link. The specific implementation manner of triggering the opening instruction of the target application is not limited in the embodiments of the present application.
[0094] In some embodiments, there can be an application not supporting split-screen display among the applications installed on the electronic device, in which case, in response to an opening instruction of the application not supporting split-screen display, the electronic device can directly display the application in full screen.
[0095] In some embodiments, the first split-screen mode includes a window number of a plurality of windows and applications corresponding to the plurality of windows respectively, the window being used to display the corresponding application, in which case, the implementation manner of determining the first split-screen mode based on the priority of the target application and the priorities of the plurality of first applications includes multiple manners, and two of the implementation manners are introduced as follows.
[0096] In a first implementation, a number of windows is determined based on a priority of the target application and priorities of the plurality of first applications; and the applications corresponding to the plurality of windows are determined from the plurality of first applications and the target application.
[0097] It should be noted that the applications corresponding to any two windows of the plurality of windows are different.
[0098] If the priority of the target application is less than or equal to the priorities of all the applications in the plurality of first applications, the number of windows of the plurality of windows is determined as N, where N is the sum of the number of the plurality of first applications and the number of the target application. If the priority of the target application is greater than the priorities of some or all of the applications in the plurality of first applications, the number of windows of the plurality of windows is determined as N-1.
[0099] If the priority of the target application is less than or equal to the priorities of all the applications in the plurality of first applications, it means that the user expects a lower probability of the plurality of first applications being interrupted by other applications compared to the target application, i.e., the user is less willing to accept the first applications being interrupted by other applications. Therefore, the plurality of first applications and the target application need to be displayed. In this case, the number of windows of the plurality of windows can be determined as N.
[0100] If the priority of the target application is greater than the priorities of some or all of the applications in the plurality of first applications, it means that there is at least one first application in the plurality of first applications whose priority is lower than the target application. Therefore, the number of windows of the plurality of windows can be determined as N-1, i.e., the number of the plurality of windows is consistent with the number of the plurality of first applications, or the number of the plurality of windows is equal to the number of the currently displayed split-screen windows, so as to ensure that one of the plurality of first applications can be replaced by the target application in the future, thereby realizing split-screen display of the target application.
[0101] The implementation of determining the applications corresponding to the plurality of windows from the plurality of first applications and the target application includes multiple implementations, two of which will be introduced below.
[0102] In a first implementation, a plurality of candidate applications is determined from the plurality of first applications and the target application based on the number of windows, and the applications corresponding to the plurality of windows are determined based on the plurality of candidate applications.
[0103] If the number of windows is N, for any one window of the plurality of windows, the plurality of first applications and the target application can be used as the plurality of candidate applications. If the number of windows is N-1, one of the plurality of first applications is deleted to obtain at least one first application after deletion processing, and the at least one first application after deletion processing and the target application are used as the plurality of candidate applications.
[0104] In some embodiments, any one of the first applications can be deleted from the plurality of first applications. In other embodiments, the one of the first applications with the lowest priority can be deleted from the plurality of first applications.
[0105] Since for any one of the first applications, the lower the priority of the first application corresponds to, the higher the probability that the user expects the first application to be interrupted by other applications, that is, the user is more able to accept the first application to be interrupted by other applications, therefore, the one of the first applications with the lowest priority can be deleted from the plurality of first applications.
[0106] Based on the plurality of candidate applications, the determining of the applications corresponding to the plurality of windows respectively includes: selecting any one of the applications from the plurality of candidate applications to correspond to the window, and deleting the selected application from the plurality of candidate applications. In the same way, each of the plurality of windows is processed, and the applications corresponding to the plurality of windows respectively can be determined.
[0107] Secondly, based on the priority of the target application and the priorities of the plurality of first applications, the applications corresponding to the plurality of windows respectively are determined from the plurality of first applications and the target application.
[0108] Since the priority of the target application and the priorities of all the applications in the plurality of first applications have multiple cases, in different cases, the implementation manner of determining the applications corresponding to the plurality of windows respectively from the plurality of first applications and the target application is different, which will be introduced in detail in the following cases.
[0109] (1) The priority of the target application is less than or equal to the priorities of all the applications in the plurality of first applications
[0110] In some embodiments, the plurality of windows includes a first window and N-1 second windows, and the first window is suspended above the second windows; in this case, if the priority of the target application is less than the priorities of all the applications in the plurality of first applications, the target application is determined as the application corresponding to the first window, and the plurality of first applications are determined as the applications corresponding to the N-1 second windows.
[0111] If the priority of the target application is less than the priorities of all the applications in the plurality of first applications, it means that compared with the target application, the user expects the plurality of first applications to be interrupted by other applications with a lower probability, that is, the user is less able to accept the first applications to be interrupted by other applications, therefore, the target application can be displayed through the first window, and the first applications can be displayed through the second windows, so as to avoid the plurality of first applications from being interrupted, affecting the user's use experience, and since the first window is suspended above the second windows, the size of the second windows can be effectively ensured not to be affected by the size of the first window.
[0112] For example, please refer to Figure 3 ,Figure 3 is a schematic view of a first split-screen mode provided by an embodiment of the present application, the plurality of applications are application A and application C, the target application is application B, and the priority of the target application is less than the priority of all of the plurality of first applications. In this case, the window corresponding to application B is a first window, the window corresponding to application A is a second window 1, and the window corresponding to application B is a second window 2.
[0113] In some embodiments, N is an even number, and the sizes of the N windows are consistent. In this case, if the priority of the target application is equal to the priority of the plurality of first applications, the target application is determined as the application corresponding to any one of the N windows, and the plurality of first applications are determined as the applications corresponding to the other N-1 windows.
[0114] If the priority of the target application is equal to the priority of all of the plurality of first applications, it indicates that the user expects the probability of the plurality of first applications and the target application being interrupted by other applications to be the same, and since the N windows are even, the sizes of the N windows can be ensured to be consistent. Therefore, the target application can be determined as the application corresponding to any one of the N windows, and the plurality of first applications can be determined as the applications corresponding to the other N-1 windows, that is, from the N windows of the same size, one window is allocated to the plurality of first applications and the target application respectively to ensure that the user experience of the plurality of first applications and the target application is less different.
[0115] In some embodiments, N is an odd number, the N windows include a third window and N-1 fourth windows, and the size of the third window is greater than the size of each of the N-1 fourth windows. In this case, if the priority of the target application is equal to the priority of the plurality of first applications, based on the use duration of the target application and the use duration of the plurality of first applications, the application corresponding to the third window is determined from the target application and the plurality of first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
[0116] If the priority of the target application is equal to the priority of all of the plurality of first applications, it indicates that the user expects the probability of the plurality of first applications and the target application being interrupted by other applications to be the same, but since the N windows are odd, there is a third window with a larger size among the N windows. Therefore, based on the use duration of the application, the application corresponding to the third window can be determined from the target application and the plurality of first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
[0117] In some embodiments, the application with the longest use duration from the target application and the plurality of first applications can be determined as the application corresponding to the third window.
[0118] Since the longer the application is used, it usually indicates that the user has higher stickiness and interest in the application, and therefore, the application with the longest usage time can be used as the application corresponding to the third window, so as to ensure that the display size of the application with the longest usage time is larger, thereby improving the use experience of the application.
[0119] For example, refer to Figure 4 , Figure 4 is another schematic diagram of the first split screen mode provided by the embodiment of the present application, the plurality of applications are application A and application C, the target application is application B, the priority of the target application is equal to the priority of all applications in the plurality of first applications, and application A has the longest usage time. In this case, the window corresponding to application A is the third window, the window corresponding to application C is the fourth window 1, and the window corresponding to application B is the fourth window 2.
[0120] (2) The priority of the target application is higher than the priority of part or all of the plurality of first applications
[0121] In some embodiments, based on the priority of the plurality of first applications, one first application is selected from the plurality of first applications, and the window in which the selected first application is located is determined as the window corresponding to the target application, and the applications corresponding to the other windows remain unchanged.
[0122] If the priorities of the plurality of first applications are the same, the first application with the shortest usage time in the plurality of first applications is selected. If the priorities of the plurality of first applications are different, the first application with the lowest priority in the plurality of first applications is selected.
[0123] If the priorities of the plurality of first applications are the same, it indicates that the user expects the same probability of interruption of the plurality of first applications by other applications, and therefore, one first application can be selected according to the usage time of the plurality of first applications. The shorter the usage time of the application, the lower the stickiness and interest of the user to the application, or the application fails to meet the user's expected demand, and therefore, the first application with the shortest usage time in the plurality of first applications can be selected.
[0124] If the priorities of the plurality of first applications are different, it indicates that the user expects different probabilities of interruption of the plurality of first applications by other applications, and since the lower the priority of the first application, the higher the probability of interruption of the first application by other applications, that is, the user is more acceptable to the interruption of the first application by other applications, and therefore, the first application with the lowest priority in the plurality of first applications can be selected.
[0125] For example, refer to Figure 5 , Figure 5is a schematic view of another first split-screen mode provided by an embodiment of the present application, the plurality of applications are application A and application C, the target application is application B, the priority of the target application is greater than the priority of part or all of the plurality of first applications, and the use time of application A is the shortest. In this case, the window in which application A is located in the current display mode of the plurality of first applications is determined as the window corresponding to application B, and the applications corresponding to the other windows remain unchanged, that is, the window corresponding to application C remains unchanged.
[0126] It should be noted that the use time of the application can be the average daily use time of the corresponding application, or the cumulative total use time, and the like, which is not limited in the embodiments of the present application.
[0127] In a second implementation, if there is no historical split-screen mode corresponding to the target application and the plurality of first applications in the at least one historical split-screen mode, a first split-screen mode is determined based on the priority of the target application and the priority of the plurality of first applications, the at least one historical split-screen mode is a split-screen mode used by the electronic device before the current time, and each historical split-screen mode corresponds to a plurality of applications.
[0128] If there is no historical split-screen mode corresponding to the target application and the plurality of first applications, it indicates that the target application and the plurality of first applications have not been split-screen displayed in the past, and therefore, the first split-screen mode can be determined based on the priority of the target application and the priority of the plurality of first applications.
[0129] In some embodiments, the implementation process of determining the first split-screen mode based on the priority of the target application and the priority of the plurality of first applications includes: determining the number of windows of the plurality of windows based on the priority of the target application and the priority of the plurality of first applications; and determining the applications corresponding to the plurality of windows from the plurality of first applications and the target application.
[0130] The detailed process of determining the number of windows of the plurality of windows based on the priority of the target application and the priority of the plurality of first applications, and determining the applications corresponding to the plurality of windows from the plurality of first applications and the target application can be referred to the related content in the first implementation, which will not be described here.
[0131] If there is a historical split-screen mode corresponding to the target application and the plurality of first applications in the at least one historical split-screen mode, the historical split-screen mode corresponding to the target application and the plurality of first applications is determined as the first split-screen mode, and then the subsequent step 202 is executed.
[0132] If there is a historical split-screen mode corresponding to the target application and the plurality of first applications, it indicates that the target application and the plurality of first applications have been split-screen displayed in the past, and the historical split-screen mode is the split-screen mode adopted by the target application and the plurality of first applications, and therefore, the historical split-screen mode corresponding to the target application and the plurality of first applications can be directly determined as the first split-screen mode.
[0133] It should be noted that the difference between the first implementation and the second implementation is that the first implementation directly determines the first split-screen mode based on the priority of the target application and the priorities of the plurality of first applications, while the second implementation needs to first determine whether the historical split-screen mode corresponding to the target application and the plurality of first applications exists in the at least one historical split-screen mode, that is, it is first determined whether the target application and the plurality of first applications have been split-screen displayed in the past, and only in the case where the target application and the plurality of first applications have not been split-screen displayed, the first split-screen mode is determined based on the priority of the target application and the priorities of the plurality of first applications.
[0134] In some embodiments, the first split-screen mode further includes a display position of each window in the plurality of windows. The display position of each window can be determined according to the size and shape of the display screen corresponding to the electronic device, and the embodiments of the present application do not limit this.
[0135] It should be noted that the display screen corresponding to the electronic device can be a screen that the electronic device itself has, or can be a display screen independent of the electronic device, and the embodiments of the present application do not limit this. If the display screen is independent of the electronic device, the display screen can be communicatively connected to the electronic device.
[0136] For example, if the display screen is rectangular and the short side of the display screen is perpendicular to the horizontal direction, in this case, the plurality of windows are arranged left and right. If the display screen is rectangular and the short side of the display screen is parallel to the horizontal direction, in this case, the plurality of windows are arranged left, top and bottom. It should be noted that the embodiments of the present application are described by taking the case where the plurality of windows are arranged left and right as an example. Figures 3-5 、 Figures 7-8 、 Figures 12 to 16 are described by taking the case where the plurality of windows are arranged left and right as an example.
[0137] In some embodiments, before determining the first split-screen mode based on the priority of the target application and the priorities of the plurality of first applications, the electronic device can further determine an identifier of a user, the user being a user currently using the electronic device, obtain preference information of the user based on the identifier of the user, the preference information being used to describe the user's preference for split-screen display, and the preference information including the priority of the target application and the priorities of the plurality of first applications.
[0138] Since different users have different preferences for application use, the embodiments of the present application determine the corresponding first split-screen mode for different users through the preference information corresponding to different user identifiers, so that the accuracy of determining the first split-screen mode can be effectively improved, and the user's use experience can be improved.
[0139] It should be noted that the identification of different users corresponds to different preference information. The preference information is collected and stored in the process of the corresponding user using the electronic device.
[0140] It should be further noted that the initial values of the priority of the target application and the priorities of the plurality of first applications can be determined according to application types, including: audio and video class applications (including audio and video calls and screen projection applications), communication chat class applications, game and fitness class applications, shopping class applications, browser / news class applications, and document reading class applications. For example, the priorities of audio and video class applications and game and fitness class applications are the highest, the priorities of browser / news class applications and document reading class applications are the lowest, and the priorities of shopping class applications and communication chat class applications are lower than those of audio and video class applications and game and fitness class applications, and higher than those of browser / news class applications and document reading class applications.
[0141] In some embodiments, the user can also modify the priority of the target application and the priorities of the plurality of first applications according to his own needs. For example, please refer to Figure 6 , Figure 6 is a schematic diagram of application priority provided by an embodiment of the present application, the target application is application A, and the plurality of first applications are application B, application C, application D, application E, application F, application G, and application H. Among them, the priorities of application A, application D, application E, and application F are 1, the priorities of application B and application G are 2, and the priorities of application C and application H are 3. The larger the number is, the higher the priority is.
[0142] In some embodiments, the electronic device can obtain the information of the user, and then identify the user based on the information of the user to obtain the identification of the user.
[0143] It should be noted that the identification of the user can uniquely indicate one user, or can uniquely indicate a class of users, that is, the identification of the user indicates the category of the user, and the category of the user includes: children, young and middle-aged, and the elderly, which is not limited by the embodiments of the present application.
[0144] For example, the information of the user includes a face image or a sound. In the case where the information of the user includes a face image, the electronic device can perform face recognition on the face image of the user through a related face recognition algorithm, and then obtain the category of the user. In the case where the information of the user includes a sound, the electronic device can perform voiceprint recognition on the sound of the user through a related voiceprint recognition algorithm, and then obtain the category of the user.
[0145] For example, in the case where the identification of the user indicates the category of the user, the identification corresponding to children can be 001, the identification corresponding to young and middle-aged can be 002, and the identification corresponding to the elderly can be 003.
[0146] In some embodiments, the preference information further includes a use duration corresponding to the target application, use durations corresponding to the plurality of first applications respectively, and at least one historical split-screen mode. In other words, the use duration corresponding to the target application, the use durations corresponding to the plurality of first applications respectively, and the at least one historical split-screen mode involved in the above embodiments are all corresponding to the user identifier.
[0147] In some embodiments, the preference information further includes application names and application types of the target application and each of the plurality of first applications.
[0148] For example, the electronic device stores the preference information in a json format to obtain a json file corresponding to each user identifier. The content in the json file can be as follows:
[0149] {
[0150] "user":003,
[0151] "app.name":"IPTV"
[0152] "apptype":"video"
[0153] "daily_duration_hour":6,
[0154] }
[0155] In the above example, "user":003 indicates that the user identifier is 003, "app.name":"IPTV" indicates that the application name is IPTV, "apptype":"video" indicates that the application type is a video application, and "daily_duration_hour":6 indicates that the average daily use duration is 6 hours.
[0156] Step 202: Based on the first split-screen mode, split-screen display is performed on the target application and at least one first application of the plurality of first applications.
[0157] In some embodiments, the target application and the at least one first application can be directly split-screen displayed according to the first split-screen mode.
[0158] In other embodiments, a split-screen mode list can be generated, the split-screen mode list including the first split-screen mode and at least one second split-screen mode, the second split-screen mode being determined by permutation and combination of the target application and the at least one first application, the split-screen mode list being displayed, and in response to a selection operation of a target split-screen mode, the target application and the at least one first application being split-screen displayed according to the target split-screen mode, the target split-screen mode being one of the split-screen modes in the split-screen mode list.
[0159] The selection operation of the target split-screen mode is triggered by a user through voice, clicking, sliding, or the like, and is used to select the target split-screen mode from the split-screen mode list.
[0160] In some embodiments, the first split-screen mode in the split-screen mode list can be marked by highlighting, circling, or the like, to facilitate selection by the user.
[0161] For example, refer to Figure 7 , Figure 7 is a schematic diagram of a split-screen mode list provided by an embodiment of the present application. The target application is application C, and the plurality of first applications are application B and application C. The split-screen mode list includes a plurality of categories, which are two-window split-screen, three-window split-screen, and full-screen, wherein the three-window split-screen includes tiled split-screen and floating window split-screen, and the floating window split-screen includes a first window in the window. Among them, mode three in the tiled split-screen is the first split-screen mode.
[0162] In actual application, the electronic device can also display a split-screen mode preview interface, which includes at least one historical split-screen mode and at least one recommended split-screen mode, and the at least one recommended split-screen mode is set in advance by a technician according to the out-of-factory application in the electronic device and stored in the electronic device.
[0163] For example, refer to Figure 8 , Figure 8 is a split-screen mode preview interface provided by an embodiment of the present application, which includes 2 historical split-screen modes and 3 recommended split-screen modes, and the 2 historical split-screen modes are mode 1 and mode 2 respectively, and the 3 recommended split-screen modes are mode 1 to mode 3.
[0164] Optionally, the user can also adjust the application corresponding to the window, the window size, and the like in the historical split-screen mode in the split-screen mode preview interface.
[0165] In some embodiments, for example, refer to Figure 9 , Figure 9 is a structural block diagram of an electronic device provided by an embodiment of the present application, which includes a user identification unit, a preference information recording unit, a system split-screen unit, an application split-screen unit, and a recommendation unit. For example, refer to Figure 10 The user identification unit can determine the category of the user through face recognition or voiceprint recognition, and then determine the identity of the user based on the category of the user and send it to the preference information recording unit, and then the preference recording unit can record the preference information of the user and generate a json file and save it.
[0166] For example, refer to Figure 11, the user can trigger an opening instruction of a plurality of first applications in an operating system of the electronic device, and the electronic device can display the plurality of first applications in split screen mode in response to the opening instruction of the plurality of first applications. The electronic device can further listen to whether a target application is opened in any one of the plurality of first applications, determine a first split screen mode based on a priority of the target application and a priority of the plurality of first applications in response to an opening instruction of the target application, generate a split screen mode list including the first split screen mode and at least one second split screen mode, and display the target application and at least one first application in the target split screen mode in response to a selection operation of the target split screen mode.
[0167] In actual applications, after the target application and the at least one first application are displayed in split screen mode, the user can exit one of the applications. In this case, if the exited application is the target application, the display screen of the plurality of first applications before the opening instruction of the target application is re-displayed. If the exited application is a first application, and the number of remaining unexited applications is two, two windows are displayed, and the two windows correspond to the target application and the remaining first application, respectively. If the exited application is a first application, and the number of remaining unexited applications is greater than two, the remaining unexited first applications are taken as the plurality of first applications, and steps 201 and 202 are re-executed.
[0168] Next, the process of application exit will be described in detail. Figures 12-16 The plurality of first applications are application A and application B, and the target application is application C. Figures 12-16 The application provides five different modes of displaying the target application and the at least one first application in split screen mode. Please refer to Figure 12 and Figure 13 If application C exits, the display screen of the plurality of first applications before the opening instruction of the target application is re-displayed, that is, application A and application B are displayed in split screen mode. Please refer to Figure 14 If application A exits, since the exited application is a first application, and the number of remaining unexited applications is two, two windows are displayed, and the two windows correspond to application B and application C, respectively. Please refer to Figure 15 and Figure 16 If application B exits, since the exited application is a first application, and the number of remaining unexited applications is two, two windows are displayed, and the two windows correspond to application A and application C, respectively.
[0169] In the embodiments of the present application, since the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications, therefore, based on the priorities corresponding to the plurality of first applications respectively and the priority corresponding to the target application, the first split screen mode determined can represent the application that the user expects to be displayed in split screen, in this case, splitting the target application and the at least one first application based on the first split screen mode can meet the user's preference for split screen display, so that the application that the user does not expect to be interrupted can continue to be displayed in the foreground, thereby effectively improving the user's experience. If the priority of the target application is less than the priorities of all the applications in the plurality of first applications, it means that the user expects the probability of the plurality of first applications being interrupted by other applications to be lower than the target application, that is, the user is less able to accept the first application being interrupted by other applications, therefore, the target application can be displayed through the first window, and the first application can be displayed through the second window, thereby avoiding the plurality of first applications being interrupted, affecting the user's experience, and since the first window is suspended above the second window, the size of the second window can be effectively ensured not to be affected by the size of the first window. If the priority of the target application is equal to the priorities of all the applications in the plurality of first applications, it means that the user expects the probability of the plurality of first applications and the target application being interrupted by other applications to be the same, and since the N windows are even, the sizes of the N windows can be ensured to be consistent, therefore, the target application can be determined as the application corresponding to any one of the N windows, and the plurality of first applications can be determined as the applications corresponding to the other N-1 windows, that is, from the N windows with the same size, one window is allocated to the plurality of first applications and the target application respectively, so as to ensure that the user's experience of the plurality of first applications and the target application is less different. Since the longer the use time of the application is, the higher the user's stickiness and interest in the application are usually, therefore, the application with the longest use time can be used as the application corresponding to the third window, so as to ensure that the display size of the application with the longest use time is larger, thereby improving the user's experience of the application. Since different users have different preferences for applications, the embodiments of the present application can determine the corresponding first split screen mode for different users through the preference information corresponding to different user identifiers, so as to effectively improve the accuracy of determining the first split screen mode and improve the user's experience.
[0170] Figure 17 FIG. 1 is a structural schematic diagram of a display device provided in an embodiment of the present application. The display device can be realized by software, hardware or a combination of both to be part or all of the electronic device described above. Referring to FIG. 1, Figure 17 The device includes a first determination module 1701 and a display module 1702.
[0171] The first determination module 1701 is configured to, in response to an opening instruction of a target application, determine a first split-screen mode based on a priority of the target application and priorities of a plurality of first applications, wherein the target application is an application supporting split-screen display, the plurality of first applications are applications currently performing split-screen display, the first split-screen mode indicates a split-screen display manner of the target application and at least one first application in the plurality of first applications, and the priority is used to describe a probability at which a user expects the corresponding application to be interrupted by other applications. For details, refer to the corresponding content in the above embodiments, which will not be described here again.
[0172] The display module 1702 is configured to perform split-screen display on the target application and the at least one first application based on the first split-screen mode. For details, refer to the corresponding content in the above embodiments, which will not be described here again.
[0173] In some embodiments, the first split-screen mode includes a window number of a plurality of windows and applications corresponding to the plurality of windows respectively, and the window is used to display the corresponding application.
[0174] The first determination module 1701 is specifically configured to:
[0175] determine the window number of the plurality of windows based on the priority of the target application and the priorities of the plurality of first applications.
[0176] determine the applications corresponding to the plurality of windows from the plurality of first applications and the target application.
[0177] In some embodiments, the first determination module 1701 is specifically configured to:
[0178] if the priority of the target application is less than or equal to the priorities of all applications in the plurality of first applications, determine that the window number of the plurality of windows is N, and N is a sum of a number of the plurality of first applications and a number of the target application.
[0179] In some embodiments, the plurality of windows include a first window and N-1 second windows, and the first window is suspended above the second windows.
[0180] The first determination module 1701 is specifically configured to:
[0181] if the priority of the target application is less than the priorities of all applications in the plurality of first applications, determine that the target application is an application corresponding to the first window, and determine that the plurality of first applications are applications corresponding to the N-1 second windows.
[0182] In some embodiments, N is an even number, and sizes of the N windows are consistent.
[0183] The first determination module 1701 is specifically configured to:
[0184] If the priority of the target application is equal to the priority of the plurality of first applications, the target application is determined as an application corresponding to any one of the N windows, and the plurality of first applications are determined as applications corresponding to other N-1 windows.
[0185] In some embodiments, N is an odd number, the N windows include a third window and N-1 fourth windows, and a size of the third window is greater than a size of each of the N-1 fourth windows.
[0186] The first determining module 1701 is specifically configured to:
[0187] If the priority of the target application is equal to the priority of the plurality of first applications, the target application and the plurality of first applications are determined based on the usage time of the target application and the usage time of the plurality of first applications, an application corresponding to the third window is determined from the target application and the plurality of first applications, and the remaining applications are determined as applications corresponding to the N-1 fourth windows.
[0188] In some embodiments, the first determining module 1701 is specifically configured to:
[0189] If the priority of the target application is greater than the priority of part or all of the plurality of first applications, the number of windows of the plurality of windows is determined as N-1, and N is the sum of the number of the plurality of first applications and the number of the target application.
[0190] In some embodiments, the first determining module 1701 is specifically configured to:
[0191] Based on the priority of the plurality of first applications, one first application is selected from the plurality of first applications.
[0192] A window in which the selected first application is located is determined as a window corresponding to the target application, and applications corresponding to other windows remain unchanged.
[0193] In some embodiments, the first determining module 1701 is specifically configured to:
[0194] If the priority of the plurality of first applications is the same, a first application with the shortest usage time in the plurality of first applications is selected.
[0195] If the priority of the plurality of first applications is different, a first application with the lowest priority in the plurality of first applications is selected.
[0196] In some embodiments, the display module 1702 is specifically configured to:
[0197] In the first split-screen mode, the target application and at least one first application are displayed in a split-screen mode.
[0198] In some embodiments, the display module 1702 is specifically configured to:
[0199] generate a split-screen mode list, the split-screen mode list including a first split-screen mode and at least one second split-screen mode, the second split-screen mode being determined by performing permutation and combination on the target application and the at least one first application;
[0200] display the split-screen mode list;
[0201] in response to a selection operation of a target split-screen mode, display the target application and the at least one first application in a split-screen mode according to the target split-screen mode, the target split-screen mode being one of the split-screen mode list.
[0202] In some embodiments, the first determining module 1701 is specifically configured to:
[0203] if there is no historical split-screen mode corresponding to the target application and the plurality of first applications in the at least one historical split-screen mode, determine the first split-screen mode based on the priority of the target application and the priority of the plurality of first applications;
[0204] wherein the at least one historical split-screen mode is a split-screen mode used by the electronic device before the current time, and each historical split-screen mode corresponds to a plurality of applications.
[0205] In some embodiments, the apparatus further includes:
[0206] a second determining module configured to determine an identity of a user, the user being a user currently using the electronic device;
[0207] an obtaining module configured to obtain preference information of the user based on the identity of the user, the preference information being used to describe the user's preference for split-screen display, and the preference information including the priority of the target application and the priority of the plurality of first applications.
[0208] In some embodiments, the preference information further includes a use duration corresponding to the target application, use durations respectively corresponding to the plurality of first applications, and at least one historical split-screen mode.
[0209] wherein the at least one historical split-screen mode is a split-screen mode used by the electronic device before the current time, and each historical split-screen mode corresponds to a plurality of applications.
[0210] In the embodiments of the present application, since the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications, therefore, based on the priorities corresponding to the plurality of first applications respectively and the priority corresponding to the target application, the first split screen mode determined can represent the application that the user expects to be displayed in split screen, in this case, splitting the target application and the at least one first application based on the first split screen mode can meet the user's preference for split screen display, so that the application that the user does not expect to be interrupted can continue to be displayed in the foreground, thereby effectively improving the user's experience. If the priority of the target application is less than the priority of all the plurality of first applications, it means that the user expects the plurality of first applications to be interrupted by other applications with a lower probability than the target application, that is, the user is less acceptable to the first application being interrupted by other applications, therefore, the target application can be displayed through the first window, and the first application can be displayed through the second window, thereby avoiding the plurality of first applications being interrupted, affecting the user's experience, and since the first window is suspended above the second window, the size of the second window can be effectively ensured not to be affected by the size of the first window. If the priority of the target application is equal to the priority of all the plurality of first applications, it means that the user expects the plurality of first applications and the target application to be interrupted by other applications with the same probability, and since the N windows are even, the size of the N windows can be ensured to be consistent, therefore, the target application can be determined as the application corresponding to any one of the N windows, and the plurality of first applications can be determined as the applications corresponding to the other N-1 windows, that is, from the N windows with the same size, one window is allocated to the plurality of first applications and the target application respectively, so as to ensure that the user's experience of the plurality of first applications and the target application is less different. Since the longer the use time of the application is, the higher the user's stickiness and interest in the application are, therefore, the application with the longest use time can be used as the application corresponding to the third window, so as to ensure that the display size of the application with the longest use time is larger, thereby improving the user's experience of the application. Since different users have different preferences for applications, the embodiments of the present application can determine the corresponding first split screen mode for different users through the preference information corresponding to different user identifiers, so as to effectively improve the accuracy of determining the first split screen mode and improve the user's experience.
[0211] It should be noted that: the display device provided in the above embodiments is only used as an example for illustrating the division of the above functional modules in the display process, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the display device and the display method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0212] The embodiment of the present application further provides a computer readable storage medium, wherein instructions are stored in the storage medium, and when the instructions are executed on a computer or a processor, the computer or the processor performs the steps of the display method in the above embodiment.
[0213] The embodiment of the present application further provides a computer program product containing instructions, and when the instructions are executed on a computer or a processor, the computer or the processor performs the steps of the display method in the above embodiment. Alternatively, a computer program is provided, and when the computer program is executed on a computer or a processor, the computer or the processor performs the steps of the display method in the above embodiment.
[0214] In the above embodiment, all or part of the embodiment can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of the embodiment can be realized in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiment of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (for example: coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example: infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), an optical medium (for example: digital versatile disc (DVD)) or a semiconductor medium (for example: solid state disk (SSD)) and the like. It is worth noting that the computer readable storage medium mentioned in the embodiment of the present application can be a non-volatile storage medium, in other words, it can be a non-transitory storage medium.
[0215] It should be understood that the "multiple" mentioned herein refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein only describes the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second" and the like. The skilled in the art can understand that "first", "second" and the like do not limit the quantity and execution order, and "first", "second" and the like do not necessarily mean different.
[0216] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the priority of the target application and the priority of the plurality of first applications involved in the embodiments of the present application are obtained under sufficient authorization.
[0217] The above describes the embodiments provided by the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A display method, characterized in that, Applied to electronic devices, the method includes: In response to the opening command of the target application, a first split-screen mode is determined based on the priority of the target application and the priorities of multiple first applications; Wherein, the target application is an application that supports split-screen display, the plurality of first applications are applications currently performing split-screen display, the first split-screen mode indicates the split-screen display method of the target application and at least one of the plurality of first applications, and the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications. Based on the first split-screen mode, the target application and the at least one first application are displayed in a split-screen format.
2. The method as described in claim 1, characterized in that, The first split-screen mode includes a number of windows and applications corresponding to the multiple windows, and the windows are used to display the corresponding applications; Determining the first split-screen mode based on the priority of the target application and the priorities of multiple first applications includes: The number of windows in the plurality of windows is determined based on the priority of the target application and the priority of the plurality of first applications; From the plurality of first applications and the target application, determine the applications corresponding to the plurality of windows respectively.
3. The method as described in claim 2, characterized in that, Determining the number of windows based on the priority of the target application and the priorities of the plurality of first applications includes: If the priority of the target application is less than or equal to the priority of all applications in the plurality of first applications, then the number of windows in the plurality of windows is determined to be N, where N is the sum of the number of the plurality of first applications and the number of the target application.
4. The method as described in claim 3, characterized in that, The plurality of windows includes a first window and N-1 second windows, wherein the first window floats above the second windows; The step of determining the application corresponding to each of the plurality of windows from the plurality of first applications and the target application includes: If the priority of the target application is lower than the priority of all applications in the plurality of first applications, then the target application is determined to be the application corresponding to the first window, and the plurality of first applications are determined to be the applications corresponding to the N-1 second windows.
5. The method as described in claim 3, characterized in that, N is an even number, and the N windows are all the same size; The step of determining the application corresponding to each of the plurality of windows from the plurality of first applications and the target application includes: If the priority of the target application is equal to the priority of the plurality of first applications, then the target application is determined to be the application corresponding to any one of the N windows, and the plurality of first applications are determined to be the applications corresponding to the other N-1 windows.
6. The method as described in claim 3, characterized in that, The N is an odd number, and the N windows include a third window and N-1 fourth windows, wherein the size of the third window is larger than the size of each of the N-1 fourth windows; Determining the application corresponding to each window among the plurality of first applications and the target application includes: If the priority of the target application is equal to the priority of the plurality of first applications, then based on the usage time of the target application and the usage time of the plurality of first applications, the application corresponding to the third window is determined from the target application and the plurality of first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
7. The method as described in claim 2 or 3, characterized in that, Determining the number of windows based on the priority of the target application and the priorities of the plurality of first applications includes: If the priority of the target application is greater than the priority of some or all of the multiple first applications, then the number of windows in the multiple windows is determined to be N-1, where N is the sum of the number of the multiple first applications and the number of the target application.
8. The method as described in claim 7, characterized in that, The step of determining the application corresponding to each of the multiple windows based on the priority of the multiple first applications includes: Based on the priority of the plurality of first applications, one first application is selected from the plurality of first applications; The window containing the first selected application is designated as the window corresponding to the target application, while the applications corresponding to other windows remain unchanged.
9. The method as described in claim 8, characterized in that, The step of selecting one first application from the plurality of first applications based on their priority includes: If the multiple first applications have the same priority, then the first application with the shortest usage time among the multiple first applications shall be selected; If the multiple first applications have different priorities, then the first application with the lowest priority among the multiple first applications is selected.
10. The method according to any one of claims 1-9, characterized in that, The step of splitting the target application and the at least one first application into a split-screen display based on the first split-screen mode includes: According to the first split-screen mode, the target application and the at least one first application are displayed in a split-screen format.
11. The method according to any one of claims 1-9, characterized in that, The step of splitting the target application and the at least one first application into a split-screen display based on the first split-screen mode includes: Generate a split-screen mode list, the split-screen mode list including a first split-screen mode and at least one second split-screen mode, the second split-screen mode being determined by permuting and combining the target application and the at least one first application; Display the list of split-screen modes; In response to the selection of a target split-screen mode, the target application and the at least one first application are displayed in split-screen mode according to the target split-screen mode, wherein the target split-screen mode is one of the split-screen modes in the split-screen mode list.
12. The method according to any one of claims 1-11, characterized in that, Determining the first split-screen mode based on the priority of the target application and the priorities of multiple first applications includes: If no historical split-screen mode corresponding to the target application and the plurality of first applications exists in at least one historical split-screen mode, then the first split-screen mode is determined based on the priority of the target application and the priority of the plurality of first applications. The at least one historical split-screen mode is a split-screen mode used by the electronic device before the current moment, and each historical split-screen mode corresponds to multiple applications.
13. The method according to any one of claims 1-12, characterized in that, Before determining the first split-screen mode based on the priority of the target application and the priorities of multiple first applications, the method further includes: The user's identifier is determined, and the user is the user currently using the electronic device; Based on the user's identifier, the user's preference information is obtained. The preference information describes the user's preference for split-screen display and includes the priority of the target application and the priority of the plurality of first applications.
14. The method as described in claim 13, characterized in that, The preference information also includes the usage duration of the target application, the usage duration of the plurality of first applications, and at least one historical split-screen mode; The at least one historical split-screen mode is a split-screen mode used by the electronic device before the current moment, and each historical split-screen mode corresponds to multiple applications.
15. A display device, characterized in that, Applied to electronic devices, the device includes: The first determining module is used to determine a first split-screen mode in response to the opening command of the target application, based on the priority of the target application and the priorities of multiple first applications. Wherein, the target application is an application that supports split-screen display, the plurality of first applications are applications currently performing split-screen display, the first split-screen mode indicates the split-screen display method of the target application and at least one of the plurality of first applications, and the priority is used to describe the probability that the user expects the corresponding application to be interrupted by other applications. The display module is used to perform split-screen display of the target application and the at least one first application based on the first split-screen mode.
16. The apparatus as claimed in claim 15, characterized in that, The first split-screen mode includes a number of windows and applications corresponding to the multiple windows, and the windows are used to display the corresponding applications; The first determining module is specifically used for: The number of windows in the plurality of windows is determined based on the priority of the target application and the priority of the plurality of first applications; From the plurality of first applications and the target application, determine the applications corresponding to the plurality of windows respectively.
17. The apparatus as claimed in claim 16, characterized in that, The first determining module is specifically used for: If the priority of the target application is less than or equal to the priority of all applications in the plurality of first applications, then the number of windows in the plurality of windows is determined to be N, where N is the sum of the number of the plurality of first applications and the number of the target application.
18. The apparatus as claimed in claim 17, characterized in that, The plurality of windows includes a first window and N-1 second windows, wherein the first window floats above the second windows; The first determining module is specifically used for: If the priority of the target application is lower than the priority of all applications in the plurality of first applications, then the target application is determined to be the application corresponding to the first window, and the plurality of first applications are determined to be the applications corresponding to the N-1 second windows.
19. The apparatus as claimed in claim 17, characterized in that, N is an even number, and the N windows are all the same size; The first determining module is specifically used for: If the priority of the target application is equal to the priority of the plurality of first applications, then the target application is determined to be the application corresponding to any one of the N windows, and the plurality of first applications are determined to be the applications corresponding to the other N-1 windows.
20. The apparatus as claimed in claim 17, characterized in that, The N is an odd number, and the N windows include a third window and N-1 fourth windows, wherein the size of the third window is larger than the size of each of the N-1 fourth windows; The first determining module is specifically used for: If the priority of the target application is equal to the priority of the plurality of first applications, then based on the usage time of the target application and the usage time of the plurality of first applications, the application corresponding to the third window is determined from the target application and the plurality of first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
21. The apparatus as claimed in claim 16 or 17, characterized in that, The first determining module is specifically used for: If the priority of the target application is greater than the priority of some or all of the multiple first applications, then the number of windows in the multiple windows is determined to be N-1, where N is the sum of the number of the multiple first applications and the number of the target application.
22. The apparatus as claimed in claim 21, characterized in that, The first determining module is specifically used for: Based on the priority of the plurality of first applications, one first application is selected from the plurality of first applications; The window containing the first selected application is designated as the window corresponding to the target application, while the applications corresponding to other windows remain unchanged.
23. The apparatus as claimed in claim 22, characterized in that, The first determining module is specifically used for: If the multiple first applications have the same priority, then the first application with the shortest usage time among the multiple first applications shall be selected; If the multiple first applications have different priorities, then the first application with the lowest priority among the multiple first applications is selected.
24. The apparatus according to any one of claims 15-23, characterized in that, The display module is specifically used for: According to the first split-screen mode, the target application and the at least one first application are displayed in a split-screen format.
25. The apparatus according to any one of claims 15-23, characterized in that, The display module is specifically used for: Generate a split-screen mode list, the split-screen mode list including a first split-screen mode and at least one second split-screen mode, the second split-screen mode being determined by permuting and combining the target application and the at least one first application; Display the list of split-screen modes; In response to the selection of a target split-screen mode, the target application and the at least one first application are displayed in split-screen mode according to the target split-screen mode, wherein the target split-screen mode is one of the split-screen modes in the split-screen mode list.
26. The apparatus according to any one of claims 15-25, characterized in that, The first determining module is specifically used for: If no historical split-screen mode corresponding to the target application and the plurality of first applications exists in at least one historical split-screen mode, then the first split-screen mode is determined based on the priority of the target application and the priority of the plurality of first applications. The at least one historical split-screen mode is a split-screen mode used by the electronic device before the current moment, and each historical split-screen mode corresponds to multiple applications.
27. The apparatus according to any one of claims 15-26, characterized in that, The device further includes: The second determining module is used to determine the identifier of the user, wherein the user is the user currently using the electronic device; The acquisition module is used to acquire the user's preference information based on the user's identifier. The preference information describes the user's preference for split-screen display and includes the priority of the target application and the priority of the plurality of first applications.
28. The apparatus as claimed in claim 27, characterized in that, The preference information also includes the usage duration of the target application, the usage duration of the plurality of first applications, and at least one historical split-screen mode; The at least one historical split-screen mode is a split-screen mode used by the electronic device before the current moment, and each historical split-screen mode corresponds to multiple applications.
29. An electronic device, characterized in that, The electronic device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to implement the steps of the method according to any one of claims 1 to 14.
30. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed on a computer or processor, causes the computer or processor to perform the method as described in any one of claims 1 to 14.
31. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a computer or processor, cause the steps of the method as described in any one of claims 1 to 14 to be performed.