CN116048444A - Application display method and terminal equipment - Google Patents

Application display method and terminal equipment Download PDF

Info

Publication number
CN116048444A
CN116048444A CN202210688930.5A CN202210688930A CN116048444A CN 116048444 A CN116048444 A CN 116048444A CN 202210688930 A CN202210688930 A CN 202210688930A CN 116048444 A CN116048444 A CN 116048444A
Authority
CN
China
Prior art keywords
split
target
application
screen
split screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210688930.5A
Other languages
Chinese (zh)
Other versions
CN116048444B (en
Inventor
高杨
陈瑞锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210688930.5A priority Critical patent/CN116048444B/en
Publication of CN116048444A publication Critical patent/CN116048444A/en
Application granted granted Critical
Publication of CN116048444B publication Critical patent/CN116048444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application relates to an application display method and terminal equipment, wherein the method comprises the following steps: responding to the split screen operation, and determining two target applications to be split screen displayed; acquiring application information of each of two target applications, wherein the application information comprises an application package name; determining target split-screen modes corresponding to two target applications according to the application information, wherein the target split-screen modes comprise split-screen directions of the two target applications; and carrying out split-screen display on the two target applications according to the target split-screen mode. In the embodiment of the application, the target split screen mode is determined according to the application information of the two target applications, so that the two applications are split screen displayed according to the target split screen mode, the split screen directions of the two target applications can be more beneficial to content display of the target applications, and the use experience of the two target applications can be improved.

Description

Application display method and terminal equipment
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to an application display method and terminal equipment.
Background
Folding screen devices have the advantage of large display screens and are used by an increasing number of people. The folding screen device may display user interfaces of two applications side by side in its display screen in a left-right direction, for example: the user interface of one application is displayed on the left side of the display screen of the folding screen device and the user interface of the other application is displayed on the right side of the display screen, which is called split screen display.
Fig. 1 is a schematic diagram of a split-screen display of two applications by using a folding screen device at present. Illustratively, the user interface 10 of application A is located on the left side of the display and the user interface 11 of application B is located on the right side of the display, where application A is a video-type application. When the width and height of the video resources played by the application a are larger, in the split screen manner shown in fig. 1, the video playing window of the application a can only occupy a smaller display area of the display screen, so that the experience of watching the video by the user is poor. It can be seen that, at present, the manner of split-screen displaying two applications along the left-right direction can reduce the use experience of some applications.
Disclosure of Invention
The embodiment of the application display method and terminal equipment are used for solving the problem that application experience is poor when split screen display is used.
In a first aspect, an application display method is provided, including: responding to the split screen operation, and determining two target applications to be split screen displayed; acquiring application information of each of two target applications, wherein the application information comprises an application package name; determining target split-screen modes corresponding to two target applications according to the application information, wherein the target split-screen modes comprise split-screen directions of the two target applications; and carrying out split-screen display on the two target applications according to the target split-screen mode.
Therefore, the target split screen mode is determined according to the application information of the two target applications, and the two applications are split screen displayed according to the target split screen mode, so that the split screen directions of the two target applications are more beneficial to content display of the target applications, and the use experience of the two target applications can be improved.
In one implementation, the step of determining, according to the application information, the target split screen modes corresponding to the two target applications includes: determining target split screen modes corresponding to two target applications according to the application information, a preset white list and a preset black list; the white list comprises preset application information of the applications which are split according to the first split direction, and the black list comprises preset application information of the applications which are not split according to the first split direction. Therefore, through setting the white list and the black list, the target split screen modes corresponding to the two target applications can be determined simply and conveniently.
In one implementation, the step of determining the target split screen mode corresponding to the two target applications according to the application information, the preset white list and the preset black list includes: if the application information of the two target applications are in the white list, determining that the target split-screen mode is that the two target applications split-screen according to the first split-screen direction; if the application information of the two target applications are in the blacklist, determining that the target split-screen mode is that the two target applications split-screen according to the second split-screen direction; if the application information of the two target applications is neither in the white list nor the black list, determining that the target split-screen mode is that the two target applications split-screens according to the second split-screen direction. Therefore, the target split screen mode corresponding to the two target applications can be determined simply and conveniently by combining the application information of the two targets in the white list and the black list.
In one implementation, the step of determining the target split screen modes corresponding to the two target applications according to the application information, the preset white list and the preset black list further includes: if the application information of one target application in the two target applications is in the white list and the application information of the other target application is in the black list, displaying a prompt window, wherein the prompt window comprises a first control corresponding to a first split screen direction and a second control corresponding to a second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction.
Therefore, when the application information of the two target applications respectively appear in different lists, the terminal equipment cannot directly determine the target split screen mode, and in order to improve the use experience of a user, the terminal equipment displays a prompt window so that the user can determine the target split screen mode according to own preference.
In one implementation, the step of determining, according to the application information, the target split screen modes corresponding to the two target applications includes: according to the application information, obtaining split screen scores of two target applications from a preset database; and determining the target split screen mode according to the split screen scores of the two target applications. Therefore, the split screen scores of the two target applications are combined, the target split screen mode can be accurately determined, and the use experience of the target applications is improved.
In one implementation, the step of determining the target split mode according to the split scores of the two target applications includes: adding the split screen scores of the two target applications to obtain an added value; if the sum value is larger than a first threshold value, determining that the target split-screen mode is that two target applications split screens according to a first split-screen direction; and if the sum value is smaller than the first threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. Thus, the sum value can reflect the comprehensive situation of the split screen scores of the two target applications. The terminal equipment can accurately determine the target split screen mode through the addition value, and the use experience of the target application is improved.
In one implementation, the step of determining the target split mode further comprises: if the sum value is equal to the first threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. Therefore, when the terminal equipment cannot directly determine the target split screen mode, the terminal equipment displays a prompt window for prompting the user to determine the target split screen modes of the two target applications according to the preference of the user.
In one implementation, the step of determining the target split mode according to the split scores of the two target applications includes: calculating the average value of the split screen scores of two target applications; if the average value is larger than a second threshold value, determining that the target split-screen mode is that two target applications split-screens according to the first split-screen direction; and if the average value is smaller than the second threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. Thus, the comprehensive situation of the split scores of the two target applications can be reflected by calculating the average value of the split scores of the two target applications. The terminal equipment can accurately determine the target split screen mode through the average value, and the use experience of the application is improved.
In one implementation, the step of determining the target split mode further comprises: if the average value is equal to the second threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. Therefore, when the terminal equipment cannot directly determine the target split screen mode, in order to improve the use feeling of the user, the terminal equipment displays the prompt window so that the user can determine the target split screen modes of two target applications according to own preference, and the use feeling of the user is improved.
In one implementation, the method further comprises: in response to an operation on the first control or the second control, the split scores of the two target applications are modified. Thus, in order to record the preference of the user for the split screen directions when the two target applications are split screen displayed, which is determined by the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation, if the split score of the target application is greater than a third threshold, the preset split direction of the target application is the first split direction; if the split screen score of the target application is smaller than or equal to a third threshold value, the preset split screen direction of the target application is the second split screen direction. Therefore, the preset split screen direction of the target application can be accurately distinguished by setting the relation between the third threshold value and the split screen score.
In one implementation, the step of modifying the split scores of the two target applications in response to operation of the first control or the second control includes: responding to the operation of the first control, and increasing the split screen values of the two target applications by a first preset value; and responding to the operation of the second control, and reducing the split screen values of the two target applications by a second preset value. Thus, in order to record the preference of the user for the split screen directions when the two target applications are split screen displayed, which is determined by the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation, the step of determining, according to the application information, the target split screen modes corresponding to the two target applications includes: according to the application information, acquiring split screen identifiers of two target applications from a preset database; determining a first number of split screen identifiers corresponding to a first split screen direction and a second number of split screen identifiers corresponding to a second split screen direction; if the first quantity is larger than the second quantity, determining that the target split-screen mode is that two target applications split screens according to a first split-screen direction; and if the first quantity is smaller than the second quantity, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. In this way, by comparing the first number and the second number of determined target split-screen modes, it can be ensured that the split-screen direction in the target split-screen mode matches with most target applications. By adopting the target split screen mode, the use experience of the target application can be improved.
In one implementation, after the split-screen display of the two target applications according to the target split-screen mode, the method further includes: in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a lock button, the first application being any one of two target applications; and responding to the operation of the locking button, and adopting a target split screen mode when the follow-up split screen display of the first application is determined. Therefore, the user can operate the locking button, so that the terminal equipment still adopts the target split-screen mode when the terminal equipment performs split-screen display on the first application in the follow-up process, and the use experience of the user is improved.
In one implementation, after the split-screen display of the two target applications according to the target split-screen mode, the method further includes: in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a lock button, the first application being any one of two target applications; responding to the operation of the locking button, and if the target split screen mode is that two target applications split screens according to the first split screen direction, adding the application information of the first application into a white list; and responding to the operation of the locking button, and if the target split screen mode is that two target applications split screens according to the second split screen direction, adding the application information of the first application into a blacklist. In this way, the user can make the terminal device add the application information of the first application into the white list through operating the locking button, so that the target application can be displayed on the split screen by using the modified white list, and the target split screen mode can be determined.
In one implementation, a terminal device includes an application layer and an architecture layer, the architecture layer includes an application management module and a multi-window management module, the multi-window management module includes an application information collector and a split screen mode determiner, the method includes:
The application layer responds to the split screen operation, determines two target applications to be split screen displayed, and sends application information of the two target applications to the application management module;
the application management module registers application information of each target application in the two target applications in a corresponding stack, and transmits the application information to an application information collector in the multi-window management module;
the application information collector sends application information to the split screen mode judging device;
the split screen mode judging device obtains split screen scores of two target applications from a preset database according to the application information, and determines a target split screen mode according to the split screen scores of the two target applications.
In one implementation, the terminal device further includes a native layer, where the native layer includes a window redrawing module; the multi-window management module also comprises a split screen mode controller and a window boundary calculator;
the split screen mode controller receives the target split screen mode sent by the split screen mode judging device, sends the target split screen mode to the window boundary calculator and sends the target split screen mode to the application management module;
the application management module rearranges the user interface of the target application according to the target split screen mode and sends the rearranged user interface of the target application to the window redrawing module;
The window boundary calculator determines the position information of the window according to the target split screen mode and sends the position information to the window redrawing module;
and the window redrawing module draws a window according to the position information and displays the rearranged target application user interface in the corresponding window.
In a third aspect, an embodiment of the present application provides a terminal device, including: a processor and a memory; the memory stores program instructions that, when executed by the processor, cause the terminal device to perform the methods of the above aspects and their respective implementations.
In a fourth aspect, embodiments of the present application further provide a chip system, where the chip system includes a processor and a memory, and the memory stores program instructions that, when executed by the processor, cause the chip system to perform the method in each of the above aspects and their respective implementations. For example, information related to the above method is generated or processed.
In a fifth aspect, embodiments of the present application further provide a computer-readable storage medium, in which program instructions are stored, which when run on a computer, cause the computer to perform the methods of the above aspects and their respective implementations.
In a sixth aspect, embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the methods of the above aspects and their respective implementations.
Drawings
FIG. 1 is a schematic diagram of a split screen display of two applications by a folding screen device;
fig. 2 is a schematic diagram of a split-screen display of two applications by using another folding screen device according to an embodiment of the present application;
fig. 3 is a schematic hardware structure of a terminal device according to an embodiment of the present application;
fig. 4 is a flowchart of an application display method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a user interface of a full screen display application of a terminal device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a display split screen button of a terminal device according to an embodiment of the present application;
fig. 7 is a first schematic diagram of determining a target application by a terminal device according to an embodiment of the present application;
fig. 8 is a second schematic diagram of determining a target application by a terminal device according to an embodiment of the present application;
fig. 9 is a third schematic diagram of determining a target application by a terminal device according to an embodiment of the present application;
fig. 10 is a fourth schematic diagram of determining a target application by a terminal device according to an embodiment of the present application;
Fig. 11 is a schematic diagram of a display interface of another terminal device according to an embodiment of the present application;
FIG. 12 is a flowchart of yet another application display method according to an embodiment of the present disclosure;
FIG. 13 is a schematic diagram of a user interface with a prompt window according to an embodiment of the present application;
FIG. 14 is a schematic view of another user interface provided with a prompt window according to an embodiment of the present application;
FIG. 15 is a flowchart of yet another application display method according to an embodiment of the present application;
FIG. 16 is a flowchart of yet another application display method according to an embodiment of the present disclosure;
FIG. 17 is a flowchart of yet another application display method according to an embodiment of the present application;
FIG. 18 is a flowchart of yet another application display method according to an embodiment of the present application;
fig. 19 is a schematic view of a split display according to a first split direction provided in an embodiment of the present application;
FIG. 20 is a schematic diagram of a split-screen display according to a second split-screen direction according to an embodiment of the present application;
fig. 21 is a schematic diagram of a display interface of a terminal device according to an embodiment of the present application;
fig. 22 is a schematic diagram of a modification of a white list and a black list according to an embodiment of the present application;
fig. 23 is a software configuration diagram of a terminal device provided in an embodiment of the present application;
FIG. 24 is a schematic diagram of an implementation of an application display method at a software level according to an embodiment of the present application;
fig. 25 is a schematic structural diagram of an application display device according to an embodiment of the present application;
fig. 26 is a schematic structural diagram of an application display device according to an embodiment of the present application;
fig. 27 is a schematic diagram of a chip system.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application.
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in the specification of the embodiments of the present application and the appended claims, the singular forms "a," "an," "the," "said," "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that, although the terms first, second, etc. may be used in the following embodiments to describe certain types of objects, the objects should not be limited to these terms. These terms are only used to distinguish between specific objects of that class of objects. For example, the terms first, second, etc. may be used in the following embodiments to describe a window, but the window should not be limited to these terms. These terms are only used to distinguish between different windows displayed by the display. Other classes of objects that may be described in the following embodiments using the terms first, second, etc. are not described here again. Furthermore, the term "and/or" is used to describe an association relationship of association objects, meaning that three relationships may exist; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The directions of "up", "down", "left" and "right" referred to in the embodiments of the present application are based on the directions of "up", "down", "left" and "right" perceived by the user when the user faces the display screen of the terminal device.
Fig. 1 is a schematic diagram of a split-screen display of two applications by using a folding screen device at present. Illustratively, the user interface 10 of application A is located on the left side of the display and the user interface 11 of application B is located on the right side of the display, where application A is a video-type application. When the width and height of the video resources played by the application a are larger, in the split screen manner shown in fig. 1, the video playing window of the application a can only occupy a smaller display area of the display screen, so that the experience of watching the video by the user is poor. It can be seen that, at present, the manner of split-screen displaying two applications along the left-right direction can reduce the use experience of some applications.
Fig. 2 is a schematic diagram of a split-screen display of two applications by using another folding screen device according to an embodiment of the present application. For example, when the folding screen device performs split-screen display on the application a and the application B, the user interface 13 of the application a may be displayed on the upper portion of the display screen, and the user interface 14 of the application B may be displayed on the lower portion of the display screen. However, if an application, for example, application B, does not support the manner of displaying two applications in a split screen manner, the application B may display only a part of pages after splitting the screen, so that the user cannot normally use the application B, and the use experience of the application is reduced.
It can be seen that, for a folding screen device, whether the application is split-screen displayed in the left-right direction or split-screen displayed in the up-down direction, the use experience of some applications is reduced.
In order to improve the use experience of the folding screen device in split-screen display of the application, the embodiment of the application provides an application display method which can be applied to terminal equipment. The terminal equipment comprises, but is not limited to, a mobile phone (including a folding screen mobile phone), a tablet personal computer, a personal computer, workstation equipment, large screen equipment (such as a smart screen, a smart television and the like), wearable equipment (such as a smart bracelet and a smart watch) and a palm game machine, a household game machine, virtual reality equipment, augmented reality equipment, mixed reality equipment and the like, a vehicle-mounted intelligent terminal and the like.
Fig. 3 is a schematic hardware structure of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device 100 may include a processor 110, a memory 120, a universal serial bus (universal serial bus, USB) interface 130, a radio frequency circuit 140, a mobile communication module 150, a wireless communication module 160, a camera 170, a display 180, a touch sensor 190, an air pressure sensor 210, keys 220, and the like.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. The different processing units may be separate devices or may be integrated in one or more processors, for example, in a system on a chip (SoC). A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
Memory 120 may be used to store computer-executable program code that includes instructions. The memory 120 may include a stored program area and a stored data area. The storage program area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. Further, the memory 120 may include one or more memory units, for example, may include volatile memory (volatile memory), such as: dynamic random access memory (dynamic random access memory, DRAM), static random access memory (static random access memory, SRAM), etc.; non-volatile memory (NVM) may also be included, such as: read-only memory (ROM), flash memory (flash memory), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the memory 120 and/or instructions stored in a memory provided in the processor.
It should be noted that, the operating system referred to in the embodiments of the present application includes, but is not limited to, an Android operating system, an IOS operating system, an iPad OS, a Windows operating system, a Linux operating system, a MAC OS operating system, an embedded system, and the like.
The wireless communication function of the terminal device 100 may be implemented by the radio frequency circuit 140, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The radio frequency circuit 140 may include at least one antenna 141 for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. In some embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G etc. of applications on the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 141, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 141 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (including but not limited to speakers, headphones, etc.) or displays images or video through the display 180. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may include a wireless fidelity (wireless fidelity, wi-Fi) module, a Bluetooth (BT) module, a GNSS module, a near field communication technology (near field communication, NFC) module, an Infrared (IR) module, and the like. The wireless communication module 160 may be one or more devices integrating at least one of the modules described above. The wireless communication module 160 receives electromagnetic waves via the antenna 141, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 141.
In this embodiment, the wireless communication functions of the terminal device 100 may include, for example, functions of the global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation mobile communication technology new air interface (5th generation mobile networks new radio,5G NR), BT, GNSS, WLAN, NFC, FM, and/or IR. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The camera 170 is used to capture still images or video. The camera 170 includes a lens and a photosensitive element, and an object is projected to the photosensitive element by generating an optical image through the lens. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, RYYB, or the like format. In some embodiments, the terminal device 100 may include 1 or N cameras 170, N being a positive integer greater than 1.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The display 180 is used to display images, videos, and the like. The display 180 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), miniLED, microLED, micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, terminal device 100 may include 1 or N displays 180, N being a positive integer greater than 1.
The touch sensor 190 is also referred to as a "touch device". The touch sensor 190 may be disposed on the display screen 180, and the touch sensor 190 and the display screen 180 form a touch screen, which is also referred to as a "touch screen". The touch sensor 190 is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 180. In other embodiments, the touch sensor 190 may also be disposed on a surface of the terminal device 100 at a different location than the display 180.
The air pressure sensor 210 is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 210, aiding in positioning and navigation.
The keys 220 include a power-on key, a volume key, etc. The key 220 may be a mechanical key. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Fig. 4 is a flowchart of an application display method according to an embodiment of the present application, where the method includes steps S1 to S4:
and step S1, responding to the split screen operation, and determining at least two target applications to be split screen displayed.
In some embodiments, the display screen of the terminal device may be a touch screen or a non-touch screen. In the following more drawings, taking a display screen as a touch screen as an example, an exemplary description is given of a target application process of determining to be displayed by a split screen by a terminal device in response to a split screen operation.
Fig. 5 is a schematic diagram of a user interface of a full-screen display application of a terminal device according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a display split screen button of a terminal device according to an embodiment of the present application.
As shown in fig. 5 and 6, in the case where the user interface 15 of the first application is displayed full screen, the terminal device may display a split screen button 171 in the display screen in response to the first gesture operation 16 of the user. Wherein the first gesture operation 16 may be a user clicking any position on the display screen. The split button 161 may be located at an upper layer of the user interface 15 of the first application and may be displayed at any location on the display screen, preferably at an edge of the display screen, to reduce occlusion of the user interface 15.
In one implementation, upon detecting a user clicking any location on the display, the terminal device may display a list of functions 17 at the edge of the display, and one or more function buttons supported by the terminal device may be included in the list of functions 17, such as a split screen button 171.
In the embodiment of the application, the target application number can be preset by the terminal equipment, and can also be flexibly set by a user according to actual requirements so as to meet different requirements of the user on the terminal equipment.
Fig. 7 is a first schematic diagram of determining a target application by a terminal device according to an embodiment of the present application.
Fig. 8 is a second schematic diagram of determining a target application by a terminal device according to an embodiment of the present application.
As shown in fig. 6 to 8, when the target number of applications is preset by the terminal device, the terminal device may display the user interface 10 of the first application on one side of the display screen and display the application list 19 on the other side of the display screen in response to the second gesture operation 18 performed by the user on the split screen button 171. The second gesture operation 18 may be that the user may click the split screen button 171. The application list 19 comprises at least one selection button 191-197 of a second application.
For example, the terminal device may display the user interface 10 of the application a on the left side of the display screen and the application list 19 on the right side of the display screen upon detecting that the user clicks the split button 171. Wherein the application list 19 includes seven selection buttons 191-197 of the second application, for example: application B, application C …, and application H.
In the embodiment of the application, the second application may determine all applications supporting split screen for the terminal device from the installed applications. The application supporting the split screen is used as the second application, and an application list 19 is generated, wherein the application list 19 comprises all selection buttons of the application supporting the split screen. Such as: the selection buttons included in the application list 19 may be configured in advance by the user. Such as: the application may also initiate registration with the terminal device, adding itself to the application list.
Next, the terminal device may determine a target application to be split-screen displayed in response to the third gesture operation 20 performed by the user in the application list 19. The third gesture operation 20 may be a user clicking on a selection button of one or more second applications. The terminal device may select a selection button of a certain second application after detecting that the user clicks the selection button, and record the second application. And if the number of the selection buttons selected by the user is equal to the number of the preset target applications minus 1, determining the second applications and the first applications corresponding to the selection buttons selected by the user as target applications.
In one example, when the number of the pre-target applications is two, referring specifically to fig. 7, the terminal device determines that the first application and the application B are target applications to be split-screen displayed when detecting that the user selects a selection button of one of the second applications in the application list 19, for example, selects a selection button 191 of the application B.
In another example, when the preset number is three, referring specifically to fig. 8, the terminal device determines that the first application, the application B, and the application D are target applications to be split-screen displayed when detecting that the user selects two of the selection buttons of the second applications in the application list 19, for example, selects the selection button 191 of the application B and the selection button 193 of the application D.
Fig. 9 is a third schematic diagram of determining a target application by a terminal device according to an embodiment of the present application.
Fig. 10 is a fourth schematic diagram of determining a target application by a terminal device according to an embodiment of the present application.
As shown in fig. 9 and 10, when the target number of applications is flexibly set by the user according to actual needs, at least one selection button 211 to 217 of the second application and a confirmation button 218 may be further included in the application list 21. The terminal device may determine the target application to be split-screen displayed in response to a fourth gesture operation 22 performed by the user in the application list 21. The fourth gesture operation 22 may be a user clicking on a selection button of one or more second applications. The terminal device may select a selection button of a certain second application after detecting that the user clicks the selection button, and record the second application.
Next, the terminal device may determine, in response to the fifth gesture operation 23 performed by the user in the application list, that the second application and the first application corresponding to the selection button selected by the user are target applications. Wherein the fifth gesture operation 23 may be clicking the ok button 218.
In one example, referring specifically to fig. 9, if the terminal device detects that the user selects a selection button of a second application in the application list 21, for example, selects the selection button 211 of the application B, and clicks the determination button 218, it may determine that the application first application and the application B are target applications. In this case, the number of target applications is two.
In another example, referring specifically to fig. 10, if the terminal device detects that the user selects two selection buttons of the second application in the application list 21, for example, sequentially selects the selection button 211 of the application B, the selection button 213 of the application D, and clicks the determination button 218, it determines that the first application, the application B, and the application D are target applications to be split-screen displayed.
In some embodiments, the terminal device may also determine the target application based on the user's voice input. By way of example, the user's voice input may be, for example, "application a and application B split screen displays," etc., which are not limited in this embodiment of the present application.
Of course, the present application is not limited to the above-provided method of determining the target application to be displayed by split screen, and any method capable of determining the target application to be displayed by split screen may be acceptable.
And S2, acquiring application information of each target application in at least two target applications.
In some embodiments, the application information may be information for identifying an application identity. In one example, the application information includes application package names, each application having a unique one of the application package names.
For example, take an application running in a terminal device of the Android system as an example:
The package name to which the "glory video" is applied may be com.
The package name of the application "glory mall" may be com.
And step S3, determining target split screen modes corresponding to at least two target applications according to the application information.
In the embodiment of the present application, the target split-screen mode may include at least two split-screen directions of the target application. For example: the split screen direction of the at least two target applications may be a first split screen direction, or the split screen direction of the at least two applications may be a second split screen direction, the first split screen direction being a different direction from the second split screen direction. Accordingly, the target split mode may split the screen for at least two target applications according to the first split direction, or may split the screen for at least two target applications according to the second split direction.
In one implementation, the first split direction may be, for example, an up-down direction of the display screen, and the second split direction may be, for example, a left-right direction of the display screen. Accordingly, the target split mode may be that at least two target applications split from top to bottom on the display screen (as shown in fig. 2), or the target application mode may be that at least two target applications split from left to right on the display screen (as shown in fig. 1).
In this embodiment of the present application, the split screen direction is not limited to the left-right direction and the up-down direction of the above disclosed indication display screen, but may be other split screen directions that do not affect the use of the application by the user.
In some embodiments, step S3 may be specifically implemented by the following steps:
determining target split screen modes corresponding to at least two target applications according to the application information, a preset white list and a preset black list, wherein the white list comprises preset application information of applications which are split screen according to a first split screen direction, and the black list comprises preset application information of applications which are not split screen according to the first split screen direction.
In the embodiment of the application, the terminal device may define a white list and a black list. The white list and the black list may be preset when the terminal device leaves the factory, may be obtained from a manufacturer end by the terminal device, or may be created by a user, which is not limited in the embodiment of the present application.
In the embodiment of the application, the application corresponding to the application information in the preset white list is better in use experience according to the split-screen display of the first split-screen direction. And the application information in the preset blacklist corresponds to the application which is displayed according to the first split screen direction, so that the application is poor in use experience or can not be used. It can be appreciated that, due to factors such as compatibility of applications, application types, and the like, some applications have poor use experience when displayed in a split screen along a certain split screen direction.
For example, referring again to fig. 1, when application a and application B are split-screen displayed from left to right on the display screen, since the width of the user interface of application a is only half the width of the display screen, if application a is used to play video, video frame 12 can occupy a smaller area on the display screen. It follows that the use experience of the split-screen display from left to right on the display screen is poor for application a.
Fig. 11 is a schematic diagram of a display interface of another terminal device according to an embodiment of the present application. For example, as shown in fig. 11, when the application a and the application B perform split-screen display from top to bottom on the display screen, since the width of the user interface 13 of the application a covers the entire width of the display screen, if the video is played using the application a, the video screen can be maximally displayed in the user interface 13 of the application a. It can be seen that the application a has a better use experience for split screen display from top to bottom on the display screen.
Fig. 12 is a flowchart of yet another application display method according to an embodiment of the present application.
As shown in fig. 12, in some embodiments, the step of determining the target split screen modes corresponding to at least two target applications according to the application information, the preset whitelist and the preset blacklist includes:
S3101, the terminal device detects whether the application information is in a preset white list and a preset black list.
S3102, if the application information of each target application in at least two target applications is in the preset white list, it is indicated that the target application performs screen division according to the first screen division direction, which is more beneficial to the display effect of the target application, the target screen division mode is determined to be that the two target applications perform screen division according to the first screen division direction.
S3103, if the application information of each target application in at least two target applications is in a preset blacklist, which indicates that the target application does not split according to the first split direction, the display effect of the target application can be more facilitated, and the target split mode is determined to split according to the second split direction for the two target applications.
If the application information of each of the at least two target applications is not in the preset white list and is not in the preset black list, determining that the target split screen mode is that the two target applications split screens according to the second split screen direction. In this embodiment of the present invention, the terminal device may define that applications corresponding to application information that are not in the white list and the black list are split according to the second split direction, and default applications corresponding to application information that are not in the preset white list and the preset black list are split according to the second split direction.
S3104, if the application information of one target application of the at least two target applications is in a preset white list and the application information of one target application of the at least two target applications is in a preset black list, it is indicated that the screen division display effect of the at least one target application according to the first screen division direction is better, the screen division display effect of the at least one target application is not according to the first screen division direction, and at this time, the screen division direction of the display target application can be determined by the terminal device according to the selection of the user. The terminal device can display a prompt window, the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction, and a user operates on the prompt window to enable the terminal device to determine the split screen direction of the display target application.
Responding to the operation of the first control, and carrying out split-screen display on at least two target applications according to a first split-screen direction; or, responding to the operation of the second control, and displaying at least two target applications in a split screen mode according to the second split screen direction.
Fig. 13 is a schematic diagram of a user interface provided with a prompt window according to an embodiment of the present application.
Fig. 14 is a schematic diagram of another user interface provided with a prompt window according to an embodiment of the present application.
As shown in fig. 13 and 14, in some embodiments, the prompt window 24 includes a first control 241 and a second control 242.
Referring to fig. 13, the terminal device may respond to the operation 25 of the first control 241 by the user to split-screen display the application a and the application B according to the first split-screen direction (as shown in fig. 11). Operation 25 on the first control 241 may click on the first control 241 for the user.
Referring to fig. 14, in response to the user operating the second control 242, the terminal device may split-screen display the application a and the application B (as shown in fig. 1) according to the second split-screen direction, and the user may click on the second control 242 on the operation 26 of the second control 242.
Fig. 15 is a flowchart of yet another application display method according to an embodiment of the present application. As shown in fig. 15, in some embodiments, step S3 may be specifically implemented by:
s31, according to the application information, the split screen score of each target application is obtained from a preset database.
In the embodiment of the application, the terminal device can record and maintain a database for split screen, and application information and split screen scores of one or more applications are stored in the database. The split score is used to indicate the split direction that matches the application.
The database may be preset when the terminal device leaves the factory, may be acquired from the cloud by the terminal device, or may be created by a user, which is not limited in the embodiment of the present application.
In addition, the application information of the applications and the specific split screen score of each application contained in the database may be determined by the terminal device itself, or may be determined by the terminal device according to the usage habit of the user, which is not limited in the embodiment of the present application.
S32, determining a target split screen mode according to the split screen scores of at least two target applications.
In the embodiment of the application, the target split mode is determined by comprehensively considering the split score of each target application, so that the use experience of the application can be improved to the greatest extent.
Fig. 16 is a flowchart of another application display method according to an embodiment of the present application.
As shown in fig. 16, in some embodiments, S32 may be specifically implemented by:
s3201, adding the split screen scores of at least two target applications to obtain an addition value.
For example, two target applications include application A and application B, with application A having a split score of 10 and application B having a split score of-2, where the sum is 8.
S3202, the sum is compared with the first threshold. In some embodiments, the terminal device may define the first threshold.
S3203, if the sum value is larger than a first threshold value, determining that the target split-screen mode is that at least two target applications split screens according to a first split-screen direction.
S3204, if the sum value is smaller than the first threshold value, determining that the target split-screen mode is that at least two target applications split screens according to the second split-screen direction.
S3205, if the sum value is equal to a first threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to a first split screen direction and a second control corresponding to a second split screen direction;
responding to the operation of the first control, and carrying out split-screen display on at least two target applications according to a first split-screen direction; or, responding to the operation of the second control, and displaying at least two target applications in a split screen mode according to the second split screen direction.
In one example, when the first threshold is 0 and the number of target applications is two, the split scores of the two target applications are added to obtain the added value. The sum is compared to a size of 0. If the sum is greater than 0, determining that the target split-screen mode is that two target applications split-screen according to the first split-screen direction; if the sum is smaller than 0, determining that the target split-screen mode is that two target applications split-screen according to the second split-screen direction; if the sum is equal to 0, a prompt window is displayed on the display screen. When the number of the target applications is two, the split screen scores of the two target applications can be directly added, and compared with the first threshold value 0, the target split screen mode can be simply and quickly determined.
In some embodiments, the terminal device modifies the split scores of at least two target applications in response to operation of the first control or the second control. And the user determines the split screen directions of at least two target application split screen displays through the operation of the first control and the second control. In order to record the user's preference for the split direction when the at least two target applications are split displayed, the terminal device may modify the split scores of the at least two target applications.
In some embodiments, the terminal device may define a third threshold. If the preset split screen direction of the target application is the first split screen direction, the split screen score of the target application is larger than a third threshold value, and the larger the split screen score of the target application is, the higher the matching degree of the target application and the first split screen direction is. If the preset split screen direction of the target application is the second split screen direction, the split screen score of the target application is smaller than a third threshold value, and the smaller the split screen score of the target application is, the higher the matching degree of the target application and the second split screen direction is.
Illustratively, the third threshold may be 0. Then, if the split score of the application a is 10, it means that the split direction matched with the application a is the first split direction; if the split screen score of the application B is-10, the split screen direction matched with the application B is indicated to be a second split screen direction; if the split score for application C is 0, this indicates that there is no split direction matching application C. In addition, if the split score of application D is 8, the degree of matching of application a with the first split direction is higher when application a and application B are compared.
In some embodiments, if the split score of the target application is greater than a third threshold, the preset split direction of the target application is the first split direction; and if the split screen score of the target application is smaller than or equal to a third threshold value, the preset split screen direction of the target application is the second split screen direction.
The step of the terminal equipment responding to the operation of the user on the first control or the second control to modify the split screen scores of at least two target applications comprises the following steps:
and the terminal equipment responds to the operation of the first control, and increases the split screen values of at least two target applications by a first preset value. It will be appreciated that, in order to make the target application more matched with the first split direction, the split score of the target application may be increased by a first preset value, where the first preset value is greater than 0.
And the terminal equipment responds to the operation of the second control to reduce the split screen values of at least two target applications by a second preset value. It will be appreciated that, in order to make the target application more closely match the second split direction, the split score of the target application may be reduced by a second preset value, where the second preset value is greater than 0.
Fig. 17 is a flowchart of yet another application display method according to an embodiment of the present application.
As shown in fig. 17, in some embodiments, S32 may be specifically implemented by:
s3206, calculating an average value of the split screen scores of the target application.
The target applications include, for example, application a, application B, and application C, with a split score of 10 for application a, a split score of-10 for application B, and a split score of 3 for application C, where the average is 1.
And if the corresponding split score of the application is not stored in the database, setting the split score of the application as a second threshold. In some embodiments, the terminal device may define the second threshold.
S3207, comparing the average value with a second threshold.
S3208, if the average value is larger than the second threshold value, determining that the target split-screen mode is that two target applications split screens according to the first split-screen direction.
S3209, if the average value is smaller than the second threshold value, determining that the target split-screen mode is that two target applications split screens according to the second split-screen direction.
According to the method and the device for determining the split screen mode, the split screen scores of at least two target applications are integrated, and the target split screen mode is determined, so that the split screen direction corresponding to the target split screen mode can be matched with most target applications, the display effect of most target applications on a display screen can be improved, and the use experience of the applications can be improved.
S32010, if the average value is equal to a second threshold value, displaying a prompt window on the display screen, wherein the prompt window comprises a first control corresponding to a first split screen direction and a second control corresponding to a second split screen direction;
responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, in response to the operation of the second control, displaying two target applications in a split-screen manner according to the second split-screen direction
In the embodiment of the application, when the target split mode more suitable for at least two target applications cannot be determined through the split score of the target applications, a prompt window is displayed on the display screen, so that a user determines the split directions of at least two target applications which want to be split for display, and the use experience of the user is improved. The display content in the prompt window and the operations that the user can implement on the prompt window have been described in detail above, and will not be described in detail here.
Fig. 18 is a flowchart of yet another application display method according to an embodiment of the present application.
As shown in fig. 18, in some embodiments, step S3 may be specifically implemented by:
s33, according to the application information, acquiring the split screen identification of each target application from a preset database.
In this embodiment of the present application, the split screen identifier may be a number, a letter, or a combination of a number and a letter. The method includes the steps that a split screen mode corresponding to a split screen identifier A is used for splitting a screen of a target application according to a first split screen direction; and the split screen mode corresponding to the split screen identification B is used for splitting the screen for the target application according to the second split screen direction.
S34, determining a first number of split screen identifiers corresponding to the first split screen direction and a second number of split screen identifiers corresponding to the second split screen direction.
And S35, comparing the sizes of the first quantity and the second quantity.
And S36, if the first quantity is larger than the second quantity, determining that the target split-screen mode is that two target applications split screens according to the first split-screen direction.
And S37, if the first quantity is smaller than the second quantity, determining that the target split-screen mode is that two target applications split screens according to the second split-screen direction.
S38, if the first quantity is equal to the second quantity, displaying a prompt window on the display screen, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction;
responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction.
In the embodiment of the application, the target split screen mode suitable for the target application is determined according to the number of the split screen identifiers corresponding to at least two target applications, and the determined target split screen mode is ensured to be matched with most target applications, so that the use experience of the applications is improved.
It should be noted that, no corresponding split screen identifier exists in any application in the database, so in the embodiment of the application, the number of split screen identifiers corresponding to the first split screen direction and the second split screen direction is compared, and the determination of the target split screen mode is simpler and more convenient.
And S4, carrying out split-screen display on at least two target applications according to the target split-screen mode.
In some embodiments, the terminal device may determine position information of the window according to the target split screen mode, where the position information is used to indicate a contour of the window; then, drawing a window according to the position information; and finally, displaying the target application user interface determined according to the target split screen mode in the corresponding window.
The location information includes coordinates of an upper left corner and a lower right corner of the window, and thus the terminal device may draw the corresponding window according to the coordinates of the upper left corner and the lower right corner of the window.
Fig. 19 is a schematic diagram of a split-screen display according to a first split-screen direction according to an embodiment of the present application.
Illustratively, as shown in fig. 19, the position information of the window 101 includes an upper left corner a point coordinate and a lower right corner B point coordinate, and the position information of the window 102 includes an upper left corner C point coordinate and a lower right corner D point coordinate.
Fig. 20 is a schematic diagram of a split-screen display according to a second split-screen direction according to an embodiment of the present application.
Illustratively, as shown in FIG. 20, the position information of window 201 includes an upper left corner A point coordinate and a lower right corner E point coordinate, and the position information of window 202 includes an upper left corner F point coordinate and a lower right corner D point coordinate.
In some embodiments, the terminal device may also draw a split screen line according to the location information. The split screen lines are used to display the boundaries of different windows.
For example, as shown in fig. 19, the terminal device may draw the split screen 103 according to the B point coordinate corresponding to the window 101 and the C point coordinate corresponding to the window 102.
For example, as shown in fig. 20, the terminal device may draw the split screen 203 according to the F point coordinate corresponding to the window 201 and the D point coordinate corresponding to the window 202.
Next, the terminal device may display the target application in the drawn window. Illustratively, when there are two target applications, the number of windows is also two, and one target application is displayed in one window.
In some embodiments, the terminal device may arrange the plurality of applications in the plurality of split screen windows from top to bottom or from left to right according to an order in which the plurality of target applications are selected by the user. For example, if the application a is an application that is displayed full screen by the terminal device, and the user clicks the application B and the application C in order as the target application in the application list, when the terminal device performs the split-screen display on the application a, the application B, and the application C, the application a, the application B, and the application C may be displayed in order in windows distributed from top to bottom, or in order in windows distributed from left to right.
Fig. 21 is a schematic diagram of a display interface of a terminal device according to an embodiment of the present application. As shown in fig. 8 and 21, if the application a is an application that is displayed full screen by the terminal device, the user clicks the application B and the application C in order in the application list as target applications, and the target split mode is that the two target applications are split according to the second split direction, the terminal device may display the user interface 27 of the application a, the user interface 28 of the application B, and the user interface 29 of the application C in order from left to right.
In some embodiments, the display order of the target application from top to bottom or left to right may be determined in a preset order. The preset order may be stored in a preset order list, for example. The preset order list may include a first order list and a second order list. The first order list is used for indicating the display order of the target applications when the target split screen mode is that the two target applications split screens according to the first split screen direction. The second order list is used for indicating the display order of the target applications when the target split screen mode is that the two target applications split screens according to the first split screen direction.
In the embodiment of the application, since a part of the application may need to interact with a user, a user interface of the part of the application may be displayed in a region of the display screen, such as the left and right sides of the display screen, which is convenient for the finger movement of a human body. Taking application a, application B and application C as examples, if the frequency of interaction with the user by application a, application B to application C gradually decreases, the order of the three applications may be application a, application B and application C in the second order listing. When the terminal device performs split-screen display on the application a, the application B and the application C, the application a may be displayed in a window on the leftmost side of the display screen, the application B may be displayed in a window on the rightmost side of the display screen, and the application C may be displayed in a window between the application a and the application B.
In some embodiments, the first order rank list may be set by application category. For example, if the user is accustomed to watching the video class application on the upper portion of the display screen and is accustomed to using the chat class application on the lower portion of the display screen, the terminal device may sort the applications in the second order listing according to the video class application and the chat class application.
The above only discloses a way to determine the display order of the target application based in part on the order listing, and any other method that is not contrary to the method of the present application is acceptable.
In some embodiments, the terminal device may modify the preset whitelist and the preset blacklist in response to at least one gesture operation performed by the user on the user interface of the first application to record the split screen mode preference of the user for the target application.
Fig. 22 is a schematic diagram of a modification of a white list and a black list according to an embodiment of the present application. In the following, in connection with fig. 22, a procedure of modifying a preset whitelist and a preset blacklist by the terminal device in response to at least one gesture operation performed by the user on the user interface of the first application is exemplarily described.
As shown in fig. 11 and 22 (a), in the case where the terminal device displays the target application in a split screen, in response to the sixth gesture operation 32 performed by the user in the user interface 13 of the first application, a return button 131 is displayed on the user interface 13 where the sixth gesture operation 32 is to be performed. The sixth gesture operation 32 may be any location of the user interface of the click target application.
The terminal device displays a back button 131 on the user interface 13 upon detecting that the user clicks on the user interface 13 of the first application. It will be appreciated that the terminal device, upon detecting a user clicking on the user interface 33 of the second application, displays a back button 131 on the user interface 33.
As shown in fig. 22 (b), the terminal device may display a set button 351 in the display screen in response to the seventh gesture operation 34 of the user. The seventh gesture operation 34 may be the user clicking the back button 131. The terminal device displays a setup button 351 on the user interface 35 upon detecting that the user clicks the back button 131.
As shown in fig. 22 (c), the terminal device displays a lock button 301 in the display screen in response to the eighth gesture operation 36 of the user. The eighth gesture operation 36 may click the set button 351 for the user. In one implementation, upon detecting that the user clicks the setup button 351, the terminal device displays the user interface 30 including the lock button 301.
In response to the operation of the lock button 301, if the target split mode is that at least two target applications are split according to the first split direction, the application information of the first application is added to a preset whitelist. The operation 31 of the lock button 301 may be clicking the lock button 301.
And if the target split screen mode is that at least two target applications split screens according to the second split screen direction, adding the application information of the first application into a preset blacklist.
In this way, the terminal device records the preference of the user for the split screen direction of the first application in split screen display according to the use of the locking button by the user. When the terminal device displays the first application in the next split screen, the information that the first application is on the white list or the black list can be referred to, and the target split screen mode can be determined.
In other embodiments, the target split mode is employed directly when the first application is subsequently split displayed in response to operation 31 of the lock button 301. In one example, the current target split mode splits the screen for at least two target applications according to a first split direction. And when the first application is displayed in a split screen mode, the target application is split screen according to the first split screen direction.
In other embodiments, when the target application is displayed according to a certain target split-screen mode, the terminal device has a good display effect, and in response to the operation 31 of the lock button 301, modifies the split-screen score corresponding to the target application to be the target split-screen score, where the split-screen direction corresponding to the target split-screen score is the same as the split-screen direction corresponding to the target split-screen mode.
In one example, the target application for which the terminal device modifies the split data into the target split score may be one of all the target applications. In response to at least one gesture operation performed by the user on the user interface of the first application, a lock button is displayed, the first application being any one of the at least two target applications. And modifying the split screen score corresponding to the first application into a target split screen score.
For example, as shown in fig. 11, the determination of modifying the target application of the split screen identifier may be that the terminal device responds to the sixth gesture operation 32 of the user, and records application information of the user interface 13 where the sixth gesture operation 32 is performed corresponding to the target application. When the terminal equipment detects that a user clicks the user interface 13 of the target application, the application information of the target application corresponding to the user interface 13 is recorded. Before the split score is modified, the application information is acquired, the split score of the target application corresponding to the application information is modified, and the split score is modified into the target split score.
For example, the target split score may be positive infinity or negative infinity. If the target split mode is that at least two target applications split according to the first split direction, the split score of the target application is modified to be positive infinity in response to the operation 31 of the lock button 301. If the target split mode is that two target applications split according to the second split direction, the split score of the target application is modified to minus infinity in response to the operation 31 of the lock button 301.
Fig. 23 is a software configuration diagram of a terminal device provided in an embodiment of the present application, where in fig. 23, the terminal device includes an application layer (APP), a Framework layer (Framework), and a native layer, and the Framework layer includes an application management module (ActivityTaskMan ager, ATMS) and a multi-window management module (multi-window manager). The multi-window management module comprises an application information collector, a split screen mode judging device, a split screen mode controller and a window boundary calculator.
Fig. 24 is a schematic diagram of implementation of an application display method at a software level according to an embodiment of the present application. Step S2201 is executed by the application layer, two target applications to be displayed by split screen are determined in response to the split screen operation, S2202 is executed, and application information of the target applications is sent to the application management module. Executing S2503 by using the application management module, wherein the application information of each of the two target applications is in a corresponding stack (stack), and S2204, the application information is transmitted to an application information collector in the multi-window management module; executing S2205 with the application information collector, and transmitting the application information to the split screen mode determiner; s2206 is executed by using a split screen mode judging device, and the split screen score of each target application is obtained from a database according to the application information; s2207, determining a target split mode according to the split scores of at least two target applications. The method includes executing S2208 by using a split screen mode determiner, transmitting a target split screen mode to a split screen mode controller, executing S2209, transmitting a target split screen mode to a window boundary calculator, executing S2210, transmitting a target split screen mode to an application management module, executing S2211, re-laying out a target application user interface according to the target split screen mode, executing S2212, transmitting the re-laid target application user interface to a window redrawing module, executing S2213, determining position information of a window according to the target split screen mode, and transmitting the position information to a window redrawing module (surfefliger) in a native layer, executing S2215, drawing a window according to the position information, executing S2216, and displaying the re-laid target application user interface in a corresponding window.
It should be noted that, in the embodiment of the present application, the split screen mode controller is used to send the target split screen mode to the application management module, and the application management module rearranges the user interface of the target application according to the position relationship. In the embodiment of the application, the terminal equipment displays the user interface after the target application is rearranged. It will be appreciated that when the user interface displayed by the application in the first split-screen orientation is different from the user interface displayed in the second split-screen orientation, as illustrated in fig. 1 and 2, by way of example, in fig. 1, when application a is displayed in the second split-screen orientation, application a has associated content of the video in addition to the video frame displayed. In fig. 2, when the application a is displayed in the first split-screen direction, only the video screen is displayed full-screen, and the user interface of the application is rearranged when it is displayed in a different split-screen direction.
The embodiments provided in the application describe various schemes of the application display method provided in the application. It will be appreciated that, in order to implement the above-mentioned functions, the terminal device includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Fig. 25 is a schematic structural diagram of an application display device according to an embodiment of the present application. In one embodiment, the terminal device may implement the corresponding function through the hardware device shown in fig. 25. As shown in fig. 25, the application display apparatus may include: a touch screen 2501, a memory 2502, and a processor 2503.
In one embodiment, the touch screen 2501 may include a display screen for displaying images and a touch sensor that may communicate detected touch operations to an application processor to determine a touch event type, with visual output being provided through the display screen in connection with the touch operations. The processor 2503 may include one or more processing units, such as: the processor 2503 may include an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and/or a neural network processor, etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The memory 2502 is coupled to the processor 2503 for storing various software programs and/or sets of instructions, and the memory 2502 may include volatile memory and/or non-volatile memory.
The software routines and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the following method steps: responding to the split screen operation, and determining two target applications to be split screen displayed; acquiring application information of each of two target applications, wherein the application information comprises an application package name; determining target split-screen modes corresponding to two target applications according to the application information, wherein the target split-screen modes comprise split-screen directions of the two target applications; and carrying out split-screen display on the two target applications according to the target split-screen mode. Therefore, the target split screen mode is determined according to the application information of the two target applications, and the two applications are split screen displayed according to the target split screen mode, so that the split screen directions of the two target applications are more beneficial to content display of the target applications, and the use experience of the two target applications can be improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: determining target split screen modes corresponding to two target applications according to the application information, a preset white list and a preset black list; the white list comprises preset application information of the applications which are split according to the first split direction, and the black list comprises preset application information of the applications which are not split according to the first split direction. Therefore, through setting the white list and the black list, the target split screen modes corresponding to the two target applications can be determined simply and conveniently.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: if the application information of the two target applications are in the white list, determining that the target split-screen mode is that the two target applications split-screen according to the first split-screen direction; if the application information of the two target applications are in the blacklist, determining that the target split-screen mode is that the two target applications split-screen according to the second split-screen direction; if the application information of the two target applications is neither in the white list nor the black list, determining that the target split-screen mode is that the two target applications split-screens according to the second split-screen direction. Therefore, the target split screen mode corresponding to the two target applications can be determined simply and conveniently by combining the application information of the two targets in the white list and the black list.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of:
if the application information of one target application in the two target applications is in the white list and the application information of the other target application is in the black list, displaying a prompt window, wherein the prompt window comprises a first control corresponding to a first split screen direction and a second control corresponding to a second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. Therefore, when the application information of the two target applications respectively appear in different lists, the terminal equipment cannot directly determine the target split screen mode, and in order to improve the use experience of a user, the terminal equipment displays a prompt window so that the user can determine the target split screen mode according to own preference.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: according to the application information, obtaining split screen scores of two target applications from a preset database; and determining the target split screen mode according to the split screen scores of the two target applications. Therefore, the split screen scores of the two target applications are combined, the target split screen mode can be accurately determined, and the use experience of the target applications is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: adding the split screen scores of the two target applications to obtain an added value; if the sum value is larger than a first threshold value, determining that the target split-screen mode is that two target applications split screens according to a first split-screen direction; and if the sum value is smaller than the first threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. Thus, the sum value can reflect the comprehensive situation of the split screen scores of the two target applications. The terminal equipment can accurately determine the target split screen mode through the addition value, and the use experience of the target application is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: if the sum value is equal to the first threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. Therefore, when the terminal equipment cannot directly determine the target split screen mode, the terminal equipment displays a prompt window for prompting the user to determine the target split screen modes of the two target applications according to the preference of the user.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: calculating the average value of the split screen scores of two target applications; if the average value is larger than a second threshold value, determining that the target split-screen mode is that two target applications split-screens according to the first split-screen direction; and if the average value is smaller than the second threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. Thus, the comprehensive situation of the split scores of the two target applications can be reflected by calculating the average value of the split scores of the two target applications. The terminal equipment can accurately determine the target split screen mode through the average value, and the use experience of the application is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: if the average value is equal to the second threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. Therefore, when the terminal equipment cannot directly determine the target split screen mode, in order to improve the use feeling of the user, the terminal equipment displays the prompt window so that the user can determine the target split screen modes of two target applications according to own preference, and the use feeling of the user is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: in response to an operation on the first control or the second control, the split scores of the two target applications are modified. Thus, in order to record the preference of the user for the split screen directions when the two target applications are split screen displayed, which is determined by the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation manner, if the split score of the target application is greater than a third threshold, the preset split direction of the target application is a first split direction; and if the split screen score of the target application is smaller than or equal to a third threshold value, the preset split screen direction of the target application is the second split screen direction. Therefore, the preset split screen direction of the target application can be accurately distinguished by setting the relation between the third threshold value and the split screen score.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: responding to the operation of the first control, and increasing the split screen values of the two target applications by a first preset value; and responding to the operation of the second control, and reducing the split screen values of the two target applications by a second preset value. Thus, in order to record the preference of the user for the split screen directions when the two target applications are split screen displayed, which is determined by the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: according to the application information, acquiring split screen identifiers of two target applications from a preset database; determining a first number of split screen identifiers corresponding to a first split screen direction and a second number of split screen identifiers corresponding to a second split screen direction; if the first quantity is larger than the second quantity, determining that the target split-screen mode is that two target applications split screens according to a first split-screen direction; and if the first quantity is smaller than the second quantity, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. In this way, by comparing the first number and the second number of determined target split-screen modes, it can be ensured that the split-screen direction in the target split-screen mode matches with most target applications. By adopting the target split screen mode, the use experience of the target application can be improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a lock button, the first application being any one of two target applications; responding to the operation of the locking button, and if the target split screen mode is that two target applications split screens according to the first split screen direction, adding the application information of the first application into a white list; and responding to the operation of the locking button, and if the target split screen mode is that two target applications split screens according to the second split screen direction, adding the application information of the first application into a blacklist. Therefore, the user can operate the locking button, so that the terminal equipment still adopts the target split-screen mode when the terminal equipment performs split-screen display on the first application in the follow-up process, and the use experience of the user is improved.
In one implementation, the software programs and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to further perform the method steps of: in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a lock button, the first application being any one of two target applications; and responding to the operation of the locking button, and adopting a target split screen mode when the follow-up split screen display of the first application is determined. In this way, the user can make the terminal device add the application information of the first application into the white list through operating the locking button, so that the target application can be displayed on the split screen by using the modified white list, and the target split screen mode can be determined.
In one implementation, a terminal device application layer and a framework layer, wherein the framework layer comprises an application management module and a multi-window management module, and the multi-window management module comprises an application information collector and a split screen mode judging device; the software routines and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: the application layer responds to the split screen operation, determines two target applications to be split screen displayed, and sends application information of the two target applications to the application management module; the application management module registers application information of each target application in the two target applications in a corresponding stack, and transmits the application information to an application information collector in the multi-window management module; the application information collector sends application information to the split screen mode judging device; the split screen mode judging device obtains split screen scores of two target applications from a preset database according to the application information, and determines a target split screen mode according to the split screen scores of the two target applications.
In one implementation, the terminal device further includes a native layer, where the native layer includes a window redrawing module; the multi-window management module also comprises a split screen mode controller and a window boundary calculator; the software routines and/or sets of instructions in memory 2502, when executed by processor 2503, cause the terminal device to perform the method steps of: the split screen mode controller receives the target split screen mode sent by the split screen mode judging device, sends the target split screen mode to the window boundary calculator and sends the target split screen mode to the application management module; the application management module rearranges the user interface of the target application according to the target split screen mode and sends the rearranged user interface of the target application to the window redrawing module; the window boundary calculator determines the position information of the window according to the target split screen mode and sends the position information to the window redrawing module; and the window redrawing module draws a window according to the position information and displays the rearranged target application user interface in the corresponding window.
Fig. 26 is a schematic structural diagram of another display device for application according to an embodiment of the present application. In one embodiment, the terminal device may implement the corresponding functions by means of the software means shown in fig. 27. As shown in fig. 26, the application display apparatus may include: a first determination module 2601, a first acquisition module 2602, a second determination module 2603, and a first display module 2604. Wherein: a first determining module 2601, configured to determine, in response to a split operation, two target applications to be displayed by split; a first obtaining module 2602, configured to obtain application information of each of the two target applications, where the application information includes an application package name; a second determining module 2603, configured to determine, according to the application information, a target split-screen mode corresponding to the two target applications, where the target split-screen mode includes split-screen directions of the two target applications; and the first display module 2604 is configured to perform split-screen display on two target applications according to the target split-screen mode. According to the device, the target split screen mode is determined according to the application information of the two target applications, so that the two applications are split screen displayed according to the target split screen mode, the split screen directions of the two target applications are more beneficial to content display of the target applications, and the use experience of the two target applications can be improved.
In one implementation, the second determining module includes: the third determining module is used for determining target split screen modes corresponding to two target applications according to the application information, the preset white list and the preset black list; the white list comprises preset application information of the applications which are split according to the first split direction, and the black list comprises preset application information of the applications which are not split according to the first split direction. According to the device, through setting the white list and the black list, the target split screen modes corresponding to the two target applications can be determined simply and conveniently.
In one implementation, the third determining module includes: a fourth determining module, configured to determine that the target split-screen mode is that the two target applications split-screens according to the first split-screen direction if the application information of the two target applications are both in the white list; if the application information of the two target applications are in the blacklist, determining that the target split-screen mode is that the two target applications split-screen according to the second split-screen direction; if the application information of the two target applications is neither in the white list nor the black list, determining that the target split-screen mode is that the two target applications split-screens according to the second split-screen direction. According to the device, the condition that the application information of the two targets is in the white list and the black list is combined, so that the target split screen mode corresponding to the two target applications can be determined simply and conveniently.
In one implementation manner, the fourth determining module is further configured to display a prompt window if application information of one target application of the two target applications is in the white list and application information of the other target application is in the black list, where the prompt window includes a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. According to the device, when the application information of the two target applications respectively appear in different lists, the terminal equipment cannot directly determine the target split screen mode, and in order to improve the use experience of the user, the terminal equipment displays a prompt window so that the user can determine the target split screen mode according to own preference.
In one implementation, the second determining module includes: the second acquisition module is used for acquiring split screen scores of two target applications from a preset database according to the application information; and the fifth determining module is used for determining the target split screen mode according to the split screen scores of the two target applications. According to the device, the split screen scores of the two target applications are combined, so that the target split screen mode can be accurately determined, and the use experience of the target applications is improved.
In one implementation, the fifth determining module includes: the adding module is used for adding the split screen scores of the two target applications to obtain an added value; the first judging module is used for determining that the target split-screen mode is that two target applications split-screens according to a first split-screen direction if the sum value is larger than a first threshold value; and if the sum value is smaller than the first threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. According to the device, the sum value can reflect the comprehensive situation of the split screen scores of two target applications. The terminal equipment can accurately determine the target split screen mode through the addition value, and the use experience of the target application is improved.
In one implementation, the first judging module is further configured to display a prompt window if the sum value is equal to the first threshold value, where the prompt window includes a first control corresponding to the first split-screen direction and a second control corresponding to the second split-screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. According to the device, when the terminal equipment cannot directly determine the target split screen mode, in order to prompt the user to feel, the terminal equipment displays a prompt window so that the user can determine the target split screen modes of two target applications according to own preference.
In one implementation, the fifth determining module includes: the computing module is used for computing the average value of the split screen scores of the two target applications; the second judging module is used for determining that the target split screen mode is that two target applications split screens according to the first split screen direction if the average value is larger than a second threshold value; and if the average value is smaller than the second threshold value, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. According to the device, the comprehensive condition of the split screen scores of the two target applications can be reflected through the calculated average value of the split screen scores of the two target applications. The terminal equipment can accurately determine the target split screen mode through the average value, and the use experience of the application is improved.
In one implementation, the second judging module is further configured to display a prompt window if the average value is equal to the second threshold value, where the prompt window includes a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction; responding to the operation of the first control, and displaying two target applications in a split mode according to a first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction. According to the device, when the terminal equipment cannot directly determine the target split screen mode, in order to improve the use feeling of the user, the terminal equipment displays the prompt window, so that the user can determine the target split screen modes of two target applications according to own preference, and the use feeling of the user is improved.
In one implementation, an apparatus includes: and the first modification module is used for responding to the operation of the first control or the second control and modifying the split screen scores of the two target applications. According to the device, in order to record the preference of the user for the split screen directions of the two target applications when the split screen is displayed, which is determined through the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation, a first modification module includes: the second modification module is used for responding to the operation of the first control and increasing the split screen values of the two target applications by a first preset value; and the third modification module is used for responding to the operation of the second control and reducing the split screen values of the two target applications by a second preset value. According to the device, in order to record the preference of the user for the split screen directions of the two target applications when the split screen is displayed, which is determined through the first control or the second control, the split screen scores of the two target applications can be modified. The target application can be displayed on the split screen subsequently, the modified split screen score can be utilized to determine the target split screen mode, and the use experience of a user is improved.
In one implementation, the second determining module includes: the third acquisition module is used for acquiring split screen identifiers of two target applications from a preset database according to the application information; a sixth determining module, configured to determine a first number of split screen identifiers corresponding to the first split screen direction and a second number of split screen identifiers corresponding to the second split screen direction; the third judging module is used for determining that the target split screen mode is that two target applications split screens according to the first split screen direction if the first number is larger than the second number; and if the first quantity is smaller than the second quantity, determining that the target split-screen mode is that the two target applications split screens according to the second split-screen direction. According to the device, the target split-screen modes determined by comparing the first number and the second number can ensure that the split-screen direction in the target split-screen modes is matched with most target applications. By adopting the target split screen mode, the use experience of the target application can be improved.
In one implementation, the apparatus further comprises: the second display module is used for responding to at least one gesture operation executed by a user on a user interface of a first application, displaying a locking button, and the first application is any one of two target applications; a fourth modification module, configured to, in response to an operation of the lock button, add application information of the first application to the white list if the target split mode is that two target applications split according to the first split direction; and responding to the operation of the locking button, and if the target split screen mode is that two target applications split screens according to the second split screen direction, adding the application information of the first application into a blacklist. According to the device, the user can operate the locking button, so that the terminal equipment still adopts the target split-screen mode when the terminal equipment performs split-screen display on the first application in the follow-up process, and the use feeling of the user is improved.
In one implementation, the apparatus further comprises: the third display module is used for responding to at least one gesture operation executed by a user on a user interface of a first application, displaying a locking button, and the first application is any one of two target applications; and the seventh determining module is used for responding to the operation of the locking button and determining that a target split screen mode is adopted when the first application is subsequently split screen displayed. According to the device, the user can enable the terminal equipment to add the application information of the first application into the white list through the operation of the locking button, so that the target application can be displayed on the split screen in a follow-up mode, and the target split screen mode can be determined by utilizing the modified white list.
Embodiments of the present application also provide a computer-readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods of the above aspects.
Embodiments of the present application also provide a computer program product containing instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.
The embodiment of the application also provides a chip system, and fig. 27 is a schematic structural diagram of the chip system. The system-on-a-chip includes a processor 2701 for supporting the apparatus to implement the functions involved in the above aspects, e.g., generating or processing information involved in the above methods. In one possible design, the chip system further includes a memory 2702 for holding computer instructions 2703 and data necessary for the privacy information generation device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
The foregoing detailed description of the embodiments of the present application has further described the objects, technical solutions and advantageous effects thereof, and it should be understood that the foregoing is merely a specific implementation of the embodiments of the present application, and is not intended to limit the scope of the embodiments of the present application, and any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (18)

1. An application display method, comprising:
responding to the split screen operation, and determining two target applications to be split screen displayed;
acquiring application information of each target application in the two target applications, wherein the application information comprises an application package name;
determining target split-screen modes corresponding to the two target applications according to the application information, wherein the target split-screen modes comprise split-screen directions of the two target applications;
and carrying out split-screen display on the two target applications according to the target split-screen mode.
2. The method according to claim 1, wherein the step of determining the target split screen modes corresponding to the two target applications according to the application information includes:
Determining target split screen modes corresponding to the two target applications according to the application information, a preset white list and a preset black list; the white list comprises preset application information of applications which are split according to a first split-screen direction, and the black list comprises preset application information of applications which are not split according to the first split-screen direction.
3. The method of claim 2, wherein the step of determining the target split screen modes corresponding to the two target applications according to the application information, the preset whitelist and the preset blacklist comprises:
if the application information of the two target applications are in the white list, determining that the target split-screen mode is that the two target applications split-screen according to the first split-screen direction;
if the application information of the two target applications are in the blacklist, determining that the target split-screen mode is that the two target applications split-screen according to the second split-screen direction;
and if the application information of the two target applications is neither in the white list nor the black list, determining that the target split screen mode is that the two target applications split screens according to the second split screen direction.
4. The method of claim 3, wherein the step of determining the target split screen modes corresponding to the two target applications according to the application information, the preset whitelist and the preset blacklist further comprises:
if the application information of one of the two target applications is in the white list and the application information of the other target application is in the black list, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction;
responding to the operation of the first control, and displaying the two target applications in a split mode according to the first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction.
5. The method according to claim 1, wherein the step of determining the target split screen modes corresponding to the two target applications according to the application information includes:
according to the application information, obtaining the split screen scores of the two target applications from a preset database;
and determining the target split screen mode according to the split screen scores of the two target applications.
6. The method of claim 5, wherein determining the target split mode based on the split scores of two target applications comprises:
adding the split screen scores of the two target applications to obtain an added value;
if the sum value is larger than a first threshold value, determining that the target split-screen mode is that the two target applications split-screens according to a first split-screen direction;
and if the sum value is smaller than the first threshold value, determining that the target split-screen mode is that the two target applications split screens according to a second split-screen direction.
7. The method of claim 6, wherein the step of determining the target split mode based on the split scores of the two target applications further comprises:
if the sum value is equal to the first threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction;
responding to the operation of the first control, and displaying the two target applications in a split mode according to the first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction.
8. The method of claim 5, wherein the step of determining the target split mode based on the split scores of the two target applications comprises:
calculating the average value of the split screen scores of the two target applications;
if the average value is larger than a second threshold value, determining that the target split-screen mode is that the two target applications split-screens according to a first split-screen direction;
and if the average value is smaller than the second threshold value, determining that the target split-screen mode is that the two target applications split screens according to a second split-screen direction.
9. The method of claim 8, wherein the step of determining the target split mode based on the split scores of the two target applications further comprises:
if the average value is equal to the second threshold value, displaying a prompt window, wherein the prompt window comprises a first control corresponding to the first split screen direction and a second control corresponding to the second split screen direction;
responding to the operation of the first control, and displaying the two target applications in a split mode according to the first split direction; or, responding to the operation of the second control, and displaying the two target applications in a split screen mode according to the second split screen direction.
10. The method according to claim 7 or 9, characterized in that the method further comprises: and modifying the split screen scores of the two target applications in response to the operation of the first control or the second control.
11. The method of claim 10, wherein the step of determining the position of the first electrode is performed,
if the split screen score of the target application is larger than a third threshold value, the preset split screen direction of the target application is a first split screen direction;
and if the split screen score of the target application is smaller than or equal to a third threshold value, the preset split screen direction of the target application is the second split screen direction.
12. The method of claim 11, wherein the step of modifying the split scores of the two target applications in response to operation of the first control or the second control comprises:
responding to the operation of the first control, and increasing the split screen values of the two target applications by a first preset value;
and responding to the operation of the second control, and reducing the split screen values of the two target applications by a second preset value.
13. The method according to claim 1, wherein the step of determining the target split screen modes corresponding to the two target applications according to the application information includes:
According to the application information, acquiring split screen identifiers of the two target applications from a preset database;
determining a first number of split screen identifiers corresponding to a first split screen direction and a second number of split screen identifiers corresponding to a second split screen direction;
if the first quantity is larger than the second quantity, determining that the target split-screen mode is that the two target applications split screens according to a first split-screen direction;
and if the first quantity is smaller than the second quantity, determining that the target split screen mode is that the two target applications split screens according to a second split screen direction.
14. The method of claim 2, wherein after the two target applications are split-screen displayed according to a target split-screen mode, the method further comprises:
in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a locking button, wherein the first application is any one of the two target applications;
responding to the operation of the locking button, and if the target split screen mode is that the two target applications split screens according to a first split screen direction, adding the application information of the first application into the white list;
And responding to the operation of the locking button, and if the target split screen mode is that the two target applications split screens according to the second split screen direction, adding the application information of the first application into the blacklist.
15. The method of claim 1, wherein after the two target applications are split-screen displayed according to a target split-screen mode, the method further comprises:
in response to at least one gesture operation performed by a user on a user interface of a first application, displaying a locking button, wherein the first application is any one of the two target applications;
and responding to the operation of the locking button, and adopting the target split screen mode when the subsequent split screen display of the first application is determined.
16. The method of claim 5, wherein the terminal device comprises an application layer and an architecture layer, the architecture layer comprising an application management module and a multi-window management module, the multi-window management module comprising an application information collector and a split screen mode determiner, the method comprising:
the application layer responds to the split screen operation, determines two target applications to be split screen displayed, and sends application information of the two target applications to an application management module;
The application management module registers application information of each target application in the two target applications in a corresponding stack, and transmits the application information to an application information collector in the multi-window management module;
the application information collector sends the application information to a split screen mode judging device;
and the split screen mode judging device acquires split screen scores of the two target applications from a preset database according to the application information, and determines a target split screen mode according to the split screen scores of the two target applications.
17. The method of claim 16, wherein the terminal device further comprises a native layer, the native layer comprising a window redrawing module; the multi-window management module also comprises a split screen mode controller and a window boundary calculator;
the split screen mode controller receives the target split screen mode sent by the split screen mode judging device, sends the target split screen mode to a window boundary calculator and sends the target split screen mode to an application management module;
the application management module rearranges the user interface of the target application according to the target split screen mode and sends the rearranged user interface of the target application to the window redrawing module;
The window boundary calculator determines the position information of the window according to the target split screen mode and sends the position information to the window redrawing module;
and the window redrawing module draws a window according to the position information and displays the rearranged target application user interface in the corresponding window.
18. A terminal device, comprising: a processor and a memory; the memory stores program instructions that, when executed by the processor, cause the terminal device to perform the method of any of claims 1-17.
CN202210688930.5A 2022-06-16 2022-06-16 Application display method and terminal equipment Active CN116048444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210688930.5A CN116048444B (en) 2022-06-16 2022-06-16 Application display method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210688930.5A CN116048444B (en) 2022-06-16 2022-06-16 Application display method and terminal equipment

