Screen splitting method and device, electronic equipment and computer readable storage medium
By detecting events and adjusting the split-screen status, it solves the problem of inflexible split-screen functions of electronic devices, realizes flexible adjustment of application layout after screen rotation, and improves operating efficiency and user experience.
Patent Information
- Application Number
- CN202310230211.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
The split-screen function of electronic devices in the prior art is not flexible enough and cannot adapt to the application layout adjustment after screen rotation, which affects the user's operating efficiency.
By detecting events that may affect the split-screen layout, determine the split-screen display status of each application in a rotated state, and adjust the split-screen layout based on supported screen orientations and hardware influencing factors, including rotating, suspending, or closing applications to optimize display.
It improves the flexibility and operation efficiency of split-screen layout, adapts to the rotation direction support of different applications, and provides a user-friendly multi-screen operation experience.
Smart Images

Figure CN118567765A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a screen splitting method, device, electronic device, and computer-readable storage medium. Background Art
[0002] When using an electronic device, a user may need to display multiple application interfaces on the screen at the same time. For example, when a user uses an electronic device to watch a video, he or she may also need to use social software. At this time, the user may want to play the video normally on one side of the electronic device screen, and use the social software to chat with friends on the other side of the screen. In this way, the electronic device can meet the user's needs for watching videos and the user's social needs.
[0003] Displaying multiple application interfaces on the screen of an electronic device at the same time can be achieved through the split screen function provided by the electronic device. Split screen generally refers to the electronic device dividing the screen into multiple areas, each area is used to display the interface of a different application, so as to meet the needs of users to use multiple applications at the same time. Summary of the invention
[0004] The embodiments of the present application provide a split-screen method, device, electronic device, and computer-readable storage medium to solve the problem that the split-screen function of electronic devices in the prior art is not flexible enough.
[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0006] In a first aspect, an embodiment of the present application provides a screen splitting method, including:
[0007] The electronic device detects a first event;
[0008] In response to the first event, the electronic device determines the split-screen display state of each application in a first state, where the first state is the state of the electronic device after the first event is executed;
[0009] The electronic device performs screen splitting according to the split-screen display status of each of the applications.
[0010] By applying the split-screen method provided in the embodiment of the present application, when the electronic device detects a first event that may affect the split-screen layout, the split-screen display state of each application in the state of the electronic device after the first event is executed can be determined, thereby performing split-screen according to the corresponding split-screen display state. By applying this method, the flexibility of the split-screen layout of the electronic device is improved. At the same time, a reasonable split-screen layout also helps to improve the operating efficiency of the electronic device, making it convenient for users to efficiently operate each application.
[0011] In combination with the first aspect, in a possible implementation of the first aspect, the electronic device determines the split-screen display state of each application in the first state in response to the first event, including: in response to the first event, the electronic device determines the first screen direction in the first state; the electronic device determines the split-screen display state of each application according to the first screen direction. By determining the first screen direction in the first state, the electronic device can determine the split-screen display state of each application according to the first screen direction, which helps to quickly determine the split-screen display state of each application.
[0012] In a possible implementation of the first aspect, in response to the first event, the electronic device determines a first screen direction in the first state, including: the electronic device determines a rotation direction of the screen after the first event is executed; and the electronic device determines the first screen direction according to the rotation direction of the screen. The electronic device can accurately determine the first screen direction by determining the rotation direction of the screen in combination with the screen direction of the electronic device before the first event is executed.
[0013] In another possible implementation of the first aspect, the electronic device determines the split-screen display state of each of the applications according to the first screen direction, including: the electronic device determines the support status of each of the applications for the rotation direction of the screen; the electronic device determines the split-screen display state of each of the applications according to the support status. By determining the support status of each application for the rotation direction of the screen, the electronic device can specifically determine the split-screen display state of each application, thereby facilitating the split-screen display of each application according to the corresponding split-screen display state, thereby improving the flexibility of split-screen.
[0014] In a possible implementation of the first aspect, the electronic device determines the split-screen display state of each of the applications based on the support status, including: if each of the applications supports display in the rotation direction of the screen, the electronic device determines that the split-screen display state of each of the applications is a state after rotation in the rotation direction of the screen; if each of the applications does not support display in the rotation direction of the screen, the electronic device keeps the split-screen display state of each of the applications unchanged.
[0015] In another possible implementation of the first aspect, the electronic device determines the split-screen display state of each of the applications based on the support situation, and also includes: if at least one first application among the applications supports display in the rotation direction of the screen, and at least one second application does not support display in the rotation direction of the screen, the electronic device determines that the split-screen display state of each of the first applications is a state after rotation in the rotation direction of the screen; the electronic device determines that the split-screen display state of each of the second applications is a display prompt state, and the display prompt state is used to display at least one kind of operational information of the second application; when at least one kind of operational information is triggered, the electronic device processes the second application according to the triggered operational information.
[0016] In a possible implementation manner of the first aspect, the operational information includes: switching the first application and the second application to a display state before the first event is triggered, displaying the second application in a floating window, and / or closing the second application.
[0017] In a possible implementation of the first aspect, the electronic device splits the screen according to the split-screen display status of each of the applications, including: the electronic device separately determines the display area of each of the applications on the screen; the electronic device displays each of the applications in the corresponding display area according to the split-screen display status of each of the applications.
[0018] In a possible implementation of the first aspect, the electronic device separately determines the display area of each of the applications on the screen, including: the electronic device determines the hardware influencing factors in the screen; the electronic device determines the display area of each of the applications on the screen based on the hardware influencing factors; wherein the main application in each of the applications is in an area not affected by the hardware influencing factors, and the main application is an application that supports display according to the rotation direction of the screen after the first event is executed.
[0019] In a possible implementation of the first aspect, the electronic device displays each of the applications in the corresponding display area according to the split-screen display state of each of the applications, including: the electronic device determines the display interface of each of the applications in the split-screen display state; the electronic device switches each of the applications to the corresponding display interface, and displays the display interface in the corresponding display area.
[0020] In a possible implementation of the first aspect, after the electronic device displays each of the applications in the corresponding display area according to the split-screen display state of each of the applications, the method further includes: the electronic device setting the focus in the display interface of the main application.
[0021] In a possible implementation of the first aspect, after the electronic device splits the screen according to the split-screen display status of each of the applications, the method also includes: when the electronic device starts a new application in the display area of any first application, if the new application is not an application that supports display in the rotation direction of the screen after the first event is executed, the electronic device splits the new application and other applications according to the status before the first event is triggered.
[0022] In a second aspect, an embodiment of the present application provides a screen splitting device, including: a detection module, a determination module and a screen splitting module, wherein:
[0023] A detection module, configured to detect a first event;
[0024] a determination module, configured to determine, in response to the first event, a split-screen display state of each application in a first state, wherein the first state is a state of the electronic device after the first event is executed;
[0025] The split-screen module is used to split the screen according to the split-screen display status of each application.
[0026] In a possible implementation manner of the second aspect, the determination module can be specifically used to: determine the first screen direction in the first state in response to the first event; and determine the split-screen display state of each of the applications according to the first screen direction.
[0027] In a possible implementation manner of the second aspect, the determination module may also be used to: determine a rotation direction of the screen after the first event is executed; and determine the first screen direction according to the rotation direction of the screen.
[0028] In another possible implementation of the second aspect, the determination module may also be used to: respectively determine the support status of each of the applications for the rotation direction of the screen; and determine the split-screen display status of each of the applications based on the support status.
[0029] In a possible implementation of the second aspect, the determination module can also be used to: if each of the applications supports display according to the rotation direction of the screen, determine that the split-screen display state of each of the applications is a state after rotation according to the rotation direction of the screen; if each of the applications does not support display according to the rotation direction of the screen, keep the split-screen display state of each of the applications unchanged.
[0030] In another possible implementation of the second aspect, the determination module can also be used for: if at least one first application among the applications supports display according to the rotation direction of the screen, and at least one second application does not support display according to the rotation direction of the screen, determining that the split-screen display state of each of the first applications is a state after rotation according to the rotation direction of the screen; determining that the split-screen display state of each of the second applications is a display prompt state, and the display prompt state is used to display at least one kind of operational information of the second application; when at least one kind of operational information is triggered, processing the second application according to the triggered operational information.
[0031] In a possible implementation manner of the second aspect, the operational information includes: switching the first application and the second application to a display state before the first event is triggered, displaying the second application in a floating window, and / or closing the second application.
[0032] In a possible implementation of the second aspect, the split-screen module can be specifically used to: respectively determine the display area of each of the applications on the screen; and display each of the applications in the corresponding display area according to the split-screen display status of each of the applications.
[0033] In a possible implementation of the second aspect, the split-screen module can also be used to: determine the hardware influencing factors in the screen; determine the display area of each of the applications in the screen based on the hardware influencing factors; wherein the main application in each of the applications is in an area not affected by the hardware influencing factors, and the main application is an application that supports display in the rotation direction of the screen after the first event is executed.
[0034] In another possible implementation of the second aspect, the split-screen module can also be used to: determine the display interface of each of the applications in the split-screen display state; switch each of the applications to the corresponding display interface, and display the display interface in the corresponding display area.
[0035] In an embodiment of the present application, the device further includes a focus setting module, and the focus setting module can be specifically used to: set the focus in the display interface of the main application.
[0036] In an embodiment of the present application, the split-screen module can also be used for: when the electronic device starts a new application in the display area of any first application, if the new application is not an application that supports display in the rotation direction of the screen after the first event is executed, the new application and other applications are split according to the state before the first event is triggered.
[0037] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the split-screen method as described in any one of the first aspects above is implemented.
[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the split-screen method described in any one of the above-mentioned first aspects.
[0039] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement the split-screen method described in any one of the above-mentioned first aspects.
[0040] In a sixth aspect, an embodiment of the present application provides a chip, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the split-screen method as described in any one of the first aspects above.
[0041] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a split screen schematic diagram of an electronic device in the prior art;
[0043] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0044] Figure 3 It is a software structure block diagram of an electronic device provided in an embodiment of the present application;
[0045] Figure 4 It is a schematic diagram of an implementation process of a split-screen method provided in an embodiment of the present application;
[0046] Figure 5 is a schematic diagram of a screen orientation dependency factor of an application provided in an embodiment of the present application;
[0047] Figure 6 It is a schematic diagram of a layout decision module adjusting a split-screen layout provided in an embodiment of the present application;
[0048] Figure 7 is a schematic diagram of another layout decision module adjusting the split-screen layout provided in an embodiment of the present application;
[0049] Figure 8 It is a schematic diagram of a process of splitting the screen of an electronic device provided in an embodiment of the present application;
[0050] Fig. 9 is a schematic diagram of an interface of an electronic device in a split-screen state provided by an embodiment of the present application;
[0051] Fig.10 is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application;
[0052] Fig.11 is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application;
[0053] Fig.12 It is a schematic diagram of adjusting the split-screen state of an electronic device provided by an embodiment of the present application;
[0054] Fig.13 is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application;
[0055] Fig.14 is a schematic diagram of a screen splitting method provided in an embodiment of the present application;
[0056] Fig.15 It is a structural block diagram of a split-screen device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first application, the second application, etc. are only used to distinguish different applications, and do not limit other features such as their quantity.
[0058] It should be noted that, in the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0059] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0060] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0061] The steps involved in the split-screen method provided in the embodiment of the present application are only examples. Not all steps must be performed, or not all technical features in each step are required. They can be increased or reduced as needed during use.
[0062] The same step or steps or technical features with the same functions in the embodiments of the present application can be referenced to each other in different embodiments.
[0063] Currently, electronic devices can use the split-screen function to display multiple application interfaces on the screen at the same time. Figure 1 , which is a schematic diagram of a split screen of an electronic device in the prior art. Figure 1 In (a), the electronic device may be a folding screen device, which may be folded in half based on a fold line L100 in the screen. The fold line L100 may divide the screen of the electronic device into two display areas, namely Figure 1 Region S101 and region S102 in (a) of FIG. Region S101 displays the interface of application a, and region S102 displays the interface of application b. Application a and application b may be different types of applications. In this way, when using an electronic device, a user can operate two applications at the same time based on one screen.
[0064] Users are using Figure 1 When the electronic device in (a) is rotated, the electronic device can be rotated. The schematic diagram after the user rotates the electronic device can be as shown in Figure 1As shown in (b) in . Figure 1 The electronic device in (b) can be regarded as the user Figure 1 The screen of the electronic device in (a) is formed by rotating 90 degrees clockwise, that is, rotating the electronic device to the right. Figure 1 The fold L101 in (b) and Figure 1 The fold L100 in (a) belongs to the same fold, Figure 1 The fold L101 in (b) and Figure 1 The folds L100 in (a) are perpendicular to each other.
[0065] In the prior art, electronic devices can only display one layout when splitting the screen, and the layout cannot be flexibly changed during the user's subsequent use of the electronic device. Figure 1 After the electronic device is rotated to the direction shown in (b), the interfaces of application a and application b cannot be adjusted accordingly with the rotation of the electronic device. At this time, the electronic device includes two display areas, namely Figure 1 In (b), area S103 and area S104 are shown. The interface of application a is shown in area S103, and the interface of application b is shown in area S104. Figure 1 In (b), the fold L101 passes through the middle of the two display areas S103 and S104, seriously affecting the user's normal use of application a and application b.
[0066] In view of the above problems, an embodiment of the present application provides a split screen method. By using this method, an electronic device can flexibly perform split screen layout according to the split screen display status of each application.
[0067] As the execution subject of the split screen method provided in the embodiment of the present application, the electronic device in the embodiment of the present application can be a mobile phone, a tablet computer, a vehicle-mounted device, a laptop computer, a personal computer (PC), a netbook, a personal digital assistant (PDA), etc., which has a split screen function. The embodiment of the present application does not limit the specific type of the electronic device.
[0068] For example, Figure 2 FIG. 2 shows a schematic diagram of the structure of an electronic device 200. The structure of the electronic device can be referred to as Figure 2 The structure of the electronic device 200 is shown in FIG.
[0069] The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. Among them, the sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0070] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 200. In some embodiments of the present application, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0071] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0072] Among them, the controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and execution.
[0073] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments of the present application, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0074] In some embodiments of the present application, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0075] The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the electronic device 200, and can also be used to transfer data between the electronic device 200 and a peripheral device. The USB interface 230 can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0076] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0077] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 200. While the charging management module 240 is charging the battery 242, it may also power the electronic device through the power management module 241.
[0078] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, the wireless communication module 260, etc. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, and battery health status (leakage, impedance).
[0079] In some other embodiments, the power management module 241 may also be disposed in the processor 210. In some other embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.
[0080] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, the baseband processor, and the like.
[0081] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0082] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0083] In some embodiments of the present application, at least some functional modules of the mobile communication module 250 may be set in the processor 210. In some embodiments of the present application, at least some functional modules of the mobile communication module 250 may be set in the same device as at least some modules of the processor 210.
[0084] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294.
[0085] In some embodiments of the present application, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and may be provided in the same device as the mobile communication module 250 or other functional modules.
[0086] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0087] In some embodiments of the present application, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation system (SBAS).
[0088] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0089] The display screen 294 is also referred to as the screen of the electronic device 200, and is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments of the present application, the electronic device 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0090] The electronic device 200 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294 and the application processor.
[0091] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments of the present application, the ISP can be set in the camera 293.
[0092] The camera 293 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal 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 or other format. In some embodiments of the present application, the electronic device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0093] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0094] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0095] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0096] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0097] The internal memory 221 can be used to store computer executable program codes, which include instructions. The internal memory 221 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc.
[0098] In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
[0099] The processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 221 and / or instructions stored in a memory provided in the processor.
[0100] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0101] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. In some embodiments of the present application, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0102] The speaker 270A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 200 can listen to music or listen to a hands-free call through the speaker 270A.
[0103] The receiver 270B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or voice message, the voice can be received by placing the receiver 270B close to the human ear.
[0104] Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to the microphone 270C to input the sound signal into the microphone 270C. The electronic device 200 can be provided with at least one microphone 270C. In other embodiments, the electronic device 200 can be provided with two microphones 270C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 200 can also be provided with three, four or more microphones 270C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.
[0105] The earphone interface 270D is used to connect a wired earphone and can be a USB interface 230, or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0106] The key 290 includes a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The electronic device 200 may receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0107] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example, time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0108] The indicator 292 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.
[0109] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The electronic device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments of the present application, the electronic device 200 uses an eSIM (i.e., an embedded SIM card). The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
[0110] The software system of the electronic device 200 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an operating system of a layered architecture as an example to exemplify the software structure of the electronic device 200.
[0111] Figure 3 It is a software structure block diagram of the electronic device 200 according to an embodiment of the present application.
[0112] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments of the present application, the operating system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the operating system runtime and the system library, and the kernel layer.
[0113] The application layer can include a series of application packages.
[0114] like Figure 3 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0115] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0116] like Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0117] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. When splitting the screen, the window manager can also determine the corresponding display area for each application.
[0118] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0119] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying pictures. When splitting the screen, the view system can display the interface of each application in the display area determined by the window manager to realize the split-screen function of the electronic device.
[0120] The phone manager is used to provide communication functions of the electronic device 200. For example, the management of call status (including connecting, hanging up, etc.).
[0121] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0122] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0123] The system runtime includes the core library and the virtual machine. The system runtime is responsible for the scheduling and management of the operating system.
[0124] The core library consists of two parts: one part is the function that the Java language needs to call, and the other part is the core library of the operating system.
[0125] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0126] The system library may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (eg, OpenGL ES), a 2D graphics engine (eg, SGL), etc.
[0127] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0128] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0129] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
[0130] A 2D graphics engine is a drawing engine for 2D drawings.
[0131] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0132] The following embodiments take an electronic device having the above-mentioned hardware structure / software structure as an example to illustrate the split-screen method provided in the embodiments of the present application.
[0133] Reference Figure 4 , which shows a schematic diagram of the implementation process of a screen splitting method provided by an embodiment of the present application. By using this method, the electronic device can implement flexible screen splitting by executing steps such as event subscription, scene recognition and layout decision. Figure 4 As shown, each step performed by the electronic device can be implemented by different modules. Among them, the event subscription step can be implemented by the event subscription module, the scene recognition step can be implemented by the scene recognition module, and the layout decision step can be implemented by the layout decision module.
[0134] In an embodiment of the present application, the event subscription module can be used to subscribe to events that may affect the split-screen layout of the electronic device in a split-screen scenario. When these events are triggered, they may cause the split-screen layout of the electronic device to change. When the events subscribed by the event subscription module are triggered, the scene recognition module can identify the current state of the electronic device. The recognition of these states of the electronic device may include Figure 4 The identification of split-screen applications, the identification of focus applications in split-screen applications, and the identification of the current state of the electronic device. Among them, the focus application may refer to the application where the electronic device is currently focused. The focus refers to the area of concern. The position where the current cursor is activated is also the position where the focus is located. By selecting a certain control on the screen of the electronic device through the focus, the control can be operated to realize the function corresponding to the control. Therefore, the focus application can be regarded as the application that the user is currently operating or about to operate. The current state of the electronic device may refer to the state presented by the electronic device when the screen is split, and these states may include the software and hardware parameters of the electronic device. Exemplarily, the hardware parameters of the electronic device may include the screen parameters of the electronic device. For example, whether there is a camera on the screen of the electronic device, the location information of the camera, etc. For electronic devices with folding screens, the hardware parameters may also include the location of the fold, and the information of the various screen areas into which the screen of the electronic device is divided by the fold. The software parameters of the electronic device may refer to the software parameters of each application running on the electronic device or the parameters of the operating system of the electronic device. The information identified by the scene recognition module can be provided to the layout decision module for layout decision. The layout decision module can readjust the split-screen layout of each application on the screen according to the identified information, so as to maximize the optimal split-screen display of each application.
[0135] The following is a detailed description of the steps for implementing each module.
[0136] The event subscription module can subscribe to events that may affect the split-screen layout when the electronic device enters the split-screen scene. Among them, the events that may affect the split-screen layout may include the user opening the split-screen application, closing the split-screen application, adding a split-screen application, switching the split-screen application, rotating the screen, and folding the electronic device in the process of using the electronic device. Among them, opening the split-screen application may refer to the electronic device opening multiple applications in the non-split-screen state and displaying the multiple applications on the screen in the form of split screen. Closing the split-screen application may refer to the electronic device closing one or more applications currently displayed in the form of split screen on the screen in the split-screen state. After closing the split-screen application, the number of applications displayed in the form of split screen on the electronic device will be reduced or the electronic device will be switched from the split-screen state to the non-split-screen state. For example, if there are only two split-screen applications currently, after closing one of the applications, the electronic device can switch from the split-screen state to the non-split-screen state; if the number of applications currently split on the screen is greater than two, after closing one of the applications, the electronic device can still maintain the split-screen state. Adding a new split-screen application may refer to the electronic device opening another new application in the split-screen state and displaying the application on the screen in the form of split screen. After adding a new split-screen application, the number of applications displayed in the form of split screen on the electronic device will increase. For example, if the number of applications currently split on the electronic device is two, after adding a split-screen application, the number of applications displayed in split-screen form on the screen of the electronic device will become three. Switching split-screen applications may refer to the electronic device switching an application currently displayed on the screen to display another application in the split-screen state. Usually, after switching split-screen applications, the number of split-screen applications on the screen of the electronic device can remain unchanged. The rotation of the screen can be triggered by a change in the direction in which the user holds the electronic device, or it can be triggered by the electronic device automatically sensing the data of the acceleration sensor. For electronic devices with folding screens, the electronic device being folded at a certain angle may also affect the split-screen layout of each application. Events that may affect the split-screen layout can be pre-set and written into the program, and the event subscription module can subscribe to these events. When any of these events is triggered, the event subscription module can notify the scene recognition module and the layout decision module. Exemplarily, when the electronic device enters a split-screen scene and displays the interfaces of application a and application b on the screen in a left-right split-screen manner, the event subscription module subscribes to events that affect the split-screen layout and monitors whether these events are triggered in real time. When the user rotates the screen of the electronic device by 90 degrees, the event subscription module can monitor the event that the screen of the electronic device rotates. The triggering of this event may cause the electronic device to readjust the split screen layout. At this time, the event subscription module can notify the scene recognition module and the layout decision module of the event that the screen of the electronic device is rotated.
[0137] The scene recognition module can be a module specifically used to identify the information on which layout decisions depend. The information recognized by the scene recognition module may include what the current split-screen application is, what display modes these applications support, which is the focus application among the various applications in the split-screen state in the electronic device, the software and hardware parameters of the electronic device, and so on. Among them, the software and hardware parameters of the electronic device may include parameters of some functional components of the electronic device. For example, the position of the camera on the screen of the electronic device, the position of the fold of the folding screen device, etc. The above information recognized by the scene recognition module can be provided to the layout decision module for readjusting the split-screen layout.
[0138] In the embodiment of the present application, the scene recognition module identifies the most suitable display state for each application mainly based on the preferred screen direction of the application. Figure 5 , which is a schematic diagram of factors that determine whether an application prefers to use a screen direction according to an embodiment of the present application. Figure 5 It can be seen that the preferred screen direction of each application is closely related to a variety of factors, including the fixed screen orientation of each application, the aspect ratio of the media window provided by the application, the application type, user habits, etc. Among them, the media window of the application can refer to the area used to display multimedia information in each application. For example, in a video application, its display interface may include an area for playing videos and an area for displaying video-related information. The area for playing videos is the media window of the video application. In addition, the screen direction pre-set by the operating system of the electronic device for each application, as well as the screen direction customized by the user for each application, will also affect the preferred screen direction of each application, thereby affecting the scene recognition module's recognition of the most suitable display state for each application.
[0139] As an example of an embodiment of the present application, in the case where the electronic device is a foldable screen device or a tablet computer, if the user uses the electronic device in portrait mode, the electronic device can determine the preferred screen direction for each application in a left-right split-screen manner when splitting the screen; if the user uses the electronic device in landscape mode, the electronic device can determine the preferred screen direction for each application in a top-down split-screen manner.
[0140] The action of the layout decision module to readjust the split-screen layout can be triggered by the event subscription module, and the action can be implemented based on the information provided by the scene recognition module. Specifically, after receiving the information identified by the scene recognition module, the layout decision module can make a layout decision based on the information, determine how to display each application, and adjust the split-screen layout of each application in the determined manner after the decision is made.
[0141] like Figure 6FIG. 1 is a schematic diagram of a layout decision module adjusting a split-screen layout provided by an embodiment of the present application. Figure 6 (a) in the figure shows a schematic diagram of an electronic device displaying the interfaces of application a and application b in a left-right split screen manner. Among them, the interface of application a is displayed on the left side of the electronic device, and the interface of application b is displayed on the right side of the electronic device. When an event that may affect the split-screen layout of the electronic device is triggered, the layout decision module can readjust the split-screen layout of the electronic device. Exemplarily, when the electronic device is rotated 90 degrees clockwise, causing the screen of the electronic device to rotate, the layout decision module can adjust the left-right split screen of the electronic device to a top-bottom split screen. Figure 6 As shown in (a), after the layout decision module readjusts the split screen layout of the electronic device according to the top-bottom split screen mode, application a originally displayed on the left side of the screen can be displayed on the upper half of the screen, and application b originally displayed on the right side of the screen can be displayed on the lower half of the screen. In this way, the electronic device can adjust the split screen mode according to the event that affects the split screen layout, so that each application can present the optimal display state, which is convenient for users to use.
[0142] In a possible implementation of the embodiment of the present application, the layout decision module can switch the current focus application of the electronic device while adjusting the split-screen layout of the electronic device. Figure 6 As shown in (b), when the electronic device displays the interfaces of application a and application b in a left-right split screen mode, application a is on the left side of the screen of the electronic device, and application b is on the right side of the screen of the electronic device. The preferred screen direction for application a when the left-right split screen is the up-down direction, and the preferred screen direction for application b is the left-right direction. Figure 6 The dotted line with an arrow in (b) indicates the preferred screen direction of application a and application b. At this time, the focus of the electronic device is in the display area where application a is located, that is, the focus of the electronic device is currently on the left side of the screen, and application a is the focus application at this time. When the user rotates the electronic device 90 degrees clockwise, the layout decision module can adjust the split-screen layout of the electronic device to a top-bottom split-screen. In this way, when the interfaces of application a and application b are displayed in a top-bottom split-screen manner, application a is in the upper half of the screen of the electronic device, and application b is in the lower half of the screen of the electronic device. Among them, the preferred screen direction of application a in top-bottom split-screen is the left-right direction, and the preferred screen direction of application b is the top-bottom direction. When the top-bottom split-screen is used, application b is more in line with the user's operating habits when displayed in the preferred screen direction. At this time, the layout decision module can adjust the focus application of the electronic device from application a to application b. Figure 6 In (b) of the figure, the word "main" is used to indicate the area where the focus application of the electronic device is located.
[0143] In an embodiment of the present application, when the layout decision module readjusts the split-screen layout, it can also adjust the layout of each split-screen application according to the software and hardware parameters of the electronic device to ensure the optimal display state of each application and facilitate the user's operation of each application. For example, in some electronic devices, the front camera can be an under-screen camera, which has a certain impact on the display of the screen. When the electronic device adjusts each split-screen application according to the software and hardware parameters, the focus application can be adjusted to an area without an under-screen camera to avoid the impact of the under-screen camera on the display of the focus application.
[0144] like Figure 7 FIG. 1 is a schematic diagram of another layout decision module adjusting the split-screen layout provided by an embodiment of the present application. Figure 7 In (a), when the electronic device enters the split-screen scene, it can use the crease as the boundary to divide the screen into two display areas on the left and right. Among them, the area on the left side of the screen can be used to display the interface of application a, and the area on the right side of the screen can be used to display the interface of application b. In this way, the electronic device can display the interfaces of application a and application b on the screen at the same time in a left-right split-screen manner. When the event subscription module detects that an event affecting the split-screen layout is triggered, the event subscription module can notify the scene recognition module and the layout decision module, and the scene recognition module will identify the corresponding information, and the layout decision module can make a decision based on the information identified by the scene recognition module. Exemplarily, an event that may affect the split-screen layout detected by the event subscription module may be the floating display of a new application, such as application c. When adjusting the split-screen layout, the layout decision module may float the display of application c in the display area of application a to avoid the crease on the screen. The electronic device floats the display of application c in the display area of application a on the left side in a left-right split-screen manner. Figure 7 As shown in (a) in .
[0145] In another possible implementation of the embodiment of the present application, the electronic device may also be a folding screen device including a hole on the screen, and the hole on the screen of the electronic device may be used to accommodate a front camera or other components of the electronic device. Figure 7 (b) is a schematic diagram of a folding screen device with a hole on the screen. After entering the split screen scene, the electronic device can display the interface of application a and application b on the screen at the same time in a left-right split screen manner. Figure 7 As shown in (b), the hole is located on the right side of the electronic device screen. If the current main application is application a, the electronic device can display the interface of application a in the left area of the screen to avoid the hole on the right side, and display the interface of application b, which is not the main application, in the right area of the screen. The main application can refer to the application that the electronic device currently focuses on, or it can be the application that the user is currently operating, that is, the focus application.
[0146] In one example, an event affecting the split-screen layout monitored by the event subscription module may refer to the user switching the main application while using the electronic device, that is, the user switches the current focus application of the electronic device from application a to application b. Since application b is located in the right area of the screen of the electronic device, the area includes a hole, and the presence of the hole may affect the user's operation of application b. Therefore, the layout decision module can readjust the split-screen layout of application a and application b, and adjust application b, which is switched to the main application, from the right area of the screen to the left area of the screen to avoid the adverse effects of the hole on the display of application b. At the same time, application a, which is no longer the main application, is adjusted from the left area of the screen to the right area.
[0147] By applying the split-screen method provided in the embodiment of the present application, the electronic device can subscribe to events that may affect the split-screen layout, and can promptly identify information such as the status of each application involved in the split-screen, the focus application, and the software and hardware parameters of the electronic device itself when the corresponding event is triggered. The electronic device can make decisions based on the identified information, obtain the optimal split-screen layout plan, and split the screen according to the plan. The application of this method improves the flexibility of the split-screen layout of the electronic device. At the same time, a reasonable split-screen layout also helps to improve the operating efficiency of the electronic device, making it convenient for users to operate various applications efficiently.
[0148] See also Figure 8 , shows a schematic diagram of a process of splitting the screen of an electronic device provided in an embodiment of the present application, and the process may include steps S801-S808. Figure 8 The process shown in FIG. 1 is used to introduce the present solution with a specific embodiment.
[0149] S801. In response to a user operation, the electronic device splits the screen.
[0150] In the embodiment of the present application, the electronic device may split the screen under the operation of the user. For example, when the user is using the electronic device, if he wants to display at least two application interfaces on the screen of the electronic device at the same time, the user may operate on the electronic device to make the electronic device split the screen so as to display the interfaces of multiple applications in different areas of the screen.
[0151] like Fig. 9 The figure is a schematic diagram of an interface of an electronic device in a split-screen state provided by an embodiment of the present application. Fig. 9 The electronic device shown may be a folding screen device, and the middle of the screen of the electronic device includes a fold L900, and the fold L900 may not display content, or may display content. The fold L900 may divide the screen of the electronic device into two areas, namely Fig. 9Areas S901 and S902 in FIG. Fig. 9 As shown, the area S901 on the left side of the screen can be used to display the interface of the first application, and the area S902 on the right side of the screen can be used to display the interface of the second application. Fig. 9 In the example, the first application may be a social application. Fig. 9 The interface of the first application displayed in the figure may be a group conversation interface of the social application; the second application may be a video application, Fig. 9 The interface of the second application displayed in may be a video playback interface of the video application. Fig. 9 The video playback interface shown in FIG. 1 includes a video playback area S9021 located at the upper portion of area S902 and a video detail display area S9022 located at the middle and lower portion of area S902.
[0152] Fig. 9 The schematic diagram of the interface in the split-screen state shown is the initial interface of the electronic device after the split-screen.
[0153] S802: The electronic device detects a first event.
[0154] The first event may be an operation event of the user on the electronic device or various applications on the electronic device when the user is using the electronic device. For example, the first event may be that the screen of the electronic device has rotated, and the screen rotation may be caused by a change in the direction in which the user holds the electronic device. For example, when the user holds the electronic device, the user turns the electronic device from Fig. 9 The state shown is rotated 90 degrees clockwise. The accelerometer in the electronic device can rotate the screen accordingly by sensing the direction of acceleration. Alternatively, the first event can also be that the electronic device responds to the user's operation to open, close, add a split-screen application, etc.
[0155] S803: The electronic device determines the screen directions supported by each application.
[0156] The screen directions supported by each application can be declared by each application. For example, when developing an application, the application developer declares the screen directions supported by the application in advance, and develops the application according to the declared supported screen directions during the actual development process. Alternatively, the screen directions supported by each application can also be determined by the adaptation relationship between the application and the electronic device. For example, the screen directions supported by the same application on different electronic devices such as mobile phones and tablets can be different.
[0157] The electronic device determines the screen directions supported by each application, which may refer to the electronic device determining whether each application supports displaying the interface of each application according to the rotated screen direction after the screen of the electronic device is rotated. The above-mentioned applications may refer to the applications displayed on the screen of the electronic device in the current split-screen state. For example, Fig. 9 The first application and the second application in.
[0158] For example, in Fig. 9 After the screen of the electronic device in the clockwise rotation of 90 degrees, the electronic device can determine Fig. 9 Whether the first application and the second application in the display support the display according to the rotated screen direction.
[0159] S804: The electronic device determines whether all applications support the rotated screen direction.
[0160] By determining the screen directions supported by each application, the electronic device can obtain the number of applications that support the rotated screen direction. The electronic device can further determine whether all applications support the rotated screen direction. If the number of applications that support the rotated screen direction is zero, it means that each application displayed in the current split-screen state does not support display according to the rotated screen direction. If the number of applications that support the rotated screen direction is greater than zero, it means that among the applications displayed in the current split-screen state, at least one application does not support display according to the rotated screen direction.
[0161] If the number of applications that support the rotated screen direction is zero, that is, all applications do not support the rotated screen direction, the electronic device can execute S805 to maintain the current split-screen layout. If the number of applications that support the rotated screen direction is greater than zero, there are two different situations. One is that all applications in the current split-screen state support display according to the rotated screen direction. For example, Fig. 9 The first application and the second application in the current split-screen state both support display according to the rotated screen direction. Another is that some applications in the current split-screen state support display according to the rotated screen direction, while some applications do not support display according to the rotated screen direction. For example, Fig. 9 The first application in the display does not support display according to the rotated screen orientation, while the second application supports display according to the rotated screen orientation.
[0162] If all applications in the current split-screen state support display according to the rotated screen direction, the electronic device can execute S806 to re-layout the display areas of all applications. If some applications in the current split-screen state support display according to the rotated screen direction, while some applications do not support display according to the rotated screen direction, the electronic device can execute S807.
[0163] S805. The electronic device maintains the current split-screen layout unchanged.
[0164] If each application in the current split screen state does not support display according to the rotated screen direction, the electronic device can maintain the current split screen layout unchanged. Maintaining the current split screen layout unchanged may mean that the display direction of each application in the current split screen state remains unchanged.
[0165] For example, Fig.10 Shown is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application. Fig.10 The interface shown is in Fig. 9 After the screen of the electronic device shown is rotated 90 degrees clockwise, since neither the first application nor the second application supports display in the direction of the rotated screen, the display directions of the first application and the second application are different. Fig. 9 The display direction shown is consistent. Fig. 9 and Fig.10 The display directions of the first application and the second application are both up and down. Fig.10 The fold L1000 of the electronic device divides the screen of the electronic device into two parts, namely, Fig.10 The display areas S1001 and S1002 in the first application and the second application both include part of the areas S1001 and S1002. Specifically, the display area of the first application includes the left part of the area S1001 and the left part of the area S1002, and the display area of the second application includes the right part of the area S1001 and the right part of the area S1002.
[0166] S806: The electronic device rearranges the display areas of all applications.
[0167] In the embodiment of the present application, if all applications in the current state support display according to the rotated screen direction, the display direction of each application will change accordingly due to the rotation of the screen direction of the electronic device. The electronic device can adapt to this change by rearranging the display areas of all applications so that the display direction of each application can match the actual screen direction.
[0168] For example, Fig. 9 If both the first application and the second application in the display support display according to the rotated screen direction, the electronic device can rearrange the display areas of the first application and the second application on the screen according to the rotated screen direction. Fig.11 , which is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application. Fig.11 The interface diagram shown is in Fig. 9 Based on the interface diagram shown, all applications are re-arranged to support display in the direction of the rotated screen. Fig.11In the embodiment, the fold L1100 divides the screen of the electronic device into two areas, namely Fig.11 The first application can be displayed on the area S1101 and the area S1102, wherein the area S1101 is located above the fold L1100, and the area S1102 is located below the fold L1100. The area where the fold L1100 is located may not display content. Fig.11 In area S1101 in the second application, the second application can be displayed on Fig.11 In area S1102.
[0169] After determining the respective display areas of the first application and the second application, the electronic device can automatically adapt the interfaces of the first application and the second application according to the current split-screen layout state. In one example, the first application is a social application. When displayed in the rotated screen direction, the interface displayed by the first application in area S1101 can be adjusted to include the contact interface S11011 and the group conversation interface S11012 of the social application. The areas where the above contact interface S11011 and the group conversation interface S11012 are located together constitute the display area S1101 of the first application. The second application in this example is a video application. When displayed in the rotated screen direction, the interface displayed by the second application in area S1102 can be the full-screen playback interface of the video application, that is, the second application is used to play videos in the entire area S1102.
[0170] In a possible implementation of the embodiment of the present application, for each application that has been displayed, the electronic device can adjust the display area where the application is located to display other applications. Fig.11 In the embodiment, the display area S1101 used to display the first application can be used to display the third application. In this way, the area S1101 on the screen of the electronic device can display the interface of the third application, while the area S1102 still displays the interface of the second application.
[0171] In another possible implementation of the embodiment of the present application, the third application may be an application that does not support display according to the rotated screen direction. Fig.12 , which is a schematic diagram of adjusting the split screen state of an electronic device provided by an embodiment of the present application. Fig.12 In (a), the electronic device is in accordance with Fig.11After the split screen is split up and down in the split screen mode shown, the area S1201 in the upper half of the screen displays the interface of the first application, and the area S1202 in the lower half of the screen displays the interface of the second application, and the area S1201 and the area S1202 are separated by the fold L1200. The first application is a social application, and the second application is a video application. Correspondingly, the contact interface and the group conversation interface of the social application are displayed in area S1201, and the full-screen playback interface of the video application is displayed in area S1202. When the user operates in the group conversation interface of the social application, the electronic device can be triggered to display the interface of the third application on the screen. Exemplarily, the user can trigger the electronic device to display the third application by clicking on the second message sent by user 2 in the group conversation interface. The third application can be an album application. If the third application is not an application that does not support display in the direction of the rotated screen, that is, the third application does not support display in the way of splitting the screen up and down. At this time, the electronic device can switch both the second application and the third application to display in the way of splitting the screen left and right. When the second and third applications are displayed in a left-right split screen mode, if the electronic device still maintains the screen orientation after rotation, the fold of the electronic device will have an adverse effect on the display of the second and third applications. At this time, the user can avoid this effect by rotating the screen again. Fig.12 As shown in (b) of FIG. 1 , when the electronic device displays the second application and the third application in a left-right split screen, the user can rotate the screen of the electronic device 90 degrees counterclockwise so that the fold of the electronic device can serve as the dividing line between the left and right split screens. Fig.12 In (b), in the case of left-right split screen, the area S1204 on the right side of the electronic device screen can be used to display the second application, and the area S1203 on the left side of the screen can be used to display the third application. The first application is no longer displayed.
[0172] S807. The electronic device changes the application that supports the rotated screen direction to the main application.
[0173] In the case where only some applications in the current split-screen state support display according to the rotated screen direction, the electronic device can process the applications that support display according to the rotated screen direction and the applications that do not support display according to the rotated screen direction separately. For example, for applications that support display according to the rotated screen direction, the electronic device can display the interface of the application according to the rotated screen direction. At this time, the electronic device can modify the supported application to the main application, and the main application can be the application where the electronic device is focused, that is, the focus application.
[0174] S808: The electronic device rotates the direction of the main application and displays a pop-up window prompt for applications that do not support the rotated screen direction.
[0175] For applications that support display according to the rotated screen direction, the electronic device can display the interface of the application according to the rotated screen direction. Therefore, the electronic device can rotate the direction of the main application accordingly according to the direction of screen rotation. For applications that do not support display according to the rotated screen direction, the electronic device can prompt the user to select one of multiple processing methods as the subsequent processing method in the form of a pop-up window. After the user selects any processing method, the electronic device can display the application that does not support display according to the rotated screen direction according to the processing method.
[0176] like Fig.13 , which is a schematic diagram of another interface of an electronic device in a split-screen state provided by an embodiment of the present application. Fig.13 It is shown in Fig. 9 Based on the interface diagram shown in the figure, the layout is rearranged for only some applications that support display in the rotated screen direction. Fig.13 In the example, the fold L1300 divides the screen of the electronic device into two areas, namely Fig.13 Region S1301 and region S1302 in the fold L1300, where region S1301 is located above the fold L1300, and region S1302 is located below the fold L1300. The region where the fold L1300 is located may not display content. Since the second application supports displaying in the direction of the rotated screen, the electronic device may use the second application as the main application, and after rotating the direction of the second application, display the interface of the second application in region S1302. For example, Fig.13 The full-screen playback interface of the video application is displayed in area S1302. Since the first application does not support display according to the rotated screen direction, the electronic device can display multiple possible processing methods in the form of pop-up windows in area S1301. For example, the multiple possible processing methods include switching, floating and closing. For example, Fig.13 The three processing methods can be displayed in windows W1301, W1302, and W1303 respectively. The switching method can refer to switching all applications back to the layout in the original split-screen state. This layout is the same as the layout in which all applications do not support display according to the rotated screen direction. For example, after processing according to the switching method, the electronic device can switch the first application and the second application to Fig.10The layout form shown. The floating mode may refer to displaying the first application in the form of a floating window without adjusting the main application whose display direction has been rotated. The closing mode may refer to retaining the display of the main application whose display direction has been rotated, and closing the first application that does not support display according to the rotated screen direction. When the user selects any one of the display modes of window W1301, window W1302 and window W1303, the electronic device can display each application according to the display mode corresponding to the window.
[0177] In a possible implementation of the embodiment of the present application, when the electronic device prompts multiple possible processing methods in the form of a pop-up window, a thumbnail of the actual display effect after processing according to the processing method of the window can be displayed in each window. Fig.13 A thumbnail of the actual display effect on the electronic device screen after processing in the switching mode is displayed in window W1301, a thumbnail of the actual display effect on the electronic device screen after processing in the floating mode is displayed in window W1302, and a thumbnail of the actual display effect on the electronic device screen after processing in the closing mode is displayed in window W1303.
[0178] In another possible implementation of the embodiment of the present application, when multiple possible processing methods are displayed in the form of a pop-up window, the electronic device can also display another window W1304 on the screen, which can be used to prompt the user to use the processing methods displayed in window W1301, window W1302, and window W1303 as the default processing methods in subsequent similar situations. Exemplarily, when the user checks window W1304, the electronic device can be considered that the user chooses to use a certain processing method as the default processing method. If the user then clicks on window W1302 and chooses to display the first application in a suspended manner, the electronic device can no longer prompt the user with possible processing methods in the form of a pop-up window when facing a situation in which only some applications support display in the rotated screen direction. Instead, the application that supports display in the rotated screen direction is directly used as the main application, and the display direction of the main application is rotated to match the rotated screen direction; for applications that do not support display in the rotated screen direction, the electronic device can directly display the interface of the application in a suspended manner.
[0179] In combination with the above embodiments, Fig.14 FIG. 1 is a schematic diagram of a screen splitting method provided in an embodiment of the present application. The method may specifically include the following steps S1401-S1403:
[0180] S1401: The electronic device detects a first event.
[0181] The executing entity of the embodiments of the present application may be the electronic device in the aforementioned embodiments, that is, the electronic device can flexibly adjust the layout of various applications in the split-screen state by executing the various steps of the embodiments of the present application.
[0182] The first event may be an event that may affect the split-screen layout of the electronic device in the aforementioned embodiments. The electronic device may detect the first event through an event subscription module.
[0183] S1402: In response to the first event, the electronic device determines the split-screen display state of each application in the first state, where the first state is the state of the electronic device after the first event is executed.
[0184] In an embodiment of the present application, the first event may be an event that affects the split-screen layout of the electronic device. The first state may refer to the state of the electronic device after the first event is executed. Exemplarily, the first event is that the user rotates the screen of the electronic device 90 degrees clockwise. When the first event is executed, it indicates that the screen of the electronic device has been rotated 90 degrees in a clockwise direction. At this time, the screen direction of the electronic device changes. If the state of the electronic device is a portrait state before the first event occurs, then after the first event is executed, the state of the electronic device is switched to the first state, that is, from the portrait state to the landscape state. The electronic device can separately determine the split-screen display state of each application in the landscape state.
[0185] In a possible implementation of the embodiment of the present application, the electronic device can determine the split-screen display state of each application in the first state after responding to the first event, and determine the first screen direction in the first state. For example, the first screen direction is the screen direction of the electronic device in the horizontal screen state in the aforementioned example. Then, the electronic device can determine the split-screen display state of each application according to the first screen direction.
[0186] In one example, when the electronic device determines the first screen direction in the first state, it can first determine the rotation direction of the screen after the first event is executed. Then, the electronic device can determine the first screen direction according to the rotation direction of the screen. Exemplarily, the rotation direction of the screen can be a direction of 90 degrees clockwise rotation. When the electronic device determines the first screen direction, it can determine the first screen direction based on the screen having been rotated 90 degrees clockwise.
[0187] In an embodiment of the present application, the electronic device determining the split-screen display status of each application based on the first screen direction may include: the electronic device separately determining the support status of each application for the rotation direction of the screen; the electronic device determines the split-screen display status of each application based on the support status.
[0188] The support status of each application for the rotation direction of the screen may refer to whether each application in the aforementioned embodiments supports display according to the rotated screen direction.
[0189] In a possible implementation of an embodiment of the present application, if each application supports display according to the rotation direction of the screen, the electronic device can determine that the split-screen display state of each application is a state after being rotated according to the rotation direction of the screen; if each application does not support display according to the rotation direction of the screen, the electronic device can keep the split-screen display state of each application unchanged.
[0190] In another possible implementation of the embodiment of the present application, if at least one first application among the applications supports display according to the rotation direction of the screen, and at least one second application does not support display according to the rotation direction of the screen, the electronic device can determine that the split-screen display state of each first application is a state after being rotated according to the rotation direction of the screen; determine that the split-screen display state of each second application is a display prompt state, and the display prompt state can be used to display at least one kind of operable information of the second application. When at least one kind of operable information is triggered, the electronic device can process the second application according to the triggered operable information.
[0191] The operable information may include: switching the first application and the second application to a display state before the first event is triggered, displaying the second application in a floating window, and / or closing the second application.
[0192] S1403: The electronic device splits the screen according to the split-screen display status of each application.
[0193] After respectively determining the split-screen display states of each application in the first state of the electronic device, the electronic device may perform split-screen display according to the split-screen display states of each application.
[0194] In a possible implementation of the embodiment of the present application, the electronic device can respectively determine the display area of each application on the screen, and then display each application in the corresponding display area according to the split-screen display status of each application.
[0195] Among them, when the electronic device determines the display area of each application on the screen respectively, it can also determine the hardware influencing factors in the screen of the electronic device, and the hardware influencing factors may be factors that may affect the display effect of each application. For example, the crease of the folding screen device in the aforementioned embodiments, and the hole on the screen, etc. The electronic device can determine the display area of each application on the screen according to the hardware influencing factors. For example, the main application of each application is determined in an area that is not affected by the hardware influencing factors. The above-mentioned main application may be an application that supports display according to the rotation direction of the screen after the first event is executed.
[0196] The electronic device displays each application in a corresponding display area according to the split-screen display state of each application, which may include: the electronic device determines the display interface of each application in the split-screen display state; the electronic device switches each application to the corresponding display interface, and displays the display interface in the corresponding display area. Among them, the display interface of each application in the split-screen display state may be the same as or different from the interface previously displayed by the application. In the case where the display interface in the split-screen display state is different from the interface previously displayed, the display interface in the split-screen display state can be automatically adjusted in combination with the screen direction after rotation so that the display interface can adapt to the current screen direction.
[0197] In a possible implementation of an embodiment of the present application, after the electronic device displays each application in a corresponding display area according to the split-screen display status of each application, the electronic device may also switch the focus application to the main application to facilitate subsequent operations of the user.
[0198] In another possible implementation of the embodiments of the present application, after the electronic device splits the screen according to the split-screen display status of each application, the method may also include: when the electronic device starts a new application in the display area of any first application, if the new application is not an application that supports display in the rotation direction of the screen after the first event is executed, the electronic device can split the new application and other applications according to the state before the first event is triggered.
[0199] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided corresponding to each function, or one or more functions can be integrated into one functional module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0200] Corresponding to the above embodiments, refer to Fig.15 , shows a structural block diagram of a screen splitting device provided in an embodiment of the present application, the device can be applied to the electronic devices in the aforementioned embodiments, and the device can specifically include the following modules: a detection module 1501, a determination module 1502 and a screen splitting module 1503, wherein:
[0201] A detection module 1501, configured to detect a first event;
[0202] A determination module 1502, configured to determine, in response to the first event, a split-screen display state of each application in a first state, wherein the first state is a state of the electronic device after the first event is executed;
[0203] The screen splitting module 1503 is used to split the screen according to the split screen display status of each application.
[0204] In an embodiment of the present application, the determination module 1502 can be specifically used to: determine the first screen direction in the first state in response to the first event; and determine the split-screen display state of each of the applications according to the first screen direction.
[0205] In a possible implementation of the embodiment of the present application, the determination module 1502 may also be used to: determine the rotation direction of the screen after the first event is executed; and determine the first screen direction according to the rotation direction of the screen.
[0206] In another possible implementation of the embodiment of the present application, the determination module 1502 can also be used to: separately determine the support status of each of the applications for the rotation direction of the screen; and determine the split-screen display status of each of the applications based on the support status.
[0207] In an embodiment of the present application, the determination module 1502 can also be used for: if each of the applications supports display according to the rotation direction of the screen, determining that the split-screen display state of each of the applications is a state after being rotated according to the rotation direction of the screen; if each of the applications does not support display according to the rotation direction of the screen, keeping the split-screen display state of each of the applications unchanged.
[0208] In an embodiment of the present application, the determination module 1502 can also be used for: if at least one first application among the applications supports display according to the rotation direction of the screen, and at least one second application does not support display according to the rotation direction of the screen, determining that the split-screen display state of each of the first applications is a state after rotation according to the rotation direction of the screen; determining that the split-screen display state of each of the second applications is a display prompt state, and the display prompt state is used to display at least one operational information of the second application; when at least one operational information is triggered, processing the second application according to the triggered operational information.
[0209] In a possible implementation of an embodiment of the present application, the operational information includes: switching the first application and the second application to a display state before the first event is triggered, displaying the second application in a floating window, and / or closing the second application.
[0210] In an embodiment of the present application, the split-screen module 1503 can be specifically used to: respectively determine the display area of each of the applications on the screen; and display each of the applications in the corresponding display area according to the split-screen display status of each of the applications.
[0211] In a possible implementation method of an embodiment of the present application, the split-screen module 1503 can also be used to: determine the hardware influencing factors in the screen; determine the display area of each of the applications in the screen according to the hardware influencing factors; wherein the main application in each of the applications is in an area not affected by the hardware influencing factors, and the main application is an application that supports display in the rotation direction of the screen after the first event is executed.
[0212] In another possible implementation method of the embodiment of the present application, the split-screen module 1503 can also be used to: determine the display interface of each of the applications in the split-screen display state; switch each of the applications to the corresponding display interface, and display the display interface in the corresponding display area.
[0213] In an embodiment of the present application, the device further includes a focus setting module, and the focus setting module can be specifically used to: set the focus in the display interface of the main application.
[0214] In an embodiment of the present application, the split-screen module 1503 can also be used for: when the electronic device starts a new application in the display area of any first application, if the new application is not an application that supports display in the rotation direction of the screen after the first event is executed, the new application and other applications are split according to the state before the first event is triggered.
[0215] Finally, it should be noted that the above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A screen splitting method, characterized in that: include: The electronic device detects a first event; In response to the first event, the electronic device determines the split-screen display state of each application in a first state, where the first state is the state of the electronic device after the first event is executed; The electronic device performs screen splitting according to the split-screen display status of each of the applications.
2. The method according to claim 1, characterized in that In response to the first event, the electronic device determines the split-screen display state of each application in the first state respectively, including: In response to the first event, the electronic device determines a first screen direction in the first state; The electronic device determines the split-screen display status of each of the applications according to the first screen direction.
3. The method according to claim 2, characterized in that In response to the first event, the electronic device determines a first screen direction in the first state, including: The electronic device determines a rotation direction of the screen after the first event is executed; The electronic device determines the first screen direction according to the rotation direction of the screen.
4. The method according to claim 2 or 3, characterized in that: The electronic device determines the split-screen display state of each of the applications according to the first screen direction, including: The electronic device determines, respectively, whether each of the applications supports the rotation direction of the screen; The electronic device determines the split-screen display status of each of the applications according to the support status.
5. The method according to claim 4, characterized in that The electronic device determines the split-screen display state of each of the applications according to the support status, including: If each of the applications supports display according to the rotation direction of the screen, the electronic device determines that the split-screen display state of each of the applications is a state after being rotated according to the rotation direction of the screen; If each of the applications does not support display according to the rotation direction of the screen, the electronic device keeps the split-screen display state of each of the applications unchanged.
6. The method according to claim 4, characterized in that The electronic device determines the split-screen display state of each of the applications according to the support status, further comprising: If at least one first application among the applications supports display according to the rotation direction of the screen, and at least one second application does not support display according to the rotation direction of the screen, the electronic device determines that the split-screen display state of each of the first applications is a state after being rotated according to the rotation direction of the screen; The electronic device determines that the split-screen display state of each of the second applications is a display prompt state, and the display prompt state is used to display at least one operational information of the second application; when at least one operational information is triggered, the electronic device processes the second application according to the triggered operational information.
7. The method according to claim 6, characterized in that The operable information includes: switching the first application and the second application to a display state before the first event is triggered, displaying the second application in a floating window, and / or closing the second application.
8. The method according to any one of claims 1 to 7, characterized in that: The electronic device performs screen splitting according to the screen splitting display state of each application, including: The electronic device determines the display area of each application on the screen respectively; The electronic device displays each of the applications in the corresponding display area according to the split-screen display status of each of the applications.
9. The method according to claim 8, characterized in that The electronic device determines the display area of each application on the screen respectively, including: The electronic device determines a hardware influencing factor in the screen; The electronic device determines the display area of each of the applications on the screen based on the hardware influencing factors; wherein the main application among the applications is in an area not affected by the hardware influencing factors, and the main application is an application that supports display according to the rotation direction of the screen after the first event is executed.
10. The method according to claim 8, characterized in that The electronic device displays each of the applications in the corresponding display area according to the split-screen display state of each of the applications, including: The electronic device determines a display interface of each of the applications in the split-screen display state; The electronic device switches each of the applications to the corresponding display interface, and displays the display interface in the corresponding display area.
11. The method according to any one of claims 8 to 10, characterized in that: After the electronic device displays each of the applications in the corresponding display area according to the split-screen display state of each of the applications, the method further includes: The electronic device sets the focus on the display interface of the main application.
12. The method according to any one of claims 1 to 11, characterized in that: After the electronic device performs screen splitting according to the screen splitting display state of each of the applications, the method further includes: When the electronic device starts a new application in the display area of any first application, if the new application is not an application that supports display in the direction of screen rotation after the first event is executed, the electronic device splits the new application and other applications according to the state before the first event is triggered.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the screen splitting method according to any one of claims 1 to 12 is implemented.
14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the screen splitting method according to any one of claims 1 to 12 is implemented.
