Interface display method, electronic equipment, storage medium and program product

By obtaining the split-screen startup status and visibility of the electronic device to identify the split-screen processing process, it is ensured that the split-screen line is invisible when exiting, solving the problem of split-screen line retention.

CN120743147APending Publication Date: 2025-10-03HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411178649.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

When the user exits the interface during the split-screen process, the electronic display is abnormally retained. There is a problem of abnormal interface display, especially the split-screen line is retained on the desktop.

Method used

The split-screen processing process is identified by obtaining the split-screen activation state and visibility of the electronic device, ensuring that the split-screen line is set to invisible when exiting the operation.

Benefits of technology

Ensures that the split-screen line will not remain on the desktop when exiting the interface, providing a reliable interface exit mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743147A_ABST
    Figure CN120743147A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an interface display method, electronic equipment, a storage medium and a program product, and the method comprises the steps: obtaining the split-screen visibility and the split-screen starting state of the electronic equipment in response to an exit operation of a user for a first interface; wherein the split screen starting state represents whether split screen is being started or not, and the split screen visibility represents whether split screen display is completed or not; and when the split-screen visibility is that split-screen display is not completed and the split-screen starting state is in the split-screen starting state, exiting the first interface, and setting a first display element associated with the split-screen display to be invisible. By applying the embodiment of the invention, the problem that the split screen line is detained when the user exits the interface in the split screen forming process can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to an interface display method, an electronic device, a storage medium, and a program product. Background Art

[0002] With the continuous development of smart terminal technology, more and more electronic devices support split-screen interface display. Electronic devices with split-screen function can display different application interfaces in different display areas of the same display screen to meet users' multi-window usage needs.

[0003] To enable the split-screen feature, users first launch an app in full screen, then open the Taskbar and drag another app from the taskbar to create a split-screen. However, in practice, it has been found that if a user swipes up from the bottom of the display to exit to the desktop while the electronic device is creating a split-screen, it is easy for the display to return to the desktop but the split-screen line will remain on the desktop, resulting in interface display abnormalities. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide an interface display method, electronic device, storage medium, and program product to solve the problem of split screen lines being stuck when a user exits the interface during the split screen process. The specific technical solution is as follows:

[0005] In a first aspect, the present application provides an interface exit method, applied to an electronic device, comprising:

[0006] In response to a user exit operation on the first interface, obtaining split-screen visibility and split-screen activation status of the electronic device; wherein the split-screen activation status indicates whether the split-screen is being activated, and the split-screen visibility indicates whether the split-screen display is completed;

[0007] When the split-screen visibility is incomplete split-screen display and the split-screen startup state is starting split-screen, exit the first interface and set the first display element associated with the split-screen display to be invisible.

[0008] By applying the interface exit method provided in the present application, when the electronic device receives the user's exit operation for the first interface and obtains that the split-screen visibility of the electronic device is invisible, and the split-screen startup state is starting the split-screen, it can be identified based on the split-screen startup state that the electronic device is currently performing split-screen processing, decide to exit the first interface, and set the first display element associated with the split-screen display, such as the split-screen line, to be invisible. Thus, even if the electronic device processes the split-screen line to be visible during the subsequent split-screen processing, since the split-screen line will be further set to invisible when executing the exit of the first interface, the electronic device can ensure that the split-screen line is ultimately set to invisible when executing the exit of the first interface, and ensure that the user interface can smoothly return to the desktop without the split-screen line remaining on it.

[0009] In one embodiment of the present application, the method further includes:

[0010] In response to the user's split-screen operation, the split-screen activation state is set to activating the split-screen, and the corresponding split-screen processing is started.

[0011] The interface display method provided in the embodiment of the present application sets the split-screen startup state to starting the split-screen when the electronic device detects a split-screen operation. This ensures that when the electronic device receives the user's exit operation, it accurately identifies that the split-screen processing is currently being executed based on the acquired split-screen startup state. When deciding whether to set the first display to be originally invisible based on this, the reliability of the decision result is guaranteed.

[0012] In one embodiment of the present application, the electronic device includes a system module and a command interpretation module;

[0013] The step of responding to the user's split-screen operation, setting the split-screen activation state to the split-screen activation state, and starting to execute corresponding split-screen processing, includes:

[0014] The command interpretation module responds to the split-screen operation, sets the split-screen startup state to starting the split-screen, and instructs the system module to execute the corresponding split-screen processing;

[0015] The step of obtaining, in response to a user exit operation on a first interface, split-screen visibility and a split-screen activation state of the electronic device, exiting the first interface when the split-screen visibility indicates incomplete split-screen display and the split-screen activation state indicates starting split-screen, and setting the visibility of a first display element associated with the split-screen display to invisible, includes:

[0016] The command interpretation module obtains the split-screen visibility and split-screen activation status of the electronic device in response to the exit operation;

[0017] When the split-screen visibility is incomplete split-screen display and the split-screen activation state is in activating split-screen, the command interpretation module sends a first cancellation instruction to the system module;

[0018] The system module executes exit from the first interface based on the first cancel instruction and sets the first display element to be invisible;

[0019] The command interpretation module obtains the execution result returned by the system module, and displays a corresponding exit animation on the user interface according to the execution result.

[0020] In the interface display method provided by the embodiment of the present application, upon detecting a split-screen operation, the command interpretation module sets the split-screen activation state to "activating split-screen," and then the system module performs subsequent split-screen processing. Upon receiving an exit operation, the command interpretation layer accurately identifies whether the system layer is currently in the process of executing split-screen processing based on the queried split-screen activation state, and ensures the reliability of the decision result when deciding whether to set the primary display to invisible based on this.

[0021] In one embodiment of the present application, the command interpretation module includes a split-screen control unit, a state coordination unit, a split-screen conversion unit, a conversion processing unit, and a mixing processing unit;

[0022] The command interpretation module sets the split screen startup state to starting the split screen in response to the split screen operation, and instructs the system module to perform corresponding split screen processing, including:

[0023] The split-screen control unit sends a split-screen start instruction to the state coordination unit in response to the split-screen operation;

[0024] The state coordination unit responds to the split-screen startup instruction, sets the split-screen startup state to starting split-screen, generates a split-screen processing instruction, and forwards the split-screen processing instruction to the system module via the split-screen conversion unit;

[0025] The system module performs corresponding split-screen processing based on the split-screen processing instruction;

[0026] The command interpretation module obtains, in response to the exit operation, split-screen visibility and split-screen activation status of the electronic device; when the split-screen visibility indicates incomplete split-screen display and the split-screen activation status indicates starting split-screen, the command interpretation module issues a first cancellation instruction to the system module, including:

[0027] The conversion processing unit instructs the hybrid processing unit to determine a processing logic corresponding to the exit operation in response to the exit operation;

[0028] The hybrid processing unit calls the state coordination unit to query the split-screen visibility and split-screen activation state of the electronic device. When the split-screen visibility is split-screen invisible and the split-screen activation state is split-screen activated, the hybrid processing unit determines, based on a preset correspondence between the split-screen visibility, the split-screen activation state, and the processing logic, that the processing logic corresponding to the exit operation is: exiting the first interface and setting the first display element associated with the split-screen display to be invisible;

[0029] The conversion processing unit generates the first cancellation instruction based on the decision result returned by the hybrid processing unit, and sends the first cancellation instruction to the system module;

[0030] The command interpretation module obtains the execution result returned by the system module and displays the corresponding exit animation on the user interface according to the execution result, including:

[0031] The hybrid processing unit obtains the execution result returned by the system module, and displays a corresponding exit animation on the user interface according to the execution result.

[0032] In the interface display method provided by the embodiment of the present application, the state coordination unit sets the split-screen startup state to the starting split-screen state upon detecting a split-screen operation, and then the system module performs subsequent split-screen processing. Upon receiving an exit operation, the switching processing unit instructs the hybrid processing unit to make a decision on the processing logic. The hybrid processing module can accurately identify whether the current system layer is in the process of executing the split-screen processing by querying the state coordination unit for the split-screen startup state. When deciding whether to set the first display to be invisible based on this, the reliability of the decision result can be guaranteed.

[0033] In one embodiment of the present application, the method further includes:

[0034] After the split screen processing is completed, the split screen activation state is set to non-activated split screen.

[0035] The interface display method provided in the embodiment of the present application can ensure the rationality of the split-screen startup state by setting the split-screen startup state to the non-startup split-screen after detecting the exit split-screen operation.

[0036] In one embodiment of the present application, the first display element includes a screen splitting line.

[0037] In a second aspect, an embodiment of the present application provides an electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, the electronic device is triggered to execute any one of the steps described in the first aspect.

[0038] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect.

[0039] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes any one of the methods described in the first aspect.

[0040] In a fifth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute any method described in the first aspect.

[0041] It is understandable that the electronic device provided in the second aspect, the chip system provided in the third aspect, the computer storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to perform the methods provided in this application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0043] Figure 1 A schematic diagram of a split-screen interface displayed on an electronic device;

[0044] Figure 2 A schematic diagram of a screen splitting line remaining on the desktop in the related art;

[0045] Figure 3 A schematic diagram of an electronic device provided in an embodiment of the present application;

[0046] Figure 4 A software structure diagram of the electronic device provided in the embodiment of the present application;

[0047] Figure 5 A schematic diagram of an electronic device forming a split screen through a split screen operation provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of instructing an electronic device to end split-screen operation by canceling the split-screen operation provided in an embodiment of the present application;

[0049] Figure 7 A schematic diagram of instructing an electronic device to return to the desktop through an exit operation provided in an embodiment of the present application;

[0050] Figure 8 A schematic diagram of a scenario in which a user performs an exit operation after completing split-screen display on an electronic device in the related art;

[0051] Figure 9 A schematic diagram of a processing flow for split-screen operation and exit operation of an electronic device in the related art;

[0052] Figure 10 A schematic diagram of a scenario in which a user performs an exit operation before the electronic device completes the split-screen display in the related art;

[0053] Figure 11 This is another flowchart of a process for split-screen operation and exit operation of an electronic device in the related art;

[0054] Figure 12 A flowchart of the interface display method provided in an embodiment of the present application;

[0055] Figure 13 A schematic diagram of the processing logic corresponding to the decision-making and exit operations provided in an embodiment of the present application;

[0056] Figure 14 A schematic diagram of a scenario in which a user performs an exit operation before the electronic device completes the split-screen display provided by an embodiment of the present application;

[0057] Figure 15 A schematic diagram of the processing flow for split-screen operation and exit operation of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0059] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are intended to distinguish different user instructions and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0060] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0061] In order to provide users with a diverse user experience, more and more electronic devices such as mobile phones and tablets currently support split-screen display. When performing split-screen display, the electronic device can display different user interfaces in multiple display areas on its display screen. For example Figure 1 As shown, the entire display screen is divided into two display areas by a split screen line, which respectively display the application interface of the first application and the application interface of the second application.

[0062] Specifically, when using an electronic device, the user can trigger the electronic device to perform split-screen display through a preset split-screen operation based on their actual needs. After the electronic device detects this split-screen operation, it will start to perform split-screen processing, including dividing the display area and making the split-screen line visible. After completing the split-screen processing, it can display the following: Figure 1 The interface shown.

[0063] Accordingly, when the user instructs the electronic device to return to the desktop through a preset exit operation, if the electronic device recognizes that a split-screen display is in progress, it is necessary not only to exit the application interface, but also to set the split-screen line to invisible to avoid affecting the normal display of the desktop. However, in practice, it is found that due to the existence of processing delays, if the user executes the exit operation when the electronic device is performing a split-screen process, the electronic device can only recognize that a split-screen display is not currently in progress, and will only execute the exit of the application interface. As a result, after the split-screen process is further executed, the split-screen line will eventually be set to visible, so the following will appear: Figure 2 In the illustrated situation, although the user interface returns to the desktop, the split screen line remains on it, affecting the display effect.

[0064] In view of this, an embodiment of the present application provides an interface display method, according to which the electronic device will record whether the electronic device has started the split screen through the attribute information of the split screen startup state when it detects that the user has made a split screen operation. Thus, if the user makes a split screen operation while the electronic device is performing a split screen process, even if the split screen has not yet been implemented, the electronic device can also identify that the split screen process is currently being performed based on the pre-recorded split screen startup state, and thus respond to this exit operation, and at the same time as exiting the interface, the split screen line is also set to invisible. Therefore, even if the split screen process is further executed after the user makes the exit operation, since the exit process involves the operation of setting the split screen line to invisible, the split screen line will eventually be in an invisible state and will not appear. Figure 2 There is a split screen line on the desktop shown in the figure.

[0065] The above-mentioned interface display method provided in the embodiment of the present application is specifically applied to electronic devices, which may be mobile phones (including foldable screen mobile phones and straight-screen mobile phones), tablet computers, desktop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc.

[0066] The structure of the electronic device in the embodiment of the present application can be as follows Figure 3 As shown, Figure 3 The electronic device shown may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 130, a wireless communication module 140, a sensor module 150, and a display screen 160, etc.

[0067] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0068] The processor 110 may include one or more processing units. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0069] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0070] The wireless communication function of the electronic device can be implemented through the antenna 1, the antenna 2, the mobile communication module 130, the wireless communication module 140, the modem processor, and the baseband processor.

[0071] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0072] The mobile communication module 130 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the first electronic device. In some embodiments, the mobile communication module 130 can be used to transmit call data between two electronic devices. For example, when acting as the called device, the downlink audio stream data from the calling device can be obtained, and uplink audio stream data can be transmitted to the calling device.

[0073] The wireless communication module 140 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).

[0074] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 130, and antenna 2 is coupled to wireless communication module 140, so that the electronic device can communicate with the network and other devices via wireless communication technology. In one embodiment of the present application, the electronic device can achieve a local area network connection with another electronic device via wireless communication module 140.

[0075] The display screen 160 is used to display images, videos, and the like. The display screen 160 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 (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-LED, a micro-OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device may include one or N display screens 160, where N is a positive integer greater than one.

[0076] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music, videos, and audio files can be stored on the external memory card.

[0077] The internal memory 121 can be used to store computer-executable program code, including instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required for a function. The data storage area can store data generated during the use of the electronic device.

[0078] The software system of the electronic device may adopt a layered architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device.

[0079] Figure 4 It is a software structure block diagram of the electronic device according to an embodiment of the present application.

[0080] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: from top to bottom: the application layer, the application framework layer, the Android runtime system libraries, and the kernel layer.

[0081] The application layer can include a series of application packages.

[0082] like Figure 4 As shown, the application package may include applications such as camera, calendar, and phone.

[0083] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0084] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a resource manager, a split-screen processor, a split-screen attribute manager, and the like.

[0085] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, touch the screen, drag the screen, take screenshots, etc.

[0086] Content providers are used to store and retrieve data and make it accessible to applications. Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0087] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0088] The split-screen processor is used to implement the split-screen function of the electronic device.

[0089] The split-screen attribute manager is used to manage the split-screen attribute information of the electronic device, including split-screen visibility, split-screen activation status, etc., and provide corresponding split-screen attribute information based on query requests.

[0090] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

[0091] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0092] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0093] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0094] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0095] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0096] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0097] A 2D graphics engine is a drawing engine for 2D drawings.

[0098] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, sensor drivers, etc.

[0099] The present application is described in detail below with reference to specific embodiments.

[0100] The interface display method provided in the following embodiments of this application involves the following types of interactive operations performed by a user on an electronic device: the first is a split-screen operation, which is used to instruct the electronic device to display different application interfaces in different display areas of the display screen; the second is an exit split-screen operation, which is used to instruct the electronic device to end the split-screen display and display the application interface of a single application on the display screen; and the third is an exit operation, which is used to instruct the electronic device to exit the display of the current interface and return to the desktop. For example, these types of operations can be gesture operations performed by the user on the user interface or voice commands.

[0101] See also Figure 5 , the user can implement the split-screen operation based on the following process: when the electronic device displays the application interface of the first application in full screen, perform a first gesture operation (for example, a sliding operation on the edge of the display screen), pull out the taskbar, then select the second application from the taskbar, and perform a second gesture operation (for example, drag the second application from the taskbar) to instruct the electronic device to form a split screen based on the first application and the second application. After the electronic device forms a split screen, the entire display screen is divided into two display areas by the split screen line, one of which displays the application interface of the first application, and the other display area displays the application interface of the second application.

[0102] See also Figure 6The user can exit the split-screen operation based on the following process: when the electronic device displays the application interface of the first application and the application interface of the second application in two display areas respectively, perform a third gesture operation (for example, drag the split-screen line to the left and slide it for more than a preset distance) to instruct the electronic device to exit the display of the first application and end the split-screen operation. After the electronic device exits the first application, the display screen will only display the application interface of the second application.

[0103] See also Figure 7 , the user can implement the exit operation based on the following process: while the electronic device is displaying the first interface, perform a fourth gesture operation (for example, a swipe up operation on the bottom of the display screen) to instruct the electronic device to return to the desktop.

[0104] The first interface may be a non-split-screen interface containing only the interface of a single application, or it may be a split-screen interface containing multiple application interfaces of multiple applications. Two different types of processing logic are configured within the electronic device for the user's exit operations in non-split-screen and split-screen modes, respectively.

[0105] The processing logic in the non-split screen situation includes: exiting the first interface.

[0106] The processing logic for split-screen mode includes: exiting the first interface (all application interfaces contained in the first interface are exited), and setting the first display element associated with the split-screen display to invisible. The first display element is a display element (such as a split-screen line) displayed on the display screen of an electronic device to enhance the display effect when the application interfaces of multiple applications are split-screen. When the user instructs to exit the first interface, these display elements must also be exited.

[0107] In actual application scenarios, user's split-screen operation, exit operation and other human-computer interaction operations are usually performed directly on the user interface. For electronic devices to complete split-screen display or successfully return to the desktop based on these operations, the user interface, command interpretation module (shell) and system module (core) need to cooperate with each other.

[0108] Among them, the user interface is used to display program pages to the user, receive user interactive operations, and send operation requests to the command interpretation module based on the interactive operations; the command interpretation module and the system module can be specifically understood as different processes within the electronic device, among which the command receiving layer is used to receive operation requests, forward the operation requests to the system module for processing, and implement corresponding interface display through the user interface based on the processing results returned by the system module.

[0109] Therefore, for the split-screen operation performed by the user, the command interpretation module and the system module of the electronic device need to go through a series of processes in a time sequence to achieve the final split-screen display. During this process, the command interpretation module will record the split-screen properties of the electronic device (including split-screen visibility) so that when the electronic device subsequently receives the user's exit operation, it can determine whether it is currently in a split-screen state based on the split-screen properties and decide the corresponding processing logic.

[0110] The following combination Figure 8 and Figure 9 To explain this process, Figure 8 A schematic diagram of a scenario in which a user first performs a split-screen operation on an electronic device, and then performs an exit operation on the interface after the electronic device has completed the split-screen display for the split-screen operation. Figure 9 for Figure 8 A schematic diagram of the processing flow of split-screen operation and exit operation of an electronic device in the illustrated scenario.

[0111] See also Figure 9 The process of an electronic device receiving a split-screen operation made by a user and forming a split-screen based on the split-screen operation includes the following steps:

[0112] In the first stage, the user performs a split-screen operation on the user interface, and the user interface passes the user command to the system module based on WCT (WindowContainerTransaction, a set of operations), including: the user interface receives the split-screen operation performed by the user, notifies the split-screen control unit (SplitScreenController) of the command interpretation module of the user's instruction to form a split screen, and the split-screen control unit sends a split-screen start instruction to the state coordination unit (StageCoordinator) of the command interpretation module; after receiving the split-screen start instruction, the state coordination unit starts to prepare the split-screen information, and after preparing the split-screen information, sends a split-screen processing instruction to the split-screen conversion unit (SplitScreenTransitions), notifying the split-screen conversion unit to prepare for the conversion, and the split-screen conversion unit passes the split-screen processing instruction to the system module, instructing the system module to start the conversion.

[0113] Among them, the split-screen control unit, the state coordination unit and the split-screen conversion unit can all be understood as different methods within the shell. The split-screen information prepared by the split-screen conversion unit is specifically various types of information required for the system module to perform subsequent split-screen processing, such as the application ID of the application indicated by the user for split-screen display, the area position required for the application interface of each application on the display screen after splitting the screen, the split-screen ratio and other information. The split-screen conversion unit can carry these split-screen information in the split-screen processing instruction for transmission, so that the system module can perform split-screen processing based on this information.

[0114] In the second step, after receiving the split-screen processing instruction transmitted by the command interpretation module, the system module performs the corresponding split-screen processing and notifies the command interpretation module through onTransitionReady (a system operation) after completing the processing.

[0115] Specifically, after receiving the split-screen processing instruction, the system module will convert the display screen from a single window to multiple windows on the system module surface according to the split-screen information carried in the split-screen processing instruction, set the position and proportion of each window, and the application to be displayed in each window, etc., to realize split-screen processing.

[0116] In the third step, after the command interpretation module receives the onTransitionReady call from the system module, it updates the split-screen properties, makes preparations before playing the animation, and plays the split-screen animation.

[0117] Specifically, upon receiving the onTransitionReady call from the system module, the state coordination unit of the command interpretation module updates the split-screen visibility from invisible to visible. Furthermore, this step also prepares the animation for playback, including calling relevant data packages and updating the visibility of the split-screen lines and other display elements.

[0118] After the electronic device completes the corresponding split-screen display based on the user's split-screen operation, the process of the electronic device returning to the desktop according to the user's exit operation includes the following steps:

[0119] In step 4, the user performs an exit operation on the user interface, and the user interface instructs the transition processing unit (RecentsTransitionHandler) of the command interpretation module to start remote transition.

[0120] In step five, after receiving the instruction from the user interface, the conversion processing unit instructs the mixed processing unit (DefaultMixedHandler) of the command interpretation module to decide the corresponding processing logic according to the current split-screen attributes.

[0121] Specifically, the hybrid processing unit calls the state coordination unit to obtain the split-screen attributes and determines the processing logic corresponding to the split-screen attributes based on a preset decision algorithm. According to the existing processing flow, the correspondence between the split-screen attributes and the processing logic is as follows: when the split-screen visibility is "split-screen invisible", the corresponding processing logic is the processing logic for the non-split-screen state; when the split-screen visibility is "split-screen visible", the corresponding processing logic is the processing logic for the split-screen state.

[0122] After completing the decision, the hybrid processing unit returns the decision result to the conversion processing unit, and the conversion processing unit instructs the system module to start conversion according to the decision result.

[0123] against Figure 9 In the illustrated case, the split-screen visibility obtained by the hybrid processing unit is split-screen visibility, and the decision-making processing logic is specifically the processing logic in the split-screen case. Thus, the conversion processing unit specifically instructs the system module to execute the processing logic in the split-screen case, including: exiting the first interface, and setting the first display element associated with the split-screen display to be invisible. Specifically, for the split-screen case, the system module needs to exit the first interface, and the processing required includes: converting from multiple windows to a single window, and exiting all application interfaces for split-screen display, etc.

[0124] Step six: Execute exit animation.

[0125] The exit animation effect is to execute the animation effect of exiting the first interface corresponding to the exit processing result of the system module after the conversion is ready.

[0126] for Figure 9 In the architecture, the exit animation effect in the non-split screen situation is realized by the conversion processing unit, and the exit animation effect in the split screen situation is realized by the mixing processing unit. Figure 9 In the illustrated case, since the processing logic in the split-screen case is executed, after the conversion is ready, the system module will notify the mixing processing unit to play the animation.

[0127] After playing the animation, the electronic device will Figure 8 As shown, only the desktop is displayed on the display screen. Since the first display element has been set to invisible, the split screen line is not visible thereon.

[0128] However, it is found in practice that if the user actually uses the electronic device, Figure 10 As shown, if the exit operation is performed after the split-screen operation is performed and before the electronic device completes the split-screen display based on the split-screen operation, it is easy to have the problem of returning to the desktop but having the split-screen line retained on it.

[0129] Specifically, this is because there is a temporal overlap between the process of the electronic device forming a split screen based on the split screen operation and the process of the electronic device exiting the interface based on the exit operation. As a result, when the electronic device obtains the split screen visibility in response to the exit operation, the split screen visibility has not been updated, and therefore inappropriate processing logic is decided for the exit operation.

[0130] The following combination Figure 11 To cause Figure 10The reasons for the phenomenon are explained, wherein the process of the electronic device forming a split screen based on the user's split screen operation and the process of the electronic device exiting the interface based on the user's exit operation are both related to Figure 9 Similarly, you can refer to Figure 9 Description. Figure 11 and Figure 9 The difference in the timing process is that the user does not execute the exit operation after the electronic device has completed the split-screen display, but executes the exit operation while the system module of the electronic device is still executing the split-screen processing.

[0131] for Figure 11 In the illustrated example, when the hybrid processing unit calls the state coordination unit to query the split-screen attributes, the system module is still executing the split-screen processing and has not yet notified the command interpretation module to update the split-screen attributes. Therefore, the split-screen visibility recorded by the state coordination unit is still invisible. Based on the obtained split-screen attributes, the hybrid processing unit believes that the electronic device is not split-screen, and therefore determines the processing logic corresponding to the exit operation as the processing logic for the non-split-screen case.

[0132] After the hybrid processing unit determines the processing logic corresponding to the exit operation, the electronic device continues to process the split-screen operation. After the command interpretation module receives the notification that the system module has completed the split-screen processing, the split-screen line is set to be visible. When the command interpretation module subsequently exits the interface based on the processing result of the exit operation by the system module, since the exit logic for the exit operation has been decided as the processing logic for the non-split-screen case, and this processing logic does not affect the visibility of the split-screen line, the split-screen line is still visible after the electronic device has completed the exit from the interface, causing the user interface to display Figure 10 Schematic diagram of the split screen line stuck.

[0133] It can be seen from this that for Figure 11 As shown in the following example, the timing of split screen operation and exit operation is different from that of Figure 9 A change occurred, resulting in the system module not completing the split-screen processing when the command interpretation module queried the split-screen properties, resulting in the command interpretation module not updating the split-screen visibility. The abnormality in the processing timing caused the command interpretation module to query the split-screen visibility as invisible, and based on this, the processing logic corresponding to the exit operation was decided to be the processing logic for the non-split-screen situation. The decision result was inappropriate, which ultimately led to the abnormal retention of the split-screen line after returning to the desktop.

[0134] like Figure 12 As shown, in order to solve the problem of the split screen line on the desktop, the interface display method provided in the embodiment of the present application includes:

[0135] Step S101: In response to the user's exit operation on the first interface, the split-screen visibility and split-screen startup status of the electronic device are obtained; wherein the split-screen startup status indicates whether the split-screen is being started, and the split-screen visibility indicates whether the split-screen display is completed.

[0136] Step S102: When the split-screen visibility is incomplete split-screen display and the split-screen startup state is starting split-screen, exit the first interface and set the first display element associated with the split-screen display to invisible.

[0137] The first interface is the interface currently displayed by the electronic device. The first interface may not be displayed in split screen and only include the application interface of a single application, or may be displayed in split screen and include different application interfaces of multiple applications.

[0138] The embodiments of this application Figure 9 、 Figure 11 The difference between the two scenarios is that the embodiment of the present application expands the split-screen attributes of the electronic device. In addition to the split-screen visibility used to indicate whether the split-screen display is completed, it also includes the split-screen activation state used to indicate whether the split-screen is activated. With the help of the newly added split-screen activation state, the situation where the split screen is invisible is further divided into two scenarios: the split screen is invisible and the split screen is activated, and the split screen is invisible and the split screen is not activated. This ensures that the electronic device can make more appropriate decisions when deciding the processing logic corresponding to the exit operation based on the expanded split-screen attribute, avoiding abnormal retention of the split screen line.

[0139] The following briefly describes the update process of the split-screen attributes.

[0140] When an electronic device displays an application interface in full screen, its initial split-screen visibility is split-screen invisible, and its split-screen startup state is non-started split-screen. When the user performs a split-screen operation on the full-screen displayed interface, the electronic device will respond to the user's split-screen operation, set the split-screen startup state to start split-screen, and start executing the corresponding split-screen processing. During the process of the electronic device executing the split-screen processing, the split-screen visibility is still split-screen invisible (indicating that the split-screen display is not completed). After the split-screen processing is completed, the split-screen visibility is set to split-screen visible (indicating that the split-screen display has been completed), and the split-screen startup state is updated to non-started split-screen.

[0141] In the system architecture of the electronic device using the embodiment of the present application, the split-screen operation is performed by the user on the user interface, and the user interface notifies the command interpretation module of the user instruction to form a split screen when receiving the split-screen operation, and instructs the system module to perform the split-screen processing through the command interpretation module. In the embodiment of the present application, the command interpretation module sets the split-screen startup state to the startup split screen after being notified by the user interface that the user has made the split-screen operation (specifically, the state coordination unit sets the split-screen startup state to the startup split screen when receiving the split-screen startup instruction from the split-screen control unit). After the system side completes the split-screen processing, it notifies the command interpretation layer through onTransitionReady that the split-screen processing has been completed. The command interpretation layer sets the split-screen visibility to visible split screen when receiving the notification, and updates the split-screen startup state to non-start split screen (specifically, the state coordination unit sets the split-screen visibility to visible split screen when receiving the notification returned by the system side that the split-screen processing is completed, and updates the split-screen startup state to non-start split screen).

[0142] In addition, during the split-screen display process of the electronic device, when the user executes an exit split-screen operation on the split-screen display interface, the electronic device can respond to the user's exit split-screen operation and start to execute the corresponding exit split-screen processing, and after completing the exit split-screen processing, set the split-screen visibility to invisible.

[0143] against Figure 9 、 Figure 11 In the case shown in the figure, the electronic device needs to decide whether to execute the processing logic in the split-screen case or the processing logic in the non-split-screen case based on the split-screen visibility. For the embodiment of the present application, after the electronic device responds to the user's exit operation and obtains the split-screen attribute, it needs to comprehensively consider the split-screen visibility and the split-screen startup state to decide the corresponding processing logic. Figure 13 Explain this.

[0144] Specifically, if the obtained split screen visibility is split screen visible, it means that the electronic device has completed the split screen display, and there is no Figure 11 The split-screen processing shown is not completed, resulting in the inability to recognize that the electronic device will perform a split-screen display. Therefore, there is no need to further determine the specific value of the split-screen startup status, and the corresponding processing logic can be directly decided as the processing logic for the split-screen situation.

[0145] If the split-screen visibility obtained is that the split screen is invisible, it is necessary to further combine the split-screen startup state to make a decision on the processing logic. If the split-screen startup state is not "split screen not started", it means that before the exit operation, the user did not instruct the electronic device to form a split screen through the split-screen operation, and the split-screen line will not be visible subsequently. Therefore, the corresponding processing logic is the processing logic for the non-split screen case; if the split-screen startup state is "split screen started", it means that the user has instructed the electronic device to form a split screen before this exit operation, but the electronic device has not completed the split-screen display. In order to avoid the electronic device processing the split screen line as visible in the subsequent split-screen processing process, the corresponding processing logic needs to be decided as the processing logic for the split screen case.

[0146] In the system architecture of the electronic device using the embodiment of the present application, the user's exit operation is performed on the user interface, and the user interface notifies the command interpretation module that the user instructs to exit the interface. In the embodiment of the present application, after the command interpretation module learns that the user has made a cancellation operation based on the user interface, it responds to the exit operation and obtains the split-screen visibility and split-screen startup status of the electronic device. When the split-screen visibility indicates that the split-screen display is not completed, and the split-screen startup state is in the split-screen startup state, the command interpretation module sends a first cancellation instruction to the system module, and instructs the system module to execute the processing logic under the split-screen condition through the first cancellation instruction. After receiving the first cancellation instruction, the system module will execute the exit of the first interface and set the split-screen line to invisible, and then return the execution structure to the command interpretation module, and the command interpretation module will play the animation of exiting the first interface and the split-screen line in the user interface.

[0147] Figure 14 The present invention illustrates a scenario in which, when the interface display method provided by an embodiment of the present application is applied, the user first performs a split-screen operation on the electronic device and then performs an exit operation before the electronic device has completed the split-screen display. Specifically, after detecting that the user pulls out the taskbar and drags the second application out of the taskbar, the electronic device sets the split-screen startup state to "starting split-screen". Therefore, when the user instructs the electronic device to return to the desktop by swiping up before the electronic device completes the split-screen display, the electronic device can identify that the split-screen processing is in progress based on the queried split-screen startup state, and based on this decision, executes the exit of the interface using the processing logic in the split-screen case, setting the split-screen line to invisible, so that the problem of the split-screen line remaining on the desktop will not occur.

[0148] Therefore, by applying the interface display method provided by the embodiment of the present application, in the case where the user has instructed the electronic device to perform split-screen display through a split-screen operation and has executed an exit operation when the electronic device has not yet completed the split-screen display, when the electronic device obtains the split-screen visibility as split-screen invisible and the split-screen startup state as starting split-screen in response to the exit operation, it can be identified based on the split-screen startup state that the electronic device is currently performing split-screen processing, and a decision is made to execute the exit of the first interface using the processing logic in the split-screen case. Thus, even if the electronic device processes the split-screen line to be visible in the subsequent split-screen processing, since the processing logic in the split-screen case includes a process for processing the split-screen line to be invisible, the electronic device can ensure that the split-screen line is ultimately set to invisible when executing the exit of the first interface, ensuring that the user interface can smoothly return to the desktop without the split-screen line remaining thereon.

[0149] The following combination Figure 15 When the interface display method provided by the embodiment of the present application is applied to an electronic device, Figure 11 The timing relationship between the split-screen operation and the exit operation is illustrated, and the electronic device explains the processing flow of the split-screen operation and the exit operation.

[0150] The first is the process of the user instructing the electronic device to form a split screen based on the split-screen operation. Specifically, after receiving the user's split-screen operation, the user interface notifies the split-screen control unit of the user's instruction to form a split screen. The split-screen control unit recognizes that the user has made a split-screen operation based on the notification of the user interface, and in response to the split-screen operation, sends a split-screen start instruction to the state coordination unit. In response to the split-screen start instruction, the state coordination unit sets the split-screen start state to starting the split screen, and generates a split-screen processing instruction. The split-screen processing instruction is forwarded to the system module via the split-screen conversion unit, and the system module performs the corresponding split-screen processing.

[0151] Specifically, Figure 15 The process of the electronic device forming a split screen based on the user's split screen operation is shown in FIG. Figure 9 、 Figure 11 The process of the electronic device forming the split screen shown in is consistent, and the similarities can be referred to the description in the previous article. The main difference is that: the embodiment of the present application expands the split screen attribute of the split screen start state. The state coordination unit will update the split screen start state to starting the split screen when it receives the split screen start instruction issued by the split screen control unit and the system module has not yet performed the split screen processing.

[0152] When a user performs an exit operation on the user interface during the process of forming a split screen on the electronic device, the user interface instructs the conversion processing unit to initiate remote conversion. Based on the instruction in the user interface, the conversion processing unit recognizes that the user has made an exit operation and, in response to the exit operation, instructs the hybrid processing unit to determine the processing logic corresponding to the exit operation.

[0153] After receiving the instruction from the conversion processing unit, the hybrid processing unit calls the state coordination unit to query the split screen attributes (split screen visibility and split screen activation state) of the electronic device, and decides the processing logic corresponding to the exit operation according to the split screen attributes. Specifically, the hybrid processing unit can determine the corresponding relationship between the split screen attributes and the processing logic according to the pre-configured corresponding relationship (reference Figure 9 ), decide the specific processing logic. Figure 15 In the processing flow, when the hybrid processing unit queries the state coordination unit for the split-screen attributes, the system module has not yet returned a notification of the completion of the split-screen processing to the state coordination unit. Therefore, the split-screen attributes queried by the hybrid processing unit are: the split-screen visibility is invisible, and the split-screen startup state is starting the split screen. Based on this, the hybrid processing unit decides that the processing logic corresponding to the exit operation performed by the user is the processing logic in the split-screen case, and returns the decision result to the conversion processing unit.

[0154] The conversion processing unit generates a first cancellation instruction based on the decision result returned by the hybrid processing unit, and sends the first cancellation instruction to the system module to instruct the system module to start the conversion. After receiving the first cancellation instruction, the system module executes the processing logic for the split-screen case, that is, it exits the first interface and sets the first display element to be invisible. After the system module completes the processing, the hybrid processing unit obtains the execution result returned by the system module and plays the animation effect in the user interface based on the execution result.

[0155] In summary, for Figure 15 In the illustrated situation, when the command interpretation module detects the user's exit operation and queries the allocation attributes of the electronic device, although the system module is still performing split-screen processing and has not returned a notification of the completion of the split-screen processing to the command interpretation module, resulting in the command interpretation module not updating the split-screen visibility, but because the command interpretation module has already updated the split-screen startup state to starting the split-screen when detecting the split-screen operation made by the user, the command interpretation module can identify that the electronic device is in the process of forming a split screen based on the split-screen startup state, and based on this decision, the processing logic corresponding to the exit operation is the processing logic in the split-screen case.

[0156] After the command interpretation module determines the processing logic corresponding to the exit operation, the electronic device's processing flow for the split-screen operation continues, and after the system module completes the split-screen processing, the split-screen line will be processed as visible based on the split-screen operation. However, because the command interpretation module has already determined the processing logic corresponding to the exit operation as the processing logic for the split-screen case, and the processing logic includes a process for processing the split-screen line as invisible, after the electronic device completes the exit processing for the first interface, the split-screen line will eventually be in an invisible state, so that the user interface can smoothly return to the desktop without the split-screen line remaining on it.

[0157] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, wherein when the program is executed, the device containing the computer-readable storage medium is controlled to perform some or all of the steps in the above embodiment. The above storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0158] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above method embodiment.

[0159] In a specific implementation, an embodiment of the present application also provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, which are used to call computer instructions so that the electronic device executes some or all of the steps in the above method embodiment.

[0160] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0161] Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0162] Program code can be implemented with high-level programming languages ​​or object-oriented programming languages ​​to communicate with the processing system. Where necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0163] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software or any combination thereof. The disclosed embodiments can also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, instructions can be distributed over a network or by other computer-readable media. Therefore, machine-readable media can include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories (ROM), random access memories (RAM), erasable programmable read-only memories (EPROM), electrically erasable programmable read-only memories (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic or other forms of propagation signals. Accordingly, machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0164] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such a feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.

[0165] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems raised by this application. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems raised by this application. This does not mean that other units / modules do not exist in the above-mentioned device embodiments.

[0166] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.

[0167] Although the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims

1. An interface display method, characterized in that: Applied to electronic equipment, the method includes: In response to a user exit operation on the first interface, obtaining split-screen visibility and split-screen activation status of the electronic device; wherein the split-screen activation status indicates whether the split-screen is being activated, and the split-screen visibility indicates whether the split-screen display is completed; When the split-screen visibility is incomplete split-screen display and the split-screen startup state is starting split-screen, exit the first interface and set the first display element associated with the split-screen display to be invisible.

2. The method according to claim 1, characterized in that The method further comprises: In response to the user's split-screen operation, the split-screen activation state is set to activating the split-screen, and the corresponding split-screen processing is started.

3. The method according to claim 2, characterized in that The electronic device includes a system module and a command interpretation module; The step of responding to the user's split-screen operation, setting the split-screen activation state to the split-screen activation state, and starting to execute corresponding split-screen processing, includes: The command interpretation module responds to the split-screen operation, sets the split-screen startup state to starting the split-screen, and instructs the system module to execute the corresponding split-screen processing; The step of obtaining, in response to a user exit operation on a first interface, split-screen visibility and a split-screen activation state of the electronic device, exiting the first interface when the split-screen visibility indicates incomplete split-screen display and the split-screen activation state indicates starting split-screen, and setting the visibility of a first display element associated with the split-screen display to invisible, includes: The command interpretation module obtains the split-screen visibility and split-screen activation status of the electronic device in response to the exit operation; When the split-screen visibility is incomplete split-screen display and the split-screen activation state is in activating split-screen, the command interpretation module sends a first cancellation instruction to the system module; The system module executes exit from the first interface based on the first cancel instruction and sets the first display element to be invisible; The command interpretation module obtains the execution result returned by the system module, and displays a corresponding exit animation on the user interface according to the execution result.

4. The method according to claim 3, characterized in that The command interpretation module includes a split-screen control unit, a state coordination unit, a split-screen conversion unit, a conversion processing unit and a mixing processing unit; The command interpretation module sets the split screen startup state to starting the split screen in response to the split screen operation, and instructs the system module to perform corresponding split screen processing, including: The split-screen control unit sends a split-screen start instruction to the state coordination unit in response to the split-screen operation; The state coordination unit responds to the split-screen startup instruction, sets the split-screen startup state to starting split-screen, generates a split-screen processing instruction, and forwards the split-screen processing instruction to the system module via the split-screen conversion unit; The system module performs corresponding split-screen processing based on the split-screen processing instruction; The command interpretation module obtains, in response to the exit operation, split-screen visibility and split-screen activation status of the electronic device; when the split-screen visibility indicates incomplete split-screen display and the split-screen activation status indicates starting split-screen, the command interpretation module issues a first cancellation instruction to the system module, including: The conversion processing unit instructs the hybrid processing unit to determine a processing logic corresponding to the exit operation in response to the exit operation; The hybrid processing unit calls the state coordination unit to query the split-screen visibility and split-screen activation state of the electronic device. When the split-screen visibility is split-screen invisible and the split-screen activation state is split-screen activated, the hybrid processing unit determines, based on a preset correspondence between the split-screen visibility, the split-screen activation state, and the processing logic, that the processing logic corresponding to the exit operation is: exiting the first interface and setting the first display element associated with the split-screen display to be invisible; The conversion processing unit generates the first cancellation instruction based on the decision result returned by the hybrid processing unit, and sends the first cancellation instruction to the system module; The command interpretation module obtains the execution result returned by the system module and displays the corresponding exit animation on the user interface according to the execution result, including: The hybrid processing unit obtains the execution result returned by the system module, and displays a corresponding exit animation on the user interface according to the execution result.

5. The method according to claim 2, characterized in that The method further comprises: After the split screen processing is completed, the split screen activation state is set to non-activated split screen.

6. The method according to any one of claims 1 to 4, characterized in that The first display element includes a screen splitting line.

7. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 6.

9. A computer program product, characterized in that The computer program product comprises executable instructions, and when the executable instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 6.

10. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Upper sliding effect exception handling method and electronic equipment

    CN116991274A

  • Display method and related device

    CN117707403A

  • Multi-Task Operation Method and Electronic Device

    US20200183574A1

  • Application window display method and electronic device

    WO2021227770A1