Publications (2)

Publication Number Publication Date
CN116048444A true CN116048444A (en) 2023-05-02
CN116048444B CN116048444B (en) 2023-12-01

Family

ID=86127840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210688930.5A Active CN116048444B (en) 2022-06-16 2022-06-16 Application display method and terminal equipment

Country Status (1)

Country Link
CN (1) CN116048444B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094762A (en) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 Communication device and multi-window display method
US20160351168A1 (en) * 2014-02-18 2016-12-01 Zte Corporation Split-Screen Processing Method and Device, and Computer Storage Medium
CN107491278A (en) * 2017-08-04 2017-12-19 维沃移动通信有限公司 A kind of split screen processing method and terminal
CN108958633A (en) * 2018-07-11 2018-12-07 Oppo广东移动通信有限公司 Multi-screen display method, device, storage medium and electronic equipment
CN108984258A (en) * 2018-07-09 2018-12-11 Oppo广东移动通信有限公司 Using multi-screen display method, device, storage medium and electronic equipment
CN110727382A (en) * 2019-09-06 2020-01-24 华为技术有限公司 Split-screen display method and electronic equipment
US20200133482A1 (en) * 2018-10-26 2020-04-30 Samsung Electronics Co., Ltd. Electronic device for displaying list of executable applications on split screen and operating method thereof
CN111736786A (en) * 2020-06-22 2020-10-02 Oppo广东移动通信有限公司 Split screen display method and device and computer readable storage medium
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN113342295A (en) * 2021-05-31 2021-09-03 维沃移动通信(杭州)有限公司 Screen splitting method and screen splitting device
WO2021227770A1 (en) * 2020-05-14 2021-11-18 华为技术有限公司 Application window display method and electronic device
CN114077365A (en) * 2020-08-21 2022-02-22 荣耀终端有限公司 Split screen display method and electronic equipment
WO2022062898A1 (en) * 2020-09-28 2022-03-31 华为技术有限公司 Window display method and device
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
CN114415894A (en) * 2022-01-25 2022-04-29 京东方科技集团股份有限公司 Terminal split screen processing method, device, equipment and medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160351168A1 (en) * 2014-02-18 2016-12-01 Zte Corporation Split-Screen Processing Method and Device, and Computer Storage Medium
CN105094762A (en) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 Communication device and multi-window display method
CN107491278A (en) * 2017-08-04 2017-12-19 维沃移动通信有限公司 A kind of split screen processing method and terminal
CN108984258A (en) * 2018-07-09 2018-12-11 Oppo广东移动通信有限公司 Using multi-screen display method, device, storage medium and electronic equipment
CN108958633A (en) * 2018-07-11 2018-12-07 Oppo广东移动通信有限公司 Multi-screen display method, device, storage medium and electronic equipment
US20200133482A1 (en) * 2018-10-26 2020-04-30 Samsung Electronics Co., Ltd. Electronic device for displaying list of executable applications on split screen and operating method thereof
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN110727382A (en) * 2019-09-06 2020-01-24 华为技术有限公司 Split-screen display method and electronic equipment
WO2021043223A1 (en) * 2019-09-06 2021-03-11 华为技术有限公司 Split-screen display method and electronic device
WO2021227770A1 (en) * 2020-05-14 2021-11-18 华为技术有限公司 Application window display method and electronic device
CN111736786A (en) * 2020-06-22 2020-10-02 Oppo广东移动通信有限公司 Split screen display method and device and computer readable storage medium
CN114077365A (en) * 2020-08-21 2022-02-22 荣耀终端有限公司 Split screen display method and electronic equipment
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
WO2022062898A1 (en) * 2020-09-28 2022-03-31 华为技术有限公司 Window display method and device
CN113342295A (en) * 2021-05-31 2021-09-03 维沃移动通信(杭州)有限公司 Screen splitting method and screen splitting device
CN114415894A (en) * 2022-01-25 2022-04-29 京东方科技集团股份有限公司 Terminal split screen processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN116048444B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
WO2020000448A1 (en) Flexible screen display method and terminal
US20230009389A1 (en) One-hand operation method and electronic device
US20220283610A1 (en) Electronic Device Control Method and Electronic Device
US20220174143A1 (en) Message notification method and electronic device
EP4350530A1 (en) Map display method and apparatus, and terminal device
CN113591106B (en) Application authorization method and device and terminal equipment
CN111371849A (en) Data processing method and electronic equipment
EP4120074A1 (en) Full-screen display method and apparatus, and electronic device
US20230004287A1 (en) Human-computer interaction method and device
US20230005277A1 (en) Pose determining method and related device
CN113728295A (en) Screen control method, device, equipment and storage medium
CN114579016A (en) Method for sharing input equipment, electronic equipment and system
CN115129410B (en) Desktop wallpaper configuration method and device, electronic equipment and readable storage medium
CN114489422A (en) Display method of sidebar and electronic equipment
CN112099741B (en) Display screen position identification method, electronic device and computer readable storage medium
US20230350629A1 (en) Double-Channel Screen Mirroring Method and Electronic Device
CN111142767B (en) User-defined key method and device of folding device and storage medium
CN114201738A (en) Unlocking method and electronic equipment
CN116048444B (en) Application display method and terminal equipment
US11934766B2 (en) Always on display method and electronic device
WO2020228735A1 (en) Method for displaying application, and electronic device
CN116069287A (en) Volume control method and device and electronic equipment
CN113885973A (en) Translation result display method and device and electronic equipment
CN111339513A (en) Data sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant