Display method and apparatus, device, storage medium, and program product
By determining the split-screen mode based on application priority, the problem of poor user experience caused by the single split-screen display in existing technologies is solved, and a split-screen display that is more in line with user preferences is achieved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/077186
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-13
- Filing Date
- 2025-02-13
- Publication Date
- 2026-02-19
AI Technical Summary
The existing split-screen display mode is relatively simple, resulting in a poor user experience, especially when users do not want their application to be interrupted by other applications.
The first split-screen mode is determined based on the priority of the target application and multiple first applications, ensuring that applications that the user does not want to be interrupted can continue to be displayed in the foreground, including the determination of the number of windows and the application corresponding to each window.
It enhances the user experience, satisfies users' preference for split-screen display, ensures that important applications are not interrupted, and improves the flexibility and user satisfaction of split-screen display.
Smart Images

Figure CN2025077186_19022026_PF_FP_ABST
Abstract
Description
Display method, device, equipment, storage medium and program product
[0001] The present application claims priority to the Chinese patent application No. 202411111296.4, filed on August 13, 2024, and entitled "Display method, device, equipment, storage medium and program product", the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of display, in particular to a display method, device, equipment, storage medium and program product. BACKGROUND
[0003] With the progress of 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
[0004] 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:
[0005] 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 that supports split-screen display, the plurality of first applications are applications that are 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.
[0006] 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.
[0007] 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.
[0008] 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.
[0009] 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 to determine the applications corresponding to the plurality of windows respectively from the plurality of first applications and the target application.
[0010] It should be noted that the applications corresponding to any two windows of the plurality of windows are different.
[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, 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.
[0012] 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.
[0013] 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.
[0014] The implementation 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 manners are introduced as follows.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] Since for any one 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.
[0019] 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.
[0020] 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.
[0021] 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 as follows.
[0022] (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
[0023] 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.
[0024] 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.
[0025] 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.
[0026] If the priority of the target application is equal to the priority of 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.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] 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.
[0031] (2) The priority of the target application is higher than the priority of part or all of the first applications
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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 user expecting the first application to be interrupted by other applications, that is, the user is more willing to accept the first application being interrupted by other applications. Therefore, the first application with the lowest priority among the first applications can be selected.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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, and thus the accuracy of determining the first split-screen mode can be effectively improved, and the user experience can be improved.
[0042] It should be noted that different user identifiers correspond to different preference information. The preference information is collected and stored in the process of the corresponding user using the electronic device.
[0043] 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 applications and the game and fitness class applications is the highest, the priority of the browser / news class applications and the document reading class applications is the lowest, and the priority of the shopping class applications and the communication and chat class applications is lower than that of the audio and video class applications and the game and fitness class applications, and higher than that of the browser / news class applications and the document reading class applications.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] Optionally, the target application and the at least one first application can be directly displayed in the first split-screen mode.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] Optionally, the electronic device can further include a communication bus for establishing a connection between the processor and the memory.
[0052] 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.
[0053] Fifthly, a computer program product is provided, comprising computer instructions that, when executed on a computer or processor, cause the computer to perform the steps of the display method described in the first aspect. Alternatively, a computer program is provided that, when executed on a computer or processor, causes the computer or processor to perform the steps of the display method described in the first aspect.
[0054] The technical effects achieved by the second, third, fourth, and fifth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect, and will not be repeated here. Attached Figure Description
[0055] Figure 1 is a schematic diagram of the structure of an electronic device according to an embodiment of this application;
[0056] Figure 2 is a flowchart of a display method provided in an embodiment of this application;
[0057] Figure 3 is a schematic diagram of a first split-screen mode provided in an embodiment of this application;
[0058] Figure 4 is a schematic diagram of another first split-screen mode provided in the embodiments of this application;
[0059] Figure 5 is a schematic diagram of another first split-screen mode provided in the embodiments of this application;
[0060] Figure 6 is a schematic diagram of an application priority provided in an embodiment of this application;
[0061] Figure 7 is a schematic diagram of a split-screen mode list provided in an embodiment of this application;
[0062] Figure 8 is a split-screen mode preview interface provided in an embodiment of this application;
[0063] Figure 9 is a structural block diagram of an electronic device provided in an embodiment of this application;
[0064] Figure 10 is a schematic diagram of the interaction between a user identification unit and a preference information recording unit provided in an embodiment of this application;
[0065] Figure 11 is a schematic diagram of the interaction between a system split-screen unit, an application split-screen unit, and a recommendation unit provided in an embodiment of this application;
[0066] Figure 12 is a schematic diagram of a split-screen display mode for a target application and at least one first application provided in an embodiment of this application;
[0067] Figure 13 is a schematic diagram of another target application and at least one first application displaying in a split-screen mode according to an embodiment of this application;
[0068] FIG. 14 is a schematic diagram of another mode of split-screen display of a target application and at least one first application according to an embodiment of the present application;
[0069] FIG. 15 is a schematic diagram of another mode of split-screen display of a target application and at least one first application according to an embodiment of the present application;
[0070] FIG. 16 is a schematic diagram of another mode of split-screen display of a target application and at least one first application according to an embodiment of the present application;
[0071] FIG. 17 is a schematic diagram of a display device according to an embodiment of the present application. DETAILED DESCRIPTION
[0072] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0073] To facilitate understanding, before the display method according to the embodiments of the present application is explained in detail, the application scenarios involved in the embodiments of the present application are introduced.
[0074] With the progress of science and technology and the popularity of intelligent terminal devices, people have already been not 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 (e.g., watching a video while taking notes).
[0075] 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, thus leading to a relatively single split-screen mode. Moreover, if the replaced first application is an application that the user does not want to cancel, the user experience will be greatly affected.
[0076] 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 the target application and the priority of each of the first applications, and 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 the target application and the priority of each of the first applications can represent the application that the user expects to be displayed in split screen mode. In this case, displaying 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.
[0077] 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 possessed by the electronic device itself, or can be possessed by the electronic device 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. In the case where the electronic device is connected with the independent display screen, the connection can be limited connection or wireless connection, and the embodiment of the present application does not limit this.
[0078] It should be noted that in the case where 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, and the embodiment of the present application does not limit this.
[0079] In some embodiments, the electronic device can be a personal computer (PC), a mobile phone, a pocket PC (PPC), a tablet computer, a television, a set-top box, etc.
[0080] 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.
[0081] Referring to FIG. 1, FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application. The electronic device can be the electronic device 101 shown in FIG. 1. The electronic device includes at least one processor 101, a communication bus 102, a memory 103, and at least one communication interface 104.
[0082] The processor 101 can be a general central processing unit (CPU), a network processing unit (NP), a microprocessor, or can be one or more integrated circuits used to implement the scheme of the present application, such as an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0083] The communication bus 102 is used to transmit information between the above-mentioned components. The communication bus 102 can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or only one type of bus.
[0084] 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 disk, a laser disk, a digital versatile disk, a Blu-ray disk, 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 capable of being accessed by a computer, but is not limited to this. 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.
[0085] 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.
[0086] 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.
[0087] 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.
[0088] 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.
[0089] In some embodiments, the memory 103 stores program code 110 for implementing the solutions 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 display method provided in the embodiment of FIG. 2 by means of the processor 101 and the program code 110 in the memory 103.
[0090] FIG. 2 is a flowchart of a display method according to an embodiment of the present application. The method is applied to an electronic device. Please refer to FIG. 2, the method includes the following steps.
[0091] 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.
[0092] 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.
[0093] 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.
[0094] 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.
[0095] 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.
[0096] 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.
[0097] 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 applications corresponding to the plurality of windows are determined from the plurality of first applications and the target application.
[0098] It should be noted that the applications corresponding to any two windows of the plurality of windows are different.
[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, the number of windows of the plurality of windows is determined to be N, where N is a 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 to be N-1.
[0100] 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 indicates 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 to be N.
[0101] 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 indicates 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 to be 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 a first application in the plurality of first applications can be replaced by the target application in the future, thereby realizing split-screen display of the target application.
[0102] 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 as follows.
[0103] 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.
[0104] 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 first application is deleted from the plurality of first applications 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.
[0105] 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 plurality of first applications with the lowest priority can be deleted.
[0106] 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.
[0107] 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.
[0108] 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.
[0109] 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.
[0110] (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
[0111] 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.
[0112] 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 probability that the user expects the plurality of first applications to be interrupted by other applications is lower, 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 being interrupted, affecting the user's use experience, and since the first window is suspended above the second windows, in this way, the size of the second windows can be effectively ensured not to be affected by the size of the first window.
[0113] For example, refer to FIG. 3, which is a schematic diagram of a first split-screen mode according to an embodiment of the present application. The multiple applications are application A and application C, and the target application is application B. The priority of the target application is lower than the priority of all the multiple first applications. In this case, the window corresponding to application B is the first window, the window corresponding to application A is the second window 1, and the window corresponding to application B is the second window 2.
[0114] 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 multiple first applications, the target application is determined as the application corresponding to any one of the N windows, and the multiple first applications are determined as the applications corresponding to the other N-1 windows.
[0115] If the priority of the target application is equal to the priority of all the multiple first applications, it means that the user expects the probability of the multiple first applications and the target application being interrupted by other applications to be the same. Since the N windows are even, the sizes of the N windows are consistent. Therefore, the target application can be determined as the application corresponding to any one of the N windows, and the multiple first applications can be determined as the applications corresponding to the other N-1 windows, that is, one window is allocated to the multiple first applications and the target application from the N windows with the same size, so as to ensure that the user experience of the multiple first applications and the target application is less different.
[0116] 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 multiple first applications, the application corresponding to the third window is determined from the target application and the multiple first applications based on the usage duration of the target application and the usage duration of the multiple first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
[0117] If the priority of the target application is equal to the priority of all the multiple first applications, it means that the user expects the probability of the multiple first applications and the target application being interrupted by other applications to be the same. Since the N windows are odd, there is a third window with a larger size in the N windows. Therefore, the application corresponding to the third window can be determined from the target application and the multiple first applications based on the usage duration of the application, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
[0118] In some embodiments, the application with the longest usage duration among the target application and the multiple first applications can be determined as the application corresponding to the third window.
[0119] Since the longer the use time length of an application is, it usually indicates that the user has higher stickiness and interest in the application, and therefore, the application with the longest use time length can be selected as the application corresponding to the third window, so as to ensure that the display size of the application with the longest use time length is larger, and to improve the use experience of the application.
[0120] For example, refer to FIG. 4, which is a schematic diagram of another first split-screen mode provided by an embodiment of the present application. The multiple applications are application A and application C, and the target application is application B. The priority of the target application is equal to the priority of all the applications in the multiple first applications, and the use time length of application A is the longest. 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.
[0121] (2) The priority of the target application is higher than the priority of part or all of the multiple first applications
[0122] In some embodiments, based on the priority of the multiple first applications, one first application is selected from the multiple 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.
[0123] If the priorities of the multiple first applications are the same, the first application with the shortest use time length in the multiple first applications is selected. If the priorities of the multiple first applications are different, the first application with the lowest priority in the multiple first applications is selected.
[0124] If the priorities of the multiple first applications are the same, it indicates that the user expects the same probability of interruption of the multiple first applications by other applications, and therefore, one first application can be selected according to the use time length of the multiple first applications. The shorter the use time length of an application is, it usually indicates that the user has lower stickiness and interest in the application, or the application fails to meet the user's expected demand, and therefore, the first application with the shortest use time length in the multiple first applications can be selected.
[0125] If the priorities of the multiple first applications are different, it indicates that the user expects different probabilities of interruption of the multiple first applications by other applications, and since the lower the priority of a first application is, the higher the probability of interruption of the first application by other applications is, that is, the user is more willing to accept the interruption of the first application by other applications, and therefore, the first application with the lowest priority in the multiple first applications can be selected.
[0126] For example, refer to FIG. 5, which is a schematic diagram of another first split-screen mode provided by the embodiment of the present application. The multiple applications are application A and application C, and the target application is application B. The priority of the target application is higher than that of part or all of the multiple first applications, and the usage 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 multiple first applications is determined as the window corresponding to application B, and the applications corresponding to the other windows remain unchanged, i.e., the window corresponding to application C remains unchanged.
[0127] It should be noted that the usage time of an application can be the average daily usage time of the corresponding application, or the cumulative total usage time, etc., which is not limited in the embodiment of the present application.
[0128] In a second implementation, if there is no historical split-screen mode corresponding to the target application and the multiple first applications in the at least one historical split-screen mode, the first split-screen mode is determined based on the priority of the target application and the priority of the multiple 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 multiple applications.
[0129] If there is no historical split-screen mode corresponding to the target application and the multiple first applications, it indicates that the target application and the multiple first applications have never been split-screen displayed in the past. Therefore, the first split-screen mode can be determined based on the priority of the target application and the priority of the multiple first applications.
[0130] 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 multiple first applications includes: determining the number of windows of the multiple windows based on the priority of the target application and the priority of the multiple first applications; and determining the applications corresponding to the multiple windows respectively from the multiple first applications and the target application.
[0131] The detailed process of determining the number of windows of the multiple windows based on the priority of the target application and the priority of the multiple first applications, and determining the applications corresponding to the multiple windows respectively from the multiple first applications and the target application can be referred to the related content in the first implementation, which will not be repeated here.
[0132] If there is a historical split-screen mode corresponding to the target application and the multiple first applications in the at least one historical split-screen mode, the historical split-screen mode corresponding to the target application and the multiple first applications is determined as the first split-screen mode, and then the subsequent step 202 is executed.
[0133] If the historical split-screen mode corresponding to the target application and the plurality of first applications exists, 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. 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.
[0134] 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 priority 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. 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 priority of the plurality of first applications.
[0135] 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, which is not limited in the embodiments of the present application.
[0136] It should be noted that the display screen corresponding to the electronic device can be a screen possessed by the electronic device itself, or can be a display screen independent of the electronic device, which is not limited in the embodiments of the present application. If the display screen is independent of the electronic device, the display screen can be communicatively connected with the electronic device.
[0137] 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 in 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 in left, top and bottom. It should be noted that FIGS. 3-5, 7-8, 12-16 of the embodiments of the present application are all schematically shown by taking the plurality of windows arranged in left and right as an example.
[0138] In some embodiments, 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 further determine an identity of a user, the user being a user currently using the electronic device, obtain preference information of the user based on the identity 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.
[0139] Since different users have different preferences for the use of the application, the embodiments of the present application determine the corresponding first split screen mode for different users by corresponding preference information of different user identifiers, so as to effectively improve the accuracy of determining the first split screen mode and improve the user experience.
[0140] It should be noted that the identifier of different users corresponds to different preference information. The preference information is collected and stored in the process of using the electronic device by the corresponding user.
[0141] 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 the application type, and the application type includes: 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 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, the priority of the shopping class and the communication 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.
[0142] 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 the user's own needs. For example, referring to FIG. 6, FIG. 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 priority of application A, application D, application E and application F is 1, the priority of application B and application G is 2, and the priority of application C and application H is 3. The larger the number is, the higher the priority is.
[0143] In some embodiments, the electronic device can obtain the user's information, and then identify the user based on the user's information to obtain the user's identifier.
[0144] It should be noted that the user identifier can uniquely indicate a user or a class of users, that is, the user identifier indicates the user's category, and the user's category includes children, young adults and the elderly, which is not limited by the embodiments of the present application.
[0145] For example, the user's information includes a face image or a sound. In the case where the user's information includes a face image, the electronic device can perform face recognition on the user's face image through a related face recognition algorithm, and then obtain the user's category. In the case where the user's information includes a sound, the electronic device can perform voiceprint recognition on the user's sound through a related voiceprint recognition algorithm, and then obtain the user's category.
[0146] For example, in the case that the identity of the user indicates the category of the user, the identity corresponding to a child can be 001, the identity corresponding to a middle-aged person can be 002, and the identity corresponding to an old person can be 003.
[0147] 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. 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 involved in the above embodiments are all corresponding to the user identity.
[0148] In some embodiments, the preference information further includes an application name and an application type of each of the target application and the plurality of first applications.
[0149] For example, the electronic device stores the preference information in a json format to obtain a json file corresponding to each user identity. The content in the json file can be:
[0150] {
[0151] "user":003,
[0152] "app.name":"IPTV"
[0153] "apptype":"video"
[0154] "daily_duration_hour":6,
[0155] }
[0156] Among them, "user":003 indicates that the user identity is 003, "app.name":"IPTV" indicates that the application name is IPTV, "apptype":"video" indicates that the application type is an audio and video application, and "daily_duration_hour":6 indicates that the average daily use duration is 6 hours.
[0157] 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.
[0158] 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.
[0159] In some embodiments, a split-screen mode list can be generated, 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 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 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.
[0160] The selection operation of the target split-screen mode is triggered by the user through voice, clicking, sliding, and the like, and the selection operation is used to select the target split-screen mode from the split-screen mode list.
[0161] In some embodiments, the first split-screen mode in the split-screen mode list can be marked by highlighting, circling, and the like, to facilitate user selection.
[0162] For example, referring to FIG. 7, which is a schematic diagram of a split-screen mode list according to an embodiment of the present application. The target application is application C, and the first applications are application B and application C. The split-screen mode list includes multiple 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.
[0163] In actual application, the electronic device can also display a split-screen mode preview interface, the split-screen mode preview interface including at least one historical split-screen mode and at least one recommended split-screen mode, the at least one recommended split-screen mode being set by a technician in advance according to the out-of-factory application in the electronic device and stored in the electronic device.
[0164] Referring to FIG. 8, which is a split-screen mode preview interface according to an embodiment of the present application, the split-screen mode preview interface including two historical split-screen modes and three recommended split-screen modes, the two historical split-screen modes being mode 1 and mode 2, and the three recommended split-screen modes being mode 1 to mode 3.
[0165] 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.
[0166] In some embodiments, please refer to FIG. 9, which is a structural block diagram of an electronic device provided in the embodiments of the present application, the electronic device comprising a user identification unit, a preference information recording unit, a system split-screen unit, an application split-screen unit and a recommendation unit. Please refer to FIG. 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, generate a json file and save it.
[0167] Please refer to FIG. 11, the user can trigger the opening instruction of a plurality of first applications through the operating system of the electronic device, and then the electronic device can respond to the opening instruction of the plurality of first applications to split-screen display the plurality of first applications, and then the electronic device can also listen to whether the target application is opened in any one of the plurality of first applications, respond to the opening instruction of the target application, determine the first split-screen mode based on the priority of the target application and the priority of the plurality of first applications, generate a split-screen mode list, the split-screen mode list comprising the first split-screen mode and at least one second split-screen mode, and respond to the selection operation of the target split-screen mode to split-screen display the target application and at least one first application according to the target split-screen mode.
[0168] In actual application, after the target application and at least one first application are split-screen displayed, the user may 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 responding to the opening instruction of the target application is displayed again. If the exited application is the first application, and the number of remaining unexited applications is 2, two windows are displayed, the two windows corresponding to the target application and the remaining first application respectively. If the exited application is the first application, and the number of remaining unexited applications is greater than 2, the remaining unexited first applications are taken as the plurality of first applications, and the above steps 201 and 202 are re-executed.
[0169] Next, the process of application exiting will be described in detail by taking Figures 12-16, wherein the first applications are application A and application B, and the target application is application C. Figures 12-16 are five different modes of displaying the target application and at least one first application provided by the embodiments of the present application. Please refer to Figures 12 and 13. If application C exits, the display screen of the first applications before the opening instruction of the target application is displayed again, i.e., application A and application B are displayed in split screen. Please refer to Figure 14. If application A exits, since the exited application is the first application, and the number of remaining applications is two, two windows are displayed, which correspond to application B and application C respectively. Please refer to Figures 15 and 16. If application B exits, since the exited application is the first application, and the number of remaining applications is two, two windows are displayed, which correspond to application A and application C respectively.
[0170] 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 is 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.
[0171] FIG. 17 is a structural schematic diagram of a display device provided by an embodiment of the present application, which can be realized by software, hardware or a combination of both to become part or all of the electronic device described above. Referring to FIG. 17, the device includes a first determining module 1701 and a display module 1702.
[0172] 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.
[0173] 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.
[0174] 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.
[0175] The first determination module 1701 is specifically configured to:
[0176] 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.
[0177] determine the applications corresponding to the plurality of windows from the plurality of first applications and the target application.
[0178] In some embodiments, the first determination module 1701 is specifically configured to:
[0179] 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.
[0180] 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.
[0181] The first determination module 1701 is specifically configured to:
[0182] 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.
[0183] In some embodiments, N is an even number, and sizes of the N windows are consistent.
[0184] The first determination module 1701 is specifically configured to:
[0185] 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.
[0186] 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.
[0187] The first determining module 1701 is specifically configured to:
[0188] 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.
[0189] In some embodiments, the first determining module 1701 is specifically configured to:
[0190] 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.
[0191] In some embodiments, the first determining module 1701 is specifically configured to:
[0192] Based on the priority of the plurality of first applications, one first application is selected from the plurality of first applications.
[0193] 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 other windows remain unchanged.
[0194] In some embodiments, the first determining module 1701 is specifically configured to:
[0195] If the priority of the plurality of first applications is the same, the first application with the shortest usage time in the plurality of first applications is selected.
[0196] If the priority of the plurality of first applications is different, the first application with the lowest priority in the plurality of first applications is selected.
[0197] In some embodiments, the display module 1702 is specifically configured to:
[0198] According to the first split-screen mode, the target application and at least one first application are displayed in a split-screen mode.
[0199] In some embodiments, the display module 1702 is specifically configured to:
[0200] 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;
[0201] display the split-screen mode list;
[0202] 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.
[0203] In some embodiments, the first determining module 1701 is specifically configured to:
[0204] 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;
[0205] 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.
[0206] In some embodiments, the apparatus further includes:
[0207] a second determining module configured to determine an identity of a user, the user being a user currently using the electronic device;
[0208] 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 a 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.
[0209] 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 the at least one historical split-screen mode.
[0210] 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.
[0211] 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 an 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, thereby effectively improving the accuracy of determining the first split screen mode and improving the user's experience.
[0212] 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. In actual applications, 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 described here.
[0213] 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.
[0214] 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.
[0215] 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.
[0216] 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.
[0217] 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.
[0218] 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 by comprising: The method is applied to an electronic device, and the method comprises: In response to an opening instruction of a target application, a first split-screen mode is determined based on a priority of the target application and priorities of a plurality of first applications; 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 at which a user expects the corresponding application to be interrupted by other applications; The target application and the at least one first application are displayed in the first split-screen mode.
2. The method of claim 1, wherein, The first split-screen mode comprises a window number of a plurality of windows and applications corresponding to the plurality of windows respectively, and the windows are used to display the corresponding applications; The first split-screen mode is determined based on the priority of the target application and the priorities of the plurality of first applications, comprising: The window number of the plurality of windows is determined 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.
3. The method of claim 2, wherein, The window number of the plurality of windows is determined based on the priority of the target application and the priorities of the plurality of first applications, comprising: 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 window number of the plurality of windows is determined as N, N being a sum of the number of the plurality of first applications and the number of the target application.
4. The method of claim 3, wherein, The plurality of windows comprise a first window and N-1 second windows, and the first window is suspended above the second windows; The applications corresponding to the plurality of windows respectively are determined from the plurality of first applications and the target application, comprising: 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 an application corresponding to the first window, and the plurality of first applications are determined as applications corresponding to the N-1 second windows.
5. The method of claim 3, wherein, The N is an even number, and the N windows have a same size; The applications corresponding to the plurality of windows respectively are determined from the plurality of first applications and the target application, comprising: If the priority of the target application is equal to the priorities 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.
6. The method of claim 3, wherein, The N is an odd number, the N windows comprise 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; The applications corresponding to the plurality of windows respectively are determined from the plurality of first applications and the target application, comprising: If the priority of the target application is equal to the priority of the first applications, the application corresponding to the third window is determined from the target application and the first applications based on the usage time of the target application and the usage time of the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
7. The method of claim 2 or 3, wherein, The method further includes: If the priority of the target application is greater than the priority of the first applications, the number of windows is determined as N-1, where N is the sum of the number of the first applications and the number of the target application.
8. The method of claim 7, wherein, The method further includes: If the priority of the target application is equal to the priority of the first applications, the application corresponding to the third window is determined from the target application and the first applications based on the usage time of the target application and the usage time of the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows. The method further includes:
9. The method of claim 8, wherein, If the priority of the target application is equal to the priority of the first applications, the application corresponding to the third window is determined from the target application and the first applications based on the usage time of the target application and the usage time of the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows. The method further includes: If the priority of the target application is equal to the priority of the first applications, the application corresponding to the third window is determined from the target application and the first applications based on the usage time of the target application and the usage time of the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
10. The method of any one of claims 1-9, wherein, The method further includes: The method further includes:
11. The method according to any one of claims 1 to 9, wherein The method further includes: The method further includes: The method further includes: The method further includes:
12. The method of any one of claims 1-11, wherein, The method further includes: The method further includes: The method further includes:
13. The method of any one of claims 1-12, wherein, The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: The method further includes: Based on the identification of the user, preference information of the user is acquired, the preference information is used to describe the preference of the user for split-screen display, and the preference information includes a priority of the target application and priorities of the plurality of first applications.
14. The method of claim 13, wherein, 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. The at least one historical split-screen mode is a split-screen mode adopted by the electronic device before the current time, and each historical split-screen mode corresponds to a plurality of applications.
15. A display device comprising: The device is applied to an electronic device and includes: A first determination module 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. 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 at which a user expects a corresponding application to be interrupted by other applications. A display module configured to perform split-screen display on the target application and the at least one first application based on the first split-screen mode.
16. The apparatus of claim 15, wherein, 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 windows are used to display the corresponding applications. The first determination module is specifically configured to: 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. Determine the applications corresponding to the plurality of windows respectively from the plurality of first applications and the target application.
17. The apparatus of claim 16, wherein, The first determination module is specifically configured to: 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, N being a sum of the number of the plurality of first applications and the number of the target application.
18. The apparatus of claim 17, wherein, The plurality of windows include a first window and N-1 second windows, and the first window is suspended above the second windows. The first determination module is specifically configured to: 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.
19. The apparatus of claim 17, wherein, The N is an even number, and the N windows have a same size. The first determination module is specifically configured to: If the priority of the target application is equal to the priorities of the plurality of first applications, determine that the target application is an application corresponding to any one of the N windows, and determine that the plurality of first applications are applications corresponding to other N-1 windows.
20. The apparatus of claim 17, wherein, The 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 fourth window in the N-1 fourth windows. The first determination module is specifically configured to: If the priority of the target application is equal to the priority of the first applications, the application corresponding to the third window is determined from the target application and the first applications based on the usage duration of the target application and the usage duration of the first applications, and the remaining applications are determined as the applications corresponding to the N-1 fourth windows.
21. The apparatus of claim 16 or 17, wherein, The first determining module is specifically configured to: If the priority of the target application is greater than the priority of part or all of the first applications, the number of the windows is determined as N-1, N being the sum of the number of the first applications and the number of the target application.
22. The apparatus of claim 21, wherein, The first determining module is specifically configured to: One of the first applications is selected from the first applications based on the priority of the first applications. 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.
23. The apparatus of claim 22, wherein, The first determining module is specifically configured to: If the priority of the first applications is the same, the first application with the shortest usage duration is selected from the first applications. If the priority of the first applications is different, the first application with the lowest priority is selected from the first applications.
24. The apparatus of any one of claims 15-23, wherein, The display module is specifically configured to: In the first split-screen mode, the target application and the at least one first application are displayed in a split screen.
25. The apparatus of any one of claims 15-23, wherein, The display module is specifically configured to: A split-screen mode list is 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; In response to a selection operation of a target split-screen mode, the target split-screen mode being one of the split-screen modes in the split-screen mode list, the target application and the at least one first application are displayed in a split screen in the target split-screen mode.
26. The apparatus of any one of claims 15-25, wherein, The first determining module is specifically configured to: If there is no historical split-screen mode corresponding to the target application and the first applications in at least one historical split-screen mode, the first split-screen mode is determined based on the priority of the target application and the priority of the 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 multiple applications.
27. The apparatus of any one of claims 15-26, wherein, The device further includes: A second determining module configured to determine the identity of the user, the user being a user currently using the electronic device; 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 preference of the user for split-screen display, and the preference information including the priority of the target application and the priority of the first applications.
28. The apparatus of claim 27, wherein, The preference information further includes the usage duration of the target application, the usage duration of the first applications respectively, 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 time, and each historical split-screen mode corresponds to multiple applications.
29. An electronic device, comprising: The electronic device comprises a memory and a processor; The memory is configured to store a computer program; 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, and when the computer program runs on a computer or a processor, the computer or the processor executes the method according to any one of claims 1 to 14.
31. A computer program product, characterised in that, The computer program product comprises computer instructions, and when the computer instructions are executed by a computer or a processor, the steps of the method according to any one of claims 1 to 14 are executed.
Citation Information
Patent Citations
Interface switching method, terminal and computer readable storage medium
CN111026479A
Display method and electronic equipment
CN111273848A
Message display method and device
CN113986092A
Information recommendation method and electronic equipment
CN117493655A
Communication processing based on current reading status and / or dynamic determination of a computer user's focus
US20120198372A1