Split-screen display method and related device

By adding a synchronization mechanism to the electronic device, we ensure that the timing of the input method dynamic effect and the rotation screen dynamic effect is correct, and the problem of the interface display disorder after the horizontal split screen display is rotated is solved, and normal display is achieved in the vertical split screen display state.

CN118445008BActive Publication Date: 2025-04-08HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311574794.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2025-04-08
Estimated Expiration
2043-11-22

AI Technical Summary

Technical Problem

In the horizontal split screen display mode, when the input method is located in the right display area, the user rotation operation causes the interface to rotate from horizontal screen to vertical split screen display, and the display may be inconsistent.

Method used

By adding a synchronization mechanism to the electronic device, ensure that the timing of the input method dynamic effect and the rotation screen dynamic effect is correct. The specific method includes playing the input method dynamic effect when the display direction changes are detected, and saving or adjusting the attribute information of the split screen stack according to the position of the input method applied; when the interface switching type is determined to be the rotating screen type, collecting and refreshing the attribute information of the split screen stack to ensure the accuracy of the rotating screen dynamic effect.

Benefits of technology

It effectively avoids the problem of confusing interface display after rotation, and ensures that the split-screen stack, split-screen line and input method are used to display normally in the vertical split-screen display state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118445008B_ABST
    Figure CN118445008B_ABST
Patent Text Reader

Abstract

The present application provides a split-screen display method and related equipment, and relates to the field of terminal technology. The method includes: a display screen displays a first interface, the first interface displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application; when a display direction change is detected, an instruction to play the input method animation; based on the position of the input method application in the split-screen stack, an instruction to save the attribute information of the split-screen stack, or an instruction to adjust and save the attribute information of the adjusted split-screen stack; and when a display direction change is detected, if it is determined that the interface switching type is a rotation screen type, at least the attribute information of the split-screen stack is collected; based on the attribute information of the saved split-screen stack, the collected attribute information of the split-screen stack is refreshed, and the rotation screen animation is instructed to play. The present application adds a synchronization mechanism for the input method animation and the rotation screen animation, thereby ensuring that the split-screen interface is displayed normally and without errors after rotation.
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 a split-screen display method and related equipment. Background Art

[0002] At present, with the continuous development and maturity of terminal technology, in order to meet the needs of users to use multiple applications simultaneously, in the prior art, electronic devices can simultaneously display application interfaces involved in two different applications in a split-screen manner in a horizontal or vertical state. Here, whether in a horizontal or vertical state, when a user operates one of the applications to call an input method application, the electronic device can display the input method application according to corresponding specified rules, such as a top-up method, an overlay method, etc.

[0003] However, in the case of horizontal split-screen display mode and the input method is located in the right display area, if the electronic device rotates from horizontal split-screen display to vertical split-screen display in response to the user's rotation operation, since there are no clear rules to follow for multiple animation effects, display confusion may occur in the interface after the rotation.

[0004] For this rotation scenario, how to avoid display confusion has become an urgent problem to be solved. Summary of the invention

[0005] The present application provides a split-screen display method and related devices thereof, which can ensure that the split-screen interface is displayed normally without errors after rotation by adding a synchronization mechanism to the input method animation and the rotation screen animation.

[0006] In a first aspect, a split-screen display method is provided, which is applied to an electronic device including a display screen, and the method includes:

[0007] The display screen displays a first interface, which displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application; when a change in display direction is detected, an instruction is given to play the input method animation; based on the position of the input method application in the split-screen stack, an instruction is given to save the attribute information of the split-screen stack, or, an instruction is given to adjust and save the attribute information of the adjusted split-screen stack; and when a change in display direction is detected, if it is determined that the interface switching type is a rotating screen type, at least the attribute information of the split-screen stack is collected; based on the saved attribute information of the split-screen stack, the collected attribute information of the split-screen stack is refreshed, and the rotating screen animation is instructed to play.

[0008] In an embodiment of the present application, for the scenario of split-screen display input method application, a synchronization mechanism is added (i.e., the attribute information of the split-screen stack is refreshed based on the attribute information of the saved split-screen stack) to ensure that the attribute information of the split-screen stack is correct, thereby ensuring that the split-screen stack and input method application in the rotated interface can be displayed normally without confusion.

[0009] It should be understood that when the timing of the input method animation and the rotation screen animation is incorrect, the attribute information collected for the split-screen stack may be the attribute information saved multiple times before, rather than the attribute information saved by the latest instruction, so inaccuracies may occur.

[0010] In combination with the first aspect, in certain implementations of the first aspect, when a display direction change is detected, an instruction to play input method animations is provided, including: when a display direction change is detected, issuing an input method state change instruction, and recording the input method state change in a state list; instructing to play input method animations; after instructing to save the attribute information of the split-screen stack, or instructing to adjust and save the adjusted attribute information of the split-screen stack, the method also includes: after the input method state change is completed, deleting the corresponding record from the state list.

[0011] Optionally, the method further includes: creating a status list when a display orientation change is detected for the first time.

[0012] It should be understood that when the display direction change is detected for the first time, a status list needs to be created, and when the display direction change is detected again, it only needs to be recorded in the created status list.

[0013] In this implementation, the notification process of the input method status change is changed to a synchronous process, a status list is constructed and the input method status change is recorded, and after the input method change is completed, the record is deleted from the status list. In this way, the input method status change can be guaranteed to be completed before the interface switching execution process, that is, before the interface switching execution process, the input method display is triggered first, and the interface switching is triggered after the input method display is completed.

[0014] In combination with the first aspect, in certain implementations of the first aspect, after the input method state change is completed, before the corresponding record is deleted from the state list, the method includes: when it is determined that the display mode corresponding to the input method application is the top mode, updating the attribute information of the split-screen stack; after the input method state change is completed, after the corresponding record is deleted from the state list, the method also includes: when it is determined that the state list is empty, triggering a system refresh.

[0015] In this implementation, if the display mode corresponding to the input method application is the top mode, it will affect the properties of the split-screen stack. Therefore, the property information of the split-screen stack needs to be updated.

[0016] In this implementation, it is determined whether the status list is empty. If so, a system refresh is triggered. Thus, by verifying that the status list is empty, it is ensured that the input method status is completed before playing the rotation screen animation, thereby ensuring that the timing of the input method animation and the rotation screen animation is correct.

[0017] In combination with the first aspect, in some implementations of the first aspect, the method further includes: when a display direction change is detected, dispatching a system configuration information table, the system configuration information table including a direction attribute for indicating a display direction change; when it is determined that the application is a foreground application, instructing the foreground application to refresh the drawing; when the refresh drawing of the foreground application is completed, performing a system refresh drawing in combination with at least the collected attribute information of the split-screen stack.

[0018] In this implementation, the system is refreshed and drawn before the rotating screen animation is triggered, and the component properties are refreshed, so as to ensure that the information set for the component during the interface switching playback process is correct.

[0019] In combination with the first aspect, in certain implementations of the first aspect, when the electronic device includes a status list, after performing a system refresh drawing in combination with at least the collected attribute information of the split-screen stack, the method further includes: when it is determined again that the status list is empty, instructing to update at least the attribute information of the split-screen stack.

[0020] In this implementation, by verifying again that the state list is empty, it is ensured that the input method state is completed before playing the rotating screen animation, thereby increasing the robustness of timing correctness.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the two split-screen stacks in the first interface are displayed in a horizontally parallel manner, and the input method application is located in the right split-screen stack; based on the position of the input method application in the split-screen stack, an instruction to save the attribute information of the split-screen stack is indicated, or an instruction to adjust and save the attribute information of the adjusted split-screen stack is indicated, including: based on the input method application being located in the right split-screen stack, an instruction to adjust and save the attribute information of the adjusted split-screen stack.

[0022] The split-screen display method of the present application is applicable to horizontal split-screen, and the input method application is located in the right split-screen stack.

[0023] Optionally, the split screen display method of the present application is also applicable to the case where the vertical split screen is used and the input method application is located in the lower split screen stack. The correctness of the timing of the input method animation and the rotation screen animation can also be improved.

[0024] In combination with the first aspect, in certain implementations of the first aspect, when a display direction change is detected, before instructing to play the input method animation, the method also includes: receiving a rotation operation for the electronic device; in response to the rotation operation, the display direction of the display screen changes.

[0025] It should be understood that the rotation operation is used to instruct the electronic device to be turned to change the physical posture of the electronic device.

[0026] In combination with the first aspect, in some implementations of the first aspect, the rotation operation is used to indicate changing a display direction of the display screen from horizontal to vertical.

[0027] In a second aspect, an electronic device is provided, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute any one of the split-screen display methods in the first aspect.

[0028] It should be understood that the expansion, limitation, explanation and description of the relevant contents in the above-mentioned first aspect also apply to the same contents in the second aspect.

[0029] In a third aspect, a split-screen rotation control device is provided, comprising a unit for executing any one of the split-screen display methods in the first aspect.

[0030] In one possible implementation, when the split-screen rotation control device is an electronic device, the processing unit may be a processor, and the input unit may be a communication interface; the electronic device may also include a memory for storing computer program code, and when the processor executes the computer program code stored in the memory, the electronic device executes any one of the methods in the first aspect.

[0031] In a fourth aspect, a chip system is provided, comprising: a processor for calling and running a computer program from a memory, so that a device equipped with the chip system executes any one of the split-screen display methods in the first aspect or the second aspect.

[0032] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by an electronic device, the electronic device executes any one of the split-screen display methods in the first aspect.

[0033] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by an electronic device, the electronic device executes any one of the split-screen display methods in the first aspect.

[0034] The embodiment of the present application changes the notification process of the input method status change into a synchronous process, builds a status list and records the input method status change, and deletes the record from the status list after the input method change is completed. In this way, the input method status change can be completed before the interface switching execution process, that is, before the interface switching execution process, the input method display is triggered first, and the interface switching is triggered after the input method display is completed.

[0035] In addition, the embodiment of the present application also determines whether the state list is empty again when all switching components are drawn. If it is empty, the rotating screen animation effect is triggered. Therefore, by verifying that the state list is empty again, it is ensured that the input method state is completed before the rotating screen animation effect is played, which increases the robustness of the correct timing. Here, the system refreshes the drawing and refreshes the component properties before triggering the rotation screen animation effect, which can ensure that the information set for the component during the interface switching playback process is correct. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of an interface of an electronic device displaying an input method in a vertical screen state provided by an embodiment of the present application;

[0037] Figure 2 A schematic diagram of an interface of an electronic device displaying an input method in a horizontal screen state provided by an embodiment of the present application;

[0038] Figure 3 A schematic diagram of a split-screen triggering interface provided in an embodiment of the present application;

[0039] Figure 4 A schematic diagram of an interface for displaying an input method application in a vertical split-screen state provided in an embodiment of the present application;

[0040] Figure 5 A schematic diagram of an interface for displaying an input method application in a horizontal split-screen state provided in an embodiment of the present application;

[0041] Figure 6 A schematic diagram of switching between a vertical split-screen state and a horizontal split-screen state provided in an embodiment of the present application;

[0042] Figure 7 A schematic diagram of an interface with disordered display after rotating from a horizontal split-screen state to a vertical split-screen state;

[0043] Figure 8 is a hardware system diagram of an electronic device provided in an embodiment of the present application;

[0044] Fig. 9 is a software system diagram of an electronic device provided in an embodiment of the present application;

[0045] Fig.10 is a schematic diagram of another application framework layer provided in an embodiment of the present application;

[0046] Fig.11 It is a flow chart of a split-screen display method provided in an embodiment of the present application;

[0047] Fig.12It is the display parameter corresponding to the normal situation after rotation provided by the embodiment of the present application;

[0048] Fig.13 is the display parameter corresponding to the disordered case after rotation provided in the embodiment of the present application;

[0049] Fig.14 This is another flow chart of a split-screen display method provided in an embodiment of the present application;

[0050] Fig.15 This is another flow chart of a split-screen display method provided in an embodiment of the present application;

[0051] Fig.16 This is another flow chart of a split-screen display method provided in an embodiment of the present application;

[0052] Fig.17 is an example of an electronic device provided in an embodiment of the present application;

[0053] Fig.18 It is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0055] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0056] First, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0057] 1. Application (APP). APPs in electronic devices can generally be divided into system APPs and third-party APPs. System APPs may be APPs provided or developed by manufacturers of electronic devices. Manufacturers of electronic devices may include manufacturers, suppliers, providers or operators of electronic devices. For example, system APPs in electronic devices may include input methods, calls, messages, contacts, cameras, recordings, and so on. Third-party APPs refer to APPs provided or developed by software application developers other than the manufacturers of electronic devices. For example, Youku, Tik Tok, etc. System APPs and third-party APPs can provide users with corresponding functions by calling one or more system functions in electronic devices. Exemplarily, an input method application can provide users with input method input functions, etc.

[0058] 2. Application interface (UI): UI refers to the media interface for interaction and information exchange between the application or operating system and the user, which can realize the conversion between the internal form of information and the form that the user can receive. The application interface is the source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the electronic device and finally presented as content that the user can recognize. The common form of application interface is the graphical application interface (GUI), which refers to the application interface related to computer operation displayed in a graphical way. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0059] 3. Foreground running, background running and closed, the APP corresponds to three running states: foreground running, background running and closed. Among them, when the APP runs in the foreground of an electronic device, the electronic device can display the application interface of the APP on the display screen, and the user can interact with the APP through the controls in the application interface of the APP. The APP runs in the electronic device, but it does not belong to the above-mentioned situation of running in the foreground, that is, the APP runs in the background of the electronic device. The situation where the APP runs in the background of the electronic device may include the existence of the APP process in the electronic device, but the application interface of the APP is not displayed on the display screen. Since the application interface of the APP running in the background is not displayed on the display screen, the user usually cannot directly interact with the APP running in the background. Closed means that the APP is not running on the electronic device.

[0060] It should be understood that there may be one or more APPs running in the foreground of the electronic device, and there may also be one or more APPs running in the background of the electronic device. Among them, when there are one or more APPs running in the foreground of the electronic device, there may also be one or more APPs running in the background of the electronic device.

[0061] 4. Process: A process is an application's running activity on a certain data set. It is the basic unit for resource allocation and scheduling in an operating system (such as the Android system). Each process occupies a piece of memory space. An application runs on the operating system in the form of one or more processes to achieve corresponding functions.

[0062] The above is a brief introduction to the terms involved in the embodiments of the present application, which will not be repeated below.

[0063] Currently, when users use electronic devices with display functions such as mobile phones, regardless of whether the electronic device is displayed in landscape or portrait mode, when the user calls an input method application, the electronic device can display based on the specified rules of the application, such as top-up mode, overlay mode, etc.

[0064] For example, Figure 1 An electronic device provided in an embodiment of the present application is in a vertical screen state and displays an interface schematic diagram of an input method application in an upward manner.

[0065] If the electronic device currently displays the first application interface, the first application interface is used to indicate an application interface in a chat application that displays a chat area and a text input box in a vertical screen state; Figure 1 As shown in (a) of FIG. 1 , in response to a user's click operation on a text input box, the electronic device calls an input method, and the input method application appears from the lower boundary of the text input box and expands upward. At this time, the chat area is pushed up and moved upward, and part of the chat content near the upper boundary is hidden, as shown in FIG. Figure 1 As shown in (b) in .

[0066] For example, Figure 2 An electronic device provided in an embodiment of the present application is in a landscape mode and displays an interface diagram of an input method in an upward manner.

[0067] If the electronic device currently displays the second application interface, the second application interface is used to indicate an application interface in a certain video application that displays a video playback area and a text input box in a horizontal screen state; Figure 2As shown in (a) of FIG. 1 , in response to a user clicking operation on a text input box, the electronic device calls an input method application, which appears and expands from the lower boundary of the text input box. At this time, the video playback area is pushed up and moves upward, and part of the video playback content near the upper boundary is hidden, as shown in FIG. Figure 2 As shown in (b) in .

[0068] It should be understood that Figure 1 and Figure 2 In the present invention, taking the electronic device as a straight screen as an example, the horizontal screen state is used to indicate that the screen width is greater than the height, and the vertical screen state is used to indicate that the screen width is less than the height.

[0069] On this basis, with the continuous development and maturity of terminal technology, in order to meet the user's demand for using multiple applications simultaneously, in the prior art, the electronic device can display two different applications in a split-screen state at the same time in a horizontal or vertical state, and can adjust the relative window sizes of the two applications (also called a split-screen stack). Here, whether it is a horizontal split-screen state or a vertical split-screen state, when the user operates one of the applications to call the input method application for display, the electronic device can also display the input method according to the corresponding specified rules.

[0070] However, in the horizontal split-screen state, if the input method application is located in the right window (or the focus is on the right), if the electronic device rotates from the horizontal split-screen state to the vertical split-screen state in response to the user's rotation operation, since multiple animations have no clear timing, display confusion may occur in the rotated interface.

[0071] For example, during the rotation process, there is no clear timing for the input method animation and the rotation screen animation, which causes the position and size of the split-screen stack in the interface to be disordered after rotation.

[0072] For example, taking two applications as examples, Figure 3 A schematic diagram of an interface for triggering split screen provided in an embodiment of the present application. Figure 4 A schematic diagram of an interface for displaying an input method application in an upward manner in a vertical split-screen state provided in an embodiment of the present application. Figure 5 A schematic diagram of an interface for displaying an input method application in an upward manner in a horizontal split-screen state is provided in an embodiment of the present application.

[0073] Taking the electronic device as a straight screen as an example, assuming that the two applications are a gallery application and a WeChat application, when the electronic device receives a user's click operation on the icon indicating a video in the gallery APP, the following may be displayed: Figure 3 The interface shown in (a) in FIG. 1 may be referred to as a video playback interface 101. Figure 3As shown in (a), the interface may include a status bar, a playback interface corresponding to the video, a volume adjustment control, etc.

[0074] against Figure 3 In the interface shown in (a) of FIG. 1 , when the electronic device receives a sliding operation from the user along the right edge of the electronic device, the electronic device can temporarily overlay a display icon 102 on the video playback interface 101, such as Figure 3 Then, jump to Figure 3 The interface shown in (c) in FIG. 1 may include a split-screen task bar 103 , and the split-screen task bar 103 may include one or more of the following application icons, such as WeChat, QQ, Weibo, etc.

[0075] For example Figure 3 In the interface shown in (c) of FIG. 1 , in response to the user's click operation on the WeChat icon, the originally displayed video playback interface 101 will switch to the gallery icon 105, and at the same time, the WeChat icon 104 in the split-screen task bar 103 will become larger to prompt the user that the application icon has been selected; then, as shown in FIG. Figure 3 As shown in (d) in FIG. 1 , as the user continues to drag, the WeChat icon 104 can move to an area outside the split-screen task bar 103 on the screen, and the electronic device can display the following information accordingly. Figure 4 The interface shown in (a) is divided into two windows, the gallery icon 105 is displayed in the center of the upper window, and the WeChat icon 104 is displayed in the center of the lower window.

[0076] When the user releases his finger to end the dragging of WeChat icon 104, the electronic device may display the following Figure 4 The interface 106 shown in (b) in FIG. 1 may be based on Figure 4 In the upper and lower window areas divided by (a), the upper window originally displaying the gallery icon 105 corresponds to the first split screen interface 1061 involved in the video playback interface; at the same time, the lower window originally displaying the WeChat icon 104 corresponds to the second split screen interface 1062 involved in the WeChat homepage; it should be understood that the WeChat homepage refers to the user interface that is displayed by default in response to the user clicking the WeChat icon 104. Here, the upper window and the lower window have the same size by default.

[0077] in, Figure 4In the interface 106 shown in (b), a split screen line k is also displayed between the first split screen interface 1061 and the second split screen interface 1062; further, in response to the user's drag operation on the split screen line k, the two windows can change their sizes. For example, in response to the upward drag operation on the split screen line k, the upper window is reduced and the lower window is enlarged, so that the first split screen interface 1061 originally displayed in the upper half is reduced in size, and the second split screen interface 1062 displayed in the lower half is enlarged in size.

[0078] against Figure 4 In the second split screen interface 1062 shown in (b) of FIG. 1 , in response to a user's click operation on a certain chat object, the electronic device can switch the second split screen interface 1062 to a third split screen interface 1063 related to the chat object, such as Figure 4 As shown in (c) in FIG. 1 , the third split screen interface 1063 may include a chat area and a text input box; in response to a user clicking operation on the text input box, as shown in FIG. Figure 4 As shown in (c) in FIG. 1 , the electronic device calls the input method application, which appears from the lower boundary of the text input box and expands upward (e.g., expands in the Y direction). At this time, the chat areas in the first split screen interface 1061 and the third split screen interface 1062 are both moved upward after being pushed to the top, and part of the video playback content near the upper boundary of the first split screen interface 1061 is hidden, as shown in FIG. Figure 4 As shown in (d) in .

[0079] It should be understood that Figure 4 In the vertical split screen state shown, when the input method is displayed, in order to avoid narrowing the displayed information in an overlay manner and affecting the user experience, the electronic device will preset rules to constrain the display of the input method, for example, as described above, constraining the input method to be displayed in a manner of stacking two split screen interfaces. The stacking manner can be understood as a non-overlapping upper and lower display relationship.

[0080] The above describes the interface schematic diagram of the electronic device displaying the input method application in the vertical split screen state. Assuming that the above two applications are still targeted, the following describes the interface schematic diagram of the electronic device displaying the input method application in the horizontal split screen state.

[0081] like Figure 5As shown in (a), in the horizontal split screen state, the electronic device displays the fourth split screen interface 2021 involved in the video playback interface in the left window; and displays the fifth split screen interface 2022 involved in the WeChat homepage in the right window. Among them, the fourth split screen interface 2021 is similar to the first split screen interface 1061, and the fifth split screen interface 2022 is similar to the second split screen interface 1062, which will not be repeated here. Here, the left window and the right window are the same size by default. A split screen line k is also displayed between the fourth split screen interface 2021 and the fifth split screen interface 2022.

[0082] against Figure 5 In the fifth split screen interface 2012 shown in (a), in response to a user's click operation on a certain chat object, the electronic device can display the sixth split screen interface 2013, such as Figure 5 As shown in (b) of FIG. 1 , the sixth split screen interface 2013 is similar to the third split screen interface 1063; in response to the user's click operation on the text input box, the electronic device calls the input method application, and the input method application appears from the bottom edge of the text input box and expands upward (such as expanding in the X direction, the X direction and the Y direction are perpendicular to each other) in a top-up manner; or Figure 5 As shown in (c), the input method application can also switch from the sixth split screen interface 2013 to the seventh split screen interface 2014 for display by covering the right window. Among them, the seventh split screen interface 2014 may include a text input box, a completion button, and an input method application. Two methods of displaying the input method application in the horizontal split screen state are introduced here. In the specific implementation, it is related to the definition of the window, and the display mode of the input method application can be set as needed. In addition, the fourth split screen interface 2021 displayed in the left window remains unchanged.

[0083] Figure 6 A schematic diagram of switching between a vertical split-screen state and a horizontal split-screen state provided in an embodiment of the present application. Figure 6 The interface shown in (a) is similar to Figure 4 The interface of (c) is the same as Figure 6 The interface shown in (b) is similar to Figure 5 The interface is the same as shown in (a).

[0084] Combination Figure 6 As shown, during use, the electronic device can respond to the user's rotation operation, from Figure 6 The vertical split screen state shown in (a) is rotated to Figure 6 The horizontal split-screen state shown in (b) in FIG.

[0085] When rotating from the vertical split screen state to the horizontal split screen state, the input method application displayed in the lower window will be rotated to the right window for display. Because in the horizontal split screen state, the two windows are arranged left and right, and the height along the X direction is the same, the rotation screen animation can be executed first to adjust the two windows of different sizes to windows of the same height, and then the input method animation can be executed to display the input method application in the right window. In this rotation process, the constraints are implemented according to such rules, and the rotated content is displayed normally without confusion.

[0086] However, if during use, the electronic device responds to the user's rotation operation, Figure 6 The horizontal split screen state shown in (b) is rotated to Figure 6 The vertical split screen state shown in (a) in the figure. Since there is no clear timing relationship between the input method animation and the rotation screen animation during the rotation process, there is a possibility that the input method animation is displayed first and then the rotation screen animation is executed. In this way, when the rotation screen animation is executed, the correct input method top position information cannot be obtained, and the interface will be displayed in a disordered manner.

[0087] For example, Figure 7 The following is a schematic diagram of an interface with disordered display after the horizontal split screen state is rotated to the vertical split screen state. Figure 7 As shown, the confusion problem may include the incorrect positions of the two windows, multiple split screen lines, and incorrect positions, etc. The present application does not limit the confusion problem.

[0088] Therefore, for the interface switching scenario in which the input method application is rotated in the right window displayed in the horizontal split-screen state, how to avoid confusion after the interface switching becomes an urgent problem to be solved.

[0089] In view of this, an embodiment of the present application provides a split-screen display method. For the interface switching scenario in which the input method application is displayed in the right window in the horizontal split-screen state and rotates, a synchronization mechanism is added to the input method animation and the interface switching animation (i.e., the rotation screen animation). This ensures that after the interface switching is completed, the split-screen stack, split-screen lines and input method application in the vertical split-screen display state can be displayed normally to avoid confusion.

[0090] In addition, for the interface switching scenario where the input method application is displayed in the right window in the horizontal split-screen state and is unlocked, a similar display confusion problem will occur. By adding a synchronization mechanism to the input method animation and the interface switching animation, normal display can be guaranteed and confusion can be avoided.

[0091] Combine the following Figures 8 to 10 The hardware system and software system provided in the embodiments of the present application are introduced.

[0092] For example, Fig.17 (a) Fig.17 (b) and Fig.17 As shown in (c), when the electronic device provided in the embodiment of the present application is a mobile phone, it can be a folding screen, a straight screen, etc.

[0093] In addition to mobile phones, the electronic devices provided in the embodiments of the present application can also be tablet computers, personal computers (PCs), personal digital assistants (PDAs), smart watches, netbooks, wearable electronic devices, augmented reality (AR) devices, virtual reality (VR) devices, vehicle-mounted devices, smart cars, robots, smart glasses, smart televisions, and other devices that can realize display functions.

[0094] Figure 8 A hardware system of an electronic device suitable for an embodiment of the present application is shown.

[0095] like Figure 8 As shown, the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, etc. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, etc.

[0096] It should be noted that Figure 8 The structure shown does not constitute a specific limitation on the electronic device 300. In other embodiments of the present application, the electronic device 300 may include Figure 8 The electronic device 300 may include more or fewer components than those shown. Figure 8A combination of some of the components shown, or the electronic device 300 may include Figure 8 Subassemblies of some of the components shown. Figure 8 The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0097] The processor 310 may include one or more processing units. For example, the processor 310 may include at least one of the following processing units: an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and a neural-network processing unit (NPU). Different processing units may be independent devices or integrated devices. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0098] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 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 310, and thus improves the efficiency of the system.

[0099] In some embodiments, the processor 310 may include one or more interfaces. For example, the processor 310 may include at least one of the following interfaces: 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 SIM interface, and a USB interface.

[0100] Exemplarily, the processor 310 provided in an embodiment of the present application can execute the following method: instruct the display screen to display a first interface, the first interface displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application; when a display direction change is detected, instruct the playing of an input method animation; instruct the adjustment and saving of attribute information of the adjusted split-screen stack; and when a display direction change is detected, if it is determined that the interface switching type is a rotating screen type, at least collect the attribute information of the split-screen stack; when it is determined that the collected attribute information of the split-screen stack is consistent with the attribute information of the saved split-screen stack, instruct the playing of the rotating screen animation.

[0101] Figure 8 The connection relationship between the modules shown is only a schematic illustration and does not constitute a limitation on the connection relationship between the modules of the electronic device 300. Optionally, the modules of the electronic device 300 may also adopt a combination of multiple connection modes in the above embodiments.

[0102] The wireless communication function of the electronic device 300 can be implemented through components such as the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor, and the baseband processor.

[0103] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the 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.

[0104] The electronic device 300 can realize the display function through the GPU, the display screen 394 and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or change display information.

[0105] Display screen 394 may be used to display images or videos.

[0106] Optionally, the display screen 394 can be used to display images or videos. The display screen 394 includes a display panel. The display panel can use 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 light-emitting diode (Mini LED), a micro light-emitting diode (Micro LED), a micro OLED (Micro OLED) or a quantum dot light emitting diode (QLED). In some embodiments, the electronic device 300 may include 1 or N display screens 394, where N is a positive integer greater than 1.

[0107] The electronic device 300 can realize the shooting function through the ISP, the camera 393, the video codec, the GPU, the display screen 394 and the application processor.

[0108] The ISP is used to process the data fed back by the camera 393. For example, when taking a photo, the shutter is opened, and light is transmitted to the camera photosensitive element through the camera. 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 perform algorithmic optimization on the noise, brightness and color of the image. The ISP can also optimize the exposure and color temperature of the shooting scene and other parameters. In some embodiments, the ISP can be set in the camera 393.

[0109] The camera 393 (also referred to as a lens) is used to capture static images or videos. It can be triggered to start by application instructions to realize the photo function, such as taking images of any scene. The camera may include components such as an imaging lens, a filter, and an image sensor. The light emitted or reflected by the object enters the imaging lens, passes through the filter, and finally converges on the image sensor. The imaging lens is mainly used to converge the light emitted or reflected by all objects in the camera angle (also referred to as the scene to be photographed, the target scene, or the scene image that the user expects to shoot) to form an image; the filter is mainly used to filter out excess light waves in the light (for example, light waves other than visible light, such as infrared); the image sensor may be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The image sensor is mainly used to perform photoelectric conversion on the received light signal, convert it into an electrical signal, and then transmit the electrical signal to the ISP to convert it 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, etc. format.

[0110] Exemplarily, 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 300 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0111] Exemplarily, the video codec is used to compress or decompress digital video. The electronic device 300 may support one or more video codecs. Thus, the electronic device 300 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0112] Exemplarily, the touch sensor 380K is also referred to as a touch control device. The touch sensor 380K may be disposed on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, which is also referred to as a touch control screen. The touch sensor 380K is used to detect a touch operation acting on or near it. The touch sensor 380K may pass the detected touch operation to the application processor to determine the type of touch event. A visual output related to the touch operation may be provided through the display screen 394. In other embodiments, the touch sensor 380K may also be disposed on the surface of the electronic device 300, and may be disposed at a different position from the display screen 394.

[0113] The hardware system of the electronic device 300 is described in detail above. An operating system is run on the above hardware. The operating system of the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system or Windows operating system, etc. Applications can be installed and run on the operating system.

[0114] Fig. 9 It is a software system diagram of an electronic device provided in an embodiment of the present application. Fig.10 A schematic diagram of another application framework layer provided for an embodiment of the present application.

[0115] Taking the Android system as an example, 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, the Android system is divided into four layers, from top to bottom, namely, the application layer (applications), the application framework layer (application framework), the Android runtime (Android Runtime) and the system library, and the kernel layer (kernel).

[0116] The application layer may include a series of application packages. For example, the application layer may include a system user interface (UI) management application, a desktop launcher, a gallery APP, etc., and the present application embodiment does not impose any restrictions on this.

[0117] These apps are generally written in Java, and each app includes one or more class files. Each app can run its own class file in the application as a process. When a user operates in the app, the app can interact with the system library or kernel layer by calling the relevant API or service in the application framework to achieve the corresponding kinetic energy.

[0118] Among them, the launcher included in the application layer is used to start the application activity.

[0119] Exemplarily, in response to a user clicking an icon corresponding to a camera application, the launcher sends a request to start the application activity to an activity manager service (AMS).

[0120] The gallery APP is used to provide users with picture display and video playback functions.

[0121] Exemplarily, in response to the user clicking on the video play operation, the gallery APP calls the codec to decode the video, and sends a request to start the video playback activity to the activity manager.

[0122] 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.

[0123] like Fig. 9 and Fig.10 As shown, the application framework layer may include content providers, a view system, activity management services, a window management service, an animation management service, and the like.

[0124] The content provider is 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.

[0125] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, the display interface of a text notification icon can include a view for displaying text and a view for displaying images, the display interface of an application, etc.

[0126] The activity management service is used to manage the life cycle of each application and the navigation fallback function. It is responsible for creating the Android main thread and maintaining the life cycle of each application.

[0127] The window management service is used to manage window programs. The window management service can obtain the display screen size, determine whether there is a locked screen, capture the screen, etc. The window management service may include a rotation screen management module, an input method display status module, and an interface switching dynamic effect playback module; wherein the rotation screen management module may be used to determine direction changes and obtain direction attributes; the input method display status module may be used to obtain data related to the input method application display, such as the position and size of the current split screen stack, the position of the split screen line, and the display mode of the input method application (such as top mode, overlay mode, floating window mode, etc.); the interface switching dynamic effect playback module may be used to implement the processing of interface switching related data, for example, initializing the interface switching type (such as defining the interface switching caused by the direction change caused by rotation as a rotation screen type), and collecting the attribute information of the switching component, wherein the switching component includes the split screen stack.

[0128] The animation management service mainly provides the system animation capability, which is used to complete the processing related to animation display and switching. The animation management service can include an input method animation linkage management module, a split screen management module, and an interface switching animation playback module. Among them, the input method animation linkage management module can be used to play input method animations; the split screen management module can adjust the position of the split screen stack and split screen line, etc.; the interface switching animation playback module can be used to play the rotation screen animation.

[0129] Optionally, the above multiple modules can be Fig.10 The architecture shown in Figure 1 is implemented in Fig.10 As shown, the system switching framework (Shell transition) can be divided into two parts: Core and Shell. The Core can include the rotation screen management module, input method display status module and interface switching management module described above, and the Shell can include the input method dynamic effect linkage management module, split screen management module and interface switching dynamic effect playback module. The Core and Shell are processed asynchronously. The Shell is equivalent to incorporating the dynamic effects involved in all state changes into a set of dynamic effect systems. The Shell executes the dynamic effects corresponding to the corresponding state. After the execution is completed, the Core side deletes the state.

[0130] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0131] 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.

[0132] The application layer and the application framework layer run in a 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.

[0133] System libraries may also be called native libraries, such as Native C / C++ Libraries, which include multiple functional modules.

[0134] For example, Fig. 9 As shown, the native library includes a Web component library (Web lit), a C function library (Libc), an open multimedia interface (OpenMAX AL) function, a graphics programming interface (such as OpenGL ES) function, a media framework (MediaFramework) function, and the like.

[0135] The kernel layer (not shown in the figure) is a layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0136] In the embodiment of the present application, the implementation of the display method of the application interface mainly involves the application layer and the application framework layer in the overall framework, and mainly involves the aforementioned window management service and animation management service, etc. The implementation process will be described later and will not be elaborated here.

[0137] Of course, the system architecture of the mobile phone provided in the embodiment of the present application may also be other system architectures such as the Magic OS system architecture, which can be selected and set as needed.

[0138] The following takes the electronic device as a mobile phone as an example, and the operating system as the above-mentioned Android system as an example. Fig.10 , briefly explaining the display process of the electronic device.

[0139] Fig.11 A split-screen display method provided in an embodiment of the present application is shown. The split-screen display method 400 can be applied to a processor 310 or an electronic device 300 including a system switching framework.

[0140] like Fig.11 As shown, the split-screen display method may include the following S401 to S415, and steps S401 to S415 are described in detail below.

[0141] S401, the display screen displays the first interface.

[0142] Optionally, the display screen can display the first interface in horizontal, vertical, horizontal split-screen state or vertical split-screen state, and the first interface includes an input method application.

[0143] Exemplarily, the display screen can display the first interface in a horizontal split-screen state.

[0144] It should be understood that when displayed in a horizontal split-screen state, the first interface includes two windows distributed on the left and right, and a split-screen line between the two windows. The first application can be displayed in the left window, and the second application can be displayed in the right window. At the same time, an input method application can also be displayed in a top-down manner in the right window.

[0145] Optionally, the input method animation playing process may include the following steps S402 to S406:

[0146] S402: In response to a user's rotation operation on the electronic device, the rotation screen management module sends a first instruction to the input method display state module; the first instruction is used to instruct a display direction change.

[0147] It should be understood that the rotation operation is used to indicate turning the electronic device to change the physical posture of the electronic device. For example, the rotation operation may indicate rotating the electronic device 90 degrees from a horizontal screen to a vertical screen, or vice versa, with the axis of the electronic device perpendicular to the center of the screen as the rotation axis.

[0148] Optionally, the electronic device can use a gravity sensor or other types of sensors to detect whether the electronic device is currently in a landscape or portrait state, and detect in real time whether the display direction has changed; and when a change in the display direction is detected, the change is reported to the rotation screen management module, and then the rotation screen management module can send a first instruction to the input method display status module to indicate that the display direction has changed.

[0149] S403: After receiving the first instruction, the input method display status module sends a second instruction to the input method dynamic effect linkage management module; the second instruction is used to indicate a change in the input method status.

[0150] The input method status refers to the display status of the input method application in the split-screen stack.

[0151] The second instruction may also include a display mode of the input method application, such as a top mode, an overlay mode, etc. The display mode of the input method dynamic effect may be preset, or may be selected based on the corresponding relationship between the first interface and the first instruction.

[0152] S404: After receiving the second instruction, the input method dynamic effect linkage management module plays the input method dynamic effect.

[0153] S405. The input method animation linkage management module sends a third instruction to the split-screen management module; the third instruction is used to instruct to adjust the attribute information of the split-screen stack and the split-screen line.

[0154] Exemplarily, the third instruction is used to instruct adjustment of the position and size of the split-screen stack, and adjustment of the position of the split-screen line.

[0155] S406. After receiving the third instruction, the split-screen management module determines whether the display mode corresponding to the input method application is the top mode during the input method animation playback process. If so, execute S407.

[0156] If the answer is no, that is, the display mode corresponding to the input method application is not the top mode, such as the overlay mode or the floating window mode, the split screen management module can instruct the input method application to display the layers related to the input method application itself in the corresponding mode. In addition, the split screen management module does not need to update the attribute information of the split screen stack.

[0157] It should be understood that the first instruction may be issued multiple times based on the change in display direction, so the input method animation playback process indicated by S402 to S406 above may be executed multiple times.

[0158] S407: The split-screen management module instructs the interface switching animation playing module to update the attribute information of the split-screen stack.

[0159] After determining that the input method is in the top-up mode, the split-screen management module can determine the attribute information of the new split-screen stack. The split-screen management module can store the attribute information of the newly determined split-screen stack and notify the interface switching animation playback module to update it. In addition, the split-screen management module can also update the attribute information of the split-screen line. The attribute information of the split-screen line is stored in the split-screen management module or can be called by the split-screen management module.

[0160] It should be understood that when the display mode corresponding to the input method application is the top mode, since the input method application displayed in the top mode will affect the position and size of the corresponding split-screen stack, therefore, after the input method application is displayed in the top mode, the attribute information of the split-screen stack and the split-screen line needs to be updated; and when the display mode corresponding to the input method application is not the top mode, it will not affect the layout of the split-screen stack and the split-screen line. Therefore, there is no need to update the attribute information of the split-screen stack and the split-screen line.

[0161] Optionally, the rotating screen animation playing process may include the following steps S408 to S415:

[0162] S408. In response to the same rotation operation, the rotating screen management module sends a fourth instruction to the interface switching animation playing module; the fourth instruction is used to instruct the interface switching management module to update the system configuration information table.

[0163] It should be understood that the rotation operation indicates the user's rotation operation on the electronic device as described in S402 above.

[0164] The system configuration information table is the global optimization information under the Google mechanism, which may include attribute information such as resolution, language, theme, interface size, time zone, direction, etc. Among them, the direction attribute is the changed display direction.

[0165] The system configuration information table may be stored in the interface switching animation playing module, or may be stored in other modules or other devices, and may be called by the interface switching animation playing module when in use.

[0166] S409: The interface switching animation playing module distributes a system configuration information table to each application.

[0167] It should be understood that, since the dispatch system configuration information table includes a direction attribute, each application can be notified that the current display direction has changed.

[0168] S410, after the system configuration information table is distributed, determine whether the application is a foreground application; if the application is a foreground application, trigger the foreground application drawing refresh, and execute S412 after the drawing is completed. If the application is a background application, no drawing refresh is required.

[0169] It should be understood that the interface switching animation playback module can distribute system configuration information tables to multiple application processes. At this time, since some of the multiple application processes are in the foreground and some are in the background, and the background applications do not involve interface switching during rotation, the applications should be screened after the configuration information table is distributed, and only the drawing refresh should be triggered for the foreground application to reduce the amount of data processed and improve processing efficiency.

[0170] S411. The interface switching animation playing module initializes the interface switching type and collects the properties of each switching component.

[0171] Exemplarily, in combination with the fourth instruction, when the display direction changes, the interface switching animation playing module defines the current interface switching type as a rotating screen type. In addition, the interface switching type may also include a split screen type, an unlocking type, and the like.

[0172] It should be noted that the switching component may include components of the foreground and background applications, and the switching component also includes a split screen stack. The switching component is a part of the software, a component of the software, and is attached to a container.

[0173] It should be understood that the above steps S409 and S411 may be performed simultaneously, or step S409 may be performed first and then step S411.

[0174] S412. The application sends a fifth instruction to the interface switching animation playing module; the fifth instruction is used to indicate that the foreground application component is drawn.

[0175] S413, the interface switches to the dynamic effect playback module to refresh the system.

[0176] S414: When all components are drawn, the input method animation linkage management module builds a component attribute set based on the attributes of all components, and instructs the interface switching playback module to play the rotating screen animation.

[0177] It should be understood that the attribute set constructed based on the attributes of the component can be called a component attribute list. The component attribute list can be stored in the interface switching animation playback module, or can be stored in other modules or devices of the electronic device, which is not limited in the embodiments of the present application.

[0178] S415. Before and after the interface switching playback module plays the rotating screen animation, the positions and sizes of the two split screen stacks are set; and the animation playback starts to rebuild the split screen line and set the split screen line position.

[0179] In the above S401 to S415, since the input method state change involved in S403 is triggered multiple times, and there are multiple asynchronous operations in the input method state change and input method animation playback processes, the last logical running timing of "updating the attribute information of the split-screen stack" runs behind the "initializing the interface switching type and collecting the attribute set of each component", resulting in abnormal position and size of the split-screen stack used during the rotating screen animation playback, as well as the input method top information contained therein, resulting in display confusion.

[0180] Exemplarily, after the input method state change is triggered for the nth time, the execution timing of step S407 "update the attribute information of the split-screen stack" is run after the nth update of the system configuration information table, and the execution timing of step S411 "initialize the interface switching type, and collect the attribute information of each component" is run, which results in that when the subsequent rotating screen animation is played, the information such as the position and size of the split-screen stack used may be the information updated after the input method state change is triggered for the n-1th time, rather than the information updated after the input method state change is triggered for the nth time, which results in display confusion when the rotating screen animation is played.

[0181] For example, Fig.12 and Fig.13 They are the display parameters corresponding to the normal or disordered conditions after rotation.

[0182] like Fig.12 As shown, assuming that under normal circumstances, the resolution of the electronic device in portrait mode is 1080×2560, then, taking the upper left corner as the origin, the upper split-screen display area corresponding to the first application (such as the name of global collection, collect center) is (0,99,1080,563), the lower split-screen display area corresponding to the second application (such as the name of file management, file manager) is (0,575,1080,1800), and the display area corresponding to the input method application (input method) is (0,99,1080,2560). At this time, 2560-1800=760, and the normal top height of the input method application is 760, that is, in this case the input method application can be displayed normally in a top-up manner.

[0183] However, if Fig.13As shown in the figure, when the timing of the input method animation and the rotation screen animation is disordered, the display may be disordered on the electronic device with the same resolution of 1080×2560. For example, the upper split screen display area corresponding to the first application is (0,0,1080,844), the lower split screen display area corresponding to the second application is (0,856,1080,2081), and the display area corresponding to the input method application is (0,99,1080,2560). At this time, 2560-2081=479, 479 is less than 760, that is, the input method application cannot be displayed normally in the top-up mode, and disorder occurs.

[0184] In addition, if Fig.12 As shown, the split screen line (such as the name is split divider) is between the upper split screen display area and the lower split screen display area under normal circumstances, and partially overlaps with the upper split screen display area and the lower split screen display area respectively. For example, the corresponding display area is (0,496,1080,642). Here, 496 is 67 less than 563, and 642 is 67 greater than 575, indicating that the split screen line is normal after rotation.

[0185] However, if Fig.13 As shown, the display area corresponding to the split-screen line here is (0, 1256, 1080, 1402), and 1256 is greater than 844, which means that the split-screen line does not overlap with the upper split-screen area at all, and is only distributed in the lower split-screen display area. That is, the split-screen line cannot be displayed normally between the upper split-screen area and the lower split-screen area at this time, and confusion occurs.

[0186] Based on the above example, it can be seen that when rotating from the horizontal split-screen state to the vertical split-screen state, when the input method animation and the rotation screen animation are out of sequence, the split-screen stack and split-screen line positions will be disordered in the vertical split-screen interface presented after rotation, and the input method application display will be disordered.

[0187] To this end, an embodiment of the present application provides a split-screen display method. For the scenario where the horizontal split-screen state is rotated to the vertical split-screen state, a synchronization mechanism is added to ensure that the timing of the input method animation and the rotation screen animation is correct. This can ensure that after the interface switching is completed, the split-screen stack, split-screen lines and input method application in the vertical split-screen display state can be displayed normally without confusion.

[0188] Combine the following Figure 14 to Figure 15 , a detailed introduction is given to the rotating scene and the split-screen display method under the rotating scene.

[0189] Combination Figure 6 The rotating scene shown in Fig.14Another split-screen display method is shown, and the split-screen display method 500 can be applied to a processor 310 or an electronic device 300 including a system switching framework.

[0190] like Fig.14 As shown, the method 500 may include the following S501 to S510.

[0191] Optionally, in addition to S501 to S510, the method may further include S408 to S415, or may further include S511 to S520. The steps S501 to S520 are described in detail below.

[0192] S501, the display screen displays the first interface.

[0193] S502: In response to a user's rotation operation on the electronic device, the rotation screen management module sends a first instruction to the input method display state module; the first instruction is used to instruct a display direction change.

[0194] For the introduction of S501 to S502, reference may be made to the introduction of S401 to S402, which will not be repeated here.

[0195] S503: After receiving the first instruction, the input method display state module records the input method display state change in the state list.

[0196] The state list is a set of input method state changes added in the embodiment of the present application. The state list is used to store the relevant information corresponding to the input method state change. Each time the display direction changes, the current input method display state change is recorded. For example, the recorded content can be the order (such as the first time, the second time, etc.) and time of the input method state change, which is not limited in the present application.

[0197] It should be understood that if the input method display state changes multiple times, the input method display state module can create a state list when the input method display state changes for the first time, and record the first input method state change in the created state list; then, in the process of subsequent display direction changes, the input method display state module only calls the state list each time and records the relevant information corresponding to the current input method display state change in the state list.

[0198] S504. The input method display status module sends a second instruction to the input method dynamic effect linkage management module; the second instruction is used to indicate a change in the input method status.

[0199] For the introduction of the second instruction, please refer to the introduction in S403 above, which will not be repeated here.

[0200] It should be understood that the above-mentioned step S503 and step S504 can be executed simultaneously, or step S503 can be executed first and then step S504; or step S504 can be executed first and then step S503, which is not limited to this embodiment of the present application.

[0201] S505: After receiving the second instruction, the input method dynamic effect linkage management module plays the input method dynamic effect.

[0202] S506. The input method animation linkage management module sends a third instruction to the split-screen management module; the third instruction is used to instruct to adjust the attribute information of the split-screen stack and the split-screen line.

[0203] For the introduction of the third instruction, please refer to the introduction in S405 above, which will not be repeated here.

[0204] It should be understood that the first instruction may be issued multiple times based on the change in display direction, so the input method animation playback process indicated by S502 to S506 above may be executed multiple times.

[0205] S507. After receiving the third instruction, the split-screen management module determines whether the display mode corresponding to the input method application is the top-up mode during the input method animation playback process. If not, execute S508; if yes, execute S509 to S510.

[0206] S508. The split-screen management module sends a sixth instruction to the input method display status module. The sixth instruction is used to instruct the input method display status module to delete the record corresponding to the input method status change in the status list after the input method status change is completed.

[0207] Similar to S406, if the answer is no, that is, when the display mode corresponding to the input method application is not the top mode, such as the overlay mode or the floating window mode, the split screen management module can instruct the input method application to display the layers related to the input method application itself in the corresponding mode. After the input method is changed in the corresponding mode, the input method display state module deletes the record of the input method state change in the state list.

[0208] S509: The split-screen management module notifies the interface switching animation playing module to update the attribute information of the split-screen stack.

[0209] In addition, the split-screen management module can also update the attribute information of the split-screen line. The attribute information of the split-screen line is stored in the split-screen management module or can be called by the split-screen management module.

[0210] S510. After the interface switching animation playing module updates the attribute information of the split-screen stack, the interface switching animation playing module sends a sixth instruction to the input method display status module, instructing the input method display status module to delete the record corresponding to the input method status change in the status list.

[0211] It should be understood that when the input method display mode is the top mode, the attribute information of the split-screen stack needs to be updated; when the attribute information of the split-screen stack is updated, it is equivalent to the input method status change being completed. Therefore, after the update, the interface switching animation playback module will send the sixth instruction to the input method display status module, instructing to delete the record.

[0212] Here, if the status list is empty after deleting the record, a system refresh is triggered.

[0213] It should be noted that each time in response to a rotation operation, a new input method status change record will be added to the status list; and each time the input method status change is completed, an input method status change record will be deleted from the status list; therefore, if a new record is added and a record is deleted, then under the normal processing order, the current record will definitely be empty after the status list is deleted, and it will trigger the next interface switch if it is empty.

[0214] If the status list is not empty after deleting the record, that is, the status list also includes other records, then the system refresh cannot be triggered at this time, and you can continue to wait for the input method display status module and the input method dynamic effect linkage management module to execute the above steps S504 to S509 according to the record; each time it is executed, the corresponding record is deleted. If there are multiple records in the status list, you can continue to wait until S504 to S509 are executed multiple times and the records in the status list are empty, and then trigger the next system refresh. This is equivalent to limiting the triggering of interface switching based on the condition that the status list is empty, which can be used to ensure that the input method status change is completed before the interface switches.

[0215] S511. In response to the same rotation operation, the rotating screen management module sends a fourth instruction to the interface switching animation playing module; the fourth instruction is used to instruct the interface switching management module to update the system configuration information table.

[0216] It should be understood that the rotation operation indicates the user's rotation operation on the electronic device as described in S502 above.

[0217] For the introduction of the system configuration information table, please refer to the description in S408 above, which will not be repeated here.

[0218] S512: The interface switching animation playing module distributes a configuration information table to each application process.

[0219] S513, after the system configuration information table is distributed, determine whether the application is a foreground application; if the application is a foreground application, trigger the foreground application to refresh and draw, and execute S515 after the drawing is completed; if the application is a background application, no drawing refresh is required.

[0220] S514: The interface switching animation playing module initializes the interface switching type and collects the properties of each switching component.

[0221] For the introduction of interface switching types and switching components, please refer to the introduction in S411 above, which will not be repeated here.

[0222] It should be understood that the above steps S512 and S514 can be executed simultaneously, or step S512 can be executed first and then step S514.

[0223] S515. The application sends a fifth instruction to the interface switching animation playing module; the fifth instruction is used to indicate that the foreground application component is drawn.

[0224] S516, the interface switches to the dynamic effect playback module to refresh the system.

[0225] System refresh is used to instruct to refresh the foreground application components based on the collected component attribute information and the completed drawing.

[0226] S517: When all switching components are drawn, determine again whether the state list is empty.

[0227] It should be noted that here, if the status list is not empty, it means that the display direction may have changed multiple times at this time, and the status list records the records corresponding to the new input method status changes, and the input method status has not been completed. In this regard, the input method dynamic effect linkage management module should wait for the new input method status change to be completed, and when a new system refresh is triggered, it will determine again whether the status list is empty. By looping until the list is empty, the subsequent S518 to S520 are executed.

[0228] S518: When it is determined that the state list is empty, the input method dynamic effect linkage management module constructs a component attribute set based on the attributes of all components, and updates all component attributes.

[0229] S519, the input method animation linkage management module instructs the interface to switch the playback module to play the rotation screen animation.

[0230] S520, the interface switching playback module sets two split screen stack positions and display areas before and after playing the rotating screen animation; and the animation playback starts to rebuild the split screen line and set the split screen line position.

[0231] The embodiment of the present application changes the notification process of the input method status change into a synchronous process, builds a status list and records the input method status change, and deletes the record from the status list after the input method change is completed. In this way, the input method status change can be guaranteed to be completed before the interface switching execution process, that is, before the interface switching execution process, the input method display is triggered first, and the interface switching is triggered after the input method display is completed.

[0232] In addition, the embodiment of the present application also determines whether the state list is empty again when all switching components are drawn. If it is empty, the rotating screen animation effect is triggered. Therefore, by verifying that the state list is empty again, it is ensured that the input method state is completed before the rotating screen animation effect is played, which increases the robustness of the correct timing. Here, the system refreshes the drawing and refreshes the component properties before triggering the rotation screen animation effect, which can ensure that the information set for the component during the interface switching playback process is correct.

[0233] Combination Figure 6 The rotating scene shown in Fig.15 Another split-screen display method is shown, which can be applied to a processor 310 or an electronic device 300 including a system switching framework.

[0234] like Fig.15 As shown, the method 600 may include S601 to S614, and steps S601 to S614 are the same as the above-mentioned S401 to S414. For a detailed description, please refer to the aforementioned content and will not be repeated here.

[0235] Optionally, in addition to S601 to S614, the method may further include S615 to S616.

[0236] Optionally, the method 600 may include S501 to S516, and then further include S614 to S617.

[0237] Optionally, the method may include S501 to S519, and then further include S615 to S617. The above are only three examples, and the specific execution steps can be set as needed, and this application does not limit this.

[0238] Steps S615 to S617 are described in detail below.

[0239] S615. When the input method animation linkage management module instructs the interface switching playback module to play the rotation screen animation, the interface switching playback module may send a seventh instruction to the split screen management module; the seventh instruction is used to indicate a split component attribute set.

[0240] S616. The split-screen management module splits the component attribute set, and refreshes the collected attribute information of the split-screen stack based on the attribute information of the split-screen stack stored in S606.

[0241] It should be understood that in the above S606, when the split-screen management module receives the third instruction, after determining whether the input method state is in the top mode, it has determined and stored the attribute information of the split-screen stack, and the information is relatively accurate. Therefore, after receiving the seventh instruction, the split-screen stack attribute information collected in the component attribute set can be split out, and the previously stored split-screen stack information can be used as the basis to refresh the collected split-screen stack attribute information. Because when the timing of the aforementioned steps is abnormal, the collected attribute information of the split-screen stack may include dirty data, that is, erroneous data. Therefore, it is necessary to verify and refresh based on the previously stored attribute information of the split-screen stack.

[0242] In addition, the split-screen management module can also update the attribute information of the split-screen lines stored in itself.

[0243] S617. The interface switching playback module plays the rotating screen animation based on the attribute information of the split screen stack provided by the split screen management module and other attribute information in the component attribute combination.

[0244] In the embodiment of the present application, during the process of playing the rotating screen animation, the component attribute set is split, and the split-screen stack related attributes are refreshed based on the split-screen stack attribute information stored in the split-screen management module, so that the rotating screen animation can be reset based on the stored split-screen stack attributes; and the attribute information of other components except the split-screen stack attributes can still be passed to the interface switching animation playback module to realize the rotating screen animation. Here, since the data stored in the split-screen management module is more accurate, a comparison is performed before playing the rotating screen animation to ensure that the split-screen stack is displayed accurately.

[0245] In addition, by combining the two synchronization methods, the accuracy of component information can be further ensured, thereby ensuring the accuracy of the dynamic effect display.

[0246] Fig.16 Another split-screen display method provided by an embodiment of the present application is shown. The split-screen display method 700 can be applied to a processor 310 or an electronic device 300 including a system switching framework.

[0247] like Fig.16 As shown, the split-screen display method may include the following S701 to S705, and steps S701 to S705 are described in detail below.

[0248] S701. The display screen displays a first interface, where the first interface displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application.

[0249] S702: When a change in the display direction is detected, instruct to play input method animation.

[0250] S703: Based on the position of the input method application in the split-screen stack, instruct to save the attributes of the split-screen stack, or instruct to adjust and save the attribute information of the adjusted split-screen stack;

[0251] S704: When a display direction change is detected, if it is determined that the interface switching type is a rotation screen type, at least attribute information of the split screen stack is collected.

[0252] S705: Refresh the attribute information of the split-screen stack received by the mobile phone based on the attribute information of the saved split-screen stack, and instruct to play the rotating screen animation effect.

[0253] This application adds a synchronization mechanism for the input method animation and the rotation screen animation, thereby ensuring that the split-screen interface displays normally without errors after rotation.

[0254] Optionally, in one implementation, when a display direction change is detected, an instruction to play input method animations is provided, including: when a display direction change is detected, issuing an input method state change instruction, and recording the input method state change in a state list; instructing to play input method animations; after instructing to save the attribute information of the split-screen stack, or instructing to adjust and save the adjusted attribute information of the split-screen stack, the method also includes: after the input method state change is completed, deleting the corresponding record from the state list.

[0255] Optionally, in one implementation, after the input method state change is completed and before the corresponding record is deleted from the state list, the method includes: when it is determined that the display mode corresponding to the input method application is the top mode, updating the attribute information of the split-screen stack; after the input method state change is completed and after the corresponding record is deleted from the state list, the method also includes: when it is determined that the state list is empty, triggering a system refresh.

[0256] Optionally, in one implementation, the method further includes: when a display direction change is detected, dispatching a system configuration information table, the system configuration information table including a direction attribute for indicating a display direction change; when it is determined that the application is a foreground application, instructing the foreground application to refresh the drawing; when the foreground application refreshes the drawing, performing a system refresh drawing in combination with at least the collected attribute information of the split-screen stack.

[0257] Optionally, in one implementation, when the electronic device includes a status list, after performing a system refresh drawing in combination with at least the collected attribute information of the split-screen stack, the method further includes: when it is determined again that the status list is empty, instructing to update at least the attribute information of the split-screen stack.

[0258] Optionally, in one implementation, the two split-screen stacks in the first interface are displayed in a horizontally parallel manner, and the input method application is located in the split-screen stack on the right; based on the position of the input method application in the split-screen stack, an instruction to save the attribute information of the split-screen stack is indicated, or an instruction to adjust and save the attribute information of the adjusted split-screen stack is indicated, including: based on the input method application being located in the split-screen stack on the right, an instruction to adjust and save the attribute information of the adjusted split-screen stack.

[0259] Optionally, in one implementation, before instructing to play the input method animation when a display direction change is detected, the method further includes: receiving a rotation operation on the electronic device; and in response to the rotation operation, changing the display direction of the display screen.

[0260] Optionally, in an implementation manner, the rotation operation is used to indicate changing the display direction of the display screen from horizontal to vertical.

[0261] Combination of the above Figures 1 to 17 , describes the split-screen display method, software system, and hardware system provided by this application. Fig.18 , describing the chip system of the electronic device to which the present application is applicable. It should be understood that the chip system in the embodiment of the present application can execute the various methods of the aforementioned embodiment of the present application, that is, the specific working process of the following various products can refer to the corresponding process in the aforementioned method embodiment.

[0262] Fig.18 A structural schematic diagram of an electronic device provided by the present application is shown. Fig.18 The dotted line in the figure indicates that the unit or the module is optional, and the electronic device 800 can be used to implement the split-screen display method described in the above method embodiment.

[0263] The electronic device 800 includes one or more processors 801, which can support the electronic device 800 to implement the method in the method embodiment. The processor 801 can be a general-purpose processor or a special-purpose processor. For example, the processor 801 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0264] The processor 801 can be used to control the electronic device 800, execute the software program, and process the data of the software program. The electronic device 800 can also include a communication unit 805 to implement the input (reception) and output (transmission) of signals.

[0265] For example, the electronic device 800 may be a chip, the communication unit 805 may be an input and / or output circuit of the chip, or the communication unit 805 may be a communication interface of the chip, and the chip may be a component of the electronic device or other electronic devices.

[0266] For another example, the electronic device 800 may be an electronic device, and the communication unit 805 may be a transceiver of the electronic device, or the communication unit 805 may be a transceiver circuit of the electronic device.

[0267] The electronic device 800 may include one or more memories 802 on which a program 804 is stored. The program 804 can be executed by the processor 801 to generate instructions 803, so that the processor 801 executes the split-screen display method described in the above method embodiment according to the instructions 803.

[0268] Optionally, data may be stored in the memory 802. Optionally, the processor 801 may read data stored in the memory 802. The data may be stored at the same storage address as the program 804, or may be stored at a different storage address than the program 804.

[0269] The processor 801 and the memory 802 may be provided separately or integrated together; for example, integrated on a system on chip (SOC) of an electronic device.

[0270] Exemplarily, the memory 802 may be used to store the related program 804 of the split-screen display method provided in the embodiment of the present application, and the processor 801 may be used to call the related program 804 of the split-screen display method stored in the memory 802 during the upgrade to execute the split-screen display method of the embodiment of the present application. For example:

[0271] Indicate that the display screen displays a first interface, the first interface displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application; when a display direction change is detected, instruct to play the input method animation; instruct to adjust and save the attribute information of the adjusted split-screen stack; and when a display direction change is detected, if it is determined that the interface switching type is a rotation screen type, at least collect the attribute information of the split-screen stack; when it is determined that the collected attribute information of the split-screen stack is consistent with the attribute information of the split-screen stack indicated to be saved, instruct to play the rotation screen animation.

[0272] In the embodiment of the present application, during the process of playing the rotating screen animation, the component attribute set is split, and the split-screen stack related attributes are compared with the split-screen stack attribute information stored in the split-screen management module, so that the rotating screen animation can be reset based on the stored split-screen stack attributes; and the attribute information of other components except the split-screen stack attributes can still be passed to the interface switching animation playback module to realize the rotating screen animation. Here, since the data stored in the split-screen management module is more accurate, the comparison is performed before playing the rotating screen animation to ensure that the split-screen stack is displayed accurately.

[0273] The present application also provides a computer program product, which, when executed by the processor 801, implements the split-screen display method described in any method embodiment of the present application.

[0274] The computer program product may be stored in the memory 802 , for example, a program 804 , which is finally converted into an executable target file that can be executed by the processor 801 after preprocessing, compiling, assembling, and linking.

[0275] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the split-screen display method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.

[0276] Optionally, the computer-readable storage medium is, for example, a memory 802. The memory 802 may be a volatile memory or a non-volatile memory, or the memory 802 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0277] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.

[0278] In several embodiments provided in the present application, the disclosed systems, devices and methods can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is only a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the above coupling includes electrical, mechanical or other forms of connection.

[0279] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0280] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0281] In short, the above is only a preferred embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application should be included in the protection scope of this application.

Claims

1. A split-screen display method, characterized in that: Applied to an electronic device including a display screen, the method comprises: The display screen displays a first interface, the first interface displays two split-screen stacks in a split-screen manner, and the first interface also displays an input method application; When a display direction change is detected, an input method state change instruction is issued, and the input method state change is recorded in a state list; Instructs to play input method animation; Based on the position of the input method application in the split-screen stack, instructing to save the attribute information of the split-screen stack, or instructing to adjust and save the adjusted attribute information of the split-screen stack; And, when a display direction change is detected, if it is determined that the interface switching type is a rotating screen type, at least the attribute information of the split screen stack is collected; the attribute information of the split screen stack includes the position and size of the split screen stack; Based on the saved attribute information of the split-screen stack, the collected attribute information of the split-screen stack is refreshed, and the playing of the rotating screen animation effect is instructed.

2. The split-screen display method according to claim 1, characterized in that: After instructing to save the attribute information of the split-screen stack, or instructing to adjust and save the adjusted attribute information of the split-screen stack, the method further includes: After the input method state change is completed, the corresponding record is deleted from the state list.

3. The split-screen display method according to claim 2, characterized in that: After the input method state changes, and before deleting the corresponding record from the state list, the method includes: When it is determined that the display mode corresponding to the input method application is the top mode, updating the attribute information of the split-screen stack; After the input method state changes, after deleting the corresponding record from the state list, the method further includes: triggering a system refresh when it is determined that the state list is empty.

4. The split-screen display method according to any one of claims 1 to 3, characterized in that: The method further comprises: when a display direction change is detected, dispatching a system configuration information table, the system configuration information table comprising a direction attribute for indicating a display direction change; When determining that the application is a foreground application, instructing the foreground application to refresh drawing; When the foreground application refresh drawing is completed, the system refresh drawing is performed in combination with at least the collected attribute information of the split-screen stack.

5. The split-screen display method according to claim 4, characterized in that: When the electronic device includes a state list, after performing system refresh drawing in combination with at least the collected attribute information of the split screen stack, the method further includes: When it is determined again that the status list is empty, it is indicated to update at least the attribute information of the split-screen stack.

6. The split-screen display method according to any one of claims 1 to 5, characterized in that: The two split-screen stacks in the first interface are displayed in a horizontally parallel manner, and the input method application is located in the split-screen stack on the right; Based on the position of the input method application in the split-screen stack, instructing to save the attribute information of the split-screen stack, or instructing to adjust and save the adjusted attribute information of the split-screen stack, including: Based on the input method application being located in the split-screen stack on the right, an instruction is given to adjust and save the adjusted attribute information of the split-screen stack.

7. The split-screen display method according to any one of claims 1 to 6, characterized in that: Before instructing to play the input method animation effect when detecting that the display direction has changed, the method further includes: receiving a rotation operation on the electronic device; In response to the rotation operation, a display direction of the display screen changes.

8. The split-screen display method according to claim 7, characterized in that: The rotation operation is used to indicate changing the display direction of the display screen from horizontal to vertical.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store a computer program executable on the processor; The processor is used to execute the processing steps in the split-screen display method according to any one of claims 1 to 8.

10. A chip system, characterized in that: include: A processor, used to call and run a computer program from a memory, so that a device equipped with the chip executes the steps of processing in the split-screen display method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the steps of processing in the split-screen display method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Split screen display method and device for terminal

    CN104765845A

  • Method and device for self-adaptively displaying interface of input method

    CN106775304A