WO2021000881A1 - Screen splitting method and electronic device - Google Patents

Screen splitting method and electronic device Download PDF

Info

Publication number
WO2021000881A1
WO2021000881A1 PCT/CN2020/099654 CN2020099654W WO2021000881A1 WO 2021000881 A1 WO2021000881 A1 WO 2021000881A1 CN 2020099654 W CN2020099654 W CN 2020099654W WO 2021000881 A1 WO2021000881 A1 WO 2021000881A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
interface
application
touch screen
boundary
Prior art date
Application number
PCT/CN2020/099654
Other languages
French (fr)
Chinese (zh)
Inventor
徐杰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021000881A1 publication Critical patent/WO2021000881A1/en

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • FIG. 1 shows a schematic structural diagram of an electronic device 100.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats.
  • the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the button 190 includes a power button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to exemplify the software structure of the electronic device 100.
  • FIG. 2 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
  • the user's predefined gesture is applied to the exclusive edge area of a certain window, and the mobile phone will determine the position of the new window according to the predefined gesture at one end of the exclusive edge.
  • the upward moving distance of the lower borders of the original two windows may be fixed (default or set by the user), or may be related to the distance information contained in the predefined gesture performed by the user, for example, in direct proportion.
  • the phone displays two application windows on the left and right.
  • the mobile phone adopts a similar method, and the two existing windows can also be divided into three windows. Repeat.
  • the mobile phone in response to the user double-clicking the back button, may close the window where the application currently being operated by the user is located. In other words, the phone changes from displaying three windows to displaying two windows.
  • the specific position of the fully-occupied edge refers to whether it is located at the left or right of the fully-occupied edge.
  • the mobile phone can also directly recognize whether the touch operation is acting on the boundary of a single application or on the boundary of two applications. If the touch operation acts on the boundary of a single application, it can be confirmed that the window corresponding to the application is divided into two windows, one of which is a newly-added window. If the touch operation acts on the boundary of two applications, it can be confirmed that the windows corresponding to the two applications are reduced, and the left area is determined to be a new window. For the remaining details, please refer to the above description, which will not be repeated here.

Abstract

A screen splitting method and an electronic device, relating to the technical field of communications and capable of simplifying user operations and improving user experience. The method comprises: a terminal with a touch screen displays a first interface, the first interface displays a first window, and the first window displays an interface of a first application; the terminal receives a first operation on a first interface; in response to the first operation, the terminal displays a second interface, the second interface displays a first window and a second window, and the second window displays a plurality of application icons; wherein the area of the first window in the second interface is smaller than that of the first window in the first interface; when the first operation acts on the first position of the touch screen, the first window and the second window in the second interface are in a first relative position relation; when the first operation acts on a second position of the touch screen, the first window and the second window in the second interface are in a second relative position relationship; wherein the second position is different from the first position, and the second relative position relationship is different from the first relative position.

Description

一种分屏方法及电子设备Screen splitting method and electronic equipment
本申请要求在2019年7月2日提交中国国家知识产权局、申请号为201910591069.9的中国专利申请的优先权,发明名称为“一种分屏方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China with application number 201910591069.9, and the priority of the Chinese patent application with the title of the invention "a method and electronic device for split screen" on July 2, 2019. The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种分屏方法及电子设备。This application relates to the field of communication technology, and in particular to a screen splitting method and electronic equipment.
背景技术Background technique
随着手机屏幕的增大,尤其是折叠屏手机的出现,使得在手机上同时开启多个应用程序的需求变得更为频繁。例如:用户通过手机订票时,可以同时打开多个购票软件(例如“飞猪旅行”、“携程旅行”、“铁路12306”)进行比价等。现有的分屏方法中,用户操作复杂,使用不便。因此,如何快速便捷的开启多个应用窗口成为亟待解决的问题。With the increase of mobile phone screens, especially the emergence of folding screen mobile phones, the demand for simultaneously opening multiple applications on the mobile phone has become more frequent. For example, when a user makes a booking via a mobile phone, he can open multiple ticket purchase software (such as "Fliggy Travel", "Ctrip Travel", "Railway 12306") at the same time to compare prices. In the existing split screen method, user operations are complicated and inconvenient to use. Therefore, how to open multiple application windows quickly and conveniently has become an urgent problem to be solved.
发明内容Summary of the invention
本申请提供的一种分屏方法及电子设备,能够简化分屏功能的用户操作,提升用户体验。The screen splitting method and electronic device provided by the present application can simplify user operations of the split screen function and improve user experience.
第一方面、提供一种分屏方法,应用于具有触摸屏的终端中,该方法包括:终端显示第一界面,第一界面显示第一窗口,第一窗口显示第一应用的界面;终端接收到在第一界面上的第一操作;响应于第一操作,终端显示第二界面,第二界面显示有第一窗口和第二窗口,第二窗口显示有多个应用图标;其中,第二界面中第一窗口的面积小于第一界面中第一窗口的面积;且,当第一操作作用在触摸屏的第一位置时,第二界面中第一窗口和第二窗口为第一相对位置关系;当第一操作作用在触摸屏的第二位置时,第二界面中第一窗口和第二窗口为第二相对位置关系;其中,第二位置和第一位置不同,第二相对位置关系与第一相对位置不同。In a first aspect, a method for splitting a screen is provided, which is applied to a terminal with a touch screen. The method includes: the terminal displays a first interface, the first interface displays a first window, and the first window displays an interface of the first application; the terminal receives A first operation on the first interface; in response to the first operation, the terminal displays a second interface, the second interface displays a first window and a second window, and the second window displays multiple application icons; wherein, the second interface The area of the first window in the first interface is smaller than the area of the first window in the first interface; and, when the first operation acts on the first position of the touch screen, the first window and the second window in the second interface have a first relative positional relationship; When the first operation acts on the second position of the touch screen, the first window and the second window in the second interface are in a second relative position relationship; where the second position is different from the first position, and the second relative position relationship is The relative position is different.
可见,通过本申请提供的分屏方法,用户可以快速便捷的开启分屏功能,提升用户体验。并且,终端可以根据第一操作作用在触摸屏的位置,智能确定新增窗口的位置,实现用户与终端的高效交互,满足用户多样化需求。It can be seen that through the split-screen method provided in this application, users can quickly and conveniently turn on the split-screen function and improve user experience. In addition, the terminal can intelligently determine the position of the newly added window according to the position of the first operation on the touch screen, realize efficient interaction between the user and the terminal, and meet the diverse needs of the user.
一种可能的实现方式中,第一窗口和第二窗口在第二界面中的相对位置关系,具体为:当第一操作作用在触摸屏的左侧边缘时,第二窗口位于第一窗口的左侧;当第一操作作用在触摸屏的右侧边缘时,第二窗口位于第一窗口的右侧;当第一操作作用在触摸屏的上方边缘时,第二窗口位于第一窗口的上方;当第一操作作用在触摸屏的下方边缘时,第二窗口位于第一窗口的下方。In a possible implementation, the relative positional relationship between the first window and the second window in the second interface is specifically: when the first operation acts on the left edge of the touch screen, the second window is located on the left of the first window. Side; when the first operation acts on the right edge of the touch screen, the second window is located on the right side of the first window; when the first operation acts on the upper edge of the touch screen, the second window is located above the first window; When an operation is applied to the lower edge of the touch screen, the second window is located below the first window.
由此,提供了一种根据第一操作作用在触摸屏的具体位置,智能确定分屏后的多个窗口的布局的方案,简化用户操作。Thus, a solution is provided for intelligently determining the layout of multiple windows after the screen is split according to the specific position of the first operation on the touch screen, which simplifies user operations.
一种可能的实现方式中,该方法还包括:终端接收在第二界面上的第二操作,第二操作为从第二窗口中的多个应用图标选择第二应用的图标的操作;响应于第二操作,终端显示第三界面,第三界面中第二窗口显示第二应用的界面;其中,第三界面中第二窗口的面积与第二界面中第二窗口的面积相同。In a possible implementation manner, the method further includes: the terminal receives a second operation on the second interface, where the second operation is an operation of selecting an icon of the second application from a plurality of application icons in the second window; In the second operation, the terminal displays the third interface, and the second window in the third interface displays the interface of the second application; wherein the area of the second window in the third interface is the same as the area of the second window in the second interface.
由此,在同一屏幕中显示两个应用界面,使得用户在对其中一个窗口的应用程序进行操作时,并不影响另一个窗口中应用程序的运行。于是,用户可以很方便地在两个应用程序的界面上交替操作,实现用户与终端的高效交互。Therefore, two application interfaces are displayed on the same screen, so that when the user operates the application in one window, the operation of the application in the other window is not affected. Therefore, the user can conveniently alternate operations on the interfaces of the two application programs to achieve efficient interaction between the user and the terminal.
一种可能的实现方式中,第一操作为在触摸屏边缘处的操作。In a possible implementation manner, the first operation is an operation at the edge of the touch screen.
由于当前手机屏幕(通常为触摸屏)已显示一个应用程序的界面,采用预定义手势可以将触发分屏功能的操作与用户操作该应用程序界面的手势区分开。换言之,本申请实施例中的预定义手势可以为与用户操作应用程序界面不同的任意手势,这里对预定义手势不做具体限定。Since the current mobile phone screen (usually a touch screen) already displays an application program interface, the use of predefined gestures can distinguish the operation of triggering the split screen function from the user's gestures for operating the application program interface. In other words, the predefined gesture in the embodiment of the present application may be any gesture different from the user operating the application program interface, and the predefined gesture is not specifically limited here.
一种可能的实现方式中,第一操作为在触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。In a possible implementation manner, the first operation is one or more of two-finger sliding at the edge of the touch screen, three-finger sliding, pressure pressing, large area touch, and long pressing.
第二方面、提供一种分屏方法,应用于具有触摸屏的终端中,该方法包括:终端显示第一界面,第一界面显示有第一窗口和第二窗口,第一窗口显示第一应用的界面,第二窗口显示第二应用的界面;终端接收到在第一界面上的第一操作;响应于第一操作,终端显示第二界面,第二界面显示有第一窗口、第二窗口以及第三窗口,第三窗口显示有多个应用图标;其中,第二界面中第一窗口的面积小于第一界面中第一窗口的面积,和/或,第二界面中第二窗口的面积小于第一界面中第二窗口的面积;且,当第一操作作用在触摸屏的第一位置时,第二界面中第一窗口、第二窗口和第三窗口为第一相对位置关系;当第一操作作用在触摸屏的第二位置时,第二界面中第一窗口、第二窗口和第三窗口为第二相对位置关系;其中,第二位置和第一位置不同,第二相对位置关系与第一相对位置不同。In a second aspect, a method for split screen is provided, which is applied to a terminal with a touch screen. The method includes: the terminal displays a first interface, the first interface displays a first window and a second window, and the first window displays the Interface, the second window displays the interface of the second application; the terminal receives the first operation on the first interface; in response to the first operation, the terminal displays the second interface, the second interface displays the first window, the second window, and In the third window, multiple application icons are displayed in the third window; wherein, the area of the first window in the second interface is smaller than the area of the first window in the first interface, and/or the area of the second window in the second interface is smaller than The area of the second window in the first interface; and, when the first operation acts on the first position of the touch screen, the first window, the second window, and the third window in the second interface have a first relative positional relationship; When the operation is applied to the second position of the touch screen, the first window, the second window, and the third window in the second interface are in a second relative position relationship; among them, the second position is different from the first position, and the second relative position relationship is A relative position is different.
可见,当终端已显示两个应用窗口时,也可以通过预定义手势快速便捷的再增加一个应用窗口。并且,终端可以根据第一操作作用在触摸屏的位置,智能确定新增窗口的位置,实现用户与终端的高效交互,满足用户多样化需求。It can be seen that when the terminal has displayed two application windows, another application window can also be added quickly and conveniently through a predefined gesture. In addition, the terminal can intelligently determine the position of the newly added window according to the position of the first operation on the touch screen, realize efficient interaction between the user and the terminal, and meet the diverse needs of the user.
一种可能的实现方式中,在第一界面中,第一窗口位于第二窗口左侧,第一窗口、第二窗口和第三窗口在第二界面中的相对位置关系,具体为:当第一操作作用在第一窗口的左边界上端时,则在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口上方;当第一操作作用在第一窗口的左边界下端时,则在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口下方;当第一操作作用在第二窗口的右边界上端时,则在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的上方;当第一操作作用在第二窗口的右边界下端时,则在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的下方;当第一操作作用在第一窗口的上边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口的上方;当第一操作作用在第二窗口的上边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的上方;当第一操作同时作用在第一窗口和第二窗口的上边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的上方;当第一操作作用在第一窗口的下边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口的下方;当第一操作作用在第二窗口的下边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的下方;当第一操作同时作用在第一窗口和第二窗口的下边界时,则在第二界面中,第三窗口位于第一窗口和第二窗口的下方。In a possible implementation manner, in the first interface, the first window is located on the left side of the second window, and the relative positional relationship of the first window, the second window, and the third window in the second interface is specifically: When an operation is applied to the upper end of the left border of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located above the first window; when the first operation When acting on the lower end of the left border of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located below the first window; when the first operation acts on When the right edge of the second window is at the upper end, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located above the second window; when the first operation acts on the second window When the right boundary of the second window is at the lower end, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located below the second window; when the first operation acts on the first window When the upper boundary of the window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located above the first window; when the first operation acts on the second window When bordering, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located above the second window; when the first operation acts on the first window and the second window at the same time In the second interface, the third window is located above the first window and the second window; when the first operation acts on the lower boundary of the first window, in the second interface, the third window and the A window is located on the left side of the second window together, and the third window is located below the first window; when the first operation acts on the lower boundary of the second window, in the second interface, the third window and the second window are together It is located on the right side of the first window, and the third window is located below the second window; when the first operation acts on the lower boundary of the first window and the second window at the same time, the third window is located on the second interface Below the first window and the second window.
可见,当屏幕中原来开启的两个应用窗口呈左右排列时,本申请提供了一种根据第一操作作用在触摸屏的具体位置,智能确定新增窗口的位置的方案,简化用户操作。It can be seen that when the two application windows that were originally opened on the screen are arranged side by side, the present application provides a solution for intelligently determining the position of the newly added window according to the specific position of the first operation on the touch screen, simplifying user operations.
一种可能的实现方式中,在第一界面中,第一窗口位于第二窗口上方,第一窗口、第二窗口和第三窗口在第二界面中的相对位置关系,具体为:当第一操作作用在第一窗口的上边界左端时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口左侧;当第一操作作用在第一窗口的上边界右端时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口右侧;当第一操作作用在第二窗口的下边界左端时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的左侧;当第一操作作用在第二窗口的下边界右端时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的右侧;当第一操作作用在第一窗口的左边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口的左侧;当第一操作作用在第二窗口的左边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的左侧;当第一操作同时作用在第一窗口和第二窗口的左边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的左侧;当第一操作作用在第一窗口的右边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口的右侧;当第一操作作用在第二窗口的右边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的右侧;当第一操作同时作用在第一窗口和第二窗口的右边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的右侧。In a possible implementation manner, in the first interface, the first window is located above the second window, and the relative positional relationship between the first window, the second window, and the third window in the second interface is specifically: When the operation acts on the left end of the upper boundary of the first window, in the second interface, the third window and the first window are located above the second window together, and the third window is located on the left side of the first window; when the first operation acts on At the right end of the upper boundary of the first window, in the second interface, the third window and the first window are located above the second window together, and the third window is located on the right side of the first window; when the first operation acts on the second window At the left end of the lower boundary of the second interface, the third window and the second window are located below the first window together, and the third window is located on the left side of the second window; when the first operation acts on the bottom of the second window At the right end of the boundary, in the second interface, the third window and the second window are located below the first window together, and the third window is located on the right side of the second window; when the first operation acts on the left boundary of the first window , In the second interface, the third window and the first window are both located above the second window, and the third window is located on the left side of the first window; when the first operation is applied to the left boundary of the second window, In the second interface, the third window and the second window are both located below the first window, and the third window is located on the left side of the second window; when the first operation is simultaneously applied to the left boundary of the first window and the second window, In the second interface, the third window is located on the left side of the first window and the second window; when the first operation acts on the right boundary of the first window, in the second interface, the third window and the first window are located together Above the second window, and the third window is located on the right side of the first window; when the first operation acts on the right boundary of the second window, in the second interface, the third window and the second window are located together in the first window And the third window is located on the right side of the second window; when the first operation acts on the right boundary of the first window and the second window at the same time, in the second interface, the third window is located between the first window and the second window The right side of the window.
可见,当屏幕中原来开启的两个应用窗口呈上下排列时,本申请提供了一种根据第一操作作用在触摸屏的具体位置,智能确定新增窗口的位置的方案,简化用户操作。It can be seen that when the two application windows originally opened on the screen are arranged up and down, this application provides a solution for intelligently determining the position of the newly added window according to the specific position of the first operation on the touch screen, which simplifies user operations.
一种可能的实现方式中,该方法还包括:终端接收在第二界面上的第二操作,第二操作为从第三窗口中的多个应用图标选择第三应用的图标的操作;响应于第二操作,终端显示第三界面,第三界面中第三窗口显示第三应用的界面,其中第三界面中第三窗口的面积与第二界面中第三窗口的面积相同。In a possible implementation manner, the method further includes: the terminal receives a second operation on the second interface, where the second operation is an operation of selecting an icon of a third application from a plurality of application icons in the third window; In the second operation, the terminal displays the third interface, and the third window in the third interface displays the interface of the third application, wherein the area of the third window in the third interface is the same as the area of the third window in the second interface.
由此,在同一屏幕中显示三个应用界面,使得用户在对其中一个窗口的应用程序进行操作时,并不影响另两个窗口中应用程序的运行。于是,用户可以很方便地在三个应用程序的界面上交替操作,实现用户与终端的高效交互。Thus, three application interfaces are displayed on the same screen, so that when the user operates the application in one of the windows, the operation of the application in the other two windows is not affected. Therefore, the user can conveniently operate alternately on the interfaces of the three application programs to achieve efficient interaction between the user and the terminal.
一种可能的实现方式中,第三界面显示有第一控件,该方法还包括:终端接收在第三界面上对第一控件的第三操作;响应于第三操作,终端显示第四界面;其中,第四界面包括第一窗口、第二窗口和第三窗口中任两个或任一个。In a possible implementation manner, the first control is displayed on the third interface, and the method further includes: the terminal receives a third operation on the first control on the third interface; in response to the third operation, the terminal displays the fourth interface; Wherein, the fourth interface includes any two or any one of the first window, the second window and the third window.
其中,第一控件可以为后退键或多窗口功能键。用户可以通过第一控件关闭一个应用窗口,或者退出多窗口的界面,即显示一个应用界面。由此提供一种对多窗口界面的快捷操作,提升体验。Among them, the first control can be a back key or a multi-window function key. The user can close an application window through the first control, or exit a multi-window interface, that is, display an application interface. This provides a quick operation on the multi-window interface and enhances the experience.
一种可能的实现方式中,第一操作为在触摸屏边缘处的操作。In a possible implementation manner, the first operation is an operation at the edge of the touch screen.
一种可能的实现方式中,第一操作为在触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。In a possible implementation manner, the first operation is one or more of two-finger sliding at the edge of the touch screen, three-finger sliding, pressure pressing, large area touch, and long pressing.
第三方面、提供一种电子设备,包括:处理器、存储器和触摸屏,存储器、触摸屏与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器从存储器中读取计算机指令,以使得电子设备执行如下操作:通过触摸屏显示第一界面,第一界面显示第一窗口,第一窗口显示第一应用的界面;接收到在第一界面上的第一操作;响应于第一操作,通过触摸屏显示第二界面,第二界面显示有第一窗口和第二窗口,第二窗口显示有多个应用图标;其中,第二界面中第一窗口的面积小于第一界面中第一窗口的面积;且, 当第一操作作用在触摸屏的第一位置时,第二界面中第一窗口和第二窗口为第一相对位置关系;当第一操作作用在触摸屏的第二位置时,第二界面中第一窗口和第二窗口为第二相对位置关系;其中,第二位置和第一位置不同,第二相对位置关系与第一相对位置不同。In a third aspect, an electronic device is provided, including: a processor, a memory, and a touch screen. The memory and the touch screen are coupled to the processor. The memory is used to store computer program codes. The computer program codes include computer instructions. When the processor reads from the memory, Computer instructions to cause the electronic device to perform the following operations: display the first interface through the touch screen, the first interface displays the first window, and the first window displays the interface of the first application; receiving the first operation on the first interface; responding to In the first operation, the second interface is displayed through the touch screen, the second interface displays the first window and the second window, and the second window displays multiple application icons; wherein the area of the first window in the second interface is smaller than that in the first interface The area of the first window; and, when the first operation acts on the first position of the touch screen, the first window and the second window in the second interface have a first relative positional relationship; when the first operation acts on the second position of the touch screen When, the first window and the second window in the second interface are in a second relative position relationship; where the second position is different from the first position, and the second relative position relationship is different from the first relative position.
一种可能的实现方式中,第一窗口和第二窗口在第二界面中的相对位置关系,具体为:当第一操作作用在触摸屏的左侧边缘时,第二窗口位于第一窗口的左侧;当第一操作作用在触摸屏的右侧边缘时,第二窗口位于第一窗口的右侧;当第一操作作用在触摸屏的上方边缘时,第二窗口位于第一窗口的上方;当第一操作作用在触摸屏的下方边缘时,第二窗口位于第一窗口的下方。In a possible implementation, the relative positional relationship between the first window and the second window in the second interface is specifically: when the first operation acts on the left edge of the touch screen, the second window is located on the left of the first window. Side; when the first operation acts on the right edge of the touch screen, the second window is located on the right side of the first window; when the first operation acts on the upper edge of the touch screen, the second window is located above the first window; When an operation is applied to the lower edge of the touch screen, the second window is located below the first window.
一种可能的实现方式中,当处理器从存储器中读取计算机指令,还使得电子设备执行如下操作:接收在第二界面上的第二操作,第二操作为从第二窗口中的多个应用图标选择第二应用的图标的操作;响应于第二操作,通过触摸屏显示第三界面,第三界面中第二窗口显示第二应用的界面;其中,第三界面中第二窗口的面积与第二界面中第二窗口的面积相同。In a possible implementation, when the processor reads the computer instructions from the memory, it also causes the electronic device to perform the following operations: receiving a second operation on the second interface, the second operation being from multiple The application icon selects the operation of the icon of the second application; in response to the second operation, the third interface is displayed through the touch screen, and the second window in the third interface displays the interface of the second application; wherein, the area of the second window in the third interface is the same as The area of the second window in the second interface is the same.
一种可能的实现方式中,第一操作为在触摸屏边缘处的操作。In a possible implementation manner, the first operation is an operation at the edge of the touch screen.
一种可能的实现方式中,第一操作为在触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。In a possible implementation manner, the first operation is one or more of two-finger sliding at the edge of the touch screen, three-finger sliding, pressure pressing, large area touch, and long pressing.
第四方面、一种电子设备,包括:处理器、存储器和触摸屏,存储器、触摸屏与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器从存储器中读取计算机指令,以使得电子设备执行如下操作:通过触摸屏显示第一界面,第一界面显示有第一窗口和第二窗口,第一窗口显示第一应用的界面,第二窗口显示第二应用的界面;接收到在第一界面上的第一操作;响应于第一操作,通过触摸屏显示第二界面,第二界面显示有第一窗口、第二窗口以及第三窗口,第三窗口显示有多个应用图标;其中,第二界面中第一窗口的面积小于第一界面中第一窗口的面积,和/或,第二界面中第二窗口的面积小于第一界面中第二窗口的面积;且,当第一操作作用在触摸屏的第一位置时,第二界面中第一窗口、第二窗口和第三窗口为第一相对位置关系;当第一操作作用在触摸屏的第二位置时,第二界面中第一窗口、第二窗口和第三窗口为第二相对位置关系;其中,第二位置和第一位置不同,第二相对位置关系与第一相对位置不同。In a fourth aspect, an electronic device includes: a processor, a memory, and a touch screen. The memory and the touch screen are coupled to the processor. The memory is used to store computer program code. The computer program code includes computer instructions. When the processor reads the computer from the memory Instructions to cause the electronic device to perform the following operations: display the first interface through the touch screen, the first interface displays the first window and the second window, the first window displays the interface of the first application, and the second window displays the interface of the second application; The first operation on the first interface is received; in response to the first operation, the second interface is displayed through the touch screen, the second interface displays the first window, the second window, and the third window, and the third window displays multiple applications Icon; wherein the area of the first window in the second interface is smaller than the area of the first window in the first interface, and/or the area of the second window in the second interface is smaller than the area of the second window in the first interface; and, When the first operation acts on the first position of the touch screen, the first window, the second window, and the third window in the second interface have a first relative positional relationship; when the first operation acts on the second position of the touch screen, the second The first window, the second window, and the third window in the interface are in a second relative position relationship; wherein, the second position and the first position are different, and the second relative position relationship is different from the first relative position.
一种可能的实现方式中,在第一界面中,第一窗口位于第二窗口左侧,第一窗口、第二窗口和第三窗口在第二界面中的相对位置关系,具体为:当第一操作作用在第一窗口的左边界上端时,则在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口上方;当第一操作作用在第一窗口的左边界下端时,则在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口下方;当第一操作作用在第二窗口的右边界上端时,则在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的上方;当第一操作作用在第二窗口的右边界下端时,则在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的下方;当第一操作作用在第一窗口的上边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口的上方;当第一操作作用在第二窗口的上边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第三窗口位于第二窗口的上方;当第一操作同时作用在第一窗口和第二窗口的上边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的上方;当第一操作作用在第一窗口的下边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的左侧,且第三窗口位于第一窗口的下方;当第一操作作用在第二窗口的下边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的右侧,且第 三窗口位于第二窗口的下方;当第一操作同时作用在第一窗口和第二窗口的下边界时,则在第二界面中,第三窗口位于第一窗口和第二窗口的下方。In a possible implementation manner, in the first interface, the first window is located on the left side of the second window, and the relative positional relationship of the first window, the second window, and the third window in the second interface is specifically: When an operation is applied to the upper end of the left border of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located above the first window; when the first operation When acting on the lower end of the left border of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located below the first window; when the first operation acts on When the right edge of the second window is at the upper end, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located above the second window; when the first operation acts on the second window When the right boundary of the second window is at the lower end, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located below the second window; when the first operation acts on the first window When the upper boundary of the window, in the second interface, the third window and the first window are located on the left side of the second window together, and the third window is located above the first window; when the first operation acts on the second window When bordering, in the second interface, the third window and the second window are located on the right side of the first window together, and the third window is located above the second window; when the first operation acts on the first window and the second window at the same time In the second interface, the third window is located above the first window and the second window; when the first operation acts on the lower boundary of the first window, in the second interface, the third window and the A window is located on the left side of the second window together, and the third window is located below the first window; when the first operation acts on the lower boundary of the second window, in the second interface, the third window and the second window are together It is located on the right side of the first window, and the third window is located below the second window; when the first operation acts on the lower boundary of the first window and the second window at the same time, the third window is located on the second interface Below the first window and the second window.
一种可能的实现方式中,在第一界面中,第一窗口位于第二窗口上方,第一窗口、第二窗口和第三窗口在第二界面中的相对位置关系,具体为:当第一操作作用在第一窗口的上边界左端时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口左侧;当第一操作作用在第一窗口的上边界右端时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口右侧;当第一操作作用在第二窗口的下边界左端时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的左侧;当第一操作作用在第二窗口的下边界右端时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的右侧;当第一操作作用在第一窗口的左边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口的左侧;当第一操作作用在第二窗口的左边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的左侧;当第一操作同时作用在第一窗口和第二窗口的左边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的左侧;当第一操作作用在第一窗口的右边界时,在第二界面中,第三窗口和第一窗口一同位于第二窗口的上方,且第三窗口位于第一窗口的右侧;当第一操作作用在第二窗口的右边界时,在第二界面中,第三窗口和第二窗口一同位于第一窗口的下方,且第三窗口位于第二窗口的右侧;当第一操作同时作用在第一窗口和第二窗口的右边界时,在第二界面中,第三窗口位于第一窗口和第二窗口的右侧。In a possible implementation manner, in the first interface, the first window is located above the second window, and the relative positional relationship between the first window, the second window, and the third window in the second interface is specifically: When the operation acts on the left end of the upper boundary of the first window, in the second interface, the third window and the first window are located above the second window together, and the third window is located on the left side of the first window; when the first operation acts on At the right end of the upper boundary of the first window, in the second interface, the third window and the first window are located above the second window together, and the third window is located on the right side of the first window; when the first operation acts on the second window At the left end of the lower boundary of the second interface, the third window and the second window are located below the first window together, and the third window is located on the left side of the second window; when the first operation acts on the bottom of the second window At the right end of the boundary, in the second interface, the third window and the second window are located below the first window together, and the third window is located on the right side of the second window; when the first operation acts on the left boundary of the first window , In the second interface, the third window and the first window are both located above the second window, and the third window is located on the left side of the first window; when the first operation is applied to the left boundary of the second window, In the second interface, the third window and the second window are both located below the first window, and the third window is located on the left side of the second window; when the first operation is simultaneously applied to the left boundary of the first window and the second window, In the second interface, the third window is located on the left side of the first window and the second window; when the first operation acts on the right boundary of the first window, in the second interface, the third window and the first window are located together Above the second window, and the third window is located on the right side of the first window; when the first operation acts on the right boundary of the second window, in the second interface, the third window and the second window are located together in the first window And the third window is located on the right side of the second window; when the first operation acts on the right boundary of the first window and the second window at the same time, in the second interface, the third window is located between the first window and the second window The right side of the window.
一种可能的实现方式中,当处理器从存储器中读取计算机指令,还使得电子设备执行如下操作:接收在第二界面上的第二操作,第二操作为从第三窗口中的多个应用图标选择第三应用的图标的操作;响应于第二操作,通过触摸屏显示第三界面,第三界面中第三窗口显示第三应用的界面,其中第三界面中第三窗口的面积与第二界面中第三窗口的面积相同。In a possible implementation, when the processor reads the computer instructions from the memory, it also causes the electronic device to perform the following operations: receiving a second operation on the second interface, and the second operation is from multiple operations in the third window. The application icon selects the operation of the icon of the third application; in response to the second operation, the third interface is displayed through the touch screen, and the third window in the third interface displays the interface of the third application. The area of the third window in the second interface is the same.
一种可能的实现方式中,第三界面显示有第一控件,当处理器从存储器中读取计算机指令,还使得电子设备执行如下操作:接收在第三界面上对第一控件的第三操作;响应于第三操作,通过触摸屏显示第四界面;其中,第四界面包括第一窗口、第二窗口和第三窗口中任两个或任一个。In a possible implementation manner, the third interface displays the first control, and when the processor reads the computer instruction from the memory, it also causes the electronic device to perform the following operations: receiving a third operation on the first control on the third interface ; In response to the third operation, the fourth interface is displayed through the touch screen; wherein the fourth interface includes any two or any one of the first window, the second window and the third window.
一种可能的实现方式中,第一操作为在触摸屏边缘处的操作。In a possible implementation manner, the first operation is an operation at the edge of the touch screen.
一种可能的实现方式中,第一操作为在触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。In a possible implementation manner, the first operation is one or more of two-finger sliding at the edge of the touch screen, three-finger sliding, pressure pressing, large area touch, and long pressing.
第五方面、一种计算机存储介质,包括计算机指令,当计算机指令在终端上运行时,使得终端执行如第一方面及其中任一种可能的实现方式中所述的分屏方法,或者如第二方面及其中任一种可能的实现方式中所述的分屏方法。Fifth aspect, a computer storage medium, including computer instructions, when the computer instructions run on a terminal, cause the terminal to execute the split screen method as described in the first aspect and any one of its possible implementations, or as described in the first aspect The split screen method described in the second aspect and any one of its possible implementations.
第六方面、一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面中及其中任一种可能的实现方式中所述的分屏方法,或者如第二方面及其中任一种可能的实现方式中所述的分屏方法。The sixth aspect, a computer program product, when the computer program product runs on a computer, causes the computer to execute the split screen method as described in the first aspect and any one of its possible implementation manners, or as the second aspect And the split-screen method described in any of the possible implementations.
第七方面、一种芯片,包括处理器,当处理器执行指令时,处理器执行如第一方面中及其中任一种可能的实现方式中所述的分屏方法,或者如第二方面及其中任一种可能的实现方式中所述的分屏方法。In a seventh aspect, a chip includes a processor. When the processor executes an instruction, the processor executes the split screen method as described in the first aspect and any one of the possible implementation manners, or as the second aspect and The split screen method described in any of the possible implementations.
附图说明Description of the drawings
图1为本申请实施例提供的一种电子设备的结构示意图一;FIG. 1 is a first structural diagram of an electronic device according to an embodiment of the application;
图2为本申请实施例提供的一种电子设备的结构示意图二;FIG. 2 is a second structural diagram of an electronic device provided by an embodiment of the application;
图3为本申请实施例提供的一种电子设备边缘区域的示意图;FIG. 3 is a schematic diagram of an edge area of an electronic device according to an embodiment of the application;
图4为本申请实施例提供的又一种电子设备边缘区域的示意图;FIG. 4 is a schematic diagram of another edge area of an electronic device according to an embodiment of the application;
图5A为本申请实施例提供的一些电子设备的用户界面示意图;5A is a schematic diagram of a user interface of some electronic devices provided by an embodiment of the application;
图5B为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 5B is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application;
图5C为本申请实施例提供的又一些电子设备的用户界面示意图;5C is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application;
图5D为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 5D is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图6为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 6 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图7为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 7 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of the application;
图8为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 8 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图9为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 9 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图10为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 10 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图11为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 11 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图12为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 12 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of the application;
图13为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 13 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图14A为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 14A is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图14B为本申请实施例提供的又一些电子设备的用户界面示意图;14B is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of the application;
图15A为本申请实施例提供的又一些电子设备的用户界面示意图;15A is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application;
图15B为本申请实施例提供的又一些电子设备的用户界面示意图;15B is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of the application;
图16为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 16 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图17为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 17 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application;
图18为本申请实施例提供的一种分屏方法的流程示意图;FIG. 18 is a schematic flowchart of a split screen method provided by an embodiment of this application;
图19为本申请实施例提供的一种电子设备的结构示意图三。FIG. 19 is a third structural diagram of an electronic device provided by an embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this document is only a description of related objects The association relationship of indicates that there can be three relationships, for example, A and/or B, which can indicate: A alone exists, A and B exist at the same time, and B exists alone.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
示例性的,本申请中的电子设备可以为手机、平板电脑、个人计算机(personal computer,PC)、个人数字助理(personal digital assistant,PDA)、智能手表、上网本、可穿戴电子设备、增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、车载 设备、智能汽车、智能音响、机器人等,本申请对该电子设备的具体形式不做特殊限制。Exemplarily, the electronic device in this application may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, and augmented reality technology (Augmented reality, AR) devices, virtual reality (virtual reality, VR) devices, vehicle-mounted devices, smart cars, smart audio, robots, etc. This application does not impose special restrictions on the specific form of the electronic device.
图1示出了电子设备100的结构示意图。FIG. 1 shows a schematic structural diagram of an electronic device 100.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include pressure sensor 180A, gyroscope sensor 180B, air pressure sensor 180C, magnetic sensor 180D, acceleration sensor 180E, distance sensor 180F, proximity light sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
在本申请的一些实施例中,处理器110可以根据检测到的触摸操作的坐标、时间戳等信息,确定该触摸操作是否为开启电子设备100分屏功能的预定义手势,并根据预定义手势作用的位置,以及电子设备100当前显示屏194显示的窗口情况确定新增窗口的位置以及各个窗口的大小等。In some embodiments of the present application, the processor 110 may determine whether the touch operation is a predefined gesture for enabling the split screen function of the electronic device 100 according to the detected coordinates and timestamp of the touch operation, and according to the predefined gesture The position of the function and the window status currently displayed on the display 194 of the electronic device 100 determine the position of the newly added window and the size of each window.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接 收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分 多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information and can continuously learn by itself. The NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至 少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system, at least one application program required by the function (such as sound playback function, image playback function, etc.). The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can approach the microphone 170C through the mouth to make a sound, and input the sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
在本申请的一些实施例中,用于触发电子设备100开启分屏功能的预定义手势可以在显示屏194的边缘处的压力按压。在该实施例中,当电子设备100检测到用户的触摸操作后,电子设备100可以根据压力传感器180A检测该触摸操作的强度。当检测到该触摸操作的强度大于预设阈值时,可认为该触摸操作为预定义手势,则电子设备100开启分屏功能。In some embodiments of the present application, the predefined gesture used to trigger the electronic device 100 to turn on the split screen function may be a pressure press at the edge of the display screen 194. In this embodiment, after the electronic device 100 detects the user's touch operation, the electronic device 100 can detect the intensity of the touch operation according to the pressure sensor 180A. When it is detected that the intensity of the touch operation is greater than the preset threshold, the touch operation can be considered as a predefined gesture, and the electronic device 100 enables the split screen function.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感 器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for shooting anti-shake. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
在本申请的一些实施例中,用于触发电子设备100开启分屏功能的预定义手势可以在显示屏194的边缘处的双指向内滑、三指向内滑、压力按压、大面积触摸、长按操作等。在该实施例中,当电子设备100检测到用户的触摸操作后,电子设备100可以根据触摸传感器180K获取触摸坐标、触摸操作的时间戳等信息。根据触摸坐标、时间戳等信息确定该触摸操作是 否为预定义手势。若为预定义手势,则电子设备100开启分屏功能。In some embodiments of the present application, the predefined gesture used to trigger the electronic device 100 to turn on the split screen function can be a two-finger inward sliding, three-finger inward sliding, pressure pressing, large-area touch, long Press operation and so on. In this embodiment, after the electronic device 100 detects a user's touch operation, the electronic device 100 can obtain information such as touch coordinates and a time stamp of the touch operation according to the touch sensor 180K. Determine whether the touch operation is a predefined gesture based on the touch coordinates, timestamp and other information. If it is a predefined gesture, the electronic device 100 enables the split screen function.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone. The audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present invention takes an Android system with a layered architecture as an example to exemplify the software structure of the electronic device 100.
图2是本发明实施例的电子设备100的软件结构框图。FIG. 2 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
在本申请的一些实施例中,应用程序包还包括分屏应用。该分屏应用可以提供电子设备100与用户进行交互的界面,例如:让用户设置触发开启分配功能的预定义手势,设置支持分屏功能的应用程序,设置各个窗口的大小等。In some embodiments of the application, the application package further includes a split-screen application. The split-screen application can provide an interface for the electronic device 100 to interact with the user, for example, allowing the user to set a predefined gesture that triggers the opening of the distribution function, set an application that supports the split-screen function, and set the size of each window.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理 器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
在本申请的一些实施例中,窗口管理器可具体为窗口管理服务(WindowManagerService,WMS),该WMS存放有当前屏幕中显示的各个应用窗口的信息,例如:当前屏幕中显示的应用窗口的数量等信息。分屏应用可以根据当前屏幕中显示的应用窗口的数量具体确定各个窗口的大小以及位置。In some embodiments of the present application, the window manager may specifically be a window management service (WindowManagerService, WMS), and the WMS stores information of each application window displayed on the current screen, for example: the number of application windows displayed on the current screen And other information. The split-screen application can specifically determine the size and position of each window according to the number of application windows displayed on the current screen.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text and controls that display pictures. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
以下实施例中所涉及的技术方案均可以在具有上述硬件架构和软件架构的电子设备100中实现。The technical solutions involved in the following embodiments can all be implemented in the electronic device 100 having the aforementioned hardware architecture and software architecture.
在本申请实施例提供的分屏方法中,用户可以通过执行预定义手势触发电子设备100新增应用窗口,从而实现快速便捷的开启电子设备的分屏功能。并且,本申请的分屏方法中,电子设备100还可以根据该预定义手势在屏幕上的位置,以及当前屏幕中显示的应用窗口的数量,智能地确定新增应用窗口的位置,实现用户与电子设备100的高效交互。In the screen splitting method provided in the embodiment of the present application, the user can trigger the electronic device 100 to add an application window by executing a predefined gesture, so as to realize the quick and convenient opening of the split screen function of the electronic device. In addition, in the split-screen method of the present application, the electronic device 100 can also intelligently determine the position of the newly added application window according to the position of the predefined gesture on the screen and the number of application windows currently displayed on the screen, so that the user can communicate with each other. Efficient interaction of the electronic device 100.
以下,以电子设备100是手机为例,结合附图对本申请实施例提供的技术方案进行详细说明。Hereinafter, taking the electronic device 100 as a mobile phone as an example, the technical solutions provided by the embodiments of the present application will be described in detail with reference to the accompanying drawings.
开启两个窗口的方法How to open two windows
在手机已开启一个应用程序的情况下,若检测到用户执行预定义手势,则手机在同一界面上显示两个窗口。其中一个窗口用于显示原来已开启的应用程序的界面,另一个窗口用于显示用户即将开启的另一应用程序的界面。When the mobile phone has opened an application, if it detects that the user performs a predefined gesture, the mobile phone displays two windows on the same interface. One of the windows is used to display the interface of the application that has been opened, and the other window is used to display the interface of another application that the user is about to open.
在一些实施例中,上述预定义手势可设置为作用在手机屏幕边缘区域的操作手势。其中操作手势例如可以是双指滑动(向上、向下、向左、向右)、三指滑动(向上、向下、向左、向右)、压力按压、大面积触摸、长按等。由于当前手机屏幕(通常为触摸屏)已显示一个应用程序的界面,采用预定义手势可以将触发分屏功能的操作与用户操作该应用程序界面的手势区分开。换言之,本申请实施例中的预定义手势可以为与用户操作应用程序界面不同的任意手势,这里对预定义手势不做具体限定。In some embodiments, the aforementioned predefined gesture may be set as an operation gesture that acts on the edge area of the mobile phone screen. The operation gesture may be, for example, two-finger swipe (up, down, left, right), three-finger swipe (up, down, left, right), pressure pressing, large-area touch, long press, etc. Since the current mobile phone screen (usually a touch screen) already displays an application program interface, the use of predefined gestures can distinguish the operation of triggering the split screen function from the user's gestures for operating the application program interface. In other words, the predefined gesture in the embodiment of the present application may be any gesture different from the user operating the application program interface, and the predefined gesture is not specifically limited here.
其中,上述手机屏幕边缘区域是指手机屏幕中用于显示内容的边缘区域。在该边缘区域仍然设置有压力传感器、触摸传感器等,可用于对用户执行的手势进行识别。一般而言,手机屏幕边缘包括上下左右四个边缘,即手机屏幕边缘区域通常包括上下左右四个边缘区域。在另一些示例中,当手机屏幕为异形屏(例如:刘海屏、珍珠屏、挖孔屏等)时,手机屏幕边缘也可以简化上下左右四个边缘。例如:手机头部边缘可定义为上边缘,手机头部边缘区域为上边缘区域。Wherein, the above-mentioned edge area of the mobile phone screen refers to the edge area of the mobile phone screen for displaying content. Pressure sensors, touch sensors, etc. are still provided in the edge area, which can be used to recognize gestures performed by the user. Generally speaking, the edge of the mobile phone screen includes four edges, namely, the top, bottom, left, and right edges, that is, the edge area of the mobile phone screen usually includes the top, bottom, left, and right edges. In other examples, when the screen of the mobile phone is a special-shaped screen (for example, a notch screen, a pearl screen, a digging screen, etc.), the edges of the mobile phone screen can also be simplified to the top, bottom, left, and right edges. For example, the edge of the mobile phone head can be defined as the upper edge, and the edge area of the mobile phone head is the upper edge area.
例如:如图3所示,401为手机机身的外边框。402为手机屏幕的边缘。以右侧边缘为例,右边缘区域可以是以右边缘为一侧边,宽度为D的长方形(也可以是其他形状)区域,即区域403即为右边缘区域。其中宽度D可以是手机默认的宽度,也可以由用户设置的宽度。需要说明的是,边缘区域可以包括或不包括例如状态栏、导航栏等不用于显示应用程序界面的区域。当然,由于手机屏幕中不用于显示应用程序界面区域通常较小,可能不会影响到对用户执行的操作手势的识别,也可不做区分。类似的,区域404为左边缘区域,区域405为上边缘区域,区域406为下边缘区域。可以理解的是,四个方向上的边缘区域中的宽度D可以相同,也可以不同。For example: as shown in Figure 3, 401 is the outer frame of the phone body. 402 is the edge of the mobile phone screen. Taking the right edge as an example, the right edge area may be a rectangular (or other shapes) area with the right edge as one side and the width D, that is, the area 403 is the right edge area. The width D can be the default width of the mobile phone, or the width set by the user. It should be noted that the edge area may or may not include areas that are not used to display application program interfaces, such as a status bar and a navigation bar. Of course, since the area of the mobile phone screen that is not used to display the application program interface is usually small, it may not affect the recognition of the operation gestures performed by the user, and no distinction is required. Similarly, the area 404 is the left edge area, the area 405 is the upper edge area, and the area 406 is the lower edge area. It can be understood that the width D in the edge regions in the four directions may be the same or different.
又例如:如图4中(1)所示,为一种具有异形屏的手机示意图。区域407中能够显示界面内容的部分可确定为上边缘区域。如图4中(2)所示,为另一种具有异形屏的手机示意图。区域408中能够显示界面内容的部分可确定为右边缘区域。Another example: as shown in Figure 4 (1), it is a schematic diagram of a mobile phone with a special-shaped screen. The portion of the area 407 that can display the interface content can be determined as the upper edge area. As shown in Figure 4 (2), it is a schematic diagram of another mobile phone with a special-shaped screen. The part of the area 408 that can display the interface content can be determined as the right edge area.
在手机检测到用户的预定义手势后,且确定当前屏幕已显示一个应用程序的界面后,根据该预定义手势作用的位置确定新增窗口的位置。示例性的,手机可以根据预定于手指作用在屏幕的上边缘区域、下边缘区域、左边缘区域,或右边缘区域,确定在屏幕的上边、下边、左侧、或右侧新增窗口,用于显示即将开启的应用程序的界面。After the mobile phone detects the user's predefined gesture and determines that the current screen has displayed an application interface, the position of the new window is determined according to the position of the predefined gesture. Exemplarily, the mobile phone can determine to add a new window on the upper, lower, left, or right side of the screen according to the predetermined finger action on the upper, lower, left, or right edge of the screen. To display the interface of the application to be opened.
一种情况中,如图5A中(1)所示,若预定义手势作用在左边缘区域,则手机可以将屏幕划分为左右两个窗口。如图5A中(2)所示,左侧窗口可用于显示多个应用图标的窗口,用户可通过其中任一个应用图标打开另一个应用程序(例如:应用B)。即,左侧窗口为新增应用窗口。右侧窗口则用于显示手机屏幕之前显示的应用程序(例如:应用A)的界面。需要说明的是,左右两侧窗口均不包括状态栏和导航栏。In one case, as shown in (1) of FIG. 5A, if the predefined gesture is applied to the left edge area, the mobile phone can divide the screen into two windows on the left and the right. As shown in Figure 5A (2), the left window can be used to display multiple application icons, and the user can open another application (for example, application B) through any one of the application icons. That is, the left window is the newly added application window. The right window is used to display the interface of the application (for example: Application A) previously displayed on the phone screen. It should be noted that the left and right windows do not include the status bar and navigation bar.
在一些示例中,手机可以将屏幕均分为两个窗口,即左右两个窗口的大小相同。在另一些示例中,手机也可以根据用户的设置将屏幕划分为两个窗口,即左右两个窗口的大小可以不同。例如:用户可以预先设置每个窗口的大小。或者,在手机将屏幕划分为两个窗口后, 用户也可以通过拖动两个窗口之间的分界线501来调整窗口的大小。在又一些示例中,当预定义手势包含一定距离信息时,手机也可以根据预定义手势确定各个窗口的大小。例如:预定义手势为双指滑动时,可以根据双指在屏幕上滑动的距离确定两个窗口的大小。也就是说,当双指在屏幕上向某个方向滑动的距离与两个窗口之间的分界线向同方向移动的距离成正比。例如:如图5A中(3)和(4)所示,当双指向右侧滑动的距离为D1时,两个窗口之间的分界线距离左边缘的距离为M1。当双指向右侧滑动的距离为D2时,两个窗口之间的分界线距离左边缘的距离为M2。其中,D2>D1,M2>M1。In some examples, the mobile phone may divide the screen into two windows equally, that is, the left and right windows have the same size. In other examples, the mobile phone can also divide the screen into two windows according to the user's settings, that is, the sizes of the left and right windows can be different. For example: the user can preset the size of each window. Alternatively, after the mobile phone divides the screen into two windows, the user can also adjust the size of the window by dragging the dividing line 501 between the two windows. In still other examples, when the predefined gesture contains certain distance information, the mobile phone may also determine the size of each window according to the predefined gesture. For example: when the predefined gesture is two-finger sliding, the size of the two windows can be determined according to the distance of the two-finger sliding on the screen. In other words, when two fingers slide in a certain direction on the screen, the distance is proportional to the distance that the dividing line between the two windows moves in the same direction. For example: as shown in (3) and (4) of Fig. 5A, when the distance of the two fingers sliding to the right is D1, the distance between the dividing line between the two windows and the left edge is M1. When the distance of the two fingers sliding to the right is D2, the distance between the dividing line between the two windows and the left edge is M2. Among them, D2>D1, M2>M1.
另一种情况中,如图5B所示,若预定义手势作用在右边缘区域,则手机可以将屏幕划分为左右两个窗口,右侧窗口可用于显示多个应用图标的窗口,用户可通过该应用图标打开另一个应用程序。即,右侧窗口为新增应用窗口。左侧窗口则用于显示手机屏幕之前显示的应用程序的界面。需要说明的是,左右两侧窗口均不包括状态栏和导航栏。其中,两个窗口的大小可以参考第一种情况中的相关内容,这里不再赘述。In another case, as shown in Figure 5B, if a predefined gesture is applied to the right edge area, the phone can divide the screen into two windows on the left and right. The right window can be used to display multiple application icons. The user can use The application icon opens another application. That is, the right window is the newly added application window. The left window is used to display the interface of the application previously displayed on the phone screen. It should be noted that the left and right windows do not include the status bar and navigation bar. Among them, the size of the two windows can refer to the related content in the first case, which will not be repeated here.
又一种情况中,如图5C所示,若预定义手势作用在上边缘区域,则手机可以将屏幕划分为上下两个窗口,上方窗口可用于显示多个应用图标的窗口,用户可通过该应用图标打开另一个应用程序。即,上方窗口为新增应用窗口。下方窗口则用于显示手机屏幕之前显示的应用程序的界面。需要说明的是,上行两个窗口均不包括状态栏和导航栏。其中,两个窗口的大小可以参考第一种情况中的相关内容,这里不再赘述。In another situation, as shown in Figure 5C, if a predefined gesture is applied to the upper edge area, the mobile phone can divide the screen into two windows, the upper and lower windows, and the upper window can be used to display multiple application icons. The application icon opens another application. That is, the upper window is the newly added application window. The lower window is used to display the interface of the application previously displayed on the phone screen. It should be noted that the two upper windows do not include the status bar and the navigation bar. Among them, the size of the two windows can refer to the related content in the first case, which will not be repeated here.
又一种情况中,如图5D所示,若预定义手势作用在下边缘区域,则手机可以将屏幕划分为上下两个窗口,下方窗口可用于显示多个应用图标的窗口,用户可通过该应用图标打开另一个应用程序。即,下方窗口为新增应用窗口。上方窗口则用于显示手机屏幕之前显示的应用程序的界面。需要说明的是,上行两个窗口均不包括状态栏和导航栏。其中,两个窗口的大小可以参考第一种情况中的相关内容,这里不再赘述。In another case, as shown in Figure 5D, if a predefined gesture is applied to the lower edge area, the mobile phone can divide the screen into two windows, the upper and lower windows. The lower window can be used to display multiple application icons. The user can use the application Icon to open another application. That is, the lower window is the newly added application window. The upper window is used to display the interface of the application previously displayed on the phone screen. It should be noted that the two upper windows do not include the status bar and the navigation bar. Among them, the size of the two windows can refer to the related content in the first case, which will not be repeated here.
以预定义手势作用在左边缘区域为例,对本申请新增应用窗口的方法进行详细说明。Taking a predefined gesture acting on the left edge area as an example, the method of adding an application window in this application will be described in detail.
(1)进入多窗口界面(1) Enter the multi-window interface
如图6中(1)所示,手机已打开一个应用程序(全屏显示该应用程序),显示该应用程序的界面,例如“微信”应用的聊天界面。用户在手机屏幕的左边缘区域执行预定义手势,则手机响应于检测到用户的预定义手势,显示如图6中(2)所示的多窗口界面。多窗口界面包括状态栏601、显示区域602。在一些示例中,多窗口界面中还可以包括导航栏603。导航栏603一般包含最近任务键、主屏幕键、后退键、通知栏键。其中,最近任务键用于显示最近使用过的应用程序。主屏幕键用于返回桌面。后退键用于返回上一界面。通知栏键用于打开通知栏。导航栏603中的按键可以是物理按键,也可以是虚拟按键。As shown in Figure 6 (1), the mobile phone has opened an application (displaying the application in full screen), and displaying the interface of the application, such as the chat interface of the "WeChat" application. The user performs a predefined gesture on the left edge area of the screen of the mobile phone, and the mobile phone displays a multi-window interface as shown in (2) of FIG. 6 in response to detecting the predefined gesture of the user. The multi-window interface includes a status bar 601 and a display area 602. In some examples, a navigation bar 603 may also be included in the multi-window interface. The navigation bar 603 generally includes a recent task key, a home screen key, a back key, and a notification bar key. Among them, the recent task key is used to display recently used applications. The home button is used to return to the desktop. The back key is used to return to the previous interface. The notification bar key is used to open the notification bar. The buttons in the navigation bar 603 may be physical buttons or virtual buttons.
在该实施例中,显示区域602被划分为左右两个窗口。左右两侧的窗口大小可以相同,也可以不同。In this embodiment, the display area 602 is divided into two left and right windows. The window sizes on the left and right sides can be the same or different.
其中,右侧窗口,用于显示原来已打开的应用程序的界面,即“微信”应用的聊天界面。在一些示例中,手机可以在右侧窗口显示原来已打开的应用程序的界面时,可以根据当前右侧窗口的大小,对应用程序的界面进行重排。例如:手机保留应用程序界面中的文字的大小、图片大小等,根据当前右侧窗口的实际大小调整显示的应用程序的界面内容。显然,此时右侧窗口内显示的应用程序的界面内容,会少于与手机之前全屏显示的应用程序的界面的内容。又例如:手机对应用程序界面中的文字大小、图片大小等进行缩小,再结合当前右侧窗口的实际大小,对显示的应用程序的界面内容进行重排。在这种情况下,此时右侧窗口内显示的应用程序的界面内容,可能少于手机之前全屏显示的应用程序的界面的内容,也可能与手机 之前全屏显示的应用程序的界面的内容相同,还可能多于手机之前全屏显示的应用程序的界面的内容。本申请实施例对此不做限定。在另一些示例中,手机也可以将原来显示的界面按照右侧窗口的长宽进行缩小。在这种情况中,此时右侧窗口内显示的应用程序的界面内容,与手机之前全屏显示的应用程序的界面的内容相同。本申请实施例对此不做限定。Among them, the right window is used to display the interface of the originally opened application, that is, the chat interface of the "WeChat" application. In some examples, when the mobile phone can display the interface of the previously opened application in the right window, the interface of the application can be rearranged according to the size of the current right window. For example: the mobile phone retains the size of the text and picture in the application interface, and adjusts the displayed application interface content according to the actual size of the current window on the right. Obviously, the content of the interface of the application displayed in the right window at this time will be less than the content of the interface of the application previously displayed on the full screen of the mobile phone. For another example: the mobile phone reduces the text size, picture size, etc. in the application program interface, and then combines the actual size of the current right window to rearrange the displayed application interface content. In this case, the interface content of the application displayed in the right window at this time may be less than the content of the application interface that was previously displayed in full screen on the phone, or it may be the same as the interface content of the application displayed in full screen before the phone. , It may also be more than the content of the application interface displayed on the full screen of the mobile phone. The embodiments of this application do not limit this. In other examples, the mobile phone can also reduce the original interface displayed according to the length and width of the window on the right. In this case, the content of the interface of the application displayed in the right window at this time is the same as the content of the interface of the application previously displayed on the full screen of the mobile phone. The embodiments of this application do not limit this.
左侧窗口,为新增的应用窗口。示例性的,左侧窗口可以显示多个应用图标。这些应用图标对应的应用程序为支持多窗口显示(即支持分屏显示)的应用程序。其中,支持多窗口显示的应用程序可以是手机默认的一些应用程序,例如:浏览器、视频播放器等。也可以是由用户设置的有多窗口显示需求的应用程序,例如:即时通信应用、文档应用、订票应用、购物应用等。在另一些示例中,左侧窗口可以显示手机已安装的所有应用程序对应的应用图标,即默认所有的应用程序均支持多窗口显示。The left window is the newly added application window. Exemplarily, multiple application icons may be displayed in the left window. The applications corresponding to these application icons are applications that support multi-window display (ie, support split-screen display). Among them, the applications that support multi-window display may be some default applications of the mobile phone, such as browsers, video players, etc. It can also be an application set by the user with multiple window display requirements, such as instant messaging applications, document applications, ticket booking applications, shopping applications, etc. In other examples, the left window can display application icons corresponding to all applications installed on the mobile phone, that is, by default, all applications support multi-window display.
后续,用户可以通过操作这些应用图标,打开另一个应用程序,下文将详细说明。Later, the user can open another application by operating these application icons, which will be described in detail below.
在一些实施例中,在如图6中(2)所示界面上,用户还可以通过例如上下滑动或左右滑动的方式,切换在左侧窗口中显示的应用图标。In some embodiments, on the interface as shown in (2) in FIG. 6, the user can also switch the application icons displayed in the left window by, for example, sliding up and down or sliding left and right.
例如:用户在左侧窗口执行向上滑动的手势(例如操作1),手机显示如图6中(4)所示的界面。即,图6中(2)左边的显示区域中的应用图标整体向上移动。上方超出屏幕的应用图标消失,下方显示有新的应用图标(例如“网盘”、“美图”)。For example: the user performs an upward sliding gesture on the left window (for example, operation 1), and the mobile phone displays an interface as shown in (4) in Figure 6. That is, the application icons in the display area on the left of (2) in FIG. 6 move upward as a whole. The application icons above the screen disappear, and new application icons (such as "Network Disk", "Meitu") are displayed below.
又例如:用户在左侧窗口执行向右滑动的手势(例如操作2),手机显示如图6中(3)所示的界面。即,图6中(2)左边的显示区域中的应用图标整体向右移动。右方超出左侧窗口的应用图标消失,左方显示有新的应用图标(例如“网盘”、“美图”)。Another example: the user performs a rightward sliding gesture on the left window (for example, operation 2), and the mobile phone displays an interface as shown in (3) in FIG. 6. That is, the application icons in the display area on the left of (2) in FIG. 6 move to the right as a whole. The application icons on the right beyond the left window disappear, and new application icons (such as "Netdisk" and "Meitu") are displayed on the left.
在另一些实施例中,在多窗口界面中显示有导航栏时,也可以通过导航栏中的按键对多窗口界面进行操作。示例性的,可以在导航栏中增加一个多窗口按键,或者复用已有的按键(例如:最近任务键)。In other embodiments, when the navigation bar is displayed in the multi-window interface, the multi-window interface can also be operated through the buttons in the navigation bar. Exemplarily, a multi-window button can be added to the navigation bar, or an existing button can be reused (for example, the recent task button).
例如:如图6中(2)所示,在手机显示多窗口界面时,最近任务键可作为多窗口键604。在手机刚进入多窗口界面时,即其中一个窗口显示多个应用图标时,用户可通过点击多窗口键604快速退出多窗口界面,即显示如图6中(1)所示的界面。可以理解的是,多窗口键604在不同场景下,可具有不同的功能,下文将在具体的场景中具体说明。在一些示例中,为了便于用户区分该按键的不同功能,也可以在该按键具有不同功能时显示不同的图标。For example: as shown in Figure 6 (2), when the mobile phone displays a multi-window interface, the recent task key can be used as the multi-window key 604. When the mobile phone first enters the multi-window interface, that is, when multiple application icons are displayed in one of the windows, the user can quickly exit the multi-window interface by clicking the multi-window key 604, that is, the interface shown in (1) of FIG. 6 is displayed. It is understandable that the multi-window key 604 may have different functions in different scenarios, which will be specifically described in specific scenarios below. In some examples, in order to facilitate the user to distinguish different functions of the key, different icons may also be displayed when the key has different functions.
在又一些实施例中,也可以通过其他方式快速退出多窗口界面。例如:用户在右侧窗口和左侧窗口的交界处执行例如向左滑动的手势(例如操作3),手机退出多窗口界面。即,手机回到如图6中(1)所示的界面。In still other embodiments, it is also possible to quickly exit the multi-window interface in other ways. For example: the user performs a gesture such as sliding to the left at the junction of the right window and the left window (for example, operation 3), and the mobile phone exits the multi-window interface. That is, the mobile phone returns to the interface shown in Figure 6 (1).
(2)多窗口界面的操作(2) Operation of multi-window interface
后续,用户可以通过操作新增窗口中的应用图标,打开另一个应用程序。Later, the user can open another application by operating the application icon in the newly added window.
在一些示例中,若上述另一个应用程序未开启,则手机启动该应用程序,显示该应用程序的主界面。例如:如图7中(1)所示,响应于用户点击“文档”应用对应的应用图标,手机打开“文档”应用,显示如图7中(2)所示的界面。即,手机在左侧窗口内显示“文档”应用的主界面。In some examples, if the another application is not started, the mobile phone starts the application and displays the main interface of the application. For example: as shown in Figure 7 (1), in response to the user clicking the application icon corresponding to the "Documents" application, the mobile phone opens the "Documents" application and displays the interface shown in Figure 7 (2). That is, the mobile phone displays the main interface of the "Documents" application in the left window.
在另一些示例中,若上述另一个应用程序已开启,但在后台运行时,则手机将该应用程序切换到前台运行,显示该应用程序当前的界面。例如:如图7中(1)所示,响应于用户点击“文档”应用对应的应用图标,手机将“文档”应用切换到前台运行,显示如图7中(3)所示的界面。即,手机在左侧窗口内显示“文档”应用的当前界面。In some other examples, if the another application is already started but is running in the background, the mobile phone switches the application to run in the foreground and displays the current interface of the application. For example: as shown in Figure 7 (1), in response to the user clicking the application icon corresponding to the "Document" application, the mobile phone switches the "Document" application to the foreground and displays the interface shown in Figure 7 (3). That is, the mobile phone displays the current interface of the "Documents" application in the left window.
当用户在新增窗口中开启了新的应用程序后,手机同时显示两个应用程序的界面。可见, 用户对其中一个应用程序进行操作时,另一个应用程序的界面不会隐藏。换言之,用户在对其中一个窗口的应用程序进行操作时,并不影响另一个窗口中应用程序的运行。于是,用户可以很方便地在两个应用程序的界面上交替操作,实现用户与手机的高效交互。When the user opens a new application in the new window, the mobile phone displays the interfaces of the two applications at the same time. It can be seen that when the user operates one of the applications, the interface of the other application will not be hidden. In other words, when a user operates an application in one window, it does not affect the operation of the application in the other window. Therefore, the user can conveniently alternate operations on the interfaces of the two application programs to achieve efficient interaction between the user and the mobile phone.
示例性的,如图7中(2)所示,用户可以在左侧窗口中对“文档”应用进行操作。例如:通过点击“打开”控件,选择打开已有的文件等。与此同时,用户也可以在右侧窗口查看到“微信”应用中的新消息,以及发送新的消息等。Exemplarily, as shown in (2) in Figure 7, the user can operate the "document" application in the left window. For example: by clicking the "Open" control, choosing to open an existing file, etc. At the same time, users can also view new messages in the "WeChat" application and send new messages in the right window.
再示例性的,如图8中(1)所示,用户可以先在左侧窗口中复制文档中选中的文字801。然后,如图8中(2)所示,用户可以在右侧窗口的文字输入框802粘贴该文字801。As another example, as shown in (1) in FIG. 8, the user can first copy the selected text 801 in the document in the left window. Then, as shown in (2) of FIG. 8, the user can paste the text 801 in the text input box 802 of the right window.
又示例性的,如图8中(3)所示,左侧窗口为“文档”应用的文档浏览界面,其中显示有多个文档的文件名等信息。右侧为“邮箱”应用的写邮件界面。响应于用户在左侧窗口的文档浏览界面上,按住选中的文档803,向右侧窗口的邮件正文区域拖拽的操作,手机将选中的文档作为附件804添加到邮件正文中,即显示如图8中(4)所示的界面。As another example, as shown in (3) of FIG. 8, the left window is the document browsing interface of the "document" application, in which information such as file names of multiple documents is displayed. On the right is the email composing interface of the "Mailbox" application. In response to the user pressing and holding the selected document 803 on the document browsing interface of the left window, and dragging it to the email body area of the right window, the mobile phone adds the selected document as an attachment 804 to the email body, and it displays as Figure 8 (4) shows the interface.
在本申请的一些实施例中,用户也可以交换左右两侧窗口的显示内容。In some embodiments of the present application, the user can also exchange the display content of the left and right windows.
在一些示例中,如图9中(1)所示,响应于用户在左右两侧窗口的交界901处执行特定操作,例如:长按、双击、压力按压等操作,手机显示如图9中(2)所示的界面。该界面中显示有内容交换控件902。交换控件902可用于交互左右两侧窗口中显示的内容。In some examples, as shown in Figure 9 (1), in response to the user performing a specific operation at the junction 901 of the left and right windows, such as long press, double tap, pressure press, etc., the mobile phone displays as shown in Figure 9 ( 2) The interface shown. A content exchange control 902 is displayed on the interface. The swap control 902 can be used to interact with the content displayed in the left and right windows.
该界面中还可以显示有关闭控件903。在一个示例中,关闭控件903可用于关闭手机新增的窗口的应用程序。例如:响应于用户点击关闭控件903,手机关闭左侧窗口的应用程序。即,左侧窗口消失,手机全屏显示右侧窗口的应用程序的界面。或者,左侧窗口显示多应用图标。在另一个示例中,响应于用户点击关闭控件903,手机关闭用户当前正在操作的应用程序。例如,用户当前正在操作右侧窗口的“微信”应用,则手机关闭右侧窗口的应用程序。即,右侧窗口消失,手机全屏显示左侧窗口的应用程序的界面。或者,右侧窗口显示多应用图标。A close control 903 may also be displayed on the interface. In one example, the close control 903 can be used to close the application of the newly added window of the mobile phone. For example: in response to the user clicking the close control 903, the mobile phone closes the application in the left window. That is, the left window disappears, and the phone displays the application interface of the right window in full screen. Or, multi-application icons are displayed in the left window. In another example, in response to the user clicking the close control 903, the mobile phone closes the application currently being operated by the user. For example, if the user is currently operating the "WeChat" application in the right window, the phone closes the application in the right window. That is, the right window disappears, and the phone displays the application interface of the left window in full screen. Or, the multi-application icon is displayed in the right window.
在另一些示例中,如图9中(1)所示,响应于用户在左右两侧窗口的交界901处执行特定操作,手机显示如图9中(3)所示的界面。即手机也可以弹出菜单904。菜单904中包括多个选项,例如“交互窗口内容”、“关闭左侧窗口”和“关闭右侧窗口”等。手机也可以根据用户选择的选项,执行交互窗口内容,关闭窗口等动作。本申请实施例对此不做限定。In other examples, as shown in (1) of FIG. 9, in response to the user performing a specific operation at the junction 901 of the left and right windows, the mobile phone displays an interface as shown in (3) of FIG. 9. That is, the mobile phone can also pop up the menu 904. The menu 904 includes multiple options, such as "interactive window content", "close left window", "close right window" and so on. The mobile phone can also perform actions such as interactive window content and closing the window according to the options selected by the user. The embodiments of this application do not limit this.
在本申请的一些实施例中,手机的显示屏为折叠屏。那么,在手机显示多窗口界面时,如果检测用户折叠屏幕的操作时,手机可以根据一定策略在折叠后的屏幕上显示一个或几个应用窗口的内容。In some embodiments of the present application, the display screen of the mobile phone is a folding screen. Then, when the mobile phone displays a multi-window interface, if the user's folding screen operation is detected, the mobile phone can display the contents of one or several application windows on the folded screen according to a certain strategy.
例如:在一种策略中,如图10中(1)所示,手机显示左右两个窗口,当手机检测到用户以折叠边1001为折叠轴,逆时针将右侧的屏幕向后折叠的操作时,手机可以显示如图10中(2)所示的界面。即,保留左侧窗口的应用程序的界面,不显示右侧窗口的应用窗口的界面。在一些示例中,手机可以在例如侧边显示一悬浮球1002,用于提示用户有隐藏的应用窗口。用户可以通过点击悬浮球1002切换当前显示的应用程序的界面。例如:在如图10中(2)所示的界面上,检测到用户点击悬浮球1002时,手机显示如图10中(3)所示的界面。可以看到,手机将显示悬浮球1002对应的应用程序的界面(例如“微信”应用的界面),而将之前屏幕显示的应用程序的界面(例如:“文档”应用的界面)隐藏起来,显示为另一个悬浮球1005。点击悬浮球1005,手机将切换回显示悬浮球1005对应的应用程序的界面(即“微信”应用的界面)。又例如:用户也可以在当前屏幕显示的应用界面中选中相应的内容(例如文字、图片、文件等),将其直接拉拽到悬浮球1002处,使得手机打开悬浮球1002对应的应用程序 的界面,并在该应用程序界面上显示之前选中的相应内容。For example: In a strategy, as shown in Figure 10 (1), the mobile phone displays two windows on the left and right. When the mobile phone detects that the user uses the folding side 1001 as the folding axis, the operation of folding the right screen backwards counterclockwise When the time, the mobile phone can display the interface as shown in Figure 10 (2). That is, the interface of the application window in the left window is retained, and the interface of the application window in the right window is not displayed. In some examples, the mobile phone may display a floating ball 1002 on the side, for example, to remind the user that there is a hidden application window. The user can switch the interface of the currently displayed application program by clicking the floating ball 1002. For example: on the interface shown in Figure 10 (2), when it is detected that the user clicks on the floating ball 1002, the mobile phone displays the interface shown in Figure 10 (3). It can be seen that the mobile phone will display the interface of the application corresponding to the floating ball 1002 (for example, the interface of the "WeChat" application), and hide the interface of the application (for example: the interface of the "Document" application) displayed on the previous screen, and display For another floating ball 1005. Click the floating ball 1005, and the mobile phone will switch back to the interface that displays the application program corresponding to the floating ball 1005 (ie, the interface of the "WeChat" application). For another example: the user can also select the corresponding content (such as text, picture, file, etc.) in the application interface displayed on the current screen, and drag it directly to the floating ball 1002, so that the mobile phone opens the application corresponding to the floating ball 1002. Interface, and display the corresponding content previously selected on the application interface.
在另一种策略中,当手机检测到用户的折叠屏幕的操作时,手机可以保留用户当前正在操作的应用程序所在的窗口。或者,手机可以保留屏幕中尺寸最大的窗口,本申请对此不做限定。其余内容参考第一种策略中的相关描述,不再赘述。In another strategy, when the mobile phone detects the operation of the user's folding screen, the mobile phone can retain the window where the application currently being operated by the user is located. Alternatively, the mobile phone can retain the largest window on the screen, which is not limited in this application. For the rest of the content, refer to the relevant description in the first strategy, and will not repeat it.
当检测到用户展开屏幕时,手机可以自动显示多窗口界面。When detecting that the user expands the screen, the phone can automatically display a multi-window interface.
又例如:在一种策略中,如图10中(4)所示,手机显示左右两个窗口,当手机检测到用户以折叠边1003为折叠轴,顺时针将左侧的屏幕向后折叠的操作时,手机可以显示如图10中(5)所示的界面。即,保留右侧窗口的应用程序的界面,不显示左侧窗口的应用窗口的界面。在一些示例中,手机可以显示一悬浮球1004,用于提示用户有隐藏的应用窗口。在另一种策略中,当手机检测到用户的折叠屏幕的操作时,手机可以保留用户当前正在操作的应用程序所在的窗口。或者,手机可以保留屏幕中尺寸最大的窗口,本申请对此不做限定。其余内容参考上文的相关描述,不再赘述。Another example: In a strategy, as shown in Figure 10 (4), the mobile phone displays two windows on the left and right. When the mobile phone detects that the user uses the folding side 1003 as the folding axis, the left screen is folded back clockwise. During operation, the mobile phone can display the interface shown in Figure 10 (5). That is, the interface of the application window in the right window is retained, and the interface of the application window in the left window is not displayed. In some examples, the mobile phone may display a floating ball 1004 to remind the user that there is a hidden application window. In another strategy, when the mobile phone detects the operation of the user's folding screen, the mobile phone can retain the window where the application currently being operated by the user is located. Alternatively, the mobile phone can retain the largest window on the screen, which is not limited in this application. For the rest of the content, refer to the relevant description above, and will not repeat it.
当检测到用户展开屏幕时,手机可以自动显示多窗口界面。When detecting that the user expands the screen, the phone can automatically display a multi-window interface.
在本申请的另一些实施例中,在手机显示多窗口显示界面时,如果检测到用户旋转手机,切换横竖屏状态时,手机可以保持窗口基本不变,将窗口内显示的应用程序界面做适应性调整。In other embodiments of the present application, when the mobile phone displays a multi-window display interface, if it is detected that the user rotates the mobile phone and switches the horizontal and vertical screen states, the mobile phone can keep the window basically unchanged, and adapt the application interface displayed in the window Sexual adjustment.
例如:如图11中(1)所示,手机为横屏状态,且手机屏幕处于竖直状态或大体上处于竖直状态。此时,手机显示多窗口界面,有左右两个窗口。当手机检测到用户将手机从横屏状态切换到竖屏状态时,手机显示如图11中(2)所示的界面。即,手机保持两个窗口的大小和位置基本不变(不包含手机为显示状态栏和导航栏而对窗口的大小做了较小的调整),对各个窗口内的应用程序的界面中文字图片等方向进行切换。为了便于区分手机的屏幕变化方向,图中用三角形标记1101标记了手机屏幕的一边。也就是说,图11中(1)中的屏幕上边缘被旋转成图11中(2)中的右边缘。For example: as shown in Figure 11 (1), the mobile phone is in a horizontal screen state, and the mobile phone screen is in a vertical state or substantially in a vertical state. At this time, the mobile phone displays a multi-window interface with two left and right windows. When the mobile phone detects that the user has switched the mobile phone from the horizontal screen state to the vertical screen state, the mobile phone displays an interface as shown in (2) in Figure 11. That is, the mobile phone keeps the size and position of the two windows basically unchanged (not including the mobile phone's minor adjustments to the size of the window to display the status bar and navigation bar), and the text and pictures in the interface of the application in each window Switch in the same direction. In order to distinguish the direction of the screen change of the mobile phone, a triangle mark 1101 is used to mark one side of the mobile phone screen. That is, the upper edge of the screen in (1) in FIG. 11 is rotated to the right edge in (2) in FIG. 11.
(3)退出多窗口界面(3) Exit the multi-window interface
在本申请的一些实施例中,当手机同时显示两个应用程序的界面时,用户可以通过点击导航栏中的多窗口键604,快速退出多窗口界面。In some embodiments of the present application, when the mobile phone displays the interfaces of two application programs at the same time, the user can quickly exit the multi-window interface by clicking the multi-window button 604 in the navigation bar.
在一些示例中,如图12中(1)所示,响应于用户点击多窗口键604,手机关闭新增的窗口(即左侧窗口),全屏显示最先打开的应用程序的窗口(右侧窗口),即显示图12中(2)所示的界面。在另一些示例中,如图13中(1)所示,响应于用户点击多窗口键604,手机可以关闭用户当前正在操作的应用程序的窗口(例如“微信”应用),即显示图13中(2)所示的界面。其中,用户当前正在操作的应用窗口,是指在用户点击多窗口键604之前,用户最近操作过的应用窗口。可选的,手机可以对用户当前正在操作的应用窗口进行突出标记,具体标记方式不做限定。In some examples, as shown in Figure 12 (1), in response to the user clicking the multi-window button 604, the mobile phone closes the newly added window (that is, the left window), and displays the window of the first opened application in full screen (right Window), that is, the interface shown in (2) in Figure 12 is displayed. In other examples, as shown in Figure 13 (1), in response to the user clicking the multi-window button 604, the mobile phone can close the window of the application currently being operated by the user (such as the "WeChat" application), that is, the display shown in Figure 13 (2) The interface shown. The application window currently being operated by the user refers to the application window that the user has recently operated before the user clicks the multi-window button 604. Optionally, the mobile phone may highlight the application window currently being operated by the user, and the specific marking method is not limited.
在另一些实施例中,当手机同时显示两个应用程序的界面时,用户可以通过点击多窗口键604,快速关闭其中一个窗口的应用程序,且该窗口显示多个应用图标的界面。也就是说,用户可以通过该窗口的应用图标快速打开其他应用程序。在一些示例中,如图12中(1)所示,响应于用户点击多窗口键604,手机关闭新增的窗口(即左侧窗口)中的应用程序,保留最先打开的应用程序的窗口(右侧窗口),即显示图12中(3)所示的界面。在另一些示例中,如图13中(1)所示,响应于用户点击多窗口键604,手机可以关闭用户当前正在操作的应用窗口(例如“微信”应用),并在该窗口显示多个应用图标,即显示图13中(3)所示的界面。In other embodiments, when the mobile phone displays the interfaces of two applications at the same time, the user can click the multi-window button 604 to quickly close the application in one of the windows, and the window displays the interface of multiple application icons. In other words, the user can quickly open other applications through the application icon in the window. In some examples, as shown in Figure 12 (1), in response to the user clicking the multi-window button 604, the mobile phone closes the application in the newly added window (ie the left window), and retains the window of the first opened application (The window on the right), that is, the interface shown in (3) in Figure 12 is displayed. In other examples, as shown in Figure 13 (1), in response to the user clicking the multi-window button 604, the mobile phone can close the application window currently being operated by the user (for example, the "WeChat" application), and display multiple windows in the window. Application icon, which displays the interface shown in Figure 13 (3).
在又一些实施例中,后退键可用于将用户当前正在操作的应用程序返回到上一界面。在一些示例中,用户当前正在操作的应用程序为主界面时,后退键可用于退出多窗口界面。例如:如图12中(1)所示,左侧窗口的“文档”应用为主界面。响应于用户点击后退键1201,则手机关闭左侧窗口,全屏显示右侧窗口内的应用程序(即“微信”应用),即显示如图12中(2)所示的界面。在一些示例中,用户当前正在操作的应用窗口不为主界面时,用户也可以通过双击后退键1201,直接退出多窗口界面。In still other embodiments, the back key can be used to return the application currently being operated by the user to the previous interface. In some examples, when the application currently being operated by the user is the main interface, the back key can be used to exit the multi-window interface. For example: as shown in Figure 12 (1), the "document" in the left window is used as the main interface. In response to the user clicking the back button 1201, the mobile phone closes the left window and displays the application in the right window in full screen (ie, the "WeChat" application), that is, the interface as shown in (2) of Figure 12 is displayed. In some examples, when the application window currently being operated by the user is not the main interface, the user can also directly exit the multi-window interface by double-clicking the back key 1201.
在又一些实施例中,请参见图9中(1)至(3)所示,用户也可以在两个窗口交界处执行特定操作,通过选择相应的控件或选项退出其中一个窗口。上文已对该方法进行详细说明,这里不再赘述。In still other embodiments, as shown in (1) to (3) in FIG. 9, the user can also perform a specific operation at the junction of the two windows, and exit one of the windows by selecting the corresponding control or option. The method has been described in detail above, and will not be repeated here.
在又一些实施例中,用户也可以通过特定的操作(例如:指关节敲击等、三指下滑、画圈等)、语音命令以及其他方式快速退出多窗口界面。本申请实施例对退出多窗口界面的方式不做具体限定。In other embodiments, the user can also quickly exit the multi-window interface through specific operations (for example: knuckle tapping, three-finger sliding, circle drawing, etc.), voice commands, and other methods. The embodiment of the present application does not specifically limit the way to exit the multi-window interface.
需要说明的是,以上实施例是以预定义手势作用在左边缘区域为例进行说明的,当预定义手势作用在右边缘区域,上边缘区域,以及下边缘区域,手机将一个窗口划分为两个窗口的方法是类似的,不再赘述。It should be noted that the above embodiment is described by taking a predefined gesture acting on the left edge area as an example. When the predefined gesture acts on the right edge area, the upper edge area, and the lower edge area, the mobile phone divides one window into two. The method of each window is similar, so I won't repeat it.
开启三个窗口的方法How to open three windows
在手机已开启两个应用程序的情况下,若手机检测到用户执行预定义手势,则可以在同一界面上显示三个窗口。其中,两个窗口用于显示原来已经打开的两个应用程序的界面,另一个窗口用于显示即将打开的第三应用程序的界面。其中预定义手势可参考上文的描述。In the case that the mobile phone has opened two applications, if the mobile phone detects that the user performs a predefined gesture, it can display three windows on the same interface. Among them, two windows are used to display the interfaces of the two applications that have been opened, and the other window is used to display the interface of the third application to be opened. The predefined gestures can refer to the above description.
在手机检测到用户的预定义手势后,且确定当前屏幕已显示两个应用程序的界面后,根据该预定义手势作用的位置确定新增窗口的位置,新增窗口是指用于显示即将开启的第三个应用程序界面的窗口。After the mobile phone detects the user’s predefined gestures and determines that the current screen has displayed the interfaces of the two applications, the position of the new window is determined according to the position of the predefined gesture. The new window is used to display the upcoming opening The third application interface window.
在一种情况中,用户的预定义手势是作用在某个窗口的独占边区域,则手机会根据该预定义手势在该独占边的某一端,确定新增窗口的位置。In one case, the user's predefined gesture is applied to the exclusive edge area of a certain window, and the mobile phone will determine the position of the new window according to the predefined gesture at one end of the exclusive edge.
例如:如图14A中(1)所示,手机屏幕已显示有左右两个窗口。显然,左边缘是应用B的独占边,右边缘是应用A的独占边。上边缘和下边缘为应用A和应用B的共占边。For example: as shown in Figure 14A (1), the mobile phone screen has displayed two left and right windows. Obviously, the left edge is the exclusive edge of application B, and the right edge is the exclusive edge of application A. The upper and lower edges are the shared edges of application A and application B.
若用户的预定义手势作用在如图14A中(1)的位置,手机可以确定预定义手势作用在应用B的独占边上,且具体位于应用B独占边的下端。那么,手机将原来显示应用B的窗口拆分为上下两个窗口。上面窗口用于显示原来的应用B的界面。下面窗口为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图14A中(2)所示界面。该多窗口界面中包括三个窗口,分别为窗口1401,窗口1402和窗口1403。其中,窗口1401显示应用A的界面。窗口1402显示应用B的界面。窗口1403显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture is applied to the position shown in (1) in FIG. 14A, the mobile phone can determine that the predefined gesture is applied to the exclusive edge of application B, and is specifically located at the lower end of the exclusive edge of application B. Then, the mobile phone splits the window that originally displayed application B into two upper and lower windows. The upper window is used to display the original application B interface. The following window is a new window, used to display the interface of the third application that is about to open. That is, the mobile phone can display the interface as shown in (2) in Figure 14A. The multi-window interface includes three windows, namely window 1401, window 1402 and window 1403. Among them, window 1401 displays the interface of application A. Window 1402 displays the interface of application B. The window 1403 displays multiple application icons, and the user can start a third application program through the application icons.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
若用户的预定义手势作用在如图14A中(3)的位置,手机可以确定预定义手势作用在应用B的独占边上,且具体位于应用B独占边的上端。那么,手机将原来显示应用B的窗口拆分为上下两个窗口。上面窗口为新增窗口,用于显示即将开启的第三个应用程序的界面。下面窗口用于显示原来的应用B的界面。即,手机可以显示如图14A中(4)所示界面。该多窗口界面中包括三个窗口,分别为窗口1401,窗口1402和窗口1403。其中,窗口1401显示应用A的界面。窗口1402显示多个应用图标,用户可以通过该应用图标开启第三个应用 程序。窗口1403显示应用B的界面。If the user's predefined gesture is applied to the position shown in (3) in FIG. 14A, the mobile phone can determine that the predefined gesture is applied to the exclusive edge of application B, and is specifically located at the upper end of the exclusive edge of application B. Then, the mobile phone splits the window that originally displayed application B into two upper and lower windows. The above window is a new window, used to display the interface of the third application to be opened. The following window is used to display the original application B interface. That is, the mobile phone can display the interface as shown in (4) in Figure 14A. The multi-window interface includes three windows, namely window 1401, window 1402 and window 1403. Among them, window 1401 displays the interface of application A. The window 1402 displays multiple application icons, and the user can start a third application program through the application icons. Window 1403 displays the interface of application B.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
以上是以用户的预定义手势作用在屏幕的左边缘位置(应用B独占边的下端或上端)为例进行说明的。当用户的预定义手势作用在屏幕的右边缘位置(应用A独占边的上端或下端)时,手机采用相同的方法,可以确定将应用A所在的窗口划分为上下两个窗口。上面窗口(或下面窗口)用于显示原来的应用B的界面。下面窗口(或上面窗口)为新增窗口,用于显示即将开启的第三个应用程序的界面。The above is an example of the user's predefined gesture acting on the left edge of the screen (the lower or upper end of the exclusive edge of application B). When the user's predefined gesture is applied to the right edge of the screen (the upper or lower end of the exclusive edge of application A), the mobile phone adopts the same method to determine that the window where application A is located is divided into two upper and lower windows. The upper window (or lower window) is used to display the original application B interface. The lower window (or the upper window) is a new window, used to display the interface of the third application to be opened.
又例如:如图14B中(1)所示,手机屏幕已显示有上下两个窗口。显然,上边缘是应用A的独占边,下边缘是应用B的独占边。左边缘和右边缘为应用A和应用B的共占边。Another example: as shown in (1) in Figure 14B, the mobile phone screen has displayed two upper and lower windows. Obviously, the upper edge is the exclusive edge of application A, and the lower edge is the exclusive edge of application B. The left and right edges are the co-occupied edges of application A and application B.
若用户的预定义手势作用在如图14B中(1)的位置,手机可以确定预定义手势作用在应用A的独占边上,且具体位于应用A独占边的左侧。那么,手机将原来显示应用A的窗口拆分为左右两个窗口。右侧窗口用于显示原来的应用A的界面。左侧窗口为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图14B中(2)所示界面。该多窗口界面中包括三个窗口,分别为窗口1404,窗口1405和窗口1406。其中,窗口1404显示应用A的界面。窗口1405显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。窗口1406显示应用B的界面。If the user's predefined gesture is applied to the position shown in (1) in Fig. 14B, the mobile phone can determine that the predefined gesture is applied to the exclusive edge of application A, and is specifically located to the left of the exclusive edge of application A. Then, the mobile phone splits the window that originally displayed application A into two left and right windows. The right window is used to display the original application A interface. The window on the left is a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (2) in Figure 14B. The multi-window interface includes three windows, namely window 1404, window 1405, and window 1406. Among them, the window 1404 displays the interface of application A. The window 1405 displays multiple application icons, and the user can start a third application program through the application icons. Window 1406 displays the interface of application B.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
若用户的预定义手势作用在如图14B中(3)的位置,手机可以确定预定义手势作用在应用A的独占边上,且具体位于应用A独占边的右侧。那么,手机将原来显示应用A的窗口拆分为左右两个窗口。右侧窗口为新增窗口,用于显示即将开启的第三个应用程序的界面。左侧窗口用于显示原来的应用A的界面。即,手机可以显示如图14B中(4)所示界面。该多窗口界面中包括三个窗口,分别为窗口1404,窗口1405和窗口1406。其中,窗口1404显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。窗口1405显示应用A的界面。窗口1406显示应用B的界面。If the user's predefined gesture is applied to the position shown in (3) in FIG. 14B, the mobile phone can determine that the predefined gesture is applied to the exclusive edge of application A, and is specifically located to the right of the exclusive edge of application A. Then, the mobile phone splits the window that originally displayed application A into two left and right windows. The window on the right is a new window, which is used to display the interface of the third application that is about to be opened. The left window is used to display the original application A interface. That is, the mobile phone can display the interface as shown in (4) in Figure 14B. The multi-window interface includes three windows, namely window 1404, window 1405, and window 1406. Among them, the window 1404 displays multiple application icons, and the user can start a third application program through the application icons. Window 1405 displays the interface of application A. Window 1406 displays the interface of application B.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
以上是以用户的预定义手势作用在屏幕的上边缘位置(应用A独占边的左侧或右侧)为例进行说明的。当用户的预定义手势作用在屏幕的下边缘位置(应用B独占边的左侧或右侧)时,手机采用相同的方法,可以确定将应用B所在的窗口划分为左右两个窗口。左侧窗口(或右侧窗口)用于显示原来的应用B的界面。右侧窗口(或左侧窗口)为新增窗口,用于显示即将开启的第三个应用程序的界面。The above description is based on an example in which the user's predefined gesture acts on the upper edge of the screen (the left or right side of the exclusive edge of application A). When the user's predefined gesture is applied to the lower edge of the screen (the left or right side of the exclusive edge of Application B), the mobile phone adopts the same method to determine that the window where Application B is located is divided into two left and right windows. The left window (or the right window) is used to display the original application B interface. The window on the right (or the window on the left) is a newly added window, which is used to display the interface of the third application to be opened.
在另一种情况中,用户的预定义手势是作用在某个窗口的共占边区域,则手机会继续判断预定义手势是作用在两个窗口的边界上,还是作用在某一个窗口的边界上。若预定义手势作用在两个窗口的边界上,则手机确定将两个窗口同时缩小,多出来的区域为新增的窗口。若预定义手势作用在一个窗口的边界上,则手机确定将该窗口划分为两个窗口,其中一个显示该窗口原来的应用程序的界面,另一个为新增的窗口。In another case, if the user's predefined gesture is applied to the co-occupied area of a certain window, the phone will continue to determine whether the predefined gesture is applied to the boundary of two windows or to the boundary of a certain window. on. If the predefined gesture is applied to the boundary of the two windows, the mobile phone determines to shrink the two windows at the same time, and the extra area is the new window. If the predefined gesture is applied to the boundary of a window, the mobile phone determines that the window is divided into two windows, one of which displays the interface of the original application of the window, and the other is a newly added window.
在一些实施例中,预定义手势与屏幕有两个及两个以上的触点,例如预定义手势为两指滑动、三指滑动。那么,当两个或两个以上的触点分别位于两个窗口的边界上时,则可认为预定义手势作用在两个窗口的边界上。在另一些实施例中,预定义手势为大面积触摸操作。 那么,当触摸面积同时包含两个窗口的边界时,则可认为预定义手势作用在两个窗口的边界上。In some embodiments, the predefined gesture has two or more contact points with the screen. For example, the predefined gesture is a two-finger swipe and a three-finger swipe. Then, when two or more touch points are respectively located on the boundary of the two windows, it can be considered that the predefined gesture acts on the boundary of the two windows. In other embodiments, the predefined gesture is a large area touch operation. Then, when the touch area includes the boundary of the two windows at the same time, it can be considered that the predefined gesture acts on the boundary of the two windows.
例如:如图15A中(1)所示,手机屏幕已显示有左右两个窗口。显然,上边缘和下边缘为应用A和应用B的共占边。For example: as shown in Figure 15A (1), the mobile phone screen has displayed two left and right windows. Obviously, the upper and lower edges are the shared edges of application A and application B.
若用户的预定义手势作用在如图15A中(1)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在两个应用的上边界。那么,手机将原来两个窗口的上边界向下移,原来两个窗口的大小都缩小。在两个窗口上方留出来的区域确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图15A中(2)所示界面。该多窗口界面中包括三个窗口,分别为窗口1501,窗口1502和窗口1503。其中,窗口1501显示应用A的界面。窗口1502显示应用B的界面。窗口1503显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture is applied to the position shown in (1) in FIG. 15A, the mobile phone can determine that the predefined gesture is applied to the common edge of application A and application B, and the predefined gesture is applied to the upper boundary of the two applications. Then, the mobile phone moves the upper boundary of the original two windows down, and the size of the original two windows is reduced. The area left above the two windows is determined to be a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (2) in Figure 15A. The multi-window interface includes three windows, namely window 1501, window 1502 and window 1503. Among them, window 1501 displays the interface of application A. Window 1502 displays the interface of application B. The window 1503 displays multiple application icons, and the user can start a third application program through the application icons.
其中,原来两个窗口的上边界向下移动的距离可以是固定的(默认的或用户设置的),也可以与用户执行的预定义手势包含的距离信息相关,例如成正比。Wherein, the distance that the upper boundary of the original two windows moves down may be fixed (default or set by the user), or may be related to the distance information contained in the predefined gesture performed by the user, for example, in direct proportion.
若用户的预定义手势作用在如图15A中(3)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在两个应用的下边界。那么,手机将原来两个窗口的下边界都向上移动,原来两个窗口的大小都缩小。在两个窗口西方留出来的区域确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图15A中(4)所示界面。该多窗口界面中包括三个窗口,分别为窗口1504,窗口1505和窗口1506。其中,窗口1504显示应用A的界面。窗口1505显示应用B的界面。窗口1506显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture is applied to the position shown in (3) in FIG. 15A, the mobile phone can determine that the predefined gesture is applied to the common edge of application A and application B, and the predefined gesture is applied to the lower boundary of the two applications. Then, the mobile phone moves the lower borders of the original two windows up, and the sizes of the original two windows are reduced. The area left in the west of the two windows is determined to be a new window, used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (4) in Figure 15A. The multi-window interface includes three windows, namely window 1504, window 1505 and window 1506. Among them, window 1504 displays the interface of application A. Window 1505 displays the interface of application B. The window 1506 displays multiple application icons, and the user can start a third application program through the application icons.
其中,原来两个窗口的下边界向上移动的距离可以是固定的(默认的或用户设置的),也可以与用户执行的预定义手势包含的距离信息相关,例如成正比。Wherein, the upward moving distance of the lower borders of the original two windows may be fixed (default or set by the user), or may be related to the distance information contained in the predefined gesture performed by the user, for example, in direct proportion.
又例如:如图15B中(1)所示,手机屏幕已显示有上下两个窗口。显然,左边缘和右边缘为应用A和应用B的共占边。Another example: as shown in (1) in Figure 15B, the mobile phone screen has displayed two upper and lower windows. Obviously, the left and right edges are the co-occupied edges of application A and application B.
若用户的预定义手势作用在如图15B中(1)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在两个应用的左边界。那么,手机将原来两个窗口的左边界向右移动,原来两个窗口的大小都缩小。在两个窗口左侧留出来的区域确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图15B中(2)所示界面。该多窗口界面中包括三个窗口,分别为窗口1507,窗口1508和窗口1509。其中,窗口1507显示应用A的界面。窗口1508显示应用B的界面。窗口1509显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture is applied to the position shown in (1) in FIG. 15B, the mobile phone can determine that the predefined gesture is applied to the common edge of application A and application B, and the predefined gesture is applied to the left boundary of the two applications. Then, the mobile phone moves the left border of the original two windows to the right, and the size of the original two windows is reduced. The area left on the left side of the two windows is determined to be a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (2) in Figure 15B. The multi-window interface includes three windows, namely window 1507, window 1508 and window 1509. Among them, window 1507 displays the interface of application A. Window 1508 displays the interface of application B. The window 1509 displays multiple application icons, and the user can start a third application program through the application icons.
其中,原来两个窗口的左边界向右移动的距离可以是固定的(默认的或用户设置的),也可以与用户执行的预定义手势包含的距离信息相关,例如成正比。Wherein, the distance that the left borders of the original two windows move to the right may be fixed (default or set by the user), or may be related to the distance information contained in the predefined gesture performed by the user, for example, in direct proportion.
若用户的预定义手势作用在如图15B中(3)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在两个应用的右边界。那么,手机将原来两个窗口的右边界都向左移动,原来两个窗口的大小都缩小。在两个窗口右侧留出来的区域确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图15B中(4)所示界面。该多窗口界面中包括三个窗口,分别为窗口1510,窗口1511和窗口1512。其中,窗口1510显示应用A的界面。窗口1511显示应用B的界面。窗口1512显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture is applied to the position shown in (3) in Fig. 15B, the mobile phone can determine that the predefined gesture is applied to the common edge of application A and application B, and the predefined gesture is applied to the right boundary of the two applications. Then, the mobile phone moves the right borders of the original two windows to the left, and the sizes of the original two windows are reduced. The area left on the right side of the two windows is determined to be a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (4) in Figure 15B. The multi-window interface includes three windows, namely window 1510, window 1511 and window 1512. Among them, the window 1510 displays the interface of application A. Window 1511 displays the interface of application B. The window 1512 displays multiple application icons, and the user can start a third application program through the application icons.
其中,原来两个窗口的右边界向左移动的距离可以是固定的(默认的或用户设置的),也 可以与用户执行的预定义手势包含的距离信息相关,例如成正比。Wherein, the distance that the right borders of the original two windows move to the left may be fixed (default or set by the user), or may be related to the distance information contained in the predefined gesture performed by the user, for example, in direct proportion.
又例如:如图16中(1)所示,手机屏幕已显示有上下两个窗口。显然,左边缘和右边缘为应用A和应用B的共占边。Another example: as shown in Figure 16 (1), the mobile phone screen has displayed two upper and lower windows. Obviously, the left and right edges are the co-occupied edges of application A and application B.
若用户的预定义手势作用在如图16中(1)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在应用A的左边界上。那么,手机将原来显示应用A的窗口分为两个窗口。右侧窗口用于显示应用A的界面。左侧的窗口确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图16中(2)所示界面。该多窗口界面中包括三个窗口,分别为窗口1601,窗口1602和窗口1603。其中,窗口1601显示应用A的界面。窗口1602显示应用B的界面。窗口1603显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture acts on the position shown in (1) in Figure 16, the mobile phone can determine that the predefined gesture acts on the common edge of application A and application B, and the predefined gesture acts on the left border of application A. Then, the mobile phone divides the window that originally displayed application A into two windows. The right window is used to display the interface of application A. The window on the left is determined to be a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface shown in Figure 16 (2). The multi-window interface includes three windows, namely window 1601, window 1602 and window 1603. Among them, window 1601 displays the interface of application A. Window 1602 displays the interface of application B. The window 1603 displays multiple application icons, and the user can start a third application program through the application icons.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
若用户的预定义手势作用在如图16中(3)的位置,手机可以确定预定义手势作用在应用A和应用B的共占边上,且预定义手势作用在应用B的左边界上。那么,手机将原来显示应用B的窗口分为两个窗口。右侧窗口用于显示应用B的界面。左侧的窗口确定为新增窗口,用于显示即将开启的第三个应用程序的界面。即,手机可以显示如图16中(4)所示界面。该多窗口界面中包括三个窗口,分别为窗口1604,窗口1605和窗口1606。其中,窗口1604显示应用A的界面。窗口1605显示应用B的界面。窗口1606显示多个应用图标,用户可以通过该应用图标开启第三个应用程序。If the user's predefined gesture acts on the position shown in (3) in Figure 16, the mobile phone can determine that the predefined gesture acts on the common edge of application A and application B, and the predefined gesture acts on the left border of application B. Then, the mobile phone divides the window that originally displayed application B into two windows. The right window is used to display the interface of application B. The window on the left is determined to be a new window, which is used to display the interface of the third application to be opened. That is, the mobile phone can display the interface as shown in (4) in Figure 16. The multi-window interface includes three windows, namely window 1604, window 1605 and window 1606. Among them, window 1604 displays the interface of application A. Window 1605 displays the interface of application B. The window 1606 displays multiple application icons, and the user can start a third application program through the application icons.
其中,将其中一个窗口划分为两个窗口可以是均分,也可以不是均分,还可以根据用户执行的预定义手势包含的距离信息确定,可参考上文相关内容的描述,这里不再赘述。Among them, the division of one of the windows into two windows may or may not be equally divided, and it may also be determined according to the distance information contained in the predefined gestures performed by the user. You can refer to the description of the relevant content above, and will not be repeated here. .
在该示例中,是以用户的预定义手势作用在屏幕左边缘的共占边为例进行说明的。当用户的预定义手势作用在屏幕的右边缘位置时,手机采用相同的方法,可以确定将应用A或应用B所在的窗口划分为左右两个窗口。左侧窗口用于显示应用A或应用B的界面,右侧窗口确定为新的窗口,用于显示即将开启的第三个应用程序的界面。这里不再赘述。In this example, the user's pre-defined gesture is used as an example to describe the shared edge of the left edge of the screen. When the user's predefined gesture is applied to the right edge of the screen, the mobile phone uses the same method to determine whether the window where the application A or application B is located is divided into two windows on the left and the right. The left window is used to display the interface of Application A or Application B, and the right window is determined to be a new window for displaying the interface of the third application to be launched. I won't repeat it here.
在另一些示例中,手机显示左右两个应用窗口。当用户的预定义手势作用在屏幕上边缘位置或下边缘位置,且位于其中一个窗口的边界时,手机采用类似的方法,也可以将已有的两个窗口划分为三个窗口,这里不再赘述。In other examples, the phone displays two application windows on the left and right. When the user's predefined gesture is applied to the upper or lower edge of the screen, and is located at the boundary of one of the windows, the mobile phone adopts a similar method, and the two existing windows can also be divided into three windows. Repeat.
需要说明的是,当手机同时显示三个窗口时,用户可以同时对这三个窗口中的应用程序进行操作,更加有利于提高用户与手机的交互效率。It should be noted that when the mobile phone displays three windows at the same time, the user can operate the applications in these three windows at the same time, which is more conducive to improving the interaction efficiency between the user and the mobile phone.
用户在对三个窗口的界面进行操作,与对两个窗口的界面进行操作可能存在以下不同之处:The user is operating on the interface of the three windows, and the interface of the two windows may have the following differences:
在一些示例中,手机在交互不同窗口的显示内容时,若检测到用户在两个窗口交界处的特定操作时,显示的交互控件,可用于交换该两个窗口的内容,与另一个窗口的内容无关。In some examples, when the mobile phone interacts with the display content of different windows, if a user's specific operation at the junction of two windows is detected, the displayed interactive controls can be used to exchange the content of the two windows with the content of another window. The content is irrelevant.
例如:如图17中(1)所示,当检测到用户在应用A和应用B的交界处1701长按时,手机显示如图17中(2)所示的界面,即显示交换控件1702。响应于用户点击交换控件1702,手机将应用A和应用B所在窗口的内容进行交换。也就是说,交换前,上面的窗口显示应用A的界面,右下角的窗口显示应用B的界面。交换后,上面的窗口显示应用B的界面,右下角的窗口显示应用A的界面。For example: as shown in Figure 17 (1), when it is detected that the user long presses at the junction 1701 of application A and application B, the mobile phone displays the interface shown in Figure 17 (2), that is, the exchange control 1702 is displayed. In response to the user clicking the exchange control 1702, the mobile phone exchanges the contents of the window where the application A and application B are located. In other words, before the exchange, the upper window displays the interface of application A, and the window in the lower right corner displays the interface of application B. After the exchange, the upper window displays the application B interface, and the lower right window displays the application A interface.
若检测用户在应用B和应用C的交界处1703处长按时,手机显示的交互控件用于交互应用B和应用C谁在的窗口的内容。若检测用户在应用A和应用C的交界处1704处长按时, 手机显示的交互控件用于交互应用A和应用C谁在的窗口的内容。If it is detected that the user long presses at the junction 1703 of application B and application C, the interactive controls displayed on the mobile phone are used to interact with the content of the window of application B and application C. If it is detected that the user long presses at the junction 1704 between application A and application C, the interactive controls displayed on the mobile phone are used to interact with the content of the window of application A and application C.
在一些示例中,响应于用户点击多窗口键时,手机可以关闭新增的第三个窗口,也可以关闭当前用户正在操作的应用程序所在的窗口。换言之,手机从显示三个窗口变为显示两个窗口。在另一些示例中,响应于用户点击多窗口键时,手机也可以保留当前用户正在操作的应用程序所在的窗口,关闭其余两个窗口的应用程序。换言之,手机从显示三个窗口变为显示一个窗口,即直接退出多窗口界面。In some examples, in response to the user clicking the multi-window key, the mobile phone may close the newly added third window, or close the window where the application currently being operated by the user is located. In other words, the phone changes from displaying three windows to displaying two windows. In some other examples, in response to the user clicking the multi-window key, the mobile phone may also retain the window where the application currently being operated by the user is located, and close the application in the remaining two windows. In other words, the mobile phone changes from displaying three windows to displaying one window, that is, it directly exits the multi-window interface.
在一些示例中,响应于用户双击后退键时,手机可以关闭当前用户正在操作的应用程序所在的窗口。换言之,手机从显示三个窗口变为显示两个窗口。In some examples, in response to the user double-clicking the back button, the mobile phone may close the window where the application currently being operated by the user is located. In other words, the phone changes from displaying three windows to displaying two windows.
在一些示例中,响应于用户折叠屏幕的操作,且手机当前屏幕显示有三个窗口的情况下,手机可以采用一定策略显示其中一个应用窗口的界面。手机还可以在当前屏幕上显示两个悬浮球,每一个悬浮球对应一个未显示的应用窗口的界面。用户可以通过这些悬浮球切换折叠后屏幕中显示的应用窗口的内容。其余相关内容可参考上文相关描述,这里不再赘述。In some examples, in response to the user's operation of folding the screen, and the current screen of the mobile phone displays three windows, the mobile phone may adopt a certain strategy to display the interface of one of the application windows. The mobile phone can also display two floating balls on the current screen, and each floating ball corresponds to an undisplayed application window interface. The user can switch the content of the application window displayed on the screen after folding through these floating balls. For the rest of the relevant content, please refer to the relevant description above, which will not be repeated here.
用户在对三个窗口的界面进行操作时,其余内容与用户对两个窗口的操作方法基本相同,本文不再赘述。When the user operates the interface of the three windows, the rest of the content is basically the same as the operation method of the user on the two windows, so this article will not repeat them.
开启四个窗口的方法How to open four windows
在手机已开启三个应用程序的情况下,若手机检测到用户执行预定义手势,则手机在一个界面上显示四个窗口。其中三个窗口用于显示原来已经开启的三个应用程序的界面,另一个窗口用于显示即将开启的第四个应用程序的界面。其中预定义手势可参考上文的描述。When the mobile phone has opened three applications, if the mobile phone detects that the user performs a predefined gesture, the mobile phone displays four windows on one interface. Three of the windows are used to display the interfaces of the three applications that have been opened, and the other window is used to display the interface of the fourth application that is about to be opened. The predefined gestures can refer to the above description.
在一些实施例中,也可以采用与开启三个应用方法类似的方法确定新增窗口的位置。即,先判断预定义手势作用在单个应用的独占边,还是多个应用的共占边。若作用在单个应用对应的窗口划分为两个窗口。若作用在多个应用的共占边,则区分作用在单个应用的边界上,还是两个应用的边界上。若作用在单个应用的边界上,则将该单个应用所对应的窗口划分为两个窗口。若作用在两个应用的边界上,则该两个应用所对应的窗口同时缩小。这里不再赘述。In some embodiments, a method similar to the opening three application methods may also be used to determine the position of the newly added window. That is, first determine whether the predefined gesture acts on the exclusive edge of a single application or the shared edge of multiple applications. If it works on a single application, the corresponding window is divided into two windows. If it acts on the shared edge of multiple applications, the distinction is made on the boundary of a single application or on the boundary of two applications. If it acts on the boundary of a single application, the window corresponding to the single application is divided into two windows. If it acts on the boundary of two applications, the windows corresponding to the two applications shrink at the same time. I won't repeat it here.
在另一些实施例中,手机也可以响应于检测到预定义手势,且确定手机已开启三个应用程序,开启固定的四个窗口。在一些示例中,手机可以直接将屏幕划分为大小大体上相同的四个窗口。按照一定的排列策略(例如:应用程序启动时间的顺序)确定其中三个窗口显示原来已打开的三个应用程序的界面。另一个窗口为新增窗口,用于显示多个应用图标。用户可通过操作应用图标选择打开的第四个应用程序。In other embodiments, the mobile phone may also open four fixed windows in response to detecting a predefined gesture and determining that the mobile phone has opened three applications. In some examples, the mobile phone can directly divide the screen into four windows of roughly the same size. According to a certain arrangement strategy (for example: the order of application startup time), it is determined that three windows display the interfaces of the three applications that have been opened. The other window is a new window, used to display multiple application icons. The user can select the fourth application to open by operating the application icon.
如图18所示,为本申请提供的一种分屏方法的流程示意图,具体包括:As shown in Figure 18, a schematic flow chart of a split screen method provided by this application specifically includes:
S1801、检测到用户在屏幕上的触摸操作。S1801. Detect a user's touch operation on the screen.
S1802、判断上述触摸操作是否为预定义手势。若是,执行步骤S1803。S1802. Determine whether the above touch operation is a predefined gesture. If yes, execute step S1803.
示例性的,预定义手势为作用在屏幕边缘区域的特定操作手势,例如:双指滑动、三指滑动、压力按压、大面积触摸、长按等。手机可以通过屏幕内的触摸传感器、压力传感器等确定触摸操作是否为预定义手势。Exemplarily, the predefined gesture is a specific operation gesture that acts on the edge area of the screen, such as: two-finger sliding, three-finger sliding, pressure pressing, large-area touch, long press, etc. The mobile phone can determine whether the touch operation is a predefined gesture through the touch sensor, pressure sensor, etc. in the screen.
S1803、确定当前屏幕显示的窗口数量。若窗口数量为1个,执行步骤S1804。若窗口数量为2个,执行步骤S1806。S1803. Determine the number of windows currently displayed on the screen. If the number of windows is one, step S1804 is executed. If the number of windows is two, step S1806 is executed.
在本申请中,一个窗口显示一个应用程序的界面,因此可以通过获取当前屏幕显示的应用程序的数量确定窗口的数量。例如:可以从应用程序框架层的窗口管理器中获取当前运行的应用程序的数量。In this application, one window displays the interface of one application, so the number of windows can be determined by obtaining the number of applications currently displayed on the screen. For example: the number of currently running applications can be obtained from the window manager of the application framework layer.
S1804、识别上述触摸操作作用在屏幕上的具体位置。S1804. Identify the specific position on the screen where the above touch operation acts.
上述触摸操作作用在屏幕上的具体位置包括作用在屏幕的上边缘、下边缘、左边缘还是右边缘。The specific position of the touch operation on the screen includes the top edge, bottom edge, left edge or right edge of the screen.
S1805、根据上述触摸操作作用的具体位置确定新增窗口的位置。S1805: Determine the position of the newly added window according to the specific position of the aforementioned touch operation.
如图5A所示,若上述触摸操作作用在屏幕的左边缘,则将屏幕划分为左右两个窗口。并且,左侧窗口确定为新增窗口,用于显示支持分屏功能的应用程序的图标。右侧窗口用于显示原来已开启的应用程序的界面。As shown in FIG. 5A, if the above touch operation is applied to the left edge of the screen, the screen is divided into two left and right windows. In addition, the left window is determined to be a new window for displaying icons of applications that support the split screen function. The window on the right is used to display the interface of the previously opened application.
如图5B所示,若上述触摸操作作用在屏幕的右边缘,则将屏幕划分为左右两个窗口。并且,右侧窗口确定为新增窗口,用于显示支持分屏功能的应用程序的图标。左侧窗口用于显示原来已开启的应用程序的界面。As shown in FIG. 5B, if the above touch operation is applied to the right edge of the screen, the screen is divided into two left and right windows. In addition, the right window is determined to be a newly-added window for displaying icons of applications that support the split screen function. The left window is used to display the interface of the previously opened application.
如图5C所示,若上述触摸操作作用在屏幕的上边缘,则将屏幕划分为上下两个窗口。并且,上方窗口确定为新增窗口,用于显示支持分屏功能的应用程序的图标。下方窗口用于显示原来已开启的应用程序的界面。As shown in FIG. 5C, if the above-mentioned touch operation acts on the upper edge of the screen, the screen is divided into two upper and lower windows. In addition, the upper window is determined to be a new window for displaying icons of applications that support the split screen function. The lower window is used to display the interface of the previously opened application.
如图5D所示,若上述触摸操作作用在屏幕的下边缘,则将屏幕划分为上下两个窗口。并且,下方窗口确定为新增窗口,用于显示支持分屏功能的应用程序的图标。上方窗口用于显示原来已开启的应用程序的界面。As shown in FIG. 5D, if the aforementioned touch operation is applied to the lower edge of the screen, the screen is divided into two upper and lower windows. In addition, the lower window is determined to be a new window for displaying icons of applications that support the split screen function. The upper window is used to display the interface of the previously opened application.
S1806、识别上述触摸操作作用在单个应用全占边,还是在两个应用共占边。若作用在单个应用全占边上,则执行步骤S1807。若作用在两个应用共占边上,则执行步骤S1809。S1806. Identify whether the above touch operation is applied to a single application to occupy the entire edge or to two applications. If the effect is on a single application, step S1807 is executed. If the effect is on the shared edge of the two applications, step S1809 is executed.
当屏幕中已有的两个窗口呈左右排列时,单个应用的全占边为屏幕的左边缘和右边缘,两个应用的共占边为上边缘和下边缘。When the two existing windows on the screen are arranged left and right, the full margins of a single application are the left and right edges of the screen, and the common margins of the two applications are the upper and lower edges.
当屏幕中已有的两个窗口呈上下排列时,单个应用的全占边为屏幕的上边缘和下边缘,两个应用的共占边为屏幕的左边缘和右边缘。When the two existing windows on the screen are arranged up and down, the full margins of a single application are the upper and lower edges of the screen, and the common margins of the two applications are the left and right edges of the screen.
S1807、识别上述触摸操作作用在全占边的具体位置。S1807. Recognize that the above-mentioned touch operation acts on the specific position of the full margin.
单个应用的全占边为屏幕的左边缘或右边缘时,全占边的具体位置是指具体位于全占边的上端,还是下端。When the fully occupied edge of a single application is the left or right edge of the screen, the specific position of the fully occupied edge refers to whether it is located at the upper end or the lower end of the fully occupied edge.
单个应用的全占边为屏幕的上边缘或下边缘时,全占边的具体位置是指具体位于全占边的左端,还是右端。When the fully-occupied edge of a single application is the upper or lower edge of the screen, the specific position of the fully-occupied edge refers to whether it is located at the left or right of the fully-occupied edge.
S1808、根据上述触摸操作作用在全占边的具体位置,确定新增窗口的位置。S1808: Determine the position of the newly added window according to the specific position of the full-occupied edge based on the aforementioned touch operation.
全占边为左边缘时,若上述触摸操作作用在左边缘的上端,则将左侧窗口划分为上下两个窗口,左侧下方窗口用于显示原来的应用的界面,左侧上方窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。若上述触摸操作作用在左边缘的下端,则将左侧窗口划分为上下两个窗口。左侧上方窗口用于显示原来的应用的界面。左侧下方窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。When the full margin is the left edge, if the above touch operation is applied to the upper end of the left edge, the left window will be divided into upper and lower windows, the lower left window is used to display the original application interface, and the upper left window is the new The additional window can be used to display the icons of multiple applications that support the split screen function. If the above touch operation is applied to the lower end of the left edge, the left window is divided into two upper and lower windows. The upper left window is used to display the interface of the original application. The lower left window is a new window that can be used to display the icons of multiple applications that support the split screen function.
全占边为右边缘时,若上述触摸操作作用在右边缘的上端,则将右侧窗口划分为上下两个窗口,右侧下方窗口用于显示原来的应用的界面,右侧上方窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。若上述触摸操作作用在右边缘的下端,则将右侧窗口划分为上下两个窗口。右侧上方窗口用于显示原来的应用的界面,右侧下方窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。When the full margin is the right edge, if the above touch operation is applied to the upper end of the right edge, the right window is divided into upper and lower windows, the lower right window is used to display the original application interface, and the upper right window is the new The additional window can be used to display the icons of multiple applications that support the split screen function. If the above touch operation is applied to the lower end of the right edge, the right window is divided into two upper and lower windows. The upper right window is used to display the interface of the original application, and the lower right window is a new window that can be used to display the icons of multiple applications that support the split screen function.
全占边为上边缘时,若上述触摸操作作用在上边缘的左端,则将上方窗口划分为左右两个窗口,上方右侧窗口用于显示原来的应用的界面,上方左侧窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。若上述触摸操作作用在上边缘的右端,则将上方窗口划分为左右两个窗口。上方左侧窗口用于显示原来的应用的界面,上方右侧窗口为新增窗口, 可用于显示支持分屏功能的多个应用程序的图标。When the fully occupied edge is the upper edge, if the above touch operation is applied to the left end of the upper edge, the upper window is divided into left and right windows. The upper right window is used to display the interface of the original application, and the upper left window is new The window can be used to display the icons of multiple applications that support the split screen function. If the above touch operation is applied to the right end of the upper edge, the upper window is divided into two left and right windows. The upper left window is used to display the interface of the original application, and the upper right window is a new window that can be used to display the icons of multiple applications that support the split screen function.
全占边为下边缘时,若上述触摸操作作用在下边缘的左端,则将下方窗口划分为左右两个窗口,下方右侧窗口用于显示原来的应用的界面,下方左侧窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。若上述触摸操作作用在下边缘的右端,则将下方窗口划分为左右两个窗口。下方左侧窗口用于显示原来的应用的界面,下方右侧窗口为新增窗口,可用于显示支持分屏功能的多个应用程序的图标。When the full margin is the bottom edge, if the above touch operation is applied to the left end of the bottom edge, the bottom window will be divided into two left and right windows. The bottom right window is used to display the original application interface, and the bottom left window is the new window , Can be used to display the icons of multiple applications that support the split screen function. If the above touch operation acts on the right end of the lower edge, the lower window is divided into two windows on the left and right. The lower left window is used to display the interface of the original application, and the lower right window is a new window that can be used to display the icons of multiple applications that support the split screen function.
S1809、识别上述触摸操作作用在共占边上一个窗口的边界上,还是同时作用在两个窗口的边界上。若上述触摸操作作用在共占边上两个窗口的边界上时,执行步骤S1810。若上述触摸操作作用在共占边上一个窗口的边界上时,执行步骤S1811。S1809. Identify whether the above touch operation is applied to the boundary of a window on the shared side or the boundary of two windows at the same time. If the above-mentioned touch operation is applied to the boundary of two windows on the common side, step S1810 is executed. If the above touch operation is applied to the boundary of a window on the shared side, step S1811 is executed.
S1810、确定将两个窗口同时缩小,留出来的区域形成新增窗口。S1810. Determine to reduce the two windows at the same time, and the left area forms a new window.
当原来的两个窗口呈左右排列时,若上述触摸操作作用在上边缘,且位于两个窗口的边界上,则原来的两个窗口的上边界向下移,屏幕上方留出的区域为新增窗口。若上述触摸操作作用在下边缘两个窗口的边界上,则原来的两个窗口的下边界向上移,屏幕下方留出的区域为新增窗口。When the original two windows are arranged left and right, if the above touch operation acts on the upper edge and is located on the border of the two windows, the upper border of the original two windows will move down, and the area left at the top of the screen will be the new Increase the window. If the above touch operation is applied to the boundary of the two windows at the lower edge, the lower boundary of the original two windows is moved upward, and the area left at the bottom of the screen is the new window.
当原来的两个窗口呈上下排列时,若上述触摸操作作用在左边缘,且位于两个窗口的边界上,则原来的两个窗口的左边界向右移,屏幕左侧留出的区域为新增窗口。若上述触摸操作作用在右边缘,且位于两个窗口的边界上,则原来的两个窗口的右边界向左移,屏幕右侧留出的区域为新增窗口。When the original two windows are arranged up and down, if the above touch operation acts on the left edge and is located on the border of the two windows, the left border of the original two windows will move to the right, and the area left on the left side of the screen is Add a new window. If the above touch operation acts on the right edge and is located on the boundary of the two windows, the right boundary of the original two windows is moved to the left, and the area left on the right side of the screen is the new window.
S1811、确定将一个窗口缩小,留出来的区域形成新增窗口。S1811: Decide to reduce a window, and the left area forms a new window.
上述触摸操作作用在一个窗口的边界上,将该窗口缩小。The above touch operation acts on the boundary of a window to shrink the window.
具体的,当原来的两个窗口呈左右排列时,若上述触摸操作作用在左侧窗口的上边界,则将左侧窗口划分为上下窗口。左侧上方窗口为新增窗口,显示支持分屏功能的多个应用图标。左侧下方窗口显示原来左侧窗口的应用程序的界面。若上述触摸操作作用在左侧窗口的下边界,则将左侧窗口划分为上下窗口。左侧下方窗口为新增窗口,显示支持分屏功能的多个应用图标。左侧上方窗口显示原来左侧窗口的应用程序的界面。若上述触摸操作作用在右侧窗口的上边界,则将右侧窗口划分为上下窗口。右侧上方窗口为新增窗口,显示支持分屏功能的多个应用图标。右侧下方窗口显示原来右侧窗口的应用程序的界面。若上述触摸操作作用在右侧窗口的下边界,则将右侧窗口划分为上下窗口。右侧下方窗口为新增窗口,显示支持分屏功能的多个应用图标。右侧上方窗口显示原来右侧窗口的应用程序的界面。Specifically, when the original two windows are arranged left and right, if the above touch operation acts on the upper boundary of the left window, the left window is divided into upper and lower windows. The upper left window is a new window, displaying multiple application icons that support the split screen function. The lower left window displays the application interface of the original left window. If the above touch operation acts on the lower boundary of the left window, the left window is divided into upper and lower windows. The lower left window is a new window, displaying multiple application icons that support the split screen function. The upper left window displays the application interface of the original left window. If the above touch operation acts on the upper boundary of the right window, the right window is divided into upper and lower windows. The upper window on the right is a new window that displays multiple application icons that support the split screen function. The lower right window displays the application interface of the original right window. If the above touch operation acts on the lower boundary of the right window, the right window is divided into upper and lower windows. The lower window on the right is a new window that displays multiple application icons that support the split screen function. The upper right window displays the application interface of the original right window.
当原来的两个窗口呈上下排列时,若上述触摸操作作用在上方窗口的左边界,则将上方窗口划分为左右窗口。上方左侧窗口为新增窗口,显示支持分屏功能的多个应用图标。下方右侧窗口显示原来上方窗口的应用程序的界面。若上述触摸操作作用在上方窗口的右边界,则将上方窗口划分为左右窗口。上方右侧窗口为新增窗口,显示支持分屏功能的多个应用图标。上方左侧窗口显示原来上方窗口的应用程序的界面。若上述触摸操作作用在下方窗口的左边界,则将下方窗口划分为左右窗口。下方左侧窗口为新增窗口,显示支持分屏功能的多个应用图标。下方右侧窗口显示原来下方窗口的应用程序的界面。若上述触摸操作作用在下方窗口的右边界,则将下方窗口划分为左右窗口。下方右侧窗口为新增窗口,显示支持分屏功能的多个应用图标。上方左侧窗口显示原来下方窗口的应用程序的界面。When the original two windows are arranged up and down, if the above touch operation acts on the left boundary of the upper window, the upper window is divided into left and right windows. The upper left window is a new window, displaying multiple application icons that support the split screen function. The lower right window displays the application interface of the original upper window. If the above touch operation acts on the right boundary of the upper window, the upper window is divided into left and right windows. The upper right window is a new window, displaying multiple application icons that support the split screen function. The upper left window displays the application interface of the original upper window. If the above touch operation acts on the left boundary of the lower window, the lower window is divided into left and right windows. The window on the left below is a new window that displays multiple application icons that support the split screen function. The lower right window displays the application interface of the original lower window. If the above touch operation acts on the right boundary of the lower window, the lower window is divided into left and right windows. The window on the right below is a new window that displays multiple application icons that support the split screen function. The upper left window displays the application interface of the original lower window.
可以理解的是,上述流程示意图仅为示例,本申请不限定上述流程中各个步骤的先后顺序。本申请也可以采用其他判断流程。例如:在确定当前屏幕显示的窗口数量为2个后,手机也可以先不识别触摸操作是作用在单个应用全占边,还是两个应用共占边(即步骤S1806)。 也不在识别到触摸操作作用在两个应用共占边后,再识别该触摸操作作用在共占边中一个应用的边界上还是两个应用的边界上(即步骤S1809)。It is understandable that the above-mentioned schematic diagram of the process is only an example, and this application does not limit the sequence of the steps in the above-mentioned process. This application can also adopt other judgment procedures. For example, after determining that the number of windows currently displayed on the screen is two, the mobile phone may also not recognize whether the touch operation is applied to a single application to occupy the entire edge or two applications to occupy the edge (ie step S1806). After recognizing that the touch operation acts on the two applications sharing the edge, it is not recognized whether the touch operation acts on the boundary of one application or the two applications in the sharing edge (that is, step S1809).
在确定当前屏幕显示的窗口数量为2个后,手机也可以直接识别该触摸操作是作用在单个应用的边界上,还是两个应用的边界上。若该触摸操作作用在单个应用的边界上,则可以确认将该应用所对应的窗口划分为两个窗口,其中一个窗口为新增窗口。若该触摸操作作用在两个应用的边界上,则可以确认将该两个应用所对应的窗口缩小,留出来的区域确定为新增窗口。其余细节可参考上文描述,这里不再赘述。After determining that the number of windows currently displayed on the screen is two, the mobile phone can also directly recognize whether the touch operation is acting on the boundary of a single application or on the boundary of two applications. If the touch operation acts on the boundary of a single application, it can be confirmed that the window corresponding to the application is divided into two windows, one of which is a newly-added window. If the touch operation acts on the boundary of two applications, it can be confirmed that the windows corresponding to the two applications are reduced, and the left area is determined to be a new window. For the remaining details, please refer to the above description, which will not be repeated here.
本申请实施例还提供一种芯片系统,如图19所示,该芯片系统包括至少一个处理器1901和至少一个接口电路1902。处理器1901和接口电路1902可通过线路互联。例如,接口电路1902可用于从其它装置(例如移动终端100的存储器)接收信号。又例如,接口电路1902可用于向其它装置(例如处理器1901)发送信号。示例性的,接口电路1902可读取存储器中存储的指令,并将该指令发送给处理器1901。当所述指令被处理器1901执行时,可使得电子设备执行上述实施例中的电子设备100(比如,手机)执行的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application also provides a chip system. As shown in FIG. 19, the chip system includes at least one processor 1901 and at least one interface circuit 1902. The processor 1901 and the interface circuit 1902 may be interconnected by wires. For example, the interface circuit 1902 may be used to receive signals from other devices (such as the memory of the mobile terminal 100). For another example, the interface circuit 1902 may be used to send signals to other devices (such as the processor 1901). Exemplarily, the interface circuit 1902 can read an instruction stored in the memory, and send the instruction to the processor 1901. When the instructions are executed by the processor 1901, the electronic device can be made to execute the various steps executed by the electronic device 100 (for example, a mobile phone) in the foregoing embodiment. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
可以理解的是,上述终端等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的范围。It can be understood that, in order to realize the above-mentioned functions, the above-mentioned terminal and the like include hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present invention.
本申请实施例可以根据上述方法示例对上述终端等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the above-mentioned terminal and the like into functional modules according to the above method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, device, and unit described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the part that contributes to the prior art or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本 申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any change or replacement within the technical scope disclosed in this application shall be covered by the protection scope of this application . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (26)

  1. 一种分屏方法,其特征在于,应用于具有触摸屏的终端中,所述方法包括:A screen splitting method, characterized in that it is applied to a terminal with a touch screen, and the method includes:
    所述终端显示第一界面,所述第一界面显示第一窗口,所述第一窗口显示第一应用的界面;The terminal displays a first interface, the first interface displays a first window, and the first window displays an interface of a first application;
    所述终端接收到在所述第一界面上的第一操作;The terminal receives the first operation on the first interface;
    响应于所述第一操作,所述终端显示第二界面,所述第二界面显示有所述第一窗口和第二窗口,所述第二窗口显示有多个应用图标;In response to the first operation, the terminal displays a second interface, the second interface displays the first window and the second window, and the second window displays a plurality of application icons;
    其中,所述第二界面中所述第一窗口的面积小于所述第一界面中所述第一窗口的面积;Wherein, the area of the first window in the second interface is smaller than the area of the first window in the first interface;
    且,当所述第一操作作用在所述触摸屏的第一位置时,所述第二界面中所述第一窗口和所述第二窗口为第一相对位置关系;当所述第一操作作用在所述触摸屏的第二位置时,所述第二界面中所述第一窗口和所述第二窗口为第二相对位置关系;其中,所述第二位置和所述第一位置不同,所述第二相对位置关系与所述第一相对位置不同。Moreover, when the first operation acts on the first position of the touch screen, the first window and the second window in the second interface have a first relative positional relationship; when the first operation acts When in the second position of the touch screen, the first window and the second window in the second interface are in a second relative position relationship; wherein, the second position is different from the first position, so The second relative position relationship is different from the first relative position.
  2. 根据权利要求1所述的方法,其特征在于,所述第一窗口和所述第二窗口在所述第二界面中的相对位置关系,具体为:The method according to claim 1, wherein the relative positional relationship between the first window and the second window in the second interface is specifically:
    当所述第一操作作用在所述触摸屏的左侧边缘时,所述第二窗口位于所述第一窗口的左侧;When the first operation acts on the left edge of the touch screen, the second window is located on the left side of the first window;
    当所述第一操作作用在所述触摸屏的右侧边缘时,所述第二窗口位于所述第一窗口的右侧;When the first operation acts on the right edge of the touch screen, the second window is located on the right side of the first window;
    当所述第一操作作用在所述触摸屏的上方边缘时,所述第二窗口位于所述第一窗口的上方;When the first operation is applied to the upper edge of the touch screen, the second window is located above the first window;
    当所述第一操作作用在所述触摸屏的下方边缘时,所述第二窗口位于所述第一窗口的下方。When the first operation acts on the lower edge of the touch screen, the second window is located below the first window.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述终端接收在所述第二界面上的第二操作,所述第二操作为从所述第二窗口中的多个应用图标选择第二应用的图标的操作;Receiving, by the terminal, a second operation on the second interface, where the second operation is an operation of selecting an icon of a second application from a plurality of application icons in the second window;
    响应于所述第二操作,所述终端显示第三界面,所述第三界面中所述第二窗口显示所述第二应用的界面;其中,所述第三界面中所述第二窗口的面积与所述第二界面中所述第二窗口的面积相同。In response to the second operation, the terminal displays a third interface, and the second window in the third interface displays the interface of the second application; wherein, the second window in the third interface The area is the same as the area of the second window in the second interface.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一操作为在所述触摸屏边缘处的操作。The method according to any one of claims 1 to 3, wherein the first operation is an operation at the edge of the touch screen.
  5. 根据权利要求4所述的方法,其特征在于,所述第一操作为在所述触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。The method according to claim 4, wherein the first operation is one or more of two-finger sliding, three-finger sliding, pressure pressing, large-area touch, and long pressing at the edge of the touch screen .
  6. 一种分屏方法,其特征在于,应用于具有触摸屏的终端中,所述方法包括:A screen splitting method, characterized in that it is applied to a terminal with a touch screen, and the method includes:
    所述终端显示第一界面,所述第一界面显示有第一窗口和第二窗口,所述第一窗口显示第一应用的界面,所述第二窗口显示第二应用的界面;The terminal displays a first interface, the first interface displays a first window and a second window, the first window displays an interface of a first application, and the second window displays an interface of a second application;
    所述终端接收到在所述第一界面上的第一操作;The terminal receives the first operation on the first interface;
    响应于所述第一操作,所述终端显示第二界面,所述第二界面显示有所述第一窗口、所述第二窗口以及第三窗口,所述第三窗口显示有多个应用图标;In response to the first operation, the terminal displays a second interface, the second interface displays the first window, the second window, and a third window, and the third window displays a plurality of application icons ;
    其中,第二界面中所述第一窗口的面积小于所述第一界面中所述第一窗口的面积,和/或,所述第二界面中所述第二窗口的面积小于所述第一界面中所述第二窗口的面积;Wherein, the area of the first window in the second interface is smaller than the area of the first window in the first interface, and/or the area of the second window in the second interface is smaller than that of the first window. The area of the second window in the interface;
    且,当所述第一操作作用在所述触摸屏的第一位置时,所述第二界面中所述第一窗口、 所述第二窗口和所述第三窗口为第一相对位置关系;当所述第一操作作用在所述触摸屏的第二位置时,所述第二界面中所述第一窗口、所述第二窗口和所述第三窗口为第二相对位置关系;其中,所述第二位置和所述第一位置不同,所述第二相对位置关系与所述第一相对位置不同。Moreover, when the first operation is applied to the first position of the touch screen, the first window, the second window, and the third window in the second interface are in a first relative position relationship; when When the first operation acts on the second position of the touch screen, the first window, the second window, and the third window in the second interface have a second relative positional relationship; wherein, the The second position is different from the first position, and the second relative position relationship is different from the first relative position.
  7. 根据权利要求6所述的方法,其特征在于,在所述第一界面中,所述第一窗口位于所述第二窗口左侧,所述第一窗口、所述第二窗口和所述第三窗口在所述第二界面中的相对位置关系,具体为:The method according to claim 6, wherein in the first interface, the first window is located on the left side of the second window, and the first window, the second window and the first window are The relative positional relationship of the three windows in the second interface is specifically:
    当所述第一操作作用在所述第一窗口的左边界上端时,则在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口上方;When the first operation acts on the upper end of the left boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, And the third window is located above the first window;
    当所述第一操作作用在所述第一窗口的左边界下端时,则在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口下方;When the first operation acts on the lower end of the left boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, And the third window is located below the first window;
    当所述第一操作作用在所述第二窗口的右边界上端时,则在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的上方;When the first operation acts on the upper end of the right boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, And the third window is located above the second window;
    当所述第一操作作用在所述第二窗口的右边界下端时,则在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的下方;When the first operation acts on the lower end of the right boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, And the third window is located below the second window;
    当所述第一操作作用在所述第一窗口的上边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口的上方;When the first operation acts on the upper boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and The third window is located above the first window;
    当所述第一操作作用在所述第二窗口的上边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的上方;When the first operation acts on the upper boundary of the second window, in the second interface, the third window and the second window are both located on the right side of the first window, and The third window is located above the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的上边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的上方;When the first operation simultaneously acts on the upper boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window Above
    当所述第一操作作用在所述第一窗口的下边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口的下方;When the first operation acts on the lower boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and The third window is located below the first window;
    当所述第一操作作用在所述第二窗口的下边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的下方;When the first operation acts on the lower boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, and The third window is located below the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的下边界时,则在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的下方。When the first operation simultaneously acts on the lower boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window. Below the window.
  8. 根据权利要求6所述的方法,其特征在于,在所述第一界面中,所述第一窗口位于所述第二窗口上方,所述第一窗口、所述第二窗口和所述第三窗口在所述第二界面中的相对位置关系,具体为:The method according to claim 6, wherein in the first interface, the first window is located above the second window, and the first window, the second window and the third window are The relative positional relationship of the window in the second interface is specifically:
    当所述第一操作作用在所述第一窗口的上边界左端时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口左侧;When the first operation acts on the left end of the upper boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and The third window is located on the left side of the first window;
    当所述第一操作作用在所述第一窗口的上边界右端时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口右侧;When the first operation acts on the right end of the upper boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and The third window is located on the right side of the first window;
    当所述第一操作作用在所述第二窗口的下边界左端时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的左侧;When the first operation is applied to the left end of the lower boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and The third window is located on the left side of the second window;
    当所述第一操作作用在所述第二窗口的下边界右端时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的右侧;When the first operation acts on the right end of the lower boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and The third window is located on the right side of the second window;
    当所述第一操作作用在所述第一窗口的左边界时,在所述第二界面中,所述第三窗口和 所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口的左侧;When the first operation acts on the left boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and the The third window is located on the left side of the first window;
    当所述第一操作作用在所述第二窗口的左边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的左侧;When the first operation acts on the left boundary of the second window, in the second interface, the third window and the second window are located below the first window together, and the The third window is located on the left side of the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的左边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的左侧;When the first operation is simultaneously applied to the left boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window To the left of
    当所述第一操作作用在所述第一窗口的右边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口的右侧;When the first operation acts on the right boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and the The third window is located on the right side of the first window;
    当所述第一操作作用在所述第二窗口的右边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的右侧;When the first operation acts on the right boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and the The third window is located on the right side of the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的右边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的右侧。When the first operation is simultaneously applied to the right boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window To the right.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, wherein the method further comprises:
    所述终端接收在所述第二界面上的第二操作,所述第二操作为从所述第三窗口中的多个应用图标选择第三应用的图标的操作;The terminal receives a second operation on the second interface, where the second operation is an operation of selecting an icon of a third application from a plurality of application icons in the third window;
    响应于所述第二操作,所述终端显示第三界面,所述第三界面中所述第三窗口显示所述第三应用的界面,其中所述第三界面中所述第三窗口的面积与所述第二界面中所述第三窗口的面积相同。In response to the second operation, the terminal displays a third interface, the third window in the third interface displays the interface of the third application, and the area of the third window in the third interface The area is the same as that of the third window in the second interface.
  10. 根据权利要求9所述的方法,其特征在于,所述第三界面显示有第一控件,所述方法还包括:The method according to claim 9, wherein the third interface displays a first control, and the method further comprises:
    所述终端接收在所述第三界面上对所述第一控件的第三操作;Receiving, by the terminal, a third operation on the first control on the third interface;
    响应于所述第三操作,所述终端显示第四界面;其中,所述第四界面包括所述第一窗口、所述第二窗口和所述第三窗口中任两个或任一个。In response to the third operation, the terminal displays a fourth interface; wherein, the fourth interface includes any two or any of the first window, the second window, and the third window.
  11. 根据权利要求6-10任一项所述的方法,其特征在于,所述第一操作为在所述触摸屏边缘处的操作。The method according to any one of claims 6-10, wherein the first operation is an operation at the edge of the touch screen.
  12. 根据权利要求11所述的方法,其特征在于,所述第一操作为在所述触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。The method according to claim 11, wherein the first operation is one or more of two-finger sliding, three-finger sliding, pressure pressing, large-area touch, and long pressing at the edge of the touch screen .
  13. 一种电子设备,其特征在于,包括:处理器、存储器和触摸屏,所述存储器、所述触摸屏与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述电子设备执行如下操作:An electronic device, characterized by comprising: a processor, a memory, and a touch screen, the memory, the touch screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions , When the processor reads the computer instructions from the memory, so that the electronic device performs the following operations:
    通过所述触摸屏显示第一界面,所述第一界面显示第一窗口,所述第一窗口显示第一应用的界面;Displaying a first interface through the touch screen, the first interface displaying a first window, and the first window displaying an interface of the first application;
    接收到在所述第一界面上的第一操作;Receiving a first operation on the first interface;
    响应于所述第一操作,通过所述触摸屏显示第二界面,所述第二界面显示有所述第一窗口和第二窗口,所述第二窗口显示有多个应用图标;In response to the first operation, displaying a second interface through the touch screen, the second interface displaying the first window and the second window, and the second window displaying a plurality of application icons;
    其中,所述第二界面中所述第一窗口的面积小于所述第一界面中所述第一窗口的面积;Wherein, the area of the first window in the second interface is smaller than the area of the first window in the first interface;
    且,当所述第一操作作用在所述触摸屏的第一位置时,所述第二界面中所述第一窗口和所述第二窗口为第一相对位置关系;当所述第一操作作用在所述触摸屏的第二位置时,所述第二界面中所述第一窗口和所述第二窗口为第二相对位置关系;其中,所述第二位置和所述第一位置不同,所述第二相对位置关系与所述第一相对位置不同。Moreover, when the first operation acts on the first position of the touch screen, the first window and the second window in the second interface have a first relative positional relationship; when the first operation acts When in the second position of the touch screen, the first window and the second window in the second interface are in a second relative position relationship; wherein, the second position is different from the first position, so The second relative position relationship is different from the first relative position.
  14. 根据权利要求13所述的电子设备,其特征在于,所述第一窗口和所述第二窗口在所 述第二界面中的相对位置关系,具体为:The electronic device according to claim 13, wherein the relative positional relationship between the first window and the second window in the second interface is specifically:
    当所述第一操作作用在所述触摸屏的左侧边缘时,所述第二窗口位于所述第一窗口的左侧;When the first operation acts on the left edge of the touch screen, the second window is located on the left side of the first window;
    当所述第一操作作用在所述触摸屏的右侧边缘时,所述第二窗口位于所述第一窗口的右侧;When the first operation acts on the right edge of the touch screen, the second window is located on the right side of the first window;
    当所述第一操作作用在所述触摸屏的上方边缘时,所述第二窗口位于所述第一窗口的上方;When the first operation is applied to the upper edge of the touch screen, the second window is located above the first window;
    当所述第一操作作用在所述触摸屏的下方边缘时,所述第二窗口位于所述第一窗口的下方。When the first operation acts on the lower edge of the touch screen, the second window is located below the first window.
  15. 根据权利要求13或14所述的电子设备,其特征在于,当所述处理器从所述存储器中读取所述计算机指令,还使得所述电子设备执行如下操作:The electronic device according to claim 13 or 14, wherein when the processor reads the computer instruction from the memory, it further causes the electronic device to perform the following operations:
    接收在所述第二界面上的第二操作,所述第二操作为从所述第二窗口中的多个应用图标选择第二应用的图标的操作;Receiving a second operation on the second interface, where the second operation is an operation of selecting an icon of a second application from a plurality of application icons in the second window;
    响应于所述第二操作,通过所述触摸屏显示第三界面,所述第三界面中所述第二窗口显示所述第二应用的界面;其中,所述第三界面中所述第二窗口的面积与所述第二界面中所述第二窗口的面积相同。In response to the second operation, a third interface is displayed through the touch screen, and the second window in the third interface displays the interface of the second application; wherein, the second window in the third interface The area of is the same as the area of the second window in the second interface.
  16. 根据权利要求13-15任一项所述的电子设备,其特征在于,所述第一操作为在所述触摸屏边缘处的操作。The electronic device according to any one of claims 13-15, wherein the first operation is an operation at the edge of the touch screen.
  17. 根据权利要求16所述的电子设备,其特征在于,所述第一操作为在所述触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。The electronic device according to claim 16, wherein the first operation is one or more of two-finger sliding, three-finger sliding, pressure pressing, large-area touch, and long pressing at the edge of the touch screen. Kind.
  18. 一种电子设备,其特征在于,包括:处理器、存储器和触摸屏,所述存储器、所述触摸屏与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述电子设备执行如下操作:An electronic device, characterized by comprising: a processor, a memory, and a touch screen, the memory, the touch screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions , When the processor reads the computer instructions from the memory, so that the electronic device performs the following operations:
    通过所述触摸屏显示第一界面,所述第一界面显示有第一窗口和第二窗口,所述第一窗口显示第一应用的界面,所述第二窗口显示第二应用的界面;Displaying a first interface through the touch screen, the first interface displaying a first window and a second window, the first window displaying the interface of the first application, and the second window displaying the interface of the second application;
    接收到在所述第一界面上的第一操作;Receiving a first operation on the first interface;
    响应于所述第一操作,通过所述触摸屏显示第二界面,所述第二界面显示有所述第一窗口、所述第二窗口以及第三窗口,所述第三窗口显示有多个应用图标;In response to the first operation, a second interface is displayed through the touch screen, the second interface displays the first window, the second window, and the third window, and the third window displays multiple applications icon;
    其中,第二界面中所述第一窗口的面积小于所述第一界面中所述第一窗口的面积,和/或,所述第二界面中所述第二窗口的面积小于所述第一界面中所述第二窗口的面积;Wherein, the area of the first window in the second interface is smaller than the area of the first window in the first interface, and/or the area of the second window in the second interface is smaller than that of the first window. The area of the second window in the interface;
    且,当所述第一操作作用在所述触摸屏的第一位置时,所述第二界面中所述第一窗口、所述第二窗口和所述第三窗口为第一相对位置关系;当所述第一操作作用在所述触摸屏的第二位置时,所述第二界面中所述第一窗口、所述第二窗口和所述第三窗口为第二相对位置关系;其中,所述第二位置和所述第一位置不同,所述第二相对位置关系与所述第一相对位置不同。Moreover, when the first operation acts on the first position of the touch screen, the first window, the second window, and the third window in the second interface are in a first relative position relationship; when When the first operation acts on the second position of the touch screen, the first window, the second window, and the third window in the second interface are in a second relative positional relationship; wherein, the The second position is different from the first position, and the second relative position relationship is different from the first relative position.
  19. 根据权利要求18所述的电子设备,其特征在于,在所述第一界面中,所述第一窗口位于所述第二窗口左侧,所述第一窗口、所述第二窗口和所述第三窗口在所述第二界面中的相对位置关系,具体为:The electronic device according to claim 18, wherein in the first interface, the first window is located on the left side of the second window, and the first window, the second window and the The relative positional relationship of the third window in the second interface is specifically:
    当所述第一操作作用在所述第一窗口的左边界上端时,则在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口上方;When the first operation acts on the upper end of the left boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, And the third window is located above the first window;
    当所述第一操作作用在所述第一窗口的左边界下端时,则在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口下方;When the first operation acts on the lower end of the left boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, And the third window is located below the first window;
    当所述第一操作作用在所述第二窗口的右边界上端时,则在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的上方;When the first operation acts on the upper end of the right boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, And the third window is located above the second window;
    当所述第一操作作用在所述第二窗口的右边界下端时,则在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的下方;When the first operation acts on the lower end of the right boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, And the third window is located below the second window;
    当所述第一操作作用在所述第一窗口的上边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口的上方;When the first operation acts on the upper boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and The third window is located above the first window;
    当所述第一操作作用在所述第二窗口的上边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的上方;When the first operation acts on the upper boundary of the second window, in the second interface, the third window and the second window are both located on the right side of the first window, and The third window is located above the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的上边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的上方;When the first operation simultaneously acts on the upper boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window Above
    当所述第一操作作用在所述第一窗口的下边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的左侧,且所述第三窗口位于所述第一窗口的下方;When the first operation acts on the lower boundary of the first window, in the second interface, the third window and the first window are located on the left side of the second window together, and The third window is located below the first window;
    当所述第一操作作用在所述第二窗口的下边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的右侧,且所述第三窗口位于所述第二窗口的下方;When the first operation acts on the lower boundary of the second window, in the second interface, the third window and the second window are located on the right side of the first window together, and The third window is located below the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的下边界时,则在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的下方。When the first operation simultaneously acts on the lower boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window. Below the window.
  20. 根据权利要求18所述的电子设备,其特征在于,在所述第一界面中,所述第一窗口位于所述第二窗口上方,所述第一窗口、所述第二窗口和所述第三窗口在所述第二界面中的相对位置关系,具体为:The electronic device according to claim 18, wherein in the first interface, the first window is located above the second window, and the first window, the second window, and the first window are The relative positional relationship of the three windows in the second interface is specifically:
    当所述第一操作作用在所述第一窗口的上边界左端时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口左侧;When the first operation acts on the left end of the upper boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and The third window is located on the left side of the first window;
    当所述第一操作作用在所述第一窗口的上边界右端时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口右侧;When the first operation acts on the right end of the upper boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and The third window is located on the right side of the first window;
    当所述第一操作作用在所述第二窗口的下边界左端时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的左侧;When the first operation is applied to the left end of the lower boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and The third window is located on the left side of the second window;
    当所述第一操作作用在所述第二窗口的下边界右端时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的右侧;When the first operation is applied to the right end of the lower boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and The third window is located on the right side of the second window;
    当所述第一操作作用在所述第一窗口的左边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口的左侧;When the first operation acts on the left boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and the The third window is located on the left side of the first window;
    当所述第一操作作用在所述第二窗口的左边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的左侧;When the first operation acts on the left boundary of the second window, in the second interface, the third window and the second window are located below the first window together, and the The third window is located on the left side of the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的左边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的左侧;When the first operation is simultaneously applied to the left boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window To the left of
    当所述第一操作作用在所述第一窗口的右边界时,在所述第二界面中,所述第三窗口和所述第一窗口一同位于所述第二窗口的上方,且所述第三窗口位于所述第一窗口的右侧;When the first operation acts on the right boundary of the first window, in the second interface, the third window and the first window are both located above the second window, and the The third window is located on the right side of the first window;
    当所述第一操作作用在所述第二窗口的右边界时,在所述第二界面中,所述第三窗口和所述第二窗口一同位于所述第一窗口的下方,且所述第三窗口位于所述第二窗口的右侧;When the first operation acts on the right boundary of the second window, in the second interface, the third window and the second window are both located below the first window, and the The third window is located on the right side of the second window;
    当所述第一操作同时作用在所述第一窗口和所述第二窗口的右边界时,在所述第二界面中,所述第三窗口位于所述第一窗口和所述第二窗口的右侧。When the first operation is simultaneously applied to the right boundary of the first window and the second window, in the second interface, the third window is located between the first window and the second window To the right.
  21. 根据权利要求18-20任一项所述的电子设备,其特征在于,当所述处理器从所述存储器中读取所述计算机指令,还使得所述电子设备执行如下操作:The electronic device according to any one of claims 18-20, wherein when the processor reads the computer instruction from the memory, it further causes the electronic device to perform the following operations:
    接收在所述第二界面上的第二操作,所述第二操作为从所述第三窗口中的多个应用图标选择第三应用的图标的操作;Receiving a second operation on the second interface, where the second operation is an operation of selecting an icon of a third application from a plurality of application icons in the third window;
    响应于所述第二操作,通过所述触摸屏显示第三界面,所述第三界面中所述第三窗口显示所述第三应用的界面,其中所述第三界面中所述第三窗口的面积与所述第二界面中所述第三窗口的面积相同。In response to the second operation, a third interface is displayed through the touch screen, and the third window in the third interface displays the interface of the third application, and the third window in the third interface The area is the same as the area of the third window in the second interface.
  22. 根据权利要求21所述的电子设备,其特征在于,所述第三界面显示有第一控件,当所述处理器从所述存储器中读取所述计算机指令,还使得所述电子设备执行如下操作:22. The electronic device of claim 21, wherein the third interface displays a first control, and when the processor reads the computer instructions from the memory, the electronic device is also caused to perform the following operating:
    接收在所述第三界面上对所述第一控件的第三操作;Receiving a third operation on the first control on the third interface;
    响应于所述第三操作,通过所述触摸屏显示第四界面;其中,所述第四界面包括所述第一窗口、所述第二窗口和所述第三窗口中任两个或任一个。In response to the third operation, a fourth interface is displayed through the touch screen; wherein the fourth interface includes any two or any one of the first window, the second window, and the third window.
  23. 根据权利要求18-22任一项所述的电子设备,其特征在于,所述第一操作为在所述触摸屏边缘处的操作。The electronic device according to any one of claims 18-22, wherein the first operation is an operation at the edge of the touch screen.
  24. 根据权利要求23所述的电子设备,其特征在于,所述第一操作为在所述触摸屏边缘处的双指滑动、三指滑动、压力按压、大面积触摸、长按中的一种或多种。The electronic device according to claim 23, wherein the first operation is one or more of two-finger sliding, three-finger sliding, pressure pressing, large-area touch, and long pressing at the edge of the touch screen. Kind.
  25. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行如权利要求1-5中任一项所述分屏方法,或者如权利要求6-12中任一项所述分屏方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on a terminal, cause the terminal to execute the screen splitting method according to any one of claims 1-5, or as claimed in claims The split screen method described in any of 6-12.
  26. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-5中任一项所述分屏方法,或者如权利要求6-12中任一项所述分屏方法。A computer program product, characterized in that when the computer program product runs on a computer, the computer is caused to execute the screen splitting method according to any one of claims 1-5, or as claimed in claims 6-12 The split screen method described in any one of.
PCT/CN2020/099654 2019-07-02 2020-07-01 Screen splitting method and electronic device WO2021000881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910591069.9 2019-07-02
CN201910591069.9A CN110471725A (en) 2019-07-02 2019-07-02 A kind of split screen method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021000881A1 true WO2021000881A1 (en) 2021-01-07

Family

ID=68507036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099654 WO2021000881A1 (en) 2019-07-02 2020-07-01 Screen splitting method and electronic device

Country Status (2)

Country Link
CN (1) CN110471725A (en)
WO (1) WO2021000881A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471725A (en) * 2019-07-02 2019-11-19 华为技术有限公司 A kind of split screen method and electronic equipment
CN112882777A (en) * 2019-11-30 2021-06-01 华为技术有限公司 Split-screen display method and electronic equipment
CN113590059A (en) * 2020-04-30 2021-11-02 青岛海信移动通信技术股份有限公司 Screen projection method and mobile terminal
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment
CN111651116B (en) * 2020-06-04 2022-06-14 京东方科技集团股份有限公司 Split screen interaction method, electronic equipment and computer storage medium
CN112261220A (en) * 2020-09-18 2021-01-22 湖北亿咖通科技有限公司 Split screen display method applied to terminal
CN112199017A (en) * 2020-09-30 2021-01-08 京东方科技集团股份有限公司 Split-screen interaction method and device, electronic equipment and readable storage medium
CN115047995A (en) * 2021-03-08 2022-09-13 深圳市柔宇科技股份有限公司 Display method, foldable terminal device and readable storage medium
CN113783995A (en) * 2021-08-13 2021-12-10 维沃移动通信有限公司 Display control method, display control device, electronic apparatus, and medium
CN117806516A (en) * 2021-09-22 2024-04-02 荣耀终端有限公司 Suspended window display method and electronic equipment
CN114416227B (en) * 2021-11-16 2023-06-23 华为技术有限公司 Window switching method, electronic device and readable storage medium
CN117149008A (en) * 2022-05-24 2023-12-01 华为技术有限公司 Display method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503682A (en) * 2014-11-07 2015-04-08 联发科技(新加坡)私人有限公司 Method for processing screen display window and mobile terminal
US20150100914A1 (en) * 2013-10-04 2015-04-09 Samsung Electronics Co., Ltd. Gestures for multiple window operation
CN105378653A (en) * 2013-05-13 2016-03-02 微软技术许可有限责任公司 Smart insertion of application windows into a managed display region
CN106484283A (en) * 2016-09-19 2017-03-08 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal
CN106959834A (en) * 2017-03-08 2017-07-18 北京小米移动软件有限公司 Split screen method and device
CN107577414A (en) * 2017-09-07 2018-01-12 广东欧珀移动通信有限公司 The method and mobile terminal of split screen display available
CN108491149A (en) * 2018-03-28 2018-09-04 维沃移动通信有限公司 A kind of multi-screen display method and terminal
CN109062468A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Multi-screen display method, device, storage medium and electronic equipment
CN110471725A (en) * 2019-07-02 2019-11-19 华为技术有限公司 A kind of split screen method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101957173B1 (en) * 2012-09-24 2019-03-12 삼성전자 주식회사 Method and apparatus for providing multi-window at a touch device
CN103324435B (en) * 2013-05-24 2017-02-08 华为技术有限公司 Multi-screen display method and device and electronic device thereof
CN104636120A (en) * 2013-11-06 2015-05-20 中兴通讯股份有限公司 Multi-window display method and device of browser
CN108632462A (en) * 2018-04-19 2018-10-09 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of split screen display available
CN109062466A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen window adjusting method, device, storage medium and electronic equipment
CN108958606B (en) * 2018-07-06 2020-04-10 Oppo广东移动通信有限公司 Split screen display method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105378653A (en) * 2013-05-13 2016-03-02 微软技术许可有限责任公司 Smart insertion of application windows into a managed display region
US20150100914A1 (en) * 2013-10-04 2015-04-09 Samsung Electronics Co., Ltd. Gestures for multiple window operation
CN104503682A (en) * 2014-11-07 2015-04-08 联发科技(新加坡)私人有限公司 Method for processing screen display window and mobile terminal
CN106484283A (en) * 2016-09-19 2017-03-08 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal
CN106959834A (en) * 2017-03-08 2017-07-18 北京小米移动软件有限公司 Split screen method and device
CN107577414A (en) * 2017-09-07 2018-01-12 广东欧珀移动通信有限公司 The method and mobile terminal of split screen display available
CN108491149A (en) * 2018-03-28 2018-09-04 维沃移动通信有限公司 A kind of multi-screen display method and terminal
CN109062468A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Multi-screen display method, device, storage medium and electronic equipment
CN110471725A (en) * 2019-07-02 2019-11-19 华为技术有限公司 A kind of split screen method and electronic equipment

Also Published As

Publication number Publication date
CN110471725A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
WO2021000881A1 (en) Screen splitting method and electronic device
CN109814766B (en) Application display method and electronic equipment
CN114816210B (en) Full screen display method and device of mobile terminal
WO2020224485A1 (en) Screen capture method and electronic device
WO2021036571A1 (en) Desktop editing method and electronic device
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
CN111176506A (en) Screen display method and electronic equipment
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2021000804A1 (en) Display method and apparatus in locked state
WO2021036585A1 (en) Flexible screen display method and electronic device
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
WO2019072178A1 (en) Method for processing notification, and electronic device
WO2021169399A1 (en) Method for caching application interface, and electronic apparatus
WO2020238759A1 (en) Interface display method and electronic device
WO2021238370A1 (en) Display control method, electronic device, and computer-readable storage medium
WO2021042878A1 (en) Photography method and electronic device
WO2021190524A1 (en) Screenshot processing method, graphic user interface and terminal
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
WO2022166435A1 (en) Picture sharing method and electronic device
WO2022002213A1 (en) Translation result display method and apparatus, and electronic device
WO2021204103A1 (en) Picture preview method, electronic device, and storage medium
WO2023160455A1 (en) Object deletion method and electronic device
WO2023116411A1 (en) Management method for application card, electronic device, and storage medium
CN113050864A (en) Screen capturing method and related equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20834531

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20834531

Country of ref document: EP

Kind code of ref document: A1