Split-screen display method and electronic equipment

By using A+G sensors to detect specific motion states in foldable screen electronic devices, split-screen display is automatically triggered, solving the problems of complex operation and easy misoperation in existing technologies, and realizing a fast and beautiful split-screen display experience.

CN121560209APending Publication Date: 2026-02-24HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411107723.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

Existing split-screen display methods require users to perform multiple operations on the display screen, which is complicated, prone to errors, and results in a poor user experience.

Method used

By using A+G sensors to detect specific motion states when foldable screen electronic devices are in the unfolded state, split-screen display is automatically triggered, avoiding cumbersome operations for users.

Benefits of technology

It enables convenient and quick split-screen display, improves user experience, conforms to user habits, and enhances operating efficiency and interface aesthetics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121560209A_ABST
    Figure CN121560209A_ABST
Patent Text Reader

Abstract

The invention discloses a split-screen display method and electronic equipment. The split-screen display method is applied to the electronic equipment with a folding screen. When the electronic equipment is in an unfolded state and the folding screen displays the first application interface in a full-screen manner, a specific motion state of the electronic equipment is detected; and displaying a second interface of the first application in the folding screen in response to the specific motion state. The area of the second interface is smaller than that of the first interface. According to the embodiment of the invention, the problem of tedious screen splitting operation of the folding screen can be solved, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal equipment technology, specifically to a split-screen display method and electronic device. Background Technology

[0002] With the continuous development of electronic devices, their displays are becoming increasingly larger, providing users with a better experience. Users often need to partition the screen to display different content. When an electronic device is in split-screen mode, this "split-screen display" allows users to simultaneously view information from different applications or windows on the screen.

[0003] However, existing methods for implementing split-screen display, that is, enabling electronic devices to enter split-screen mode, require users to perform multiple operations on the display screen, which is not convenient or fast enough. Summary of the Invention

[0004] In view of the above, this application provides a split-screen display method and an electronic device, which can conveniently and quickly realize the split-screen function of electronic devices and improve the user experience.

[0005] In a first aspect, embodiments of this application provide a split-screen display method applied to an electronic device with a foldable screen. When the electronic device is in an unfolded state and the foldable screen displays a first application interface in full screen, a specific motion state of the electronic device is detected. In response to this specific motion state, a second interface of the first application is displayed on the foldable screen; the area of ​​the second interface is smaller than the area of ​​the first interface.

[0006] In existing foldable electronic devices, users typically need to perform multiple cumbersome operations to split the screen. For example, users need to hold the foldable electronic device in one hand and move the other hand over the foldable screen to perform various gestures, which is complex, prone to misoperation, and results in a poor user experience. The split-screen display method provided in this application, when the foldable electronic device is in the unfolded state and the application interface that can be split-screened is displayed in full screen, detects the motion state of the electronic device. When a specific motion state is detected, a second interface of the first application is displayed on the foldable screen. The area of ​​the second interface is smaller than that of the first interface, thus splitting the first application into two screens. This avoids the complex operations required by the user on the foldable screen to trigger the split-screen display, making it convenient, quick, and improving the user experience.

[0007] In one possible implementation, the content displayed on the second screen is at least partially the same as that displayed on the first screen. When using split-screen display, since the area of ​​the second screen is smaller than the first screen, the content displayed within the second screen can be adjusted and adapted to the reduced display area. That is, the content displayed on the second screen may differ from that of the first screen, but both still contain the same content. This approach facilitates user operation, improves the aesthetics of the interface, and enhances the user experience.

[0008] In one possible implementation, the foldable screen displays one or more of the following apps in the area outside the second interface: the home screen, recently used apps, and recommended apps. While displaying the content of the first app as a second interface, showing the home screen, recently used apps, and recommended apps in the area outside the first interface allows users to easily select another app for split-screen display, conforming to user habits, improving user convenience, and enhancing the user experience.

[0009] In one possible implementation, the specific motion state includes the electronic device reciprocating in the same direction at least once within a preset time while in a stationary state.

[0010] In one possible implementation, the electronic device is determined to be stationary when its acceleration is less than a preset acceleration value.

[0011] In one possible implementation, the reciprocating motion includes moving first in a first direction and then in a second direction, the first and second directions being opposite in direction. Further, displaying a second interface of the first application in the foldable screen, the second interface having an area smaller than the first interface, includes the first interface moving along the first direction along one side of the first interface facing the second direction to form the second display interface.

[0012] When the acceleration of an electronic device relative to the ground is close to zero, i.e., it is stationary or moving at a constant speed relative to the ground, the electronic device is determined to be in a stationary state. In this stationary state, if the electronic device is detected to reciprocate once in the same direction within a preset time period (i.e., first moving in a first direction, then moving in a second direction, with the first and second directions being approximately opposite), the electronic device is considered to be in a specific motion state. The electronic device can then execute the split-screen display method, improving user operation efficiency. Furthermore, based on the direction of the electronic device's reciprocating motion, a second interface is displayed on the folding screen, where the area of ​​the second interface is smaller than the area of ​​the first interface. This includes situations where the side of the first interface facing the second direction moves along the first direction to form the second display interface. This display transition method gives the user the effect of pushing the first interface towards a smaller display area along the first direction of motion, conforming to user habits and improving the user experience.

[0013] In one possible implementation, detecting a specific motion state of the electronic device includes: when the motion state of the electronic device matches a split-screen model, determining that the electronic device is in a specific motion state, the split-screen model including:

[0014]

[0015] Where A1 represents the magnitude of acceleration a, and ω1 represents the angular velocity of acceleration a as a function of time t. This represents the displacement from the origin of the coordinate system.

[0016] The split-screen model is a function of acceleration *a* and time *t*. The electronic device uses a built-in A+G sensor to detect its own state data, that is, to measure the change of the electronic device's acceleration over time. Since the A+G sensor is an inherent component in the electronic device, this split-screen display method does not add unnecessary parts to the electronic device, which is beneficial for miniaturization.

[0017] In one possible implementation, the split-screen model further includes:

[0018]

[0019] Where A2 represents the magnitude of acceleration a, and A1 < A2; ω2 represents the angular velocity of acceleration a as a function of time t, and ω1 > ω2; and This represents the displacement from the origin of the coordinate system.

[0020] Multiple split-screen models can coexist in an electronic device. Different split-screen models can be represented by different values ​​of the parameter A, which represents the magnitude of acceleration, and the parameter ω, which represents the change of acceleration over time. When formula (1) represents the "shaking" model, comparing the parameter values ​​in formula (2) with those in formula (1), it can be found that when formula (2) represents the "tapping" or "bumping" model, the value of A is larger, while the value of ω is smaller. In this way, storing multiple split-screen models in an electronic device can support split-screen display in various specific motion states, improving user convenience and user experience.

[0021] In one possible implementation, the foldable screen displays recently used applications in an area outside the second interface. In response to selecting the recently used application, the interface of the recently used application is displayed in this area outside the second interface via a second split-screen animation. This second split-screen animation includes zooming, smoothing, pushing in, falling, unfolding, covering, page scrolling, checkerboard, or blinds.

[0022] The foldable screen displays a second interface of the first application, while the area outside the second interface displays one or more of the following: the desktop, recently used applications, and recommended applications. In response to selecting a second application within the area outside the second interface, the interface of that second application is displayed in that area using a second split-screen animation effect. This second split-screen animation effect can be zooming, smoothing, pushing in, falling, revealing, covering, page scrolling, a checkerboard pattern, or blinds. By setting this second split-screen animation effect, the display of the second application interface becomes smooth, conforming to user habits and improving the user experience. Simultaneously, it enables the simultaneous display of the first and second applications on the foldable screen, allowing users to operate two applications at the same time, enhancing user convenience.

[0023] In one possible implementation, the area of ​​the first region is half the area of ​​the foldable screen. The foldable screen electronic device includes a hinge and two housings that can rotate around the hinge. The foldable screen covers the two housings and folds and unfolds along the folding edge. The foldable screen can be divided into two equal parts along the folding edge. One of these parts is the first region, and the area of ​​the first region is half the area of ​​the foldable screen. By splitting the screen in half, the user experience is improved, resulting in a more aesthetically pleasing display.

[0024] Secondly, this application provides an electronic device with a foldable screen, comprising a first housing, a second housing, a hinge mechanism, a foldable screen, an A+G sensor, a memory, and a processor. The first housing and the second housing are rotatably connected via the hinge mechanism, and the foldable screen covers the first housing and the second housing. The memory is configured to store a computer program. The processor is configured to invoke the computer program in the memory to cause the electronic device to execute the aforementioned split-screen display method.

[0025] In existing foldable screen electronic devices, users typically need to perform multiple cumbersome operations to split the screen. For example, a user might need to hold the foldable screen electronic device in one hand and move the other hand over the foldable screen to perform various gestures, which is complex, prone to errors, and results in a poor user experience. The foldable screen electronic device provided in this application, when in its unfolded state and displaying a split-screen application interface in full screen, detects the device's state data and matches it with a pre-stored split-screen model. If a match is found, it is determined that the electronic device has detected a split-screen display trigger, and the electronic device displays the first application interface in the first area of ​​the foldable screen through a first split-screen animation. This avoids the complex operations required by the user on the foldable screen, making split-screen display triggering convenient, quick, and improving the user experience. Simultaneously, one or more of the desktop, recently used applications, and recommended applications are displayed in areas outside the first area, allowing users to easily select the other application for split-screen display, conforming to user habits, facilitating user use, and improving the user experience.

[0026] Thirdly, embodiments of this application provide a computer storage medium for storing computer software instructions used in an electronic device with a foldable screen provided for the second aspect above, which includes a program designed to execute the aspects described above. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments or background art of this application, the accompanying drawings used in the embodiments or background art of this application will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a schematic diagram of a foldable screen phone provided in an embodiment of this application;

[0029] Figure 2 This is a schematic diagram of another foldable screen phone provided in an embodiment of this application;

[0030] Figure 3 This is a schematic diagram of another foldable screen phone provided in an embodiment of this application;

[0031] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0032] Figure 5 This is a schematic diagram of the software structure of an electronic device provided in an embodiment of this application;

[0033] Figure 6 This is a schematic diagram of the structure of the sensor device provided in the embodiments of this application in an electronic device;

[0034] Figure 7 This is a schematic diagram of a split-screen display trigger provided in an embodiment of this application;

[0035] Figures 8(a) and 8(b) are schematic diagrams of two split-screen models provided in the embodiments of this application;

[0036] Figure 9 This is another schematic diagram of split-screen display triggering provided in the embodiments of this application;

[0037] Figure 10 This is a schematic diagram of another split-screen model provided in an embodiment of this application;

[0038] Figure 11 This is another schematic diagram of split-screen display triggering provided in the embodiments of this application;

[0039] Figure 12 This is a schematic diagram of a further split-screen model provided in an embodiment of this application;

[0040] Figures 13a-13e This is a schematic diagram of a split-screen display process provided in an embodiment of this application;

[0041] Figure 14 This is a schematic diagram of a split-screen animation provided in an embodiment of this application;

[0042] Figure 15 This is a flowchart of the split-screen display method provided in the embodiments of this application. Detailed Implementation

[0043] The embodiments of this application will now be described with reference to the accompanying drawings.

[0044] The terms "first," "second," and "third," etc., used in the specification, claims, and drawings of this application are used only to distinguish different objects and not to describe a particular order. Furthermore, the terms "comprising," "having," and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, systems, products, or apparatus.

[0045] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0046] As used in this specification, the terms "component," "module," "system," etc., are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. For example, a component may communicate via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).

[0047] First, some of the technical terms appearing in this application are explained to facilitate understanding by those skilled in the art.

[0048] (1) An accelerometer is an instrument that measures the acceleration of an object in various directions and is widely used in engineering, transportation, medicine, and scientific research. Based on Newton's laws of motion, it quantifies acceleration by detecting changes in velocity. The function of an accelerometer is not limited to measuring linear acceleration; it also includes detecting the effects of vibration, tilt, and gravity. Its working principle typically involves a small mass (called the center of mass). When acceleration acts on this device, the displacement of the center of mass is detected by a sensor and converted into an electrical signal. This signal can then be analyzed to determine the magnitude and direction of the acceleration.

[0049] (2) A gyroscope is a device used to measure and maintain direction and angular velocity. It is based on the principle of conservation of angular momentum and is commonly found in flight control systems, smartphones, game controllers, and other technological applications requiring direction and motion control. The core component of a gyroscope is a rotating wheel or disk whose axis can freely point in any direction. When the gyroscope rotates, its axis remains stable due to the conservation of angular momentum, even if its base moves or rotates in different directions. This characteristic makes the gyroscope an ideal direction indicator.

[0050] (3) Split-Screen Display is a multitasking technology that allows users to view and operate multiple applications or windows simultaneously on a single display screen when an electronic device is in split-screen mode. This technology plays an important role in improving work efficiency and enhancing user experience, and is widely used, especially in computer operating systems, smartphones, and tablets.

[0051] In existing technologies, electronic devices typically enter split-screen mode by the user clicking a corresponding function button on the screen interface. However, this method of triggering split-screen mode is usually complex, prone to errors, and lacks adaptability and versatility. To address these shortcomings, this application proposes a split-screen display method and electronic device that optimizes the user experience.

[0052] The following describes exemplary electronic devices to which the embodiments of this application apply.

[0053] The embodiments of this application do not limit the types of electronic devices to which they are applicable. For example, the electronic device may be a mobile phone, as well as a tablet computer, a desktop computer, a desktop computer with a touch-sensitive surface or touch panel, a laptop computer, a handheld computer, a smart screen, a wearable device (such as a smartwatch, a smart bracelet, etc.), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, and so on.

[0054] As an example, Figure 1This diagram illustrates an electronic device according to an embodiment of this application. Specifically, the electronic device 100 is a foldable screen phone with the folding screen facing inward and folding in the left-right direction. The electronic device 100 includes a foldable screen 1000, a first housing 101, a second housing 102, and a hinge mechanism (not shown). The first housing 101 and the second housing 102 are rotatably connected by the hinge mechanism and can be unfolded and folded relative to each other. The foldable screen 1000 covers the first housing 101 and the second housing 102 as a whole. For ease of description, the foldable screen 1000 is divided into screen A 1001 and screen B 1002, where screen A 1001 corresponds to the portion of the foldable screen 1000 covering the first housing 101, and screen B 1002 corresponds to the portion of the foldable screen 1000 covering the second housing 102. Screen A 1001 and screen B 1002 are connected by a folding edge 1003. It can be understood that screen A 1001 and screen B 1002 are actually a whole, and the folding edge 1003 is a virtual line.

[0055] Figure 1 The electronic device 100 shown is in the unfolded state. During the folding process, screen A 1001 and screen B 1002 move closer to each other along the folding edge 1003, and the folded screen 1000 is housed inside the two housings.

[0056] As another example, Figure 2 A schematic diagram of another electronic device provided in an embodiment of this application is shown. Specifically, the electronic device 200 is a foldable screen phone with the folding screen facing inward and folded vertically. The electronic device 200 and... Figure 1 The difference in the electronic device 100 shown is that the directions of the folding edges 1003 and 2003 are perpendicular to each other, which causes the folding and unfolding directions of screen A and screen B to be perpendicular to each other as well. Figure 2 Other content and references shown Figure 1 The description is similar, so I will not repeat it here.

[0057] As another example, Figure 3 A schematic diagram of another electronic device provided in an embodiment of this application is shown. Specifically, the electronic device 300 is a foldable screen mobile phone with the folding screen facing outwards and folding in the left-right direction. Electronic device 300 and... Figure 1 The difference in the electronic device 100 shown is that screen A 3001 and screen B 3002 are placed back-to-back when folded. Specifically, Figure 3 The electronic device 300 shown is in the unfolded state. During the folding process, screen A 3001 and screen B 3002 move closer together back to back along the folding edge 3003, and the direction of rotation is shown by the arrow in the figure.

[0058] Understandably, the following text will all use the term "..." Figure 1 The split-screen display method provided in this application embodiment is explained using the electronic device 100 shown as an example.

[0059] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.

[0060] Electronic device 100 may include components such as processor 110, external memory interface 120, internal memory 121, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, sensor module 180, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195. Sensor module 180 may include gyroscope sensor 180A, accelerometer sensor 180B, etc. It is understood that electronic device 100 may include more or fewer components than illustrated, or may include combinations of certain components, or splits of certain components, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0061] In this device, the electronic device 100 can use the sensor module 180 to detect the folding and unfolding of the foldable screen 1000. Specific sensors in the sensor module 180, such as the accelerometer 180B, can be used to determine the motion state of the electronic device 100, i.e., by detecting changes in the acceleration of the electronic device. Based on the data from the accelerometer 180B, the processor 110 can control the display content of the display screen 194 to achieve split-screen or extended-screen functions.

[0062] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0063] In processor 110, the controller can be the nerve center and command center of electronic device 100. The controller can generate operation control signals and perform instruction fetching and execution control according to instruction opcodes and timing signals.

[0064] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated access to instructions or data, reduces the waiting time of the processor 110, and improves system efficiency.

[0065] The power management module 141 is used to connect the battery 142 and the processor 110. The power management module 141 can receive input from the battery 142 and / or an external power source to power the electrical components inside the electronic device 100. The power management module 141 can also be used to detect parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110.

[0066] The user interface display of the electronic device 100 can adaptively adjust based on data from the sensor module 180, especially data related to the motion state of the electronic device 100. For example, the electronic device can be in full-screen mode when the folded screen is unfolded, and automatically switch from full-screen mode to split-screen mode when a specific change in motion state is detected, thereby providing users with a more convenient user experience.

[0067] Accelerometer 180B can detect the magnitude of acceleration of electronic device 100 in various directions (generally the three axes of a Cartesian coordinate system). When electronic device 100 is stationary, accelerometer 108B can detect the magnitude and direction of gravity. Additionally, accelerometer 180B can also be used to identify the posture of electronic device, applicable to functions such as screen orientation switching and pedometer step counting. In this embodiment, accelerometer 180B can cooperate with gyroscope sensor 180A to detect the state data of electronic device 100 and send this state data to processor 110 for processing. Based on the matching result with a split-screen model, the interface layout of the operating system and application software is adjusted to achieve split-screen display.

[0068] In addition, the sensor module can also include distance sensors, proximity sensors, ambient light sensors, fingerprint sensors, temperature sensors, touch sensors, bone conduction sensors, etc., to achieve different functions.

[0069] The SIM card interface 195 can be used to connect a SIM card. The electronic device 100 interacts with the network through the SIM card to achieve functions such as calls and data communication. The SIM card can be installed and removed from the electronic device 100 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 is also compatible with external memory cards. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and is not removable.

[0070] Figure 5 This is a software structure block diagram of the electronic device 100 according to an embodiment of this application.

[0071] The software system of electronic device 100 can adopt one or more of the following architectures: layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture, to support foldable screen split-screen display triggered based on real-time detection status data. This application embodiment uses a layered architecture mobile operating system as an example to exemplify the software structure of electronic device 100.

[0072] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the mobile operating system is divided into four layers, from top to bottom: the application layer, the application framework / core service layer, the system libraries and runtime, and the kernel layer.

[0073] The application layer can include a series of application packages, such as camera, gallery, calendar, call, map and other applications.

[0074] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications within the application layer. The application framework layer may include predefined functions, as well as window managers, content providers, view systems, phone managers, resource managers, notification managers, and more.

[0075] Runtime can refer to all the code libraries, frameworks, etc., required for a program to run. For example, the runtime provides the Java Virtual Machine and core libraries, which can provide the necessary environment for electronic devices to run in split-screen mode.

[0076] System libraries can include multiple functional modules. For example: Surface Manager, Media Libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0077] The kernel layer is the layer between hardware and software. It includes at least display drivers, camera drivers, audio drivers, and sensor drivers. For example, it can provide low-level hardware support for split-screen displays on electronic devices, enabling the system to efficiently access and process state data stored in the file system.

[0078] It is understood that the above system architecture is only one or more exemplary implementations of the embodiments of this application, and this application is not limited thereto.

[0079] The split-screen display method provided in the embodiments of this application will be described in detail below.

[0080] First, let's give a general overview of the sensor setup of the electronic devices in the embodiments of this application.

[0081] Figure 6 This is a schematic diagram of the structure of electronic device 100 and sensor device. Electronic device 100 may include a first sensor 601 and a second sensor 602. The first sensor 601 and the second sensor 602 may be respectively disposed on the sides of screen A 1001 and screen B 1002, that is, located inside the first housing 101 and the second housing 102 respectively.

[0082] If the electronic device 100 includes a single A+G sensor, the second sensor 602 may include an integrated accelerometer and gyroscope (i.e., a single A+G sensor), while the first sensor 601 may include other types of sensors, such as a distance sensor and an infrared sensor. If the electronic device 100 includes dual A+G sensors, both the first sensor 601 and the second sensor 602 may include an integrated A+G sensor. The electronic device can detect its status data in real time through the first sensor 601 and the second sensor 602 to determine whether to perform split-screen display. Since the A+G sensor is an inherent component of the electronic device 100, the split-screen display method provided in this embodiment does not add unnecessary components to the electronic device 100, which is beneficial for miniaturization of the electronic device.

[0083] Secondly, the split-screen display triggering involved in the embodiments of this application will be introduced in three cases.

[0084] When the electronic device is in its unfolded state and the foldable screen displays the first interface of the first application in full screen, the A+G sensor continuously detects the motion state of the electronic device. When the electronic device detects a specific motion state, it displays a second interface of the first application on the foldable screen, the area of ​​which is smaller than that of the first interface. Specifically, the specific motion state is when the electronic device is stationary and moves back and forth in the same direction at least once within a preset time. It should be noted that this stationary state is a state of rest or uniform motion with an acceleration relative to the ground that is approximately zero. When the acceleration of the electronic device is less than a preset acceleration value, it can be determined that the electronic device is stationary, that is, the stationary state is not strictly zero acceleration. The same direction is approximately the same direction, that is, the path from the starting point to the ending point is not a strictly unique straight line, and there may be path deviations such as arcs, curves, or broken lines. The back and forth motion may include moving first in a first direction and then moving in a second direction, the first direction and the second direction of motion being opposite. It should be noted that the opposite direction of motion is not strictly 180 degrees opposite, that is, the direction of movement of the electronic device is not exactly consistent with the first direction and the second direction, and a certain degree of error is allowed.

[0085] The following are the specific ways to implement a particular motion state.

[0086] Example 1: Split-screen display triggered by shaking.

[0087] Figure 7 This is a schematic diagram of a user holding the electronic device 100. Here, the electronic device 100 is taken as a foldable screen phone in its unfolded state, with the user holding it. The user can hold the electronic device 100 with one hand or both hands; this embodiment does not limit the way the user holds the electronic device 100. Furthermore, the plane containing the foldable screen 1000 of the electronic device 100 can be at various angles to the ground. For example, the plane containing the foldable screen 1000 can be approximately parallel to the ground; it can also be approximately perpendicular to the ground. The angle between the plane containing the foldable screen 1000 and the ground does not affect the application triggered by this split-screen display.

[0088] In this embodiment of the application, when a user wants to trigger the split-screen display of the electronic device 100, they can swing the electronic device 100 in a certain direction. For example, the user holds the electronic device 100 and swings it along... Figure 7 Swing your wrist in the direction indicated by the solid black arrow. The electronic device 100 will move along the direction of the solid black arrow under the influence of your hand. Since the user is holding the electronic device 100, after being swung out, the electronic device 100 will shift a distance to the left, and then return to the right under the influence of your hand, for example, moving back along the direction indicated by the hollow arrow. One such back-and-forth movement completes an action called "swinging".

[0089] Furthermore, in some embodiments, to more accurately identify the user's split-screen display intention, it can be stipulated that the user needs to shake the electronic device 100 two or more times to trigger the split-screen display. That is, the electronic device 100 will only determine that the user wants to trigger the split-screen display after detecting that it has been "shaked" two or more times. This can reduce erroneous operations caused by misjudging the user's intention and improve the user experience. This application does not limit the number of shakes required to trigger the split-screen display.

[0090] The electronic device 100 uses an A+G sensor to detect its own motion state in order to obtain state data. In particular, the detection can be periodic, that is, the A+G sensor detects the motion state of the electronic device 100 at a certain frequency. This application does not limit the period during which the A+G sensor acquires state data.

[0091] To determine the motion state of the electronic device 100, a split-screen model is pre-stored in the electronic device 100. The electronic device performs template matching between the measured state data and the pre-stored split-screen model to determine whether the electronic device is being shaken for the purpose of splitting the screen. If the matching is successful, the electronic device 100 is triggered to display the split screen, and then the split-screen display is executed. If the matching fails, the electronic device 100 does not execute the split-screen display. Specifically, the two split-screen models illustrated in Figures 8(a) and 8(b) will be described in detail.

[0092] Figure 8(a) shows the at-axis diagram of the first split-screen model corresponding to one shake. The horizontal axis represents time t, and the vertical axis represents acceleration a. This first split-screen model corresponds to the case where the screen splits after one shake. Specifically, it can be expressed as follows:

[0093]

[0094] Where A, ω and All parameters are determined based on measurement data from a standard single-flip motion. A represents the magnitude of acceleration *a*, and ω represents the angular velocity of acceleration *a* as a function of time *t*. This represents the displacement from the origin of the coordinate system.

[0095] As can be seen from the first split-screen model, in the first time period, such as 1s, 0.5s or 0.3s, the acceleration a undergoes a process of increasing from zero to a negative peak, then decreasing in the opposite direction and increasing again to a positive peak, and finally returning to zero.

[0096] For example, during the user's use of the electronic device 100, the electronic device 100 performs template matching between the measured state data and the first split-screen model to obtain the correlation coefficient between the state data and the first split-screen model. Specifically, this application does not limit the template matching method, such as one or more of the correlation method, error method, or quadratic matching error algorithm well known to those skilled in the art.

[0097] Here, we will briefly introduce template matching using the correlation method as an example. An A+G sensor continuously monitors the state data of an electronic device 100. This state data can be the change of acceleration *a* over time *t*. During template matching, for example, the time axis of the first split-screen model is placed on the *at* coordinate system of the state data and translated along the time axis *t*. The similarity—i.e., the correlation coefficient—between the first split-screen model and the covered area in the state data is calculated. Specifically, the difference between the actual measured acceleration *a* in the state data and the acceleration at the same moment in the template can be calculated. For example, if the time length of the first split-screen model is 0.5 s, 100 time points are taken within 0.5 s. The difference between the acceleration *a* in the state data and the acceleration value in the first split-screen model at each of these 100 time points is calculated, and the sum of the squares of these 100 differences is calculated. The calculated results are normalized to obtain the correlation coefficient for template matching.

[0098] Specifically, a correlation coefficient of 1 indicates that the state data of electronic device 100 perfectly matches the first split-screen model. The closer the correlation coefficient is to 1, the higher the degree of matching between the state data of electronic device 100 and the first split-screen model.

[0099] The correlation coefficients in this paper can all be obtained using the methods described above, but this paper does not impose any restrictions on the methods used to obtain the correlation coefficients.

[0100] In some embodiments, if the correlation coefficient is greater than or equal to a first threshold, such as 80%, 90%, or 95%, then it is determined that the state data of the electronic device 100 matches the first split-screen model, that is, it is determined that the user wants to split the screen, and the electronic device 100 is triggered to display the split screen.

[0101] In some embodiments, if the correlation coefficient is less than a first threshold, it is determined that the state data of the electronic device 100 does not match the first split-screen model, that is, it is determined that the user does not want to split the screen, and the electronic device 100 does not perform split-screen display.

[0102] Figure 8(b) shows the at-plot of the second split-screen model corresponding to two swings. Similarly, in the second split-screen model, the horizontal axis represents time t, and the vertical axis represents acceleration a. This second split-screen model corresponds to the case of splitting the screen after two swings. Specifically, it can be expressed as follows:

[0103]

[0104] Among them, A1, A2, ω1, ω2, and All parameters were determined based on measurement data from two standard swinging motions.

[0105] As can be seen from the second split-screen model, in the second time period, such as 2s, 1s, 0.5s, the acceleration a experienced two consecutive changes from zero to a negative peak, then decreased and then increased to a positive peak, finally returning to zero.

[0106] Similarly, during the user's use of electronic device 100, electronic device 100 can perform template matching between the measured state data and the second split-screen model to obtain the correlation coefficient between the state data and the second split-screen model.

[0107] Similarly, if the correlation coefficient is greater than or equal to the second threshold, which can be, for example, 80%, 90%, or 95%, then it is determined that the state data of the electronic device 100 matches the second split-screen model, that is, it is determined that the user wants to split the screen, and the electronic device 100 is triggered to display the split screen.

[0108] In some embodiments, if the correlation coefficient is less than the second threshold, it is determined that the state data of the electronic device 100 does not match the second split-screen model, that is, the user does not want to split the screen, and the electronic device 100 does not perform split-screen display.

[0109] It should be noted that the threshold for comparison with the correlation coefficient can be different for different screen splitting models; that is, the first threshold can be greater than or less than the second threshold.

[0110] Example 2: Tap to trigger split-screen display.

[0111] Figure 9 This is a schematic diagram of a user holding the electronic device 100. Here, the electronic device 100 is taken as a foldable screen phone in its unfolded state, with the user holding it. The user can hold the electronic device 100 with one hand or both hands; this embodiment does not limit the way the user holds the electronic device 100. Furthermore, the plane containing the foldable screen 1000 of the electronic device 100 can be at various angles to the ground. For example, the plane containing the foldable screen 1000 can be approximately parallel to the ground; it can also be approximately perpendicular to the ground. The angle between the plane containing the foldable screen 1000 and the ground does not affect the application triggered by this split-screen display.

[0112] In this embodiment of the application, when a user wants to trigger the split-screen display of the electronic device 100, they can tap the edge of the electronic device 100 with their finger. For example, as Figure 9As shown, the user holds the electronic device 100 with their right hand and flicks their right index finger to tap the frame. Similarly, in other embodiments, the user can hold the electronic device 100 with one hand and tap the frame of the electronic device 100 with the fingers of the other hand. This application does not limit the manner of tapping the frame of the electronic device 100 or the number of times the frame needs to be tapped to trigger split-screen display.

[0113] Similar to Embodiment 1, the electronic device 100 uses an A+G sensor to detect its own motion state in order to obtain state data. In particular, this detection can be periodic, that is, the A+G sensor detects the motion state of the electronic device 100 at a certain frequency. This application does not limit the period during which the A+G sensor acquires state data.

[0114] For tap-to-split-screen trigger scenarios, a tap-to-split-screen model is pre-stored in the electronic device 100. The electronic device performs template matching between the measured state data and the pre-stored tap-to-split-screen model to determine whether the tap was made for the purpose of splitting the screen.

[0115] When a single tap triggers split-screen display, the tap-to-split-screen model can be represented as:

[0116]

[0117] Among them, A0, ω0 and All parameters are determined based on measurement data from a standard single tapping action. A0 represents the amplitude of acceleration a, and ω0 represents the angular velocity of acceleration a as a function of time t. This represents the displacement from the origin of the coordinate system.

[0118] Furthermore, if both the "swing once" split-screen model (1) and the "knock once" split-screen model (3) are pre-stored in the electronic device, it can be understood that the time and magnitude of acceleration change for completing one swing and one knock are different. Therefore, the difference between the two models lies in the different values ​​of parameters A and w. Specifically, for the "swing once" split-screen model (1) and the "knock once" split-screen model (3), A < A0 and ω > ω0. In particular, it takes longer to complete one swing than one knock, which is reflected in the parameter ω being ω > ω0. In addition, the displacement of the electronic device during one swing is greater than the displacement during one knock, that is, the magnitude of acceleration change is smaller, which is reflected in the parameter A being A < A0.

[0119] Figure 10 An at-axis graph of a tap-to-split-screen model is shown. This model uses three taps to trigger a split-screen display as an example. It is understood that this application does not limit the number of taps required to trigger a split-screen display. In this tap-to-split-screen model, the horizontal axis represents time t, and the vertical axis represents acceleration a. Specifically, it can be represented as follows:

[0120]

[0121] Among them, A1, A2, A3, ω1, ω2, ω3, and All parameters were determined based on measurement data from a standard three-knock action.

[0122] In fact, the tap-to-split-screen model is similar to the first and second split-screen models involved in the shake-to-split-screen trigger mentioned above. Both are obtained by sinusoidal fitting based on the data measured by the user performing the corresponding action for the purpose of splitting the screen. The difference between formula (4) of the tap-to-split-screen model and formulas (1) and (2) mentioned above is that the values ​​of each parameter are different.

[0123] It can be understood that the differences between different split-screen models can be reflected in the different absolute values ​​of parameters A and ω. For example, the time required to complete a tap is less than the time required to complete a shake. For instance, if the time required to complete a tap is 0.5 seconds, while the time required to complete a shake is 1 second, then the ω value in the tap split-screen model is twice the ω value in the shake split-screen model. Furthermore, as another example, the change in acceleration 'a' with time 't' during a tap is more dramatic than the change during a shake; therefore, the absolute value of A in the tap split-screen model will be greater than the absolute value of A in the shake model. This will not be discussed in detail here.

[0124] Similarly, during the user's use of electronic device 100, electronic device 100 can perform model matching between the measured state data and the tap-to-split-screen model to obtain the correlation coefficient between the state data and the tap-to-split-screen model.

[0125] If the correlation coefficient is greater than or equal to the third threshold, such as 80%, 90% or 95%, then it is determined that the status data of the electronic device 100 matches the tap-to-split-screen model, that is, it is determined that the user wants to split the screen, and the electronic device 100 is triggered to display the split screen.

[0126] If the correlation coefficient is less than the third threshold, it is determined that the status data of electronic device 100 does not match the tap-to-split-screen model, that is, the user did not want to split the screen, and electronic device 100 does not perform split-screen display.

[0127] Example 3: Triggering split-screen display by tapping.

[0128] In some situations, users may find it difficult to perform the aforementioned shaking or tapping action because they are holding other objects, but still want the electronic device to display 100% split-screen. This embodiment provides a "tapping" split-screen display triggering method suitable for this scenario.

[0129] Figure 11 This is a schematic diagram of a user holding electronic device 100 and bumping it. Here, electronic device 100 is taken as a foldable screen phone in its unfolded state as an example, with the user holding electronic device 100. The user can hold electronic device 100 with one hand or two hands. This application embodiment does not limit the way the user holds electronic device 100.

[0130] In this embodiment of the application, when a user wants to trigger the split-screen display of the electronic device 100, they can gently tap the electronic device 100 against another object once, twice, or multiple times. This other object can be, for example, a table, a wall, or other objects made of relatively hard materials. Figure 10 As shown, the user taps the electronic device 100 lightly on the table 10. The electronic device 100 moves back and forth along the solid black arrow under the combined action of the table and the user's hand.

[0131] The electronic device 100 uses an A+G sensor to detect its own motion state in order to obtain state data. In particular, the detection can be periodic, that is, the A+G sensor detects the motion state of the electronic device 100 at a certain frequency. This application does not limit the period during which the A+G sensor acquires state data.

[0132] For scenarios where a bump triggers a split-screen effect, the electronic device 100 also pre-stores a bump split-screen model. The electronic device matches the measured state data with the pre-stored bump split-screen model to determine whether the electronic device was bumped lightly for the purpose of splitting the screen.

[0133] Figure 12 The at-axis graph of the tap-and-screen split-screen model is shown. In this tap-and-screen model, the horizontal axis represents time t, and the vertical axis represents acceleration a.

[0134] from Figure 12 It can be seen that the bump-and-screen split model is similar to the first split model corresponding to the one-flick in Figure 8(a). The difference is that the acceleration a changes more drastically with time t. Also, since the displacement of the electronic device 100 before the bump is greater than the displacement after the bump, the negative maximum value of the acceleration a in the bump-and-screen split model is greater than the positive maximum value. However, the expression of the bump-and-screen split model is similar to formula (1), only the values ​​of the parameters in the formula are different, which will not be repeated here.

[0135] Similarly, during the user's use of electronic device 100, electronic device 100 performs template matching between the measured state data and the tap-to-tap split-screen model to obtain the correlation coefficient between the state data and the tap-to-tap split-screen model.

[0136] In some embodiments, if the correlation coefficient is greater than or equal to a fourth threshold, such as 80%, 90%, or 95%, then it is determined that the motion posture of the electronic device 100 matches the tap-to-split-screen model, that is, it is determined that the user wants to split the screen, and the electronic device 100 is triggered to display the split screen.

[0137] If the correlation coefficient is less than the fourth threshold, it is determined that the motion posture of the electronic device 100 does not match the "bump-to-split screen" model, that is, it is determined that the user did not want to split the screen, and the electronic device will not perform split-screen display.

[0138] The above content introduced various ways to trigger split-screen display, and the electronic device pre-stores corresponding split-screen models. The electronic device performs template matching between the measured state data and the split-screen model, and if the matching is successful, the split-screen display is executed. The following content describes the split-screen display method of the electronic device provided in this application after being triggered to display split-screen.

[0139] Figures 13a-13e This is a schematic diagram of a split-screen display method provided in an embodiment of this application. The split-screen display method will be described in detail below with reference to the figures.

[0140] It should be understood that this embodiment is based on Figure 1 The illustrated electronic device 100 is an example, specifically a foldable screen phone with the folding screen facing inwards and folding in the left-right direction. However, the split-screen display method provided in this application is not limited to this type of phone. This method is applicable to various types of foldable screen phones described above, and further, it is also applicable to various electronic devices with displays.

[0141] Figure 13a When the electronic device 100 is in the unfolded state, the foldable screen 1000 displays the first application interface in full screen, wherein the first application supports split-screen display. In this embodiment, the first application is a photo album, that is, the foldable screen 1000 displays the photo album interface in full screen.

[0142] When the electronic device 100 determines that the user wants to perform split-screen display through the above-mentioned methods, such as "shaking", "tapping", or "bumping", the foldable screen 1000 of the electronic device 100 enters the split-screen display state.

[0143] like Figure 13b As shown, through the first split-screen animation, the original full-screen application interface can be displayed on screen A, while screen B can display the desktop of electronic device 100. The desktop displayed on screen B can include icons of various applications displayed on the home screen, and can also include a persistent bar, which can include icons of frequently used applications such as dialer, messages, and / or contacts.

[0144] Specifically, the first split-screen animation could be a translation of the first application interface from screen B to screen A, such as... Figure 13b As shown by the arrow, the first application interface retracts to fill screen A, and as it retracts, screen B displays the desktop. This first split-screen animation can also involve the first application interface shrinking to become the icon of the first application within screen A, then enlarging back to fill screen A, and during this transition, blurring other areas of the folded screen (screen B and the area outside the changing first application interface on screen A). Specifically, as shown... Figure 14 As shown, the first application can be a photo album. After the electronic device 100 is triggered to display in split-screen mode, the photo album interface shrinks towards screen A to the size of the photo album icon, and then the photo album icon enlarges again to fill the photo album interface on screen A. During the change of the photo album interface, other areas of the foldable screen 1000 become blurred. It should be understood that the above is only an exemplary explanation of the first split-screen animation effect, and this application does not limit the form of the first split-screen animation effect.

[0145] It should be noted that after the electronic device 100 is triggered to display split-screen, the first application interface can be displayed on either screen A or screen B. Which part of the folding screen the first application interface is displayed on depends on the direction of the acceleration of the electronic device 100 when the user triggers the split-screen display. Overall, the split-screen process of the folding screen 1000 presents the user with the effect of swinging, tapping, or bumping the full-screen interface away from the user.

[0146] Specifically, refer back Figure 7 When a user holds the electronic device 100 in their right hand and swings it to the left, the first application interface, which is displayed in full screen, will be shown on screen A, exhibiting a split-screen display effect as if it has been swung to the left screen A. This is because, in this case, the state data of the electronic device 100, i.e., the change in acceleration over time, matches the first or second split-screen model shown in Figures 8(a) and 8(b).

[0147] Similarly, electronic device 100 can also pre-store [data / equipment / etc.]. Figure 7 The third split-screen model corresponds to the user swinging the device in the opposite direction. Typically, this third split-screen model can be a symmetrical form of the first or second split-screen model with respect to the time axis t (not shown). When the user swings the electronic device 100 to the right with their left hand, the state data of the electronic device 100, i.e., the change in acceleration over time, matches this third split-screen model. Therefore, the first application interface, which is displayed in full screen, will be shown on screen B, exhibiting a split-screen display effect as if it has been thrown to the right side of screen B.

[0148] Similarly, refer back Figure 9When a user holds electronic device 100 in their right hand and taps its right edge, the device's status data matches the tap-to-split-screen model. The first application interface will then be displayed on screen A, creating a split-screen effect as if it has been pushed to the left. If the user holds electronic device 100 in their left hand and taps its left edge, the device will shift to the right under the tap, and its acceleration will change over time. Figure 10 The tap-to-tap model shown is symmetrical about the time axis. This model can be called the reverse tap-to-tap model (not shown). When the user taps the left side of the electronic device 100 with their left hand, the state data of the electronic device 100, i.e., the change in acceleration over time, matches the reverse tap-to-tap model. In this case, the first application interface in full-screen mode will be displayed on screen B, exhibiting a split-screen display effect as if it has been thrown to the right side of screen B.

[0149] Similarly, refer back Figure 11 When a user taps the electronic device 100 lightly against the table 10 with their right hand, the status data of the electronic device 100 matches the tap-to-split-screen model. The first application interface in full-screen mode will then be displayed on screen A, creating a split-screen display effect as if the device has been tapped to the left side of screen A. If the user taps the electronic device 100 lightly against the table 10 with the upper right corner, the electronic device 100 will shift under the impact, and its acceleration will change over time. Figure 12 The tapping model shown is symmetrical about the time axis. This model can be called the reverse tapping model (not shown). When the user taps the upper right corner of the electronic device 100 against the desktop 10, the state data of the electronic device 100 matches the reverse tapping model, and the full-screen first user interface will be displayed on screen B, showing a split-screen display effect as if it has been thrown to screen B.

[0150] It should be understood that the electronic device 100 can store two types of split-screen models, namely split-screen to screen A and split-screen to screen B, or it can store only one type of split-screen model, namely split-screen to screen A or split-screen to screen B.

[0151] Furthermore, while screen A displays the original full-screen first application interface, the content displayed on screen B can also be divided into upper and lower parts. For example... Figure 13c As shown, the upper half of screen B can display recently used or recommended apps, while the lower half of screen B can display the desktop.

[0152] Alternatively, in other embodiments, the upper half of screen B may display the desktop, while the lower half of screen B may display recently used or recommended applications.

[0153] It is understandable that the desktop displayed on the B screen mentioned here can be a desktop adapted to the size of the B screen display area, and the number and display method of the application icons may be different from the number and display method of the application icons when the foldable screen 1000 displays the desktop in full screen.

[0154] In other embodiments, while screen A displays the original full-screen first application interface, screen B may display only recently used or recommended applications to facilitate user selection.

[0155] Figure 13d It is the user in Figure 13b or Figure 13c The interface displayed after selecting the second application icon in screen B. In this embodiment, the second application could be, for example, a calendar. It should be understood that the second application supports split-screen display. The user's finger is on... Figure 13b or Figure 13c Clicking the calendar icon on screen B will display the calendar interface on screen B using a second split-screen animation, such as... Figure 13d As shown. The second split-screen animation effect includes, but is not limited to, zooming, smoothing, and falling. For example, the second split-screen animation effect could be that the icon of the second application zooms in to fill the second application interface and then fills screen B; or, the second split-screen animation effect could be that the second application interface moves from right to left to fill screen B, producing a similar push-in effect; or, the second split-screen animation effect could be that the second application interface falls from the top of screen B to fill screen B. It should be understood that this application does not limit the specific form of the second split-screen animation effect.

[0156] Figure 13e It is electronic device 100 in Figure 13d The display interface triggered by the split-screen display is detected again during the split-screen display state. When the electronic device 100 is in the split-screen display state, its own state data is continuously monitored by the A+G sensor. When the state data of the electronic device 100 matches any split-screen model, the electronic device 100 is triggered to display the split-screen again. At this time, since the electronic device 100 is already in the split-screen display state, the foldable screen 1000 displays the second application interface in full screen through the third split-screen animation effect, that is, the first application interface that was originally displayed in full screen is hidden. Then, the user selects the second application interface of the second application that is displayed in split screen at the same time as the first application to fill the foldable screen 1000 for full screen display. In this way, the electronic device 100 exits the split-screen display state after being triggered to display the split-screen twice in a row. The third split-screen animation effect includes, but is not limited to, revealing, covering, page rolling, chessboard, blinds, etc. The above-mentioned animation effects are all commonly used in this field, and this application does not limit the form of the third split-screen animation effect.

[0157] Figure 15This is a flowchart illustrating a split-screen display method for a foldable screen electronic device according to an embodiment of this application. This method can be used in the electronic device described above. The method may include the following steps:

[0158] Step S150: The foldable screen electronic device is in the unfolded state, and the foldable screen electronic device displays the first application interface in full screen.

[0159] Specifically, the foldable screen electronic device can be a foldable screen phone with the foldable screen facing inward and folded in the left-right direction, a foldable screen phone with the foldable screen facing inward and folded in the up-down direction, or a foldable screen phone with the foldable screen facing outward and folded in the left-right direction.

[0160] Specifically, the foldable screen in foldable electronic devices refers to a display screen that can be bent to unfold and fold.

[0161] Specifically, the first application supports split-screen display.

[0162] Step S151: Split-screen display trigger detected.

[0163] Specifically, split-screen display can be triggered in various ways, such as shaking, tapping, and bumping.

[0164] Specifically, the foldable screen electronic device may include a single A+G sensor or dual A+G sensors. These are inherent components in foldable electronic devices, and this split-screen display method does not add unnecessary components to the foldable electronic device, which is beneficial for the miniaturization of the foldable electronic device.

[0165] Specifically, the foldable electronic device detects the status data of the foldable screen electronic device through an A+G sensor, and determines whether to trigger split-screen display based on the status data. In particular, this detection can be periodic, that is, the A+G sensor detects the movement status of the electronic device 100 at a certain frequency.

[0166] Specifically, foldable electronic devices pre-store split-screen models. The foldable electronic device performs template matching between the measured state data and the split-screen model to determine whether the user of the foldable electronic device wants split-screen display.

[0167] Specifically, the split-screen model can be a specific variation of the acceleration 'a' of a foldable electronic device over time 't'. Foldable electronic devices can pre-store multiple split-screen display models.

[0168] Specifically, the measured state data is matched with a pre-stored split-screen model to obtain the correlation coefficient between the state data and the split-screen model. If the correlation coefficient is greater than or equal to a matching threshold, such as 80%, 90%, or 95%, it is determined that the state data of the foldable electronic device matches the split-screen model, meaning the user wants to split the screen, and the electronic device is triggered to display the split screen.

[0169] Specifically, if the correlation coefficient is less than the matching threshold, it is determined that the state data of the foldable screen electronic device does not match the split-screen model, that is, it is determined that the user does not want to split the screen, and the foldable screen electronic device does not perform split-screen display.

[0170] Step S152: Display the first application interface on screen A or screen B.

[0171] Specifically, the folding screen of a foldable electronic device is a single unit. For ease of description, the folding screen is divided into screen A and screen B by a virtual folding edge, and screens A and B can be bent along the folding edge.

[0172] Specifically, after triggering split-screen display, which part of the foldable screen the first application interface is displayed on depends on the direction of the user's split-screen trigger action, i.e., the direction of "shaking," "tapping," or "bumping," which in turn determines which split-screen model the foldable electronic device's state data successfully matches. Overall, the split-screen process of a foldable screen presents the user with the effect of shaking, tapping, or bumping the full-screen page away from the user.

[0173] Specifically, through the first split-screen animation, the original full-screen application interface is displayed on screen A or screen B. This first split-screen animation can take various forms.

[0174] Step S153: Display one or more of the desktop, recently used apps, and recommended apps in other areas of the foldable screen.

[0175] Specifically, while screen A displays the original full-screen first application interface, screen B can display the desktop. The desktop displayed on screen B can include icons of various applications shown on the home screen, and may also include a persistent bar containing icons of frequently used applications such as dialer, messages, and / or contacts.

[0176] Specifically, when screen A displays the original full-screen first application interface, screen B can be divided into upper and lower sections to display content. The upper section of screen B can display recently used or recommended applications, while the lower section can display the desktop. Alternatively, in other embodiments, the upper section of screen B can display the desktop, while the lower section can display recently used or recommended applications.

[0177] Specifically, while screen A displays the original full-screen first application interface, screen B can display only recently used or recommended applications to facilitate user selection.

[0178] Step S154: In response to the user selecting a second application, display the interface of the second application in other areas of the foldable screen.

[0179] Specifically, when the first application interface, which was originally displayed in full screen, is on screen A, if the user clicks the icon of the second application on screen B, the second application interface will be displayed on screen B of the foldable screen.

[0180] Specifically, the second application supports split-screen display.

[0181] Specifically, screen B displays the second application interface through a second split-screen animation. This second split-screen animation can take various forms.

[0182] Specifically, while the first application interface, which was originally displayed in full screen, is shown on screen A, the second application interface is displayed on screen B, and the foldable electronic device is in a split-screen display state.

[0183] Step S155: Split-screen display is detected again, and the foldable screen displays the second application interface in full screen.

[0184] Specifically, when the foldable electronic device is in split-screen display mode, its status data is continuously monitored by A+G sensors. Upon detecting a split-screen display trigger, the foldable screen displays the second application interface in full-screen mode via a third split-screen animation; that is, the first application interface is hidden, and the second application interface fills the foldable screen. The foldable electronic device then exits the split-screen display mode.

[0185] Specifically, the third split-screen animation can take various forms, including but not limited to revealing, covering, page scrolling, chessboard, blinds, etc.

[0186] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0187] This application also provides a foldable screen electronic device, which may include: a first housing, a second housing, a hinge mechanism, a foldable screen, an A+G sensor, a memory, and a processor. The memory can be used to store computer programs; the processor can be used to invoke the computer programs in the memory, so that the terminal device executes the methods executed on the terminal device side in any of the above embodiments.

[0188] This application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the method executed on the terminal device side in any of the above embodiments.

[0189] This application also provides a computer-readable storage medium storing a computer program (also referred to as code or instructions). When the computer program is run, it causes the computer to perform the method executed on the terminal device side in any of the above embodiments.

[0190] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0191] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0192] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.

Claims

1. A split-screen display method, applied to electronic devices with foldable screens, characterized in that, When the electronic device is in an unfolded state and the foldable screen displays a first interface of a first application in full screen, the method includes: A specific motion state of the electronic device was detected; In response to the specific motion state, a second interface of the first application is displayed on the foldable screen; the area of ​​the second interface is smaller than the area of ​​the first interface.

2. The split-screen display method according to claim 1, characterized in that, The content displayed on the second interface is at least partially the same as the content displayed on the first interface.

3. The split-screen display method according to claim 1 or 2, characterized in that, The foldable screen displays one or more of the desktop, recently used applications, and recommended applications in an area outside the second interface.

4. The split-screen display method according to any one of claims 1-3, characterized in that, The specific motion states include: When the electronic device is stationary, it reciprocates in the same direction at least once within a preset time period.

5. The split-screen display method according to claim 4, characterized in that, When the acceleration of the electronic device is less than a preset acceleration value, the electronic device is determined to be in the stationary state.

6. The split-screen display method according to claim 4 or 5, characterized in that, The reciprocating motion includes moving first in a first direction and then in a second direction, wherein the first direction and the second direction are opposite in direction; The second interface of the first application is displayed on the foldable screen; The area of ​​the second interface being smaller than the area of ​​the first interface includes: The first interface moves along the first direction to form the second display interface.

7. The split-screen display method according to any one of claims 1-6, characterized in that, The detection of a specific motion state of the electronic device includes: When the motion state of the electronic device is detected to match the split-screen model, it is determined that the electronic device is in the specific motion state, wherein the split-screen model includes: Where A1 represents the magnitude of acceleration a, and ω1 represents the angular velocity of acceleration a as a function of time t. This represents the displacement from the origin of the coordinate system.

8. The split-screen display method according to claim 7, characterized in that, The split-screen model also includes: Where A2 represents the magnitude of acceleration a, and A1 < A2; ω2 represents the angular velocity of acceleration a as a function of time t, and ω1 > ω2; and This represents the displacement from the origin of the coordinate system.

9. The split-screen display method according to claim 3, characterized in that, The foldable screen displays recently used applications in an area outside the second interface. In response to selecting a recently used application, the interface of that application is displayed in the area outside the second interface via a second split-screen animation. The second split-screen animation includes zooming, smoothing, pushing in, falling, revealing, covering, page curling, checkerboard, or blinds.

10. The split-screen display method according to any one of claims 1-9, characterized in that, The area of ​​the first region is half the area of ​​the foldable screen.

11. An electronic device with a foldable screen, characterized in that, The electronic device includes a first housing, a second housing, a pivot mechanism, a foldable screen, an A+G sensor, a memory, and a processor. The first housing and the second housing are rotatably connected by the pivot mechanism, and the foldable screen covers the first housing and the second housing. The memory is configured to store computer programs; The processor is configured to invoke a computer program in the memory to cause the electronic device to perform the split-screen display method according to any one of claims 1-10.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program instructions that, when executed on the electronic device, cause the electronic device to perform the split-screen display method as described in any one of claims 1-10.