CN111736786B - Split screen display method and device and computer readable storage medium - Google Patents

Split screen display method and device and computer readable storage medium Download PDF

Info

Publication number
CN111736786B
CN111736786B CN202010571979.3A CN202010571979A CN111736786B CN 111736786 B CN111736786 B CN 111736786B CN 202010571979 A CN202010571979 A CN 202010571979A CN 111736786 B CN111736786 B CN 111736786B
Authority
CN
China
Prior art keywords
screen display
split
display area
display
interface
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.)
Active
Application number
CN202010571979.3A
Other languages
Chinese (zh)
Other versions
CN111736786A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010571979.3A priority Critical patent/CN111736786B/en
Publication of CN111736786A publication Critical patent/CN111736786A/en
Application granted granted Critical
Publication of CN111736786B publication Critical patent/CN111736786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a split-screen display method, a split-screen display device and a computer readable storage medium, wherein the split-screen display method comprises the following steps: when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface; distributing a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area according to the current display state of a display interface; and performing split-screen display on the current display object and the target split-screen display object according to the distribution result. Through the implementation of the scheme, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; in addition, display area distribution is carried out on the split-screen display object according to the interface display state, and the practicability of split-screen display is effectively enhanced.

Description

Split screen display method and device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a split-screen display method and apparatus, and a computer-readable storage medium.
Background
With the rapid development of terminal technology, the use frequency of intelligent terminals such as mobile phones in the work and life of users is higher and higher. In practical applications, a user often encounters some difficulties when using a terminal application, and when the user wants to browse two different applications simultaneously, for example, chat on WeChat while watching a video, the user needs to put the video application in the background and switch the WeChat application to the terminal interface, which brings inconvenience to the user.
In order to solve the inconvenience of using multiple applications, some terminals can support a split-screen display mode at present, and in the split-screen display mode, a display interface is divided into two display areas by the terminal, and then two different applications are displayed simultaneously through the two display areas. However, when the display interface is subjected to split screen layout at present, the display interface is generally simply split into two parts, the rationality of the split screen layout is poor, and the practicability of split screen display is low.
Disclosure of Invention
The embodiment of the application provides a split-screen display method and device and a computer readable storage medium, which can at least solve the problems that the rationality of split-screen layout is poor and the practicability of split-screen display is low because the display interface is usually simply split into two parts when the split-screen layout is performed on the display interface in the related art.
A first aspect of the embodiments of the present application provides a split-screen display method, including:
when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface; the long edge of the horizontal screen display area is vertical to the long edge of the vertical screen display area;
distributing a current display object and a target split-screen display object between the horizontal screen display area and the vertical screen display area according to the current display state of the display interface;
and performing split-screen display on the current display object and the target split-screen display object according to the distribution result.
A second aspect of the embodiments of the present application provides a split-screen display device, including:
the layout module is used for laying out a horizontal screen display area and a vertical screen display area on a display interface when receiving a split screen display instruction; the long edge of the horizontal screen display area is vertical to the long edge of the vertical screen display area;
the distribution module is used for distributing a current display object and a target split-screen display object between the horizontal screen display area and the vertical screen display area according to the current display state of the display interface;
and the display module is used for performing split-screen display on the current display object and the target split-screen display object according to the distribution result.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the display device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the split-screen display method provided in the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the steps in the split-screen display method provided in the first aspect of the embodiments of the present application are implemented.
As can be seen from the above, according to the split-screen display method, device and computer-readable storage medium provided in the present application, when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are laid out on a display interface; distributing a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area according to the current display state of a display interface; and performing split-screen display on the current display object and the target split-screen display object according to the distribution result. Through the implementation of the scheme, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; in addition, display area distribution is carried out on the split-screen display object according to the interface display state, and the practicability of split-screen display is effectively enhanced.
Drawings
Fig. 1 is a schematic basic flowchart of a split-screen display method according to a first embodiment of the present application;
fig. 2 is an interface schematic diagram of a split-screen display interface according to a first embodiment of the present application;
FIG. 3 is a schematic interface diagram of another split-screen display interface provided in the first embodiment of the present application;
FIG. 4 is a schematic interface diagram of another split-screen display interface provided in the first embodiment of the present application;
fig. 5 is a flowchart illustrating a preview display object determining method according to a first embodiment of the present application;
fig. 6 is a schematic flowchart of a method for laying out a split-screen display area according to a first embodiment of the present application;
fig. 7 is a schematic flowchart of another method for laying out split-screen display areas according to a first embodiment of the present application;
fig. 8 is a schematic flowchart of a detailed process of a split-screen display method according to a second embodiment of the present application;
fig. 9 is a schematic diagram of program modules of a split-screen display device according to a third embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the defects that the rationality of the split screen layout is not good and the split screen display is low in practicability due to the fact that the display interface is usually simply split into two when the split screen layout is performed on the display interface in the related art, a first embodiment of the present application provides a split screen display method, for example, fig. 1 is a basic flow chart of the split screen display method provided in this embodiment, and the split screen display method includes the following steps:
step 101, when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface.
Specifically, the horizontal screen display area and the vertical screen display area of the present embodiment are independent from each other on the display interface, and the long side of the horizontal screen display area is perpendicular to the long side of the vertical screen display area. In this embodiment, the horizontal screen display area is horizontally disposed with respect to the current display interface, and the vertical screen display area is vertically disposed with respect to the current display interface. Fig. 2 is a schematic interface diagram of a split-screen display interface provided in this embodiment, where the display interface is in a horizontal-screen display state, a display area a in the display interface is a horizontal-screen display area, and a display area B is a vertical-screen display area; fig. 3 is a schematic interface diagram of another split-screen display interface provided in this embodiment, where the display interface is in a vertical-screen display state, a display area a in the display interface is a vertical-screen display area, and a display area B is a horizontal-screen display area.
It should be noted that, in this embodiment, the display interface may be completely divided into the horizontal screen display area and the vertical screen display area, or only a partial area on the display interface may be divided into the horizontal screen display area and the vertical screen display area. In addition, the split-screen display instruction of the embodiment may be triggered by a special split-screen display control, and the split-screen display control may be triggered by voice or manually.
And 102, distributing the current display object and the target split-screen display object between a horizontal screen display area and a vertical screen display area according to the current display state of the display interface.
Specifically, the display state of the present embodiment may include, but is not limited to, a landscape display state and a portrait display state. In practical application, in different interface display states, the interaction friendliness between the two display areas laid out in the embodiment is different, so that the embodiment determines the interaction friendliness between the horizontal screen display area and the vertical screen display area according to the interface display states, and then allocates the two laid-out split screen display areas to the current display object and the target split screen display object. It should be noted that, in this embodiment, the current display object is an object that is displayed on a full screen on the display interface before split-screen display, and the target split-screen display object is an object to be displayed that needs to be split-screen displayed with the current display object.
In some embodiments of this embodiment, allocating the current display object and the target split-screen display object between the landscape display area and the portrait display area according to the current display state of the display interface includes: when the current display state is a horizontal screen display state, distributing the current display object to a horizontal screen display area, and distributing the target split screen display object to a vertical screen display area; and when the current display state is the vertical screen display state, distributing the current display object to the vertical screen display area, and distributing the target split screen display object to the horizontal screen display area.
Specifically, please refer to fig. 2 again, when the display interface is in the horizontal screen display state, the horizontal screen display area a after the split screen is consistent with the display state of the display interface, and the interaction friendliness is higher, and similarly, referring to fig. 3 again, when the display interface is in the vertical screen display state, the interaction friendliness of the vertical screen display area a after the split screen is higher. In the embodiment, it is considered that an object displayed on a display interface before split-screen display by a user is generally a main operation object of the user, and an object to be displayed which needs to be split-screen displayed is generally an auxiliary operation object, that is, the use priority of the user on the current display object is higher, so that the embodiment selects to allocate the current display object to a split-screen display area with high interaction friendliness, and allocates a target split-screen display object to another split-screen display area, thereby further improving the practicability of split-screen display. Taking a current display object as an application interface and a target split-screen display object as a desktop as an example, when the display interface is in a horizontal screen display state, the application interface is allocated to a horizontal screen display area, and the desktop is allocated to a vertical screen display area, and when the display interface is in a vertical screen display state, the application interface is allocated to the vertical screen display area, and the desktop is allocated to the horizontal screen display area.
It should be noted that, in a preferred embodiment of this embodiment, in the landscape display state, the short side of the landscape display area is collinear with the long side of the portrait display area, the length of the short side of the landscape display area is less than or equal to the length of the long side of the portrait display area, and the sum of the long side of the landscape display area and the short side of the portrait display area is equal to the length of the long side of the display interface; similarly, in the vertical screen display state, the short side of the vertical screen display area is collinear with the long side of the horizontal screen display area, the length of the short side of the vertical screen display area is less than or equal to that of the long side of the horizontal screen display area, and the sum of the length of the short side of the horizontal screen display area and the length of the long side of the vertical screen display area is equal to that of the long side of the display interface.
And 103, performing split-screen display on the current display object and the target split-screen display object according to the distribution result.
Specifically, in this embodiment, the current display object and the target split-screen display object are split-screen displayed on the display interface according to the split-screen display area allocation result. Firstly, when the terminal is split, display areas with different layout styles are presented at the same time, so that the rationality of split screen layout is improved; in addition, according to the embodiment, corresponding display area allocation is carried out on the split-screen display object according to the interface display state, so that the practicability of split-screen display is effectively enhanced.
It should be noted that, in some embodiments of this embodiment, in order to improve the flexibility of split-screen display, after split-screen display is performed, in response to a trigger of a user on a display switching control, a current display object and a target split-screen display object may be switched in a split-screen display area according to a display switching instruction.
In addition, in other embodiments of this embodiment, after the split-screen display is performed, the split-screen display object in the operated state in the two split-screen display objects may be monitored in real time, and the size of the split-screen display area where the split-screen display object in the operated state is located is enlarged, so that the display scale of the real-time operation object on the display interface is improved, and the operation experience of the user is improved.
In some embodiments of this embodiment, after the horizontal screen display area and the vertical screen display area are laid out on the display interface, the method further includes: a preview display area is arranged in an area outside a horizontal screen display area and a vertical screen display area on a display interface; and displaying the preset preview display object in the preview display area.
Fig. 4 is a schematic interface diagram of another split-screen display interface provided in this embodiment, where a display area a is a horizontal screen display area, a display area B is a vertical screen display area, and a display area C is a preview display area. Specifically, in the embodiment, only a part of display areas on the display interface is used for split screen display, while the rest of the display areas can be arranged as preview display areas, and the preview display area is used for performing preview display on a specific display object, so that the convenience of using the terminal is improved. In this embodiment, the type of the preview display object may be an application icon, a message notification, a clock, power, and the like.
Further, in some implementations of this embodiment, the preview display object includes an application icon and a message notification. Correspondingly, the displaying the preset preview display object in the preview display area includes: when the split screen display is started, displaying the application icon in a preview display area; and when the message notification is received in the split-screen display process, controlling the preview display area to carry out skip display on the message notification.
Specifically, in order to fully exert the function of the preview display area, different types of preview display objects can be displayed in different terminal use scenes, wherein when the split-screen display is started, the application icons can be displayed in the preview display area, so that the user can quickly start the corresponding applications by triggering the displayed application icons; in the split-screen display process, the terminal may receive a message notification such as a short message or an instant chat message, so as to avoid display interference caused by popup display of the message notification, in this embodiment, when the message notification is received, the originally displayed application icon in the preview display area may be switched and displayed as the message notification, and the display of the application icon may be switched back after the preset duration of display of the message notification is displayed, so that the user experience may be effectively improved.
As shown in fig. 5, which is a schematic flow chart of a method for determining a preview display object according to this embodiment, further in some embodiments of this embodiment, before displaying a preset preview display object in a preview display area, the method further includes the following steps:
step 501, counting the operation frequency of each application executing split screen display operation in a preset historical time period respectively;
502, sequencing the applications according to the sequence of the operation frequency from high to low;
step 503, determining the application icons of the plurality of applications ranked at the top as preset preview display objects.
Specifically, when the type of the preview display object is an application icon, because the size of the preview display area is limited, in order to ensure effective utilization of the preview display area, the present embodiment determines, as the preview display object, a plurality of applications having higher historical split-screen operation frequencies, and displays the applications in the preview display area, so that the effective utilization of the preview display area can be significantly improved.
Further, in another implementation manner of this embodiment, after displaying the preset preview display object in the preview display area, the method further includes: when a dragging operation acting on a preview display object is received, determining a split-screen display area where the termination position of the dragging operation is located; and triggering the preview display object to be displayed in the split screen display area.
Specifically, in practical applications, in order to improve the rationality of the interface layout, the size of the preview display area is usually smaller than two split-screen display areas, and if the preview display object is only a startup item, the preview display object supports the trigger operation, however, in practical applications, the triggered lower display page cannot be displayed in the preview display area generally, and taking the preview display object as an application icon as an example, the application interface cannot be displayed in the preview display area, so that the embodiment can switch and display the application interface of the triggered application icon in the split-screen display area. In order to further ensure shortcut triggering of the preview display object, the preview display object may be triggered and displayed based on a drag operation input for the preview display object, where a split-screen display area where a drag trajectory end position of the drag operation is located is a display area after the preview display object is triggered, and similarly, taking the preview display object as an application icon as an example, when the application icon is dragged from a display area C to a display area B in fig. 4, a corresponding application starts to run in the display area B, that is, the display object in the display area B is switched to an application interface of the application.
As shown in fig. 6, as a schematic flow chart of a method for laying out split-screen display areas according to this embodiment, in some embodiments of this embodiment, laying out a horizontal-screen display area and a vertical-screen display area on a display interface specifically includes the following steps:
601, acquiring an interface size corresponding to a display interface;
step 602, contracting the interface size according to the first contraction coefficient and the second contraction coefficient respectively to obtain the size of a horizontal screen display area and the size of a vertical screen display area;
step 603, transversely arranging the transverse screen display area on the display interface according to the size of the transverse screen display area, and vertically arranging the vertical screen display area on the display interface according to the size of the vertical screen display area.
Specifically, in this embodiment, the size of the split-screen display area is obtained by performing geometric shrinkage on the size of the display interface according to a preset shrinkage coefficient, where the shrinkage coefficient corresponding to the horizontal-screen display area may be the same as or different from the shrinkage coefficient corresponding to the vertical-screen display area. Because the split-screen display areas of the embodiment are all obtained by the equal-ratio shrinkage of the display interface, the aspect ratio of the split-screen display areas is the same as that of the display interface, and the split-screen display areas can be effectively adapted to each split-screen display object, so that the display effect of split-screen display can be effectively improved.
As shown in fig. 7, as a flow diagram of another method for laying out a split-screen display area according to this embodiment, in another embodiment of this embodiment, laying out a horizontal screen display area and a vertical screen display area on a display interface specifically includes the following steps:
701, respectively acquiring object attributes of a current display object and a target split-screen display object;
step 702, acquiring a corresponding target split-screen layout template from a preset split-screen layout template library based on object attributes;
and 703, distributing a horizontal screen display area and a vertical screen display area on the display interface according to the target split screen layout template.
Specifically, the size of the horizontal screen display area and the size of the vertical screen display area configured for each split screen layout template in the split screen layout template library of the present embodiment are different. In this embodiment, in view of the fact that the optimal display aspect ratios required by different split-screen display objects are different, in order to ensure the optimal split-screen display effect, the embodiment may preset corresponding split-screen display area sizes for each split-screen display object, and combine the split-screen display area sizes of different split-screen display objects as a split-screen layout template, so as to provide for a subsequent corresponding split-screen layout template directly based on the object attributes of the objects to be split-screen displayed, thereby improving the efficiency and rationality of split-screen layout. It should be noted that, taking a split-screen display object as an application as an example, the object attribute may be an application type, or taking a split-screen display object as an in-application interface as an example, the object attribute may be an interface function type.
Based on the technical scheme of the embodiment of the application, when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface; distributing a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area according to the current display state of a display interface; and performing split-screen display on the current display object and the target split-screen display object according to the distribution result. Through the implementation of the scheme, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; in addition, display area distribution is carried out on the split-screen display object according to the interface display state, and the practicability of split-screen display is effectively enhanced.
The method in fig. 8 is a refined split-screen display method provided in a second embodiment of the present application, where the split-screen display method includes:
step 801, when a split-screen display instruction is received, performing equal-ratio shrinkage on the interface size of the display interface according to the first shrinkage coefficient and the second shrinkage coefficient respectively to obtain the size of a horizontal screen display area and the size of a vertical screen display area.
In this embodiment, the two split-screen display areas are obtained by proportionally shrinking the display interface, so that the aspect ratio of the split-screen display areas is the same as that of the display interface, and the split-screen display areas can be effectively adapted to each split-screen display object, and further the display effect of split-screen display can be effectively improved.
And step 802, respectively distributing the horizontal screen display area and the vertical screen display area on the display interface according to the size of the horizontal screen display area and the size of the vertical screen display area, and distributing the preview display area in the rest area on the display interface.
Specifically, in the embodiment, only a part of display areas on the display interface is used for split screen display, while the rest of the display areas can be arranged as preview display areas, and the preview display area is used for performing preview display on a specific display object, so that the convenience of using the terminal is improved.
And 803, distributing the current display object and the target split-screen display object between the horizontal screen display area and the vertical screen display area according to the current display state of the display interface.
And 804, performing split-screen display on the current display object and the target split-screen display object according to the distribution result, and displaying the target application icon in the preview display area.
According to the embodiment, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; in addition, the embodiment allocates the corresponding display areas to the split-screen display objects according to the display state of the interface, so that the practicability of split-screen display is effectively enhanced.
And step 805, when receiving the message notification in the split-screen display process, controlling the preview display area to perform skip display on the message notification.
Specifically, in this embodiment, the preview display area may be used for displaying an application icon and a message notification, where the application icon is displayed when there is no message notification, so as to provide a shortcut start function for the application, and when a message notification is received, the display is switched to the message notification, so as to avoid display interference caused by a pop-up display of an existing message notification.
Step 806, when receiving the dragging operation on the target application icon, determining the split screen display area where the termination position of the dragging operation is located.
And step 807, starting and running the application corresponding to the target application icon in the determined split screen display area.
Specifically, in the embodiment, the corresponding application is quickly started by dragging the application icon from the preview display area to the split-screen display area, and the display area where the application is dragged to when the application is started is the split-screen display area where the application icon is dragged to.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a split-screen display method, when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are respectively arranged on a display interface according to the size of the horizontal screen display area and the size of the vertical screen display area, and a preview display area is arranged in the rest area on the display interface; according to the current display state of the display interface, distributing a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area in a split-screen display area; and according to the split-screen display area distribution result, performing split-screen display on the current display object and the target split-screen display object on a display interface, and displaying the target application icon in the preview display area. Through the implementation of the scheme, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; and moreover, the display area of the split-screen display object is distributed according to the interface display state, so that the practicability of split-screen display is effectively enhanced. In addition, when a dragging instruction input aiming at the target application icon is received, the corresponding application is started and operated in the dragged split-screen display area, and the convenience of application starting in the split-screen display state can be effectively improved.
Fig. 9 is a split-screen display device according to a third embodiment of the present application. The split-screen display device can be used for realizing the split-screen display method in the foregoing embodiment. As shown in fig. 9, the split-screen display device mainly includes:
the layout module 901 is configured to, when a split-screen display instruction is received, layout a horizontal screen display area and a vertical screen display area on a display interface; the long edge of the horizontal screen display area is vertical to the long edge of the vertical screen display area;
the allocating module 902 is configured to allocate, according to a current display state of the display interface, a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area; the display state can comprise a horizontal screen display state and a vertical screen display state;
and the display module 903 is configured to perform split-screen display on the current display object and the target split-screen display object according to the allocation result.
In some embodiments of this embodiment, the allocating module 902 is specifically configured to: when the current display state is a horizontal screen display state, distributing the current display object to a horizontal screen display area, and distributing the target split screen display object to a vertical screen display area; and when the current display state is the vertical screen display state, distributing the current display object to the vertical screen display area, and distributing the target split screen display object to the horizontal screen display area.
In some embodiments of the present embodiment, the layout module 901 is further configured to: after the horizontal screen display area and the vertical screen display area are arranged on the display interface, the preview display area is arranged in an area outside the horizontal screen display area and the vertical screen display area on the display interface. Correspondingly, the display module 903 is further configured to: and displaying the preset preview display object in the preview display area.
Further, in some embodiments of this embodiment, the preset preview display object includes an application icon and a message notification, and correspondingly, when the display module 903 executes displaying the preset preview display object in the preview display area, the display module is specifically configured to: when the split screen display is started, displaying the application icon in a preview display area; and when the message notification is received in the split-screen display process, controlling the preview display area to carry out skip display on the message notification.
Further, in some embodiments of this embodiment, the split-screen display device further includes: the first determining module is used for respectively counting the operation frequency of each application executing split screen display operation in a preset historical time period before displaying a preset preview display object in a preview display area; sequencing the applications according to the sequence of the operation frequency from high to low; and determining application icons of a plurality of applications ranked at the top as preset preview display objects.
Further, in some embodiments of this embodiment, the split-screen display device further includes: and the second determining module is used for determining the split-screen display area where the termination position corresponding to the dragging operation is located when the dragging operation input by acting on the preset preview display object is received after the preset preview display object is displayed in the preview display area. Correspondingly, the display module 903 is further configured to: and triggering and displaying the preview display object in the split screen display area.
In some embodiments of this embodiment, the layout module 901 is specifically configured to: acquiring an interface size corresponding to a display interface; contracting the interface size according to the first contraction coefficient and the second contraction coefficient respectively to obtain the size of a horizontal screen display area and the size of a vertical screen display area; transversely arranging the transverse screen display area on the display interface according to the size of the transverse screen display area, and vertically arranging the vertical screen display area on the display interface according to the size of the vertical screen display area.
In other embodiments of this embodiment, the layout module 901 is specifically configured to: respectively acquiring object attributes of a current display object and a target split-screen display object; acquiring a corresponding target split screen layout template from a preset split screen layout template library based on object attributes, wherein the sizes of a horizontal screen display area and a vertical screen display area configured for each split screen layout template in the split screen layout template library are different; and according to the target split screen layout template, a horizontal screen display area and a vertical screen display area are arranged on the display interface.
It should be noted that, the split-screen display methods in the first and second embodiments can be implemented based on the split-screen display device provided in this embodiment, and persons skilled in the art can clearly understand that, for convenience and simplicity of description, the specific working process of the split-screen display device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not repeated here.
According to the split-screen display device provided by the embodiment, when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface; distributing a current display object and a target split-screen display object between a horizontal screen display area and a vertical screen display area according to the current display state of a display interface; and performing split-screen display on the current display object and the target split-screen display object according to the distribution result. Through the implementation of the scheme, the display areas with different layout styles are displayed simultaneously when the terminal is split, so that the rationality of split screen layout is improved; in addition, display area distribution is carried out on the split-screen display object according to the interface display state, and the practicability of split-screen display is effectively enhanced.
Referring to fig. 10, fig. 10 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the split-screen display method in the foregoing embodiment. As shown in fig. 10, the electronic device mainly includes:
a memory 1001, a processor 1002, a bus 1003 and a computer program stored on the memory 1001 and executable on the processor 1002, the memory 1001 and the processor 1002 being connected by the bus 1003. The processor 1002, when executing the computer program, implements the split-screen display method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 1001 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (e.g., a disk Memory). The memory 1001 is used for storing executable program code, and the processor 1002 is coupled to the memory 1001.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 10.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the split-screen display method in the foregoing embodiments. Further, the computer-readable medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk, and various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently considered to be preferred embodiments and that acts and modules are not required in the present application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the split-screen display method, the split-screen display device and the computer-readable storage medium provided by the present application, those skilled in the art will recognize that the scope of the present application can be varied from the specific embodiments of the present application.

Claims (10)

1. A split-screen display method, comprising:
when a split-screen display instruction is received, a horizontal screen display area and a vertical screen display area are distributed on a display interface; the long edge of the horizontal screen display area is vertical to the long edge of the vertical screen display area; the horizontal screen display area is horizontally arranged relative to the current display interface, and the vertical screen display area is vertically arranged relative to the current display interface;
when the current display state is a horizontal screen display state, distributing a current display object to the horizontal screen display area, and distributing a target split screen display object to the vertical screen display area;
when the current display state is a vertical screen display state, distributing the current display object to the vertical screen display area, and distributing the target split screen display object to the horizontal screen display area;
and performing split-screen display on the current display object and the target split-screen display object according to the distribution result.
2. The split-screen display method of claim 1, wherein after the horizontal screen display area and the vertical screen display area are laid out on the display interface, the method further comprises:
a preview display area is arranged in an area outside the horizontal screen display area and the vertical screen display area on the display interface;
and displaying a preset preview display object in the preview display area.
3. The screen-splitting display method of claim 2, wherein the preset preview display object comprises an application icon and a message notification, and the displaying the preset preview display object in the preview display area comprises:
when the split screen display is started, displaying the application icon in the preview display area;
and when the message notification is received in the split-screen display process, controlling the preview display area to carry out skip display on the message notification.
4. The split-screen display method according to claim 2, wherein before displaying the preset preview display object in the preview display area, the method further comprises:
respectively counting the operating frequency of each application executing split screen display operation in a preset historical time period;
sequencing the applications according to the sequence of the operation frequency from high to low;
and determining application icons of a plurality of applications ranked at the top as the preset preview display object.
5. The split-screen display method according to claim 2, wherein after displaying the preset preview display object in the preview display area, the method further comprises:
when receiving a dragging operation acting on the preset preview display object, determining a split-screen display area where the termination position of the dragging operation is located;
and triggering and displaying the preset preview display object in the split screen display area.
6. The split-screen display method according to any one of claims 1 to 5, wherein the layout of the landscape display area and the portrait display area on the display interface comprises:
acquiring an interface size corresponding to a display interface;
contracting the interface size according to the first contraction coefficient and the second contraction coefficient respectively to obtain the size of a horizontal screen display area and the size of a vertical screen display area;
and transversely arranging the transverse screen display area on the display interface according to the size of the transverse screen display area, and vertically arranging the vertical screen display area on the display interface according to the size of the vertical screen display area.
7. The split-screen display method according to any one of claims 1 to 5, wherein the laying out of the landscape display area and the portrait display area on the display interface comprises:
respectively acquiring object attributes of the current display object and the target split-screen display object;
acquiring a corresponding target split-screen layout template from a preset split-screen layout template library based on the object attribute;
the size of a horizontal screen display area and the size of a vertical screen display area configured for each split screen layout template in the split screen layout template library are different;
and according to the target split-screen layout template, a horizontal screen display area and a vertical screen display area are arranged on a display interface.
8. A split screen display device, comprising:
the layout module is used for laying out a horizontal screen display area and a vertical screen display area on a display interface when a split screen display instruction is received; the long edge of the horizontal screen display area is vertical to the long edge of the vertical screen display area; the horizontal screen display area is horizontally arranged relative to the current display interface, and the vertical screen display area is vertically arranged relative to the current display interface;
the distribution module is used for distributing the current display object to the horizontal screen display area and distributing the target split screen display object to the vertical screen display area when the current display state is the horizontal screen display state;
the distribution module is further configured to distribute the current display object to the vertical screen display area and distribute the target split screen display object to the horizontal screen display area when the current display state is a vertical screen display state;
and the display module is used for performing split-screen display on the current display object and the target split-screen display object according to the distribution result.
9. An electronic device, comprising:
a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is configured to execute a computer program stored on the memory;
the processor, when executing the computer program, performs the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010571979.3A 2020-06-22 2020-06-22 Split screen display method and device and computer readable storage medium Active CN111736786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010571979.3A CN111736786B (en) 2020-06-22 2020-06-22 Split screen display method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010571979.3A CN111736786B (en) 2020-06-22 2020-06-22 Split screen display method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111736786A CN111736786A (en) 2020-10-02
CN111736786B true CN111736786B (en) 2022-09-09

Family

ID=72650202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010571979.3A Active CN111736786B (en) 2020-06-22 2020-06-22 Split screen display method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111736786B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342295B (en) * 2021-05-31 2022-11-25 维沃移动通信(杭州)有限公司 Screen splitting method and screen splitting device
CN116048444B (en) * 2022-06-16 2023-12-01 荣耀终端有限公司 Application display method and terminal equipment
CN117631950A (en) * 2022-08-19 2024-03-01 华为技术有限公司 Split screen display method and related device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019233241A1 (en) * 2018-06-06 2019-12-12 Oppo广东移动通信有限公司 Method and apparatus for starting application program, and storage medium and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324435B (en) * 2013-05-24 2017-02-08 华为技术有限公司 Multi-screen display method and device and electronic device thereof
CN103970417B (en) * 2014-04-16 2017-12-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
KR102426070B1 (en) * 2015-11-18 2022-07-28 삼성전자 주식회사 Electronic apparatus and method for configuring of display thereof
AU2015418657B9 (en) * 2015-12-24 2019-09-05 Huawei Technologies Co., Ltd. Method for displaying multiple application windows by mobile terminal, and mobile terminal
CN107247552A (en) * 2017-06-30 2017-10-13 联想(北京)有限公司 A kind of display drive method and electronic equipment
CN107908382B (en) * 2017-11-10 2020-03-03 维沃移动通信有限公司 Split screen display method and mobile terminal
CN108121493B (en) * 2017-12-13 2021-03-12 Oppo广东移动通信有限公司 Display control method and related product
CN108595100B (en) * 2018-04-19 2020-05-12 Oppo广东移动通信有限公司 Split screen display method and device, storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019233241A1 (en) * 2018-06-06 2019-12-12 Oppo广东移动通信有限公司 Method and apparatus for starting application program, and storage medium and terminal

Also Published As

Publication number Publication date
CN111736786A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN111736786B (en) Split screen display method and device and computer readable storage medium
US11079908B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN106201171B (en) Split-screen display method and electronic equipment
CN108196759B (en) Icon control method and terminal
US20220155922A1 (en) Side-toolbar-display method, terminal, and storage medium
EP3001331B1 (en) Method and system for ranking desktop objects
CN106951163B (en) Display control method and device
EP2924550A1 (en) Split-screen display method and device, and electronic apparatus thereof
EP2778869A1 (en) Method and terminal for creating folder on user interface
CN104898952A (en) Terminal screen splitting implementing method and terminal
US20140049498A1 (en) Method and mobile terminal device for image operation
CN111443863A (en) Page control method and device, storage medium and terminal
CN112218134B (en) Input method and related equipment
WO2010113087A1 (en) An apparatus and a method for arranging elements on a display
CN112099707A (en) Display method and device and electronic equipment
CN103513969A (en) Establishment method, device and terminal of application program entry
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN113918260A (en) Application program display method and device and electronic equipment
CN111813293B (en) Application program management method and electronic equipment
CN112148405A (en) Desktop layout method and device and electronic equipment
CN113986076A (en) Icon display control method and device, electronic equipment and storage medium
CN103970434A (en) Method and electronic equipment for responding operation
CN112558831A (en) Desktop sorting method and device and electronic equipment
CN112764613A (en) Icon arranging method and device, electronic equipment and readable storage medium
JP7085650B2 (en) How to set the system interface of mobile devices, devices, media and devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant