CN115904587A - Split screen display method, intelligent terminal and storage medium - Google Patents

Split screen display method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN115904587A
CN115904587A CN202211459922.XA CN202211459922A CN115904587A CN 115904587 A CN115904587 A CN 115904587A CN 202211459922 A CN202211459922 A CN 202211459922A CN 115904587 A CN115904587 A CN 115904587A
Authority
CN
China
Prior art keywords
preset
window
partition
display area
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211459922.XA
Other languages
Chinese (zh)
Inventor
佘帷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202211459922.XA priority Critical patent/CN115904587A/en
Publication of CN115904587A publication Critical patent/CN115904587A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a split-screen display method, an intelligent terminal and a storage medium, wherein the split-screen display method is applied to the intelligent terminal for displaying a first window and a second window, and comprises the following steps: responding to the dragging operation of the first window, acquiring the end position of the dragging operation, and determining or generating a first preset partition corresponding to the first window based on the end position; determining or generating a second preset partition corresponding to the second window based on the first preset partition; and displaying the first window in the first preset partition, and displaying the second window in the second preset partition. According to the application, when the intelligent terminal opens the application windows in the large screen, a user can automatically split the screen by dragging one of the application windows, the operation is simple and convenient, the intelligence of split screen display is improved, and further the user experience is improved.

Description

Split screen display method, intelligent terminal and storage medium
Technical Field
The application relates to the technical field of split screen display, in particular to a split screen display method, an intelligent terminal and a storage medium.
Background
Along with the development of science and technology, intelligent terminals such as smart phones and tablet computers are gradually popularized and become an indispensable part of daily life of people, the intelligent terminals basically adopt large screens, and users can operate the intelligent terminals through touch control.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: although the screen of the intelligent terminal can be displayed in a split screen manner, when the screen is displayed in a split screen manner, the screen and the second window are opened only by manual operation of a user under the condition that only one window is displayed, the process is complicated, the function is single, and the user experience is poor.
Therefore, a solution for automatically separating multiple windows is needed.
Disclosure of Invention
In view of the above technical problems, the present application provides a split-screen display method, an intelligent terminal and a storage medium, so that a user can automatically perform split-screen display by dragging one of application windows when a plurality of application windows exist simultaneously under a large screen, and the operation is simple and convenient.
In order to solve the above technical problem, the present application provides a split-screen display method, which can be applied to an intelligent terminal for displaying a first window and a second window, and includes the following steps:
s10: responding to the dragging operation of the first window, acquiring the end position of the dragging operation, and determining or generating a first preset partition corresponding to the first window based on the end position;
s20: determining or generating a second preset partition corresponding to the second window based on the first preset partition;
s30: and displaying the first window in the first preset partition, and displaying the second window in the second preset partition.
Optionally, at least four preset partitions exist in a display area of the intelligent terminal, where the four preset partitions include: and dividing four formed preset partitions according to a first preset proportion on the basis of at least two line segments of the display area.
Optionally, the preset partition where the display area exists may further include: two preset subareas which are arranged up and down and formed by dividing the first line segment of the display area according to a second preset proportion, or,
and dividing the formed two preset partitions arranged left and right according to a second preset proportion based on a second line segment of the display area.
Optionally, each preset partition corresponds to a preset position area in the display area, and the preset position area includes: at least three preset position areas formed by extending the four angles of the display area to the central point of the display area within a preset range, or,
and the middle points of the four edges of the display area extend towards the central point of the display area in a preset range to form at least three preset position areas.
Optionally, step S10 includes:
if the end position is in any preset position area, taking the preset position area where the end position is as a target preset position area;
and taking a preset partition corresponding to the target preset position area as the first preset partition.
Optionally, step S20 includes:
acquiring the area of the overlapping part of the second window and each preset partition except the first preset partition;
and taking the preset subarea with the area of the overlapped part reaching the preset condition as the second preset subarea.
Optionally, after step S30, the method further includes:
responding to a sliding operation, and acquiring a starting position and an ending position of the sliding operation corresponding to a display area of the intelligent terminal;
if the starting position is in the first preset subarea, the ending position is in the second preset subarea, or the starting position is in the second preset subarea, and the ending position is in the first preset subarea;
the first window and the second window are swapped based on the sliding operation.
Optionally, the split-screen display method further includes:
if the display area of the intelligent terminal is divided by a first preset partition and a second preset partition, acquiring dragging operation triggered by a shared boundary between the preset partitions;
if the sharing boundary is a first sharing boundary and the dragging operation is a longitudinal dragging operation, translating the first sharing boundary to the end position of the longitudinal dragging operation; and/or the presence of a gas in the gas,
and if the sharing boundary is a second sharing boundary and the dragging operation is a transverse dragging operation, translating the second sharing boundary to the end position of the transverse dragging operation.
The application also provides an intelligent terminal, including: the device comprises a memory and a processor, wherein the memory stores a split-screen display program, and the split-screen display program realizes the steps of the method when being executed by the processor.
The present application also provides a storage medium storing a computer program which, when executed by a processor, performs the steps of the method as described above.
As described above, the split-screen display method of the present application is applied to an intelligent terminal that displays a first window and a second window, and includes: acquiring an end position of dragging operation triggered by the first window, and determining or generating a first preset partition corresponding to the first window based on the end position; determining or generating a second preset partition corresponding to the second window based on the first preset partition; and displaying the first window in the first preset partition, and displaying the second window in the second preset partition. Through the technical scheme, when the intelligent terminal opens the application windows in the large screen, a user can automatically split the screen by dragging one of the application windows, the operation is simple and convenient, the intelligence of split screen display is improved, and the user experience is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a split-screen display method according to the first embodiment;
fig. 4 is a schematic diagram showing a screen division display according to a drag operation according to the first embodiment;
fig. 5 is a schematic diagram illustrating four preset partitions formed by dividing a display area of an intelligent terminal by two middle lines according to a second embodiment;
fig. 6 is a schematic diagram showing preset partitions formed by dividing a display area of an intelligent terminal by horizontal line segments or vertical line segments, respectively, according to a second embodiment;
fig. 7 is a schematic view showing respective preset position areas according to the second embodiment;
fig. 8 is a schematic view of a screen splitting effect corresponding to each preset position area according to the second embodiment;
FIG. 9 is a schematic diagram illustrating a window displayed by different preset sections being exchanged according to the third embodiment;
fig. 10 is a diagram illustrating a preset partition boundary after moving according to the fourth embodiment.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element, and further, components, features, elements, and/or steps that may be similarly named in various embodiments of the application may or may not have the same meaning, unless otherwise specified by its interpretation in the embodiment or by context with further embodiments.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", further for example," A, B or C "or" A, B and/or C "means" either: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in the specific implementation, but these should be within the protection scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may include smart terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: RF (Rad i o Frequency) unit 101, wi Fi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (global System for mobile communications, GSM), GPRS (general Packet radio service ), CDMA2000 (Code Di v i on Mu i p i e Access 2000, code division multiple Access 2000), WCDMA (Wi deband Code Di v i on Mu i p i e Access, wideband Code division multiple Access), TD-SCDMA (T ime Di vi i on-Synchronous Code D i vi i on Mu i T i e Access, time division Synchronous Code division multiple Access), FDD-LTE (Frequency Di vi i on Dup l exing-Long Term Evo i on, frequency division duplex Long Term evolution), TDD-LTE (T ime Di vi i on Dup l exing-Long Term Evo i on, time division duplex Long Term evolution) and 5G.
Wi Fi belongs to the short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the Wi Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the smart terminal and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi fi module 102 or stored in the memory 109 into an audio signal and output as sound when the smart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input unit 104 may include a Graphics Processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by graphics processor 1041 may be stored in memory 109 (or other storage medium) or transmitted via radio frequency unit 101 or Wi Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Li qu i d crystal l Di sp l ay, LCD), an organic light emitting diode (organic light-emitting i ng Di ode, OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine or generate the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the smart terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby integrally monitoring the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which optionally primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User equipment) 201, an e-UTRAN (evolved UMTS terresti a l Rad i oAccess Network, evolved UMTS terrestrial radio access Network) 202, an epc (evolved Packet Core) 203, and a I P service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPCs 203 may include MME (Mob i identity Management Ent i ty, mobility Management entity) 2031, HSS (Home subscriber i ber Server) 2032, other MMEs 2033, SGWs (serving gateway) 2034, PGWs (PDN gateway) 2035, PCRFs (Po i cell and Chargi ng Ru l es Funct i on, policy and charging function entity) 2036, and so forth. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide I P address assignment and other functions for UE201, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and I P bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
I P services 204 may include the Internet, intranets, I MS (I P Mu l t input I a Subsystem, I P multimedia Subsystem), or other I P services, etc.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, and future new network systems (e.g. 6G), and the like.
Based on the intelligent terminal hardware structure and the communication network system, the embodiments of the application are provided.
First embodiment
Referring to fig. 3, fig. 3 is a flowchart illustrating a split-screen display method according to a first embodiment, where the split-screen display method is applied to an intelligent terminal that displays a first window and a second window, and the split-screen display method includes the following steps:
s10: responding to the dragging operation of the first window, acquiring the end position of the dragging operation, and determining or generating a first preset partition corresponding to the first window based on the end position;
in this embodiment, at least two windows that do not occupy the full screen are displayed in a display area of an applied intelligent terminal, which are a first window and a second window, respectively, and the intelligent terminal is further provided with a touch area, where a user can drag the windows through the touch area, and any window can respond to a drag operation triggered by the window itself and move to an edge of the display area according to the drag operation to trigger an automatic screen splitting function.
Optionally, the dragging operation of the user may also be that the user presses any window until a finger position appears to start the split screen identifier, then the user drags the window, the start split screen identifier moves along with the finger of the user, and when the dragging is finished, the position of the start split screen identifier is used as the end position of the dragging operation.
Optionally, the display area of the intelligent terminal may be overlapped with or distinguished from the touch area, and when the display area is overlapped with the touch area, the intelligent terminal adopts a display screen with a touch function; when the display area is distinguished from the touch area, the intelligent terminal adopts a display screen with a display function and a touch pad with a touch function.
Optionally, the method for obtaining an end position of the dragging operation triggered by the first window, and determining or generating the first preset partition corresponding to the first window based on the end position includes:
step S101, if the end position is in any preset position area, taking the preset position area where the end position is as a target preset position area;
step S102, using a preset partition corresponding to the target preset position area as the first preset partition.
In this embodiment, each preset position area exists in the display area of the intelligent terminal, each preset position area corresponds to one preset partition, after the end position of the dragging operation triggered by the first window is obtained, the preset position area to which the end position belongs is determined or generated, and then the preset partition corresponding to the preset position area is determined or generated, so that the preset partition can be used as the first preset partition corresponding to the first window triggering the dragging operation, when any window triggers the dragging operation, the corresponding preset partition exists, and the window triggering the dragging operation can be displayed in the corresponding preset partition subsequently.
In the embodiment, the end position of the dragging operation when the dragging operation is triggered through any window can determine or generate the preset partition displayed in the subsequent window, so that the effect of automatically splitting the screen according to the dragging operation is achieved, and the intelligence of split-screen display is improved.
S20: determining or generating a second preset partition corresponding to the second window based on the first preset partition;
in this embodiment, a first window and a second window are displayed in a display area of the intelligent terminal, and after the first window triggering the dragging operation determines or generates a corresponding first preset partition, the first preset partition is removed from the display area, overlapping areas of the second window and other preset partitions are respectively determined or generated, and the preset partition whose overlapping area meets a preset condition is used as a second preset partition corresponding to the second window.
Optionally, the method for determining or generating the second preset partition corresponding to the second window based on the first preset partition specifically includes:
step S201, acquiring the area of the overlapping part of the second window and each preset partition except the first preset partition;
step S202, using the preset partition with the overlapping area reaching the preset condition as the second preset partition.
In this embodiment, after determining or generating the first preset partition corresponding to the first window, the overlapping area of the second window and each preset partition other than the first preset partition is obtained, and the preset partition whose overlapping area meets the preset condition is used as the second preset partition corresponding to the second window, for example, the preset condition may be that the overlapping area occupies the largest area, the overlapping areas corresponding to the preset partitions are compared, and the preset partition corresponding to the overlapping area occupying the largest area serves as the second preset partition.
In this embodiment, after the dragging operation is triggered through any window and the corresponding preset partition is determined or generated, the other windows can automatically determine or generate the corresponding preset partition in the other preset partitions, so that the subsequent automatic screen splitting is performed according to the preset partition corresponding to each window, and the intelligence of the screen splitting display is improved.
S30: and displaying the first window in the first preset partition, and displaying the second window in the second preset partition.
In this embodiment, the first preset partition is a preset partition corresponding to the first window, the second preset partition is a preset partition corresponding to the second window, and after the first preset partition and the second preset partition are determined or generated, the first window is directly displayed in the first preset partition, and the second window is displayed in the second preset partition, referring to fig. 4, where fig. 4 is a schematic diagram illustrating that the first window is displayed in the first preset partition and the second window is displayed in the second preset partition according to the dragging operation.
Optionally, each preset partition may define a display window by user, and after the preset partition corresponding to any window is determined or generated, the original window may be directly eliminated, and the display content of the original window is displayed on the display window of the corresponding preset partition.
In this embodiment, when two windows exist in the display area of the intelligent terminal, the dragging operation triggered by any window determines or generates a preset partition corresponding to the window, a preset partition corresponding to another window is determined or generated according to the preset partition, then the display area is split according to the two preset partitions and the two windows are displayed in the corresponding preset partitions respectively, when the intelligent terminal opens a plurality of application windows in a large screen, a user can automatically split the screen by dragging one of the windows, the operation is simple and convenient, the intelligence of split screen display is improved, and further the user experience is improved.
Second embodiment
On the basis of the first embodiment of the present application, this embodiment discloses that there are at least four preset partitions in the display area of the intelligent terminal, and the four preset partitions include:
and dividing four formed preset partitions according to a first preset proportion based on at least two line segments of the display area, wherein optionally, a shared boundary exists between adjacent preset partitions.
In this embodiment, the at least four preset partitions in the display area of the intelligent terminal include: dividing a display area according to two middle lines of the display area of the intelligent terminal to form four quadrilateral areas serving as four preset partitions, wherein a shared boundary exists between adjacent preset partitions, and referring to fig. 5, fig. 5 is a schematic diagram of the four preset partitions formed by dividing the display area by the two middle lines of the display area of the intelligent terminal.
This embodiment is through dividing intelligent terminal's display area into four and predetermine the subregion for a plurality of split screens that can carry out different arrangements, the user selectable split screen mode is more, has improved the variety that the split screen shows, has promoted user experience.
Optionally, in addition to the four preset partitions, the preset partition may further include: the display area comprises a first line segment, a second line segment and a third line segment, wherein the first line segment is divided into two preset subareas which are arranged up and down on the basis of the display area according to a second preset proportion, or the second line segment is divided into two preset subareas which are arranged left and right on the basis of the display area according to the second preset proportion.
In this embodiment, the preset partition that may also exist in the display area of the intelligent terminal includes: according to the horizontal line segment of the display area of the intelligent terminal, dividing the display area according to a preset proportion to form two quadrilateral areas which are arranged up and down, or according to the longitudinal line segment of the display area of the intelligent terminal, dividing the display area according to a preset proportion to form two quadrilateral areas which are arranged left and right, wherein a sharing boundary exists between the adjacent preset subareas, referring to fig. 6, fig. 6 is a schematic diagram of the preset subareas which are formed by dividing the display area respectively by the horizontal line segment or the longitudinal line segment of the display area of the intelligent terminal, when any preset subarea is subsequently determined to be the preset subarea corresponding to any window, the window can be directly displayed in the preset subarea, or when a user-defined display window exists in the preset subarea, the display content of the window is displayed in the display window and the window is eliminated, in addition, when any preset subarea is subsequently determined or generated to be the preset subarea corresponding to any window, the other adjacent preset subarea can be directly used as the preset subarea corresponding to another window. The four angles of the quadrilateral area can be any angle, and each angle can be equal or unequal, for example, the quadrilateral area can be rectangular or non-rectangular. The preset ratio may be 5:5, or 4:6, which is not specifically limited herein.
This embodiment is through dividing intelligent terminal's display area into two of arranging about the range predetermine the subregion or two of arranging about and predetermine the subregion, and the user can show the window as required in the suitable subregion of predetermineeing, has improved the suitability of split screen display, makes easy operation, has promoted user experience.
Optionally, each preset partition corresponds to a preset position area in the display area, and each preset position area includes: the display device comprises a display area, at least three preset position areas formed by extending a preset range from four corners of the display area to a central point of the display area, or at least three preset position areas formed by extending a preset range from middle points of four edges of the display area to the central point of the display area.
In this embodiment, each preset position area exists in the display area of the intelligent terminal, for example, each preset position area may be a non-overlapping rectangular area, refer to fig. 7, and fig. 7 is a schematic diagram of each preset position area, four corners of the display area of the intelligent terminal extend to a center point of the display area to form four preset position areas of 1, 3, 7, and 9, four edges of the display area of the intelligent terminal extend to the center point of the display area to form four preset position areas of 2, 4, 6, and 8, and 5 is a default preset position area. In four preset partitions formed by averagely dividing a display area by two middle lines of the display area of the intelligent terminal, 1 is a preset position area corresponding to the preset partition at the upper left corner, 3 is a preset position area corresponding to the preset partition at the upper right corner, 7 is a preset position area corresponding to the preset partition at the lower left corner, and 9 is a preset position area corresponding to the preset partition at the lower right corner; in two preset subareas which are arranged up and down and are formed by averagely dividing a display area by a transverse line segment of the display area of the intelligent terminal, 2 is a preset position area corresponding to the upper preset subarea, 8 is a preset position area corresponding to the lower preset subarea, or in two preset subareas which are arranged left and right and are formed by dividing the display area by a longitudinal line segment of the display area of the intelligent terminal, 4 is a preset position area corresponding to the left preset subarea, and 6 is a preset position area corresponding to the right preset subarea. Therefore, according to the preset position area where the end position of the dragging operation triggered by any window is located, the preset partition corresponding to the window can be determined or generated, and then, the split-screen display can be performed according to the preset partition corresponding to the window, referring to fig. 8, where the parts numbered 1 to 9 in fig. 8 are the split-screen effect schematic diagrams corresponding to the preset position areas numbered 1 to 9 in fig. 7.
In this embodiment, by determining or generating each preset partition, each preset position area, and the corresponding relationship between each preset partition and each preset position area, when any window triggers the dragging operation to perform split-screen display, the corresponding preset partition can be accurately determined or generated, accuracy and intelligence of split-screen display are improved, and the scheme can realize simultaneous determination or generation of at least two split-screen displayed windows, thereby being more convenient for users to use and improving user experience.
Third embodiment
On the basis of the first embodiment and the second embodiment of the present application, this embodiment discloses that the first window is displayed in the first preset partition, and after the second window is displayed in the second preset partition, the split-screen display method further includes:
step S401, responding to a sliding operation, and acquiring a starting position and an ending position of the sliding operation corresponding to a display area of the intelligent terminal;
step S402, if the starting position is in the first preset partition, the ending position is in the second preset partition, or the starting position is in the second preset partition, and the ending position is in the first preset partition;
step S402, the first window and the second window are exchanged based on the sliding operation.
In this embodiment, after the intelligent terminal performs split-screen display of at least two windows, if a sliding operation triggered by a user is responded, a start position and an end position of the sliding operation in a display area of the intelligent terminal need to be obtained, if the start position is in a first preset partition, the end position is in a second preset partition, or if the start position is in the second preset partition and the end position is in the first preset partition, the first window and the second window are directly exchanged, and display contents of the first preset partition and the second preset partition are exchanged, referring to fig. 9, fig. 9 is a schematic diagram illustrating how windows displayed in different preset partitions are exchanged.
Optionally, if the start position of the sliding operation is in the first preset partition or the second preset partition, and the end position is in the preset partition of the undisplayed window, moving the window corresponding to the start position to the preset partition of the undisplayed window for displaying.
Optionally, after the window of any preset partition is pressed for a long time by the user, the exchange identifier may be displayed at the finger position, and when the user performs a sliding operation and the end position, that is, the position of the exchange identifier, is located in another preset partition, the display contents of the two preset partitions are exchanged.
In this embodiment, after the intelligent terminal performs split-screen display, the position of the display content of each preset partition can be exchanged or switched according to the triggered sliding operation, so that the intelligence of the split-screen display is improved, the use by a user is facilitated, and the user experience is improved.
Fourth embodiment
On the basis of the first, second, and third embodiments of the present application, this embodiment discloses that the split-screen display method further includes:
step S001, if the display area of the intelligent terminal is divided by a first preset partition and a second preset partition, acquiring dragging operation triggered by a shared boundary between the preset partitions;
step S002, if the sharing boundary is a first sharing boundary and the dragging operation is a longitudinal dragging operation, translating the first sharing boundary to an end position of the longitudinal dragging operation; and/or the presence of a gas in the gas,
and step S003, if the sharing boundary is a second sharing boundary and the dragging operation is a horizontal dragging operation, translating the second sharing boundary to the end position of the horizontal dragging operation.
In this embodiment, because a shared boundary exists between the preset partitions, when a display area of the intelligent terminal is divided by a first preset partition corresponding to the first window and a second preset partition corresponding to the second window to perform split-screen display, the shared boundary may be moved according to a dragging operation triggered by the shared boundary between the preset partitions, so as to change an area of the shared boundary adjacent to the preset partitions, for example, when the shared boundary is a boundary in a horizontal direction, a user performs a longitudinal dragging operation on the shared boundary, and if the longitudinal dragging operation satisfies that an included angle between a dragging track of the longitudinal dragging operation and a vertical direction of the display area is less than or equal to a preset threshold, the boundary is moved in the vertical direction and moved to an end position of the dragging operation, that is, a position where a user finger leaves the touch area; and when the shared boundary is a boundary in the vertical direction, the user performs a transverse dragging operation on the shared boundary, and if the transverse dragging operation meets the condition that an included angle between a dragging track of the user and the vertical direction of the display area is less than or equal to a preset threshold value, the boundary is moved in the horizontal direction and is moved to the end position of the dragging operation, namely the position of the user finger away from the touch area.
Optionally, not only the dragging operation may be performed on the shared boundary between the preset partitions of the displayed content, but also the position of the boundary may be moved according to the dragging operation triggered by the boundary between the preset partition of the displayed content and the preset partition of the undisplayed content, so as to change the area of the preset partition of the displayed content, referring to fig. 10, where fig. 10 is a schematic diagram after the preset partition boundary is moved.
In this embodiment, the user can change the area of the preset partition by dragging the boundary between the adjacent preset partitions, so that the area is adjusted to the size most suitable for watching, the intelligence of split-screen display is improved, the use by the user is more convenient, and the user experience is improved.
The embodiment of the application further provides an intelligent terminal, which comprises a memory and a processor, wherein the memory is stored with a split-screen display program, and the split-screen display program is executed by the processor to realize the steps of the split-screen display method in any embodiment.
The embodiment of the application further provides a storage medium, wherein the storage medium stores a split-screen display program, and the split-screen display program is executed by the processor to implement the steps of the split-screen display method in any one of the embodiments.
In the embodiments of the intelligent terminal and the storage medium provided in the present application, all technical features of any one of the above embodiments of the split-screen display method may be included, and the expanding and explaining contents of the specification are basically the same as those of the above embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk) as above, and includes several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy disk, memory disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State memory disk So i d State Di sk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A split screen display method is applied to an intelligent terminal for displaying a first window and a second window, and comprises the following steps:
s10: responding to the dragging operation of the first window, acquiring the end position of the dragging operation, and determining or generating a first preset partition corresponding to the first window based on the end position;
s20: determining or generating a second preset partition corresponding to the second window based on the first preset partition;
s30: and displaying the first window in the first preset partition, and displaying the second window in the second preset partition.
2. The method of claim 1, wherein at least four preset partitions exist in the display area of the intelligent terminal, and the four preset partitions comprise:
and dividing four formed preset partitions according to a first preset proportion on the basis of at least two line segments of the display area.
3. The method of claim 2, wherein the presence of the predefined partition of the display area further comprises:
two preset subareas which are arranged up and down and formed by dividing the first line segment of the display area according to a second preset proportion, or,
and dividing the formed two preset partitions arranged left and right according to a second preset proportion on the basis of a second line segment of the display area.
4. The method as claimed in claim 3, wherein each predetermined partition corresponds to a predetermined location area in the display area, the predetermined location area comprising:
at least three preset position areas formed by extending the four angles of the display area to the central point of the display area within a preset range, or,
and the middle points of the four edges of the display area extend towards the central point of the display area in a preset range to form at least three preset position areas.
5. The method of claim 4, wherein step S10 comprises:
if the end position is in any preset position area, taking the preset position area where the end position is as a target preset position area;
and taking a preset partition corresponding to the target preset position area as the first preset partition.
6. The method according to any of claims 1 to 5, wherein step S20 comprises:
acquiring the area of the overlapping part of the second window and each preset partition except the first preset partition;
and taking the preset subarea with the area of the overlapped part reaching the preset condition as the second preset subarea.
7. The method according to any one of claims 1 to 5, wherein after step S30, further comprising:
responding to a sliding operation, and acquiring a starting position and an ending position of the sliding operation corresponding to a display area of the intelligent terminal;
if the starting position is in the first preset subarea, the ending position is in the second preset subarea, or the starting position is in the second preset subarea, and the ending position is in the first preset subarea;
the first window and the second window are swapped based on the sliding operation.
8. The method of any of claims 1 to 5, further comprising:
if the display area of the intelligent terminal is divided by a first preset partition and a second preset partition, acquiring dragging operation triggered by a shared boundary between the preset partitions;
if the sharing boundary is a first sharing boundary and the dragging operation is a longitudinal dragging operation, translating the first sharing boundary to the end position of the longitudinal dragging operation; and/or the presence of a gas in the gas,
and if the sharing boundary is a second sharing boundary and the dragging operation is a transverse dragging operation, translating the second sharing boundary to the end position of the transverse dragging operation.
9. An intelligent terminal, comprising: a memory, a processor, wherein the memory has stored thereon a split-screen display program, which when executed by the processor implements the steps of the split-screen display method of any one of claims 1 to 8.
10. A storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the split-screen display method according to any one of claims 1 to 8.
CN202211459922.XA 2022-11-16 2022-11-16 Split screen display method, intelligent terminal and storage medium Pending CN115904587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211459922.XA CN115904587A (en) 2022-11-16 2022-11-16 Split screen display method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211459922.XA CN115904587A (en) 2022-11-16 2022-11-16 Split screen display method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115904587A true CN115904587A (en) 2023-04-04

Family

ID=86483638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211459922.XA Pending CN115904587A (en) 2022-11-16 2022-11-16 Split screen display method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115904587A (en)

Similar Documents

Publication Publication Date Title
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN113900560A (en) Icon processing method, intelligent terminal and storage medium
CN107608629B (en) Data migration method, terminal and computer readable storage medium
CN107580106B (en) Call control method, mobile terminal and computer readable storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium
CN114741359A (en) Processing method, intelligent terminal and storage medium
CN113867588A (en) Icon processing method, intelligent terminal and storage medium
CN113885752A (en) Icon processing method, intelligent terminal and storage medium
CN113867586A (en) Icon display method, intelligent terminal and storage medium
CN113900556A (en) Icon processing method, intelligent terminal and storage medium
CN114138144A (en) Control method, intelligent terminal and storage medium
CN113824176A (en) Charging method, earphone, terminal and storage medium
CN113381924A (en) Processing method, mobile terminal and storage medium
CN112905278A (en) Application program switching method and device
CN115904587A (en) Split screen display method, intelligent terminal and storage medium
WO2023092343A1 (en) Icon area management method, intelligent terminal and storage medium
CN115048003A (en) Processing method, intelligent terminal and storage medium
CN113407081A (en) Display method, mobile terminal and storage medium
CN115756239A (en) Display method, intelligent terminal and storage medium
CN117222973A (en) Application display method, mobile terminal and storage medium
CN113342244A (en) Interface display method, mobile terminal and storage medium
CN114879873A (en) Application program control method, intelligent terminal and storage medium
CN115080163A (en) Display processing method, intelligent terminal and storage medium
CN114327184A (en) Data management method, intelligent terminal and storage medium
CN115718580A (en) File opening method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication