WO2021000839A1 - 一种分屏方法及电子设备 - Google Patents

一种分屏方法及电子设备 Download PDF

Info

Publication number
WO2021000839A1
WO2021000839A1 PCT/CN2020/098918 CN2020098918W WO2021000839A1 WO 2021000839 A1 WO2021000839 A1 WO 2021000839A1 CN 2020098918 W CN2020098918 W CN 2020098918W WO 2021000839 A1 WO2021000839 A1 WO 2021000839A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
application
electronic device
interface
fusion
Prior art date
Application number
PCT/CN2020/098918
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to US17/597,174 priority Critical patent/US11687235B2/en
Priority to EP20834328.5A priority patent/EP3964934A4/en
Publication of WO2021000839A1 publication Critical patent/WO2021000839A1/zh

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
    • 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
    • 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/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
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • 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

  • This application relates to the field of human-computer interaction, and in particular to a split screen method, graphical user interface, and electronic equipment.
  • the user in order to display two applications on one screen, the user needs to input a split-screen instruction (for example, two fingers sliding upward from the bottom of the screen) in the display interface of one application, in response to the For split screen instructions, the smart terminal displays two windows, one window displays the one application, and the other window displays the home screen of the smart terminal.
  • the user is required to find the icon of another application that wants to be displayed in split screen in the main interface, and in response to the user's operation (for example, click operation) on the application icon, the smart terminal splits the two applications display.
  • the user In the process of triggering the split-screen display of the application by the smart terminal, the user needs to perform multiple operations, and the efficiency of triggering the split-screen display is low.
  • the embodiment of the present application provides a split screen method and electronic device, which can improve the efficiency of split screen display.
  • an embodiment of the present application provides a screen splitting method.
  • the method includes: an electronic device displays a plurality of application icons in a main interface; the electronic device receives a user's long-press operation or a long-press operation on the icon of the first application Press operation, the first application belongs to the plurality of applications; in response to the long press operation or the pressing operation, the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, where the One or more second-type applications are applications that support split-screen among the plurality of applications, and the first prompt is used to prompt the one or more second-type applications to support split-screen; the electronic device receives the user's action on the first A first operation of an icon of an application, the first operation being dragging the icon of the first application to touch the first prompt of the icon of a third application; responding to the icon of the first application and the icon of the third application Contact with the first prompt, or in response to the release of the first operation, the electronic device switches from displaying the main interface to
  • the switching the electronic device from displaying the main interface to displaying the first split-screen interface in response to releasing the first operation includes: before releasing the first operation, detecting the first The contact duration between the icon of the application and the first prompt of the icon of the third application is not less than a preset value, and in response to releasing the first operation, the electronic device switches from displaying the main interface to displaying the first split screen interface . In this way, the user can keep the icon of the first application in contact with the first prompt of the third application for a period of time (not less than the preset value). After the user releases the first operation, the electronic device displays the main interface Switch to the display split screen interface. In this way, the user's intention to split the screen can be better determined, and the accuracy of the split screen can be improved.
  • the method further includes: a first position of the electronic device relative to the icon of the third application according to the first prompt in contact with the icon of the first application, where the first position includes One of the left, right, top, and bottom determines the second position of the interface of the first application in the first split screen interface relative to the interface of the third application, where the second position and the first position the same.
  • the user can determine the position relationship between the third application interface and the first application interface in the split screen interface by controlling the position relationship between the icon of the third application and the icon of the first application, and further improve the efficiency of the split screen operation.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the split screen direction supported by the electronic device is the left-right direction, and the A first prompt is displayed on the left and right of each of the one or more second-type application icons.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the split screen direction supported by the electronic device is an up-down direction, and A first prompt is displayed above and below each of the one or more second-type application icons.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the direction in which the electronic device supports split screen is the left-right direction and the up-down direction , A first prompt is displayed on the left, right, above, and below of each icon of the one or more second-type application icons.
  • the method further includes: the icon of the third application adsorbs the icon of the first application, so that the first application An edge of the icon of an application is in contact with an edge of the icon of the third application.
  • the method further includes: the electronic device receives a second operation, and in response to the second operation, the electronic device switches from displaying the first split-screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, and the main interface does not include the icon of the first application and the icon of the third application, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon Is an icon obtained by fusing the icon of the third application with the icon of the first application; receiving a third operation acting on the first fusion icon located on the main interface, and in response to the third operation, the electronic device displays The first split screen interface.
  • the method further includes: the electronic device receives a fourth operation, and in response to the fourth operation, the electronic device switches from displaying the first split-screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon is an icon obtained by fusing the icon of the third application with the icon of the first application; A fifth operation that acts on the first fusion icon located on the main interface is received, and in response to the fifth operation, the electronic device displays the first split screen interface.
  • the position of the icon of the first application in the first fusion icon relative to the icon of the third application is the same as that of the interface of the first application in the first split screen interface relative to the third application.
  • the location of the application interface is the same. In this way, it is convenient for the user to understand the display position of each application interface in the split screen interface through the icon.
  • the method further includes: the electronic device receives a sixth operation of the user acting on the first fusion icon, and in response to the sixth operation, the electronic device displays the icon of the first application, the The icon of the third application and the second prompt; the electronic device receives the seventh operation of the user acting on the second prompt, and in response to the seventh operation, the electronic device deletes the first fusion icon from the main interface, And the icon of the first application and the icon of the third application are displayed in the main interface.
  • the method further includes: the electronic device receives an eighth operation of the user on the first fusion icon, and in response to the eighth operation, the electronic device displays the first fusion icon on the first fusion icon.
  • Three prompts The electronic device receives the user's ninth operation on the third prompt, and the electronic device deletes the first fusion icon from the main interface. Through this way of releasing the split screen, the user can easily delete each split screen interface that has been formed.
  • the main interface further includes an icon of a fourth application, where the fourth application belongs to the one or more second-type applications
  • the method further includes: the electronic device receives the user's action on the first application. 4. Long-press operation or pressing operation of the icon of the application; in response to the long-press operation or pressing operation, the electronic device removes the icons of the first application and the third application from the icons of the one or more second-type applications A plurality of the first prompts are displayed around the remaining icons of the, and a plurality of fourth prompts are displayed around the first fusion icon, and the fourth prompt is used to prompt that the split screen interface corresponding to the first fusion icon is still The interface of other applications can be added; the electronic device receives the tenth operation of the user acting on the icon of the fourth application, and the tenth operation is dragging the icon of the fourth application to touch the fourth prompt of the first fusion icon ; In response to the fourth application icon contacting the fourth prompt of the first fusion icon, or in response to releasing the ten
  • the main interface further includes an icon of a fourth application, where the fourth application belongs to the one or more second-type applications
  • the method further includes: the electronic device receives the user's action on the first application.
  • the electronic device receives the user's action on the first application.
  • Four long-press operation or pressing operation of the icon of the application in response to the long-press operation or pressing operation, the electronic device displays a plurality of the first prompts around the icon of the one or more second-type applications, and A plurality of fourth prompts are displayed around the first fusion icon, and the fourth prompt is used to prompt that the split screen interface corresponding to the first fusion icon can also be added to the interface of other applications; the electronic device receives the user's action on the first fusion icon.
  • the eleventh operation of the icon of the fourth application is to drag the icon of the fourth application to touch the fourth prompt of the first fusion icon; in response to the icon of the fourth application and the first fusion
  • the fourth prompt of the icon is touched, or in response to the release of the eleventh operation, the electronic device switches from displaying the main interface to displaying the second split-screen interface, and the second split-screen interface also includes the interface of the fourth application, The interface of the first application and the interface of the third application.
  • the method further includes: a third position of the electronic device relative to the first fusion icon according to a fourth prompt in contact with the icon of the fourth application, where the third position includes the left One of square, right, top, bottom, top left, top right, bottom left, and bottom right determines the fourth position of the fourth application interface in the second split screen interface in the second split screen interface, Wherein, the fourth position is the same as the third position.
  • the displaying a plurality of the fourth prompts around the first fusion icon includes: detecting that the split screen directions supported by the electronic device are up and down and left and right directions, and only in the same direction Two split-screen interfaces are supported, and a fourth prompt is displayed on the upper left, upper right, lower left, and lower right of the first fusion icon. In this way, users can easily understand which directions in the already formed split-screen interface can also add new application program interfaces.
  • the method further includes: the electronic device receives a twelfth operation, and in response to the twelfth operation, the electronic device switches from displaying the second split-screen interface to displaying the main interface, wherein ,
  • the main interface further includes a second fusion icon, and the main interface does not include the icon of the first application, the icon of the third application, and the first fusion icon, and the second fusion icon does not belong to the plurality of applications Icon, the second fusion icon is the icon obtained by fusing the icon of the third application, the icon of the first application, and the icon of the fourth application; receiving the icon that acts on the second fusion icon located on the main interface
  • the thirteenth operation in response to the thirteenth operation, the electronic device displays the second split screen interface.
  • the method further includes: the electronic device receives a fourteenth operation, and in response to the fourteenth operation, the electronic device switches from displaying the second split screen interface to displaying the main interface, wherein ,
  • the main interface also includes a second fusion icon; the first fusion icon does not belong to the icons of the plurality of applications, and the second fusion icon is the icon of the third application, the icon of the first application, and the fourth application.
  • the position of the icon of the fourth application in the second fusion icon is the same as the position of the interface of the fourth application in the second split screen interface.
  • the method further includes: the electronic device receives a sixteenth operation of the user acting on the second fusion icon, and in response to the sixteenth operation, the electronic device displays the icon of the first application , The icon of the third application, the icon of the fourth application, and three fifth prompts, wherein a fifth prompt corresponds to an icon of an application; the electronic device receives the icon of the third application by the user In the seventeenth operation of the fifth prompt, the electronic device deletes the second fusion icon from the main interface, and displays the icon of the third application and the third fusion icon in the main interface, the third fusion icon Icons that do not belong to the plurality of applications, the third fusion icon is an icon obtained by fusing the icon of the first application and the icon of the fourth application; receiving the first fusion icon acting on the third fusion icon located on the main interface Eighteenth operation, in response to the eighteenth operation, the electronic device displays a third split screen interface, and the third split screen interface includes both the interface of the first application and the interface of the
  • the method further includes: the electronic device receives a nineteenth operation of the user on the second fusion icon, and in response to the nineteenth operation, the electronic device performs the A sixth prompt is displayed on the second fusion icon, wherein a sixth prompt corresponds to a fusion icon; the electronic device receives the twentieth of the sixth prompt that the user acts on the second fusion icon Operation, the electronic device deletes the second fusion icon from the main interface. In this way, it is convenient for the user to delete multiple fusion icons contained in the main interface.
  • the main interface further includes an icon of a fifth application and an icon of a sixth application
  • the method further includes: the electronic device receives a long-press operation or pressing of the icon of the fifth application by the user Operation; in response to the long press operation or the pressing operation, the electronic device displays a plurality of the first prompts around the icon of one or more second-type applications; detecting that the user acts on the icon of the fifth application A shaking operation, in response to the shaking operation, the electronic device no longer displays the plurality of first prompts; detecting that the user drags the icon of the fifth application into the preset area of the icon of the sixth application, the electronic device generates A folder, where the icon of the fifth application and the icon of the sixth application are displayed in the folder. In this way, the electronic device can be more prepared to determine the user's intention, and improve the accuracy of the split-screen display.
  • an embodiment of the present application provides a screen splitting method.
  • the method includes: an electronic device displays a plurality of application icons in a main interface; the electronic device receives a user's first operation on the icon of the first application, The first operation is to move the first application to the vicinity of the second application.
  • the first application and the second application belong to the plurality of applications; in response to the first operation, the electronic device is in the vicinity of the second application.
  • a plurality of first prompts are displayed around the icon, and the first prompt is used to prompt that the second application supports split screen; the electronic device receives a second operation of the user acting on the icon of the first application, and the second operation is Drag the icon of the first application to make contact with the first prompt of the second application; in response to the icon of the first application making contact with the first prompt of the icon of the second application, or in response to releasing the second operation , The electronic device switches from displaying the main interface to displaying the first split screen interface, and the first split screen interface includes both the interface of the first application and the interface of the second application. In this way, the user can conveniently enter the split screen interface of the first application and the third application, and the efficiency of the split screen is improved.
  • the switching of the electronic device from displaying the main interface to displaying the first split-screen interface in response to releasing the second operation includes: before releasing the second operation, detecting that the first The contact duration between the icon of the application and the first prompt of the icon of the second application is not less than the preset value, and in response to releasing the second operation, the electronic device switches from displaying the main interface to displaying the first split screen interface .
  • the method further includes: a first position of the electronic device relative to the icon of the second application according to the first prompt in contact with the icon of the first application, where the first position includes One of the left, right, top, and bottom; determining the second position of the interface of the first application in the first split-screen interface relative to the interface of the second application, where the second position and the first position the same.
  • the user can determine the positional relationship between the second application interface and the first application interface in the split screen interface by controlling the positional relationship between the icon of the second application and the icon of the first application, thereby further improving the efficiency of the split screen operation.
  • the method further includes: the electronic device receives a third operation, and in response to the third operation, the electronic device switches from displaying the first split screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, and the main interface does not include the icon of the first application and the icon of the second application, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon In order to obtain the icon obtained by fusing the icon of the second application with the first application; receiving a fourth operation acting on the first fusion icon located on the main interface, and in response to the fourth operation, the electronic device displays the first A split screen interface.
  • the method further includes: the electronic device receives a fifth operation of the user acting on the first fusion icon, and in response to the fifth operation, the electronic device displays the icon of the first application, the The icon of the second application and the second prompt; the electronic device receives the user's sixth operation on the second prompt, and in response to the sixth operation, the electronic device deletes the first fusion icon from the main interface, And the icon of the first application and the icon of the second application are displayed in the main interface.
  • the main interface further includes an icon of a fifth application and an icon of a sixth application
  • the method further includes: the electronic device receives a sixth operation of the user acting on the icon of the fifth application, the The sixth operation is to move the fifth application to the vicinity of the sixth application; in response to the sixth operation, the electronic device displays a plurality of third prompts around the icon of the sixth application, the third prompt It is used to prompt that the sixth application supports split screen; the user's shaking operation on the icon of the fifth application is detected, and in response to the shaking operation, the electronic device no longer displays the plurality of third prompts; it is detected that the user drags The icon of the fifth application is moved to enter the preset area of the icon of the sixth application, and the electronic device generates a folder, wherein the icon of the fifth application and the icon of the sixth application are displayed in the folder.
  • the present application provides an electronic device including one or more memories, a foldable display screen, and one or more memories.
  • the one or more memories are coupled with one or more processors, the foldable display screen is in communication with the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions
  • the electronic device is caused to execute the above-mentioned first aspect and the split screen method in any one of the possible implementation manners of the first aspect.
  • this application provides an electronic device including one or more memories, a foldable display screen, and one or more memories.
  • the one or more memories are coupled with one or more processors, the foldable display screen is in communication with the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions
  • the electronic device is caused to execute the above-mentioned second aspect and the split-screen method in any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the foregoing first aspect and any possible implementation manner of the first aspect Split screen method in.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the second aspect described above and any possible implementation manner of the second aspect Split screen method in.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the first aspect and the split screen method in any one of the possible implementations of the first aspect .
  • the embodiments of the present application provide a computer program product that, when the computer program product runs on a computer, causes the computer to execute the second aspect and the split screen method in any one of the possible implementations of the second aspect .
  • multiple application icons are displayed on the main interface of the electronic device. If the electronic device receives the user's input operation on the icon of the first application, then multiple icons in the user interface can support split screen A first prompt is displayed around the icon of the application, and the first prompt is used to prompt that these applications support split-screen; afterwards, if the electronic device detects that the user will set the icon of the first application and the icon of the third application If the first prompt is in contact, it will switch from displaying the main interface to displaying a split screen interface that contains both the interface of the first application and the interface of the third application.
  • the third application is one of multiple applications that can support split screen. . In this way, the user can conveniently enter the split screen interface of the first application and the third application, and the efficiency of the split screen is improved.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1B is a software structure block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2A is a schematic diagram of a main interface displayed by an electronic device according to an embodiment of the present application.
  • FIG. 2B is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • 2C is a schematic diagram of another main interface displayed by an electronic device according to an embodiment of the present application.
  • 3A-3C are schematic diagrams of some user interfaces for split screen provided by embodiments of the present application.
  • 3D is a schematic diagram of a prompt provided by an embodiment of the present application.
  • 3E-3G are schematic diagrams of other user interfaces for split screen provided by embodiments of the present application.
  • 3H is a schematic diagram of a preset area and a nearby area of an application icon provided by an embodiment of the present application;
  • 4A-4B are schematic diagrams of some user interfaces displaying prompts provided by embodiments of the present application.
  • 4C-4D are schematic diagrams of some user interfaces for split screen provided by embodiments of the present application.
  • 5A is a schematic diagram of a user interface displaying fusion icons provided by an embodiment of the present application.
  • FIG. 5B is a schematic diagram of yet another user interface displaying fusion icons provided by an embodiment of the present application.
  • FIGS. 6A-6B are schematic diagrams of still other user interfaces for split screen provided by embodiments of the present application.
  • 6C is a schematic diagram of a split screen interface provided by an embodiment of the present application.
  • 6D is a schematic diagram of yet another user interface displaying fusion icons provided by an embodiment of the present application.
  • 6E-6F are schematic diagrams of other user interfaces for split screen provided by embodiments of the present application.
  • 6G is another schematic diagram of displaying a fusion icon provided by an embodiment of the present application.
  • 6H is a schematic diagram of another split screen interface provided by an embodiment of the present application.
  • FIGS. 7A-7C are schematic diagrams of some user interfaces for releasing the split screen provided by embodiments of the present application.
  • 7D-7G are schematic diagrams of still other user interfaces for releasing the split screen provided by embodiments of the present application.
  • FIGS. 8A-8D are schematic diagrams of still other user interfaces for releasing the split screen provided by embodiments of the present application.
  • 8E-8G are schematic diagrams of still other user interfaces for releasing the split screen provided by embodiments of the present application.
  • 9A-9F are schematic diagrams of some user interfaces for generating folders provided by embodiments of the present application.
  • FIG. 10 is a schematic flowchart of a screen splitting method provided by an embodiment of the present application.
  • FIG. 11 is a schematic flowchart of another screen splitting method provided by an embodiment of the present application.
  • the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication function (such as a smart watch) Wait.
  • portable electronic devices include but are not limited to carrying Or portable electronic devices with other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.
  • UI user interface
  • the term user interface (UI) in the specification, claims and drawings of this application is a medium interface for interaction and information exchange between applications or operating systems and users. It realizes the internal forms of information and users. Can accept the conversion between forms.
  • the user interface of the application is the source code written in a specific computer language such as java, extensible markup language (XML), etc.
  • the interface source code is parsed and rendered on the electronic device 300, and finally presented to the user can be recognized Content, such as pictures, text, buttons and other controls.
  • Controls are the basic elements of the user interface. Typical controls include buttons, widgets, toolbars, menu bars, text boxes, and scroll bars. scrollbar), pictures and text.
  • the attributes and content of the controls in the interface are defined by tags or nodes.
  • XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
  • a node corresponds to a control or attribute in the interface, and the node is parsed and rendered as user-visible content.
  • applications such as hybrid applications, usually include web pages in their interfaces.
  • a webpage also called a page, can be understood as a special control embedded in the application program interface.
  • the webpage is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style Tables (cascading style sheets, CSS), java scripts (JavaScript, JS), etc.
  • web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions.
  • the specific content contained in a web page is also defined by tags or nodes in the source code of the web page. For example, HTML defines the elements and attributes of the web page through ⁇ p>, ⁇ img>, ⁇ video>, and ⁇ canvas>.
  • GUI graphical user interface
  • the following embodiments of this application provide a split screen method, graphical user interface and electronic device, so that users can quickly enter the split screen interface of the application by performing operations on the icons of the application that need to be displayed on the split screen, and the operation is intuitive. It is simple and effective, and can improve the efficiency of split-screen display.
  • electronic devices such as smart phones and tablet computers can receive a user's long-press operation or force touch on the icon of the first application.
  • the electronic device In response to the long-press or press operation, the electronic device is in one or A plurality of first prompts (a positive integer greater than one) are displayed around the icons of the plurality of second applications, and the first prompts are used to prompt that the one or more second applications can support split-screen operation.
  • the user can drag the icon of the first application to contact the first prompt of the icon of a certain second application.
  • the electronic device It is possible to display a split screen interface containing both the second application interface and the first application interface.
  • the electronic device may receive an operation of the user moving the icon of the first application to the vicinity of the icon of a second application, and in response to the user operation, the electronic device is A plurality of first prompts (a positive integer greater than one) are displayed around, and the first prompt is used to prompt that the second application can support split-screen operation. After that, the user can continue to drag the icon of the first application to contact the first prompt of the icon of a certain second application. In response to the contact of the icon of the first application with the first prompt of the icon of a certain second application, the electronic The device can display a split screen interface that includes both the second application interface and the first application interface.
  • FIG. 1A shows a schematic structural diagram of an electronic device 10.
  • the electronic device 10 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, 3D camera module 193, display 194, and subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180G, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 10.
  • the electronic device 10 may include more or fewer components than those shown in the figure, 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.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a central processing unit (CPU), and a graphics processing unit (GPU).
  • AP application processor
  • CPU central processing unit
  • GPU graphics processing unit
  • NPU Neural network processor
  • modem processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor etc.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the electronic device 10 may also include one or more processors 110.
  • the controller may be the nerve center and command center of the electronic device 10.
  • 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.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • 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 electronic device 10 is improved.
  • 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.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, charger, flash, 3D camera module 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 10.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to realize communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the 3D camera module 193 and other peripheral devices.
  • the MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 and the 3D camera module 193 communicate through a CSI interface to implement the camera function of the electronic device 10.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 10.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the 3D camera module 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 10, and can also be used to transfer data between the electronic device 10 and peripheral devices. It can also be used to connect headphones and play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • 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 10.
  • the electronic device 10 may also adopt different interface connection modes in the above-mentioned embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 10. 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.
  • 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 external memory, the display screen 194, the 3D camera module 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).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 10 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.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10.
  • 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.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • 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.
  • the modem processor may include a modulator and a demodulator.
  • 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.
  • the modem processor may be an independent device.
  • 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.
  • the wireless communication module 160 can provide applications on the electronic device 10 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • 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.
  • the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, and the like.
  • the antenna 1 of the electronic device 10 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 10 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).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 10 can implement 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 instructions to generate or change display information.
  • 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).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • 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.
  • the electronic device 10 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 10 can implement a camera function through a camera module 193, an ISP, a video codec, a GPU, a display screen 194, an application processor AP, a neural network processor NPU, and the like.
  • the camera module 193 can be used to collect color image data of the subject.
  • the ISP can be used to process the color image data collected by the camera module 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.
  • the ISP may be provided in the camera module 193.
  • 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 10 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 10 may support one or more video codecs.
  • the electronic device 10 can play or record videos in a variety of encoding formats, for example: moving picture experts group (MPEG)-1, MPEG-2, MPEG-3, MPEG-4, and so on.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent cognition of the electronic device 10, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • 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 10.
  • 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, photos, videos and other data in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can execute the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 10 to execute the photographing preview method of the electronic device provided in some embodiments of the present application, as well as various functional applications and data processing.
  • 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; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 10.
  • 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 electronic device 10 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.
  • 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.
  • 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.
  • the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 10 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 10 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • 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 10 may be provided with at least one microphone 170C. In other embodiments, the electronic device 10 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 10 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • 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.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • 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 10 determines the intensity of the pressure based on the change in capacitance.
  • the electronic device 10 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 10 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • 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.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 10, 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 10 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 10 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 10 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 10 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 acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 10 in various directions (generally three axes). When the electronic device 10 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.
  • the electronic device 10 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 10 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • 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 10 emits infrared light to the outside through the light emitting diode.
  • the electronic device 10 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 10. When insufficient reflected light is detected, the electronic device 10 can determine that there is no object near the electronic device 10.
  • the electronic device 10 can use the proximity light sensor 180G to detect that the user holds the electronic device 10 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.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 10 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 10 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180G is used to collect fingerprints.
  • the electronic device 10 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 10 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 value, the electronic device 10 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.
  • the electronic device 10 when the temperature is lower than another threshold, the electronic device 10 heats the battery 142 to avoid abnormal shutdown of the electronic device 10 due to low temperature.
  • the electronic device 10 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K can also be called a touch panel or a touch-sensitive surface.
  • 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.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 10, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • 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.
  • 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.
  • 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 10 can receive key input and generate key signal input related to user settings and function control of the electronic device 10.
  • 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.
  • touch operations applied to different applications 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.
  • the touch vibration feedback effect can also support customization.
  • 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.
  • 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 10.
  • the electronic device 10 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 10 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 10 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.
  • the electronic device 10 exemplarily shown in FIG. 1A can display various user interfaces described in the following embodiments through a display screen 194.
  • the electronic device 10 can detect touch operations in each user interface through the touch sensor 180K, such as a click operation in each user interface (such as a touch operation on an icon, a double-click operation), and for example, up or down in each user interface. Swipe down, or perform circle-drawing gestures, etc.
  • the electronic device 10 may detect a motion gesture performed by the user holding the electronic device 10, such as shaking the electronic device, through the gyroscope sensor 180B, the acceleration sensor 180E, and the like.
  • the electronic device 10 can detect non-touch gesture operations through the 3D camera module 193 (eg, 3D camera, depth camera).
  • the software system of the electronic device 10 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 10.
  • FIG. 1B is a software structure block diagram of an electronic device 10 according to an embodiment of the present application.
  • 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.
  • 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.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • 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.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
  • 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.
  • 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.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 10. 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.
  • 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 includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • 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.
  • 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.
  • 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.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • 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, G.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.
  • 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.
  • the software system shown in Figure 1B involves the presentation of applications that use sharing capabilities (such as gallery and file manager), instant sharing modules that provide sharing capabilities, and print services and print spooler that provide printing capabilities.
  • sharing capabilities such as gallery and file manager
  • instant sharing modules that provide sharing capabilities
  • print services and print spooler that provide printing capabilities.
  • application framework layer provides printing framework, WLAN service, Bluetooth service, and the core and bottom layer provide WLAN Bluetooth capabilities and basic communication protocols.
  • the corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, etc.).
  • the original input events are stored in the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Taking the touch operation as a touch operation, and the control corresponding to the touch operation is the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer, through the camera module 193 capture still images or videos.
  • the following describes an exemplary user interface for the application menu on the electronic device 10.
  • FIG. 2A exemplarily shows a user interface 21 on the electronic device 10 for displaying application program menus.
  • the user interface 21 may include: a status bar 201, a tray 217 with icons of commonly used applications, a calendar widget 213, a weather widget 215, and other application icons. among them:
  • the status bar 201 may include: one or more signal strength indicators 203 for mobile communication signals (also called cellular signals), one or more signal strength indicators 205 for wireless fidelity (Wi-Fi) signals , Battery status indicator 209, time indicator 211.
  • the calendar widget 213 can be used to indicate the current time, such as date, day of the week, hour and minute information, etc.
  • the weather widget 215 can be used to indicate the type of weather, such as cloudy to clear, light rain, etc., and can also be used to indicate information such as temperature.
  • the tray 217 with icons of commonly used application programs can display: a phone icon 219, a contact icon 221, a short message icon 223, and a camera icon 225.
  • the user interface 21 may also include a page indicator 229.
  • Other application icons can be distributed on other pages.
  • the page indicator 429 can be used to indicate the number of pages and which page the user is currently viewing. For example, the page indicator 429 displays 3 small dots, and the second dot is black, and the other two dots are The white one indicates that the current mobile phone includes 3 pages, and the user is browsing the second page. In addition, users can swipe left and right on the current page to browse application icons on other pages.
  • the user interface 21 exemplarily shown in FIG. 2A may be a user interface in the home screen.
  • the electronic device 10 may also include a home screen key.
  • the main screen key can be a physical key or a virtual key.
  • the home screen key can be used to receive a user's instruction, and in response to the user's instruction, return the currently displayed UI to the main interface, so that the user can view the home screen at any time.
  • the above instruction can be an operation instruction for the user to press the home screen key once, or an operation instruction for the user to press the home screen key twice in a short period of time, or the user long press the home screen key within a predetermined time Operation instructions.
  • the home screen key can also be integrated with a fingerprint recognizer, so that when the home screen key is pressed, fingerprints are collected and recognized.
  • FIG. 2A only exemplarily shows the user interface on the electronic device 10 and should not constitute a limitation to the embodiment of the present application.
  • FIG. 2B exemplarily shows a schematic diagram of an electronic device 10.
  • the display screen 194 of the electronic device 10 is a folding screen. By folding the electronic device, the display screen 194 can be divided into an A screen and a B screen.
  • FIG. 2C exemplarily shows another user interface 22 on the electronic device 10 that displays an application menu.
  • the user interface 22 contains the content displayed on screen A and screen B.
  • Figure 2C shows the content contained in the display screen 194 in a flat form, but in an actual scene, Figure 2C can be displayed as shown in Figure 2C.
  • the content displayed on screen A and the content displayed on screen B are located on different planes. In particular, when the folding screen is expanded to 180 degrees, the content displayed on the display screen 194 is located on the same plane.
  • the elements included in FIG. 2C may be the same as those included in FIG. 2A, and reference may be made to the introduction in FIG. 2A above.
  • Figures 3A-3C exemplarily show some schematic diagrams of user interfaces for split screen.
  • the electronic device when the user moves the icon of the first application that needs to be displayed on a split screen around the icon of the second application, the electronic device displays a prompt on the icon of the second application ; Afterwards, if the user touches the icon of the first application with the prompt of the second application, and the duration of the contact is not less than the preset value, the electronic device displays the first application interface containing the second application interface and the first application interface A split screen interface.
  • the electronic device receives an operation input by the user for the icon of the first application (ie, the icon of WeChat 227), which is to move the icon of WeChat to the icon of QQ (ie, the icon of QQ 229). ) Operation in nearby areas.
  • the electronic device displays four prompts around the icon 229. Specifically, the four prompts are: prompt 228-1 (located to the left of icon 229), prompt 228-2 (located on the icon Above 229), prompt 228-3 (located to the right of icon 229), and prompt 228-4 (located below icon 229). These prompts are used to prompt that the second application (ie, QQ) can support split-screen operation.
  • only one prompt may be displayed around the icon 229, and the prompt is the prompt 228-1 adjacent to the icon 227 among the above prompts.
  • moving the icon of the first application to the vicinity of the icon of the second application means that the pixels on the edge of the icon of the first application fall into the vicinity of the icon of the second application; wherein, the nearby area It refers to an area composed of pixels outside the icon of the second application and whose distance from the edge of the icon of the second application is less than a preset value.
  • FIG. 3H is a schematic diagram of a nearby area and a preset area of an application icon provided by an embodiment of the present application.
  • the electronic device when the icon 227 is moved to the vicinity of the icon 229, the electronic device performs a special display on the prompt 228-1 closest to the icon 227 among these prompts (for example, highlighting, changing color , Darken the color, dither display, etc.).
  • the electronic device may also display the magnetic attraction effect of the icon 229 on the icon 227.
  • the magnetic attraction effect is shown as: the icon 229 attracts the icon 227 so that the edge of the icon 227 is aligned with the edge of the icon 229, And the two edges closest to the icon 227 and the icon 229 are close to each other.
  • the two edges closest to the icon 227 and the icon 229 may overlap. As shown in FIG.
  • the upper edge of the icon 227 and the upper edge of the icon 229 are on the same horizontal line
  • the lower edge of the icon 227 and the lower edge of the icon 229 are on the same horizontal line
  • the left and right edges of the icon 227 are on the same horizontal line as the icon 229.
  • the left and right edges are parallel to each other, and the right edge of the icon 227 and the left edge of the icon 229 are close to each other.
  • the electronic device may not continue to display the prompt around the icon 229.
  • the prompt can be displayed in many different ways.
  • the prompt may be exemplarily shown in FIG. 3D.
  • the prompt is four dots around the icon 229, and the prompt 228-1 adjacent to the icon 227 has changed its display color.
  • the prompt may also have other display modes.
  • a circular prompt may also be displayed in a square icon, which is not limited in the embodiment of the present application.
  • the prompt may be provided with transparency, or the prompt may be displayed under the icon of the application program, which is not limited in the embodiment of the present application.
  • the electronic device displays the user interface 22 including the second application interface and the first application interface.
  • the user interface 22 includes: a first display area 240, a second display area 244, and a split screen 242, where:
  • the first display area 240 may be used to display the first application interface. Wherein, if the first application is not opened before displaying the first application interface, the first application interface is the display interface when the first application is started. If the first application has been opened before the first application interface is displayed, the first application interface is the display interface of the first application before leaving the first application last time.
  • the second display area 244 can be used to display the second application interface.
  • the second application interface is the display interface when the second application is started. If the second application is opened before the first application interface is displayed, the second application interface is the display interface of the first application before leaving the second application last time. It should be noted that the second application interface may also be displayed in the first display area 240, and the first application interface may be displayed in the second display area, which is not limited in this embodiment.
  • the screen divider 242 can be used to separate the first display area 240 and the second display area 244.
  • the screen splitter 242 is also used to receive a user's sliding operation.
  • the electronic device adjusts the size of the first display area 240 and the second display area 242. Specifically, if the sliding operation is a sliding operation toward the status bar 201, the electronic device reduces the size of the first display area 240 and increases the size of the second display area 244; if the sliding operation is far away from the status bar 201 With a sliding operation, the electronic device increases the size of the first display area 240 and decreases the size of the second display area 244.
  • the screen splitting symbol 242 may not be displayed in the user interface 22.
  • the size of the first display area 240 may be the same as the size of the second display area 244.
  • the user can conveniently enter the split-screen interface of the first application and the second application by manipulating the icon of the first application, which improves the efficiency of split-screen operation and also improves user experience.
  • Figures 3E-3G exemplarily show some other schematic diagrams of user interfaces for split screen.
  • the direction of the prompt displayed on the icon 229 by the electronic device relative to the icon 229 is consistent with the direction in which the electronic device 10 supports split screen. Users can intuitively understand the direction in which electronic devices support split screens.
  • the positional relationship between the icon 229 and the icon 227 is the same as the positional relationship between the display interface of QQ and the display interface of WeChat in the split screen interface.
  • the electronic device receives an operation on the icon 227 input by the user, and the operation is an operation of moving the icon 227 to the vicinity of the icon 229.
  • the electronic device displays a prompt around the icon 229 . If the electronic device 10 only supports up and down split screens, the prompts displayed on the icon 229 are the prompt 228-2 located above the icon 229 and the prompt 228-4 located below the icon 229. In this way, it is convenient for the user to understand the direction in which the electronic device supports split screen.
  • the electronic device receives an operation input by the user to touch the icon 227 with the prompt 228-4, and keep the position of the icon 227 unchanged for a duration not less than a preset value, and respond to the operation ,
  • the electronic device displays a user interface 23 including the second application interface and the first application interface.
  • the electronic device may move the position of the icon 237 to avoid mutual shielding of the icon 237 and the icon 227.
  • the user interface 23 includes: a first display area 250, a second display area 252 and a split screen 242, where:
  • the first display area can be used to display the display interface of QQ corresponding to the icon 229.
  • the specific content contained in the interface of the application program refer to the above description, and will not be repeated here.
  • the second display area can be used to display the display interface of WeChat corresponding to the icon 227.
  • the display content of the first display area and the display content of the second display area are determined by the positional relationship between the icon 229 and the icon 227. Specifically, the icon 229 is located above the icon 227, and the display interface of QQ in the user interface 23 is located above the display interface of WeChat. That is, it is confirmed that the first display area displays the display interface of QQ, and the second display area displays the display interface of WeChat.
  • the user can determine the positional relationship between the second application interface and the first application interface in the split screen interface by controlling the positional relationship between the icon of the second application and the icon of the first application, thereby further improving the efficiency of the split screen operation.
  • FIG. 4A exemplarily shows a user interface 21 that displays a prompt on the icon of the first application.
  • the electronic device detects a user's operation (for example, a long press operation) on the icon of the first application (ie, the icon 227 of WeChat). , Force touch, etc.), in response to the user’s operation, the electronic device displays four prompts around the icon 227.
  • the four prompts include: prompt 230-1 (located on the left of the icon 227) Square), prompt 230-2 (located above icon 227), prompt 230-3 (located to the right of icon 227), and prompt 230-4 (located below icon 227).
  • the prompt may indicate that the first application can support split-screen operation.
  • the seventh prompt may not be displayed around the icon of the first application, which is not limited in the embodiment of the present application.
  • the electronic device may only display the seventh prompt in the same direction as the direction in which the electronic device supports split screen on the icon 227.
  • the electronic device receives an operation on the icon 227 input by the user.
  • the operation is an operation of moving the icon 227 to the vicinity of the icon 229.
  • the electronic device Four prompts are displayed around, the four prompts include: prompt 228-1 (located on the left of icon 229), prompt 228-2 (located above icon 229), prompt 228-3 (located on icon 229) To the right of) and prompt 228-4 (located below icon 229).
  • the electronic device may also display the magnetic attraction effect of the icon 229 on the icon 227.
  • the magnetic attraction effect is shown as: the icon 229 attracts the icon 227, so that the prompt 228-1 of the icon 229 and the prompt 230-3 of the icon 227 are coincide.
  • the electronic device may only display the overlapped prompt 230-3/228-1, and no longer display other prompts. It should be noted that the subsequent display of the split-screen interface can refer to the above description, which will not be repeated here.
  • FIG. 4C exemplarily shows a user interface that displays a prompt on the icon of the second application.
  • the electronic device receives a user input for a touch operation (for example, a long press operation, a press operation, etc.) on the icon 227.
  • a touch operation for example, a long press operation, a press operation, etc.
  • the electronic device is supporting the second split screen.
  • a prompt is displayed around the icon of the application.
  • the icons of the second application are icon 229, icon 233, icon 235, and icon 225. In this way, the user can intuitively see which applications can support split screen, and it is convenient for the user to select applications that need to be split screen.
  • the electronic device may also display a prompt around the icon of the first application.
  • the direction of the prompt displayed on the icon of the first application by the electronic device relative to the icon of the first application may be consistent with the direction in which the electronic device supports split screen.
  • the electronic device receives an operation on the icon 227 input by the user, and the operation is to touch the icon 227 with the prompt 228-1 of the icon 229.
  • the electronic device may also display the magnetic attraction effect of the icon 229 on the icon 227, and the magnetic attraction effect is shown as: the icon 229 attracts the icon 227 so that an edge of the icon 229 contacts an edge of the icon 227.
  • the icon 229 absorbs the icon 227, so that the prompt 228-1 of the icon 229 and the prompt 230-3 of the icon 227 overlap.
  • the electronic device may only display the overlapped prompt 230-3/228-1, and no longer display other prompts.
  • the electronic device can switch from the displayed main interface (refer to the user interface 21 shown in FIG. 4D) to display the first split screen interface (refer to the above figure).
  • the user interface 22 shown in 3C wherein the first split screen interface includes both the interface of the first application (WeChat) and the interface of the third application (QQ).
  • the electronic device switches from the displayed main interface (refer to the user interface 21 shown in FIG. 4D) to The first split screen interface is displayed (refer to the user interface 22 shown in FIG. 3C above). In this way, the user's intention to split the screen can be better determined, and the accuracy of the split screen can be improved.
  • the second application is an application that supports split screen, and the category to which the second application belongs is the same as the category to which the first application belongs.
  • the categories to which the application belongs can be: games, social communication, audio and video playback, news reading, and so on.
  • the electronic device may have pre-stored category labels of multiple applications, and the category labels are used to indicate the category of the application. In this way, the electronic device can determine the second application from the plurality of applications according to the category labels of the multiple applications included in the main interface and the category labels of the first application.
  • the second application is an application supporting split screen, and the second application has an association relationship with the first application.
  • the electronic device records that within the first preset time period (eg, one day, three days, one week, etc.), the number of times of switching between the second application and the first application exceeds the preset value, the electronic device creates the second application The association relationship with the first application.
  • the first application that has an association relationship with the second application may be one or more application programs, which is not limited here. For example, users often switch between WeChat and QQ, and between WeChat and Twitter, and the electronic device establishes an association relationship between WeChat and QQ, and an association relationship between WeChat and Twitter. In this way, the electronic device can select one or more first applications associated with the first application from among multiple applications to display the prompt, which conforms to the user's habit of using the application, and further improves the score. Screen efficiency.
  • the process of switching from the second application to the first application can be: (1) directly switching from the interface of the second application to the interface of the second program application; (2) within the second preset time period (eg, 15 seconds, 30 seconds, one minute, etc.), switch from the second application interface to the main interface, and then switch from the main interface to the first application interface; (3) within the second preset time period, from the first application interface
  • the interface of the second application is switched to the "recently opened application” interface, and then from the "recently opened application” interface to the first application interface.
  • the process of switching from the first application to the second application can also refer to these methods described above.
  • the electronic device may display prompt information (for example, **(here is the first The name of the application) the application does not support split screen), or a prompt is displayed on the icon of the first application, and the prompt is used to indicate that the application does not support split screen.
  • the prompt may be an "X"-shaped prompt covering the icon of the first application program, and the prompt may also be a graphic of other styles, which is not limited here.
  • the electronic device can display a prompt message (for example, ** (here is the name of the first application) application does not support split screen), or on the icon of the first application The prompt is displayed.
  • FIG. 5A exemplarily shows a user interface 21 for displaying fusion icons in an electronic device.
  • the electronic device may also generate a fusion icon, and after the electronic device returns to the main interface, the fusion icon may be displayed in the main interface.
  • the fusion icon is an icon obtained by fusing the icon of WeChat and the icon of QQ, and the fusion icon includes the icon of WeChat and the icon of QQ.
  • the fusion of the WeChat icon and the QQ icon may mean that the WeChat icon and the QQ icon are reduced by a certain ratio, so that both icons can be included in the frame of the fusion icon.
  • the fusion icon 250 of WeChat and QQ is displayed on the electronic device, and the fusion icon 250 includes the icon of WeChat and the icon of QQ.
  • the positional relationship between the WeChat icon and the QQ icon in the fusion icon 250 may be the same as the position relationship between the WeChat display interface and the QQ display interface in the split screen interface (refer to FIG. 3C).
  • the fusion icon 250 is also used to receive a user's operation, and in response to the user's operation, the electronic device displays a split screen interface including a display interface of WeChat and a display interface of QQ (refer to FIG. 3C).
  • the electronic device after displaying the fusion icon 250, the electronic device no longer displays the WeChat icon and the QQ icon in the user interface 21 (for this display manner, see FIG. 5A).
  • the display position of the fusion icon 250 may be the position of the original WeChat icon, or the position of the original QQ icon.
  • the electronic device simultaneously displays the WeChat icon 227, the QQ icon 229, and the fusion icon 250 in the user interface 21 (for this display manner, refer to FIG. 5B).
  • the display position of the fusion icon 250 may be any one of the unoccupied icon display positions in the user interface 21.
  • the fusion icon 250 is displayed in another user interface in the main interface.
  • the fusion icon 250 is displayed in a user interface dedicated to displaying the fusion icon in the main interface.
  • the user can enter the WeChat display interface by clicking the WeChat icon 227; by clicking the QQ icon 229 to enter the QQ display interface; by clicking the fusion icon 250, the user can enter the display interface containing WeChat and the display interface of QQ The split screen interface (refer to Figure 3C).
  • the user interface 21 shown in FIG. 5A or FIG. 5B may be displayed before the split screen interface is displayed in the foregoing embodiment.
  • the process of displaying the split screen interface on the electronic device may be as shown in FIGS. 3A and 5B. 3B, Figure 5A, Figure 3C.
  • the user interface for displaying the fusion icon may be automatically switched to the user interface for displaying the split screen interface after displaying a preset time period (for example, 0.5 second, 1 second, etc.).
  • a preset time period for example, 0.5 second, 1 second, etc.
  • the electronic device switches to the user interface for displaying the split screen interface.
  • 6A-6B exemplarily show some schematic diagrams of user interfaces for split screen.
  • the electronic device may support a split screen display including more than two application program interfaces.
  • the electronic device detects that the icon 225 is moved to the vicinity of the fusion icon 602, the electronic device displays six prompts around the fusion icon 602, the six prompts are: prompt 601-1, prompt 601-2 , Prompt 601-3, prompt 601-4, prompt 601-5 and prompt 601-6.
  • the direction of the prompt relative to the fusion icon 602 is consistent with the direction of the application program interface that can be added to the split screen interface corresponding to the fusion icon 602 (see FIG. 6C or FIG. 6H).
  • the prompt shown in FIG. 6A indicates that the split screen interface corresponding to the fusion icon 602 can also be displayed on the left (corresponding to the prompt 601-1) and upper left (corresponding to the prompt 601-1) of the original split screen interface.
  • Symbol 601-2) upper right (corresponding to prompt 601-3), right (corresponding to prompt 601-4), lower right (corresponding to prompt 601-5), and lower left (corresponding to prompt 601 -6)
  • add a new application interface In the direction, add a new application interface.
  • the electronic device can support split-screen display of the application program interface in the upper left, upper right, lower right, and lower left directions at most, the electronic device displays four prompts around the fusion icon 602 , The four prompts are: prompt 601-2, prompt 601-3, prompt 601-5 and prompt 601-6. In this way, users can easily understand which directions in the already formed split-screen interface can also add new application interface.
  • the electronic device detects that the icon 225 is in contact with the prompt 601-2, and the duration of the contact is not less than the preset value.
  • the electronic device displays the fusion icon The interface of the application indicated by 602 and the user interface 32 of the interface of the first application corresponding to the icon 225.
  • the direction of the first application interface relative to the user interface 31 is consistent with the direction of the prompt 601-2 relative to the fusion icon 602.
  • the user interface 32 includes a first display area 603, a second display area 605, a third display area 607, and a screen splitter 242-1 and a screen splitter 242-2; among them:
  • the first display area 603 may be used to display the interface of the application program (ie, gallery) corresponding to the icon 225.
  • the interface of the application program ie, gallery
  • the second display area 605 may be used to display the interface of the application program (ie, QQ) corresponding to the application icon located on the left side of the fusion icon 602.
  • QQ the interface of the application program
  • the third display area 607 can be used to display the interface of the application (ie, WeChat) corresponding to the application icon located on the right side of the fusion icon 602.
  • the interface of the application ie, WeChat
  • the screen divider 242-1 and the divider 242-2 can be used to separate the above three display areas.
  • the two screen dividers can also be used to receive a user's sliding operation. In response to the sliding operation, the electronic device adjusts the display area the size of. Optionally, the electronic device may not display the screen divider 242-1 and the divider 242-2.
  • the electronic device in response to this operation, the electronic device generates a new fusion icon 609.
  • the direction of the icon of the application relative to the fusion icon is the same as the direction of the interface of the application relative to the first split screen interface.
  • the QQ icon is located at the bottom left of the fusion icon 609, and the QQ interface is also located at the bottom left of the first split screen interface, and these two directions are the same.
  • the user interface 31 of the electronic device displaying the fusion icon 609 can be exemplarily shown with reference to FIG. 6D.
  • the user interface 31 may further include the WeChat icon 227, the QQ icon 229, and the fusion icon 602.
  • the electronic device detects that the hold icon 225 is in contact with the prompt 601-2 and the prompt 601-3, and the contact duration is not less than the preset value, and the electronic device displays a fusion icon
  • the direction of the first application interface relative to the user interface 31 is consistent with the direction of the prompt 601-2 and the prompt relative to the fusion icon 602.
  • the prompt 601-2 and the prompt 601-3 are both located above the fusion icon 602, and the first application interface is located above the split screen interface.
  • the user interface 33 includes a first display area 610, a second display area 611, a third display area 612, and a screen splitter 242-1 and a screen splitter 242-2; among them:
  • the first display area 610 may be used to display the interface of the application program (ie, gallery) corresponding to the icon 225.
  • the interface of the application program ie, gallery
  • the second display area 611 may be used to display the interface of the application (ie, QQ) corresponding to the application icon located on the left side of the fusion icon 602.
  • QQ the interface of the application
  • the third display area 612 can be used to display the interface of the application (ie, WeChat) corresponding to the application icon located on the right side of the fusion icon 602.
  • the interface of the application ie, WeChat
  • the screen divider 242-1 and the divider 242-2 can be used to separate the above three display areas.
  • the two screen dividers can also be used to receive a user's sliding operation. In response to the sliding operation, the electronic device adjusts the display area the size of. Optionally, the electronic device may not display the screen divider 242-1 and the divider 242-2.
  • the electronic device in response to this operation, the electronic device generates a new fusion icon 613.
  • the direction of the interface of the first application relative to the user interface 31 is the same as the directions of the prompt 601-2 and the prompt 601-3 relative to the fusion icon 602.
  • the user interface 31 displaying the fusion icon 613 can be exemplarily shown with reference to FIG. 6G.
  • the user interface 31 may further include the WeChat icon 227, the QQ icon 229, and the fusion icon 602.
  • the user may also generate a split screen interface by moving the fusion icon to the vicinity of the first application icon, which is not limited in the embodiment of the present application.
  • the electronic device receives an operation on the fusion icon input by the user, in response to the user's operation, the electronic device displays a prompt around the fusion icon, and The direction of the prompt relative to the fusion icon is consistent with the direction of the application program interface that can be added to the split screen interface corresponding to the fusion icon.
  • the release of split screen can be divided into two situations: In the first situation, only the fusion icon is displayed in the main interface of the electronic device, and the icon of the application included in the fusion icon is not displayed separately (see the figure for this case) 5A); In the second case, the fusion icon is displayed in the main interface of the electronic device, and the icon of the application included in the fusion icon is separately displayed (for this case, see Figure 5B). The following will introduce how to release the split screen in these two situations.
  • Figures 7A-7C exemplarily show schematic diagrams of some user interfaces for releasing the split screen.
  • the electronic device receives the user's long-press operation on the fusion icon 250, and in response to the user's operation, the electronic device displays the QQ icon 229 and the WeChat icon 227 included in the fusion icon, and Prompt 260.
  • the prompt 260 can be located between the icon 229 and the icon 227. Specifically, the position of the prompt can be the upper right of the icon 227 (also the upper left of the icon 229), or the middle of the right edge of the icon 227 (also the icon 229 (the middle of the left edge), the embodiment of the present application does not limit it.
  • the prompt 260 can be used to receive a user's operation.
  • the electronic device In response to the user's operation, the electronic device no longer displays the fusion icon 250 and the split screen interface corresponding to the fusion icon 250, and displays the icon 229 and the icon 227 separately.
  • the display color of the prompt may be different from the display color of the delete icon, or the prompt may be other graphics except the example, which is not limited in the embodiment of this application .
  • the electronic device receives the user's click operation on the prompt 260.
  • the electronic device no longer displays the fusion icon 250 in the user interface 21, and separately displays the icons 229 and Icon 227.
  • the electronic device may also delete the split screen interface corresponding to the fusion icon 250 recorded in the "recently opened application" interface.
  • the fusion icon may include icons of more than two applications.
  • the electronic device receives the user's operation on the fusion icon 613 (icons containing 3 applications), and in response to the user's operation, the electronic device displays the icon 225 of the gallery and the icon 229 of QQ And the icon 227 of WeChat, and the prompt corresponding to the icon of each application.
  • icon 225 corresponds to prompt 260-1
  • icon 229 corresponds to prompt 260-2
  • icon 227 corresponds to prompt 260-3.
  • the prompt may be located at the upper left of the icon of the corresponding application program, or may be located at the upper right, or displayed in the center, which is not limited in the embodiment of the present application.
  • the electronic device receives the user's click operation on the prompt 260-1, and in response to the user's operation, the electronic device separately displays the icon 225 corresponding to the prompt 260-1.
  • the display position of the icon 225 may be the same as the display position of the original icon 225. It should be noted that the display position of the original icon 225 may refer to the user interface exemplarily shown in FIG. 2A.
  • the electronic device receives the user's operation on the display area other than the prompt 260-2 and the prompt 260-3 in the user interface 31 (the example is a click operation), and responds to the The user's operation, the electronic device displays the fusion icon 701 including the icon 229 corresponding to the prompt 260-2 and the icon 227 corresponding to the prompt 260-3, and generates a split screen interface corresponding to the new fusion icon 701, and deletes the original fusion icon 613 The corresponding split screen interface.
  • the newly generated split-screen interface includes the interface of the application corresponding to the icon 229 and the interface of the application corresponding to the icon 227.
  • the fusion icon 701 may be used to receive a user's operation, and in response to the user's operation, the electronic device displays a split screen interface corresponding to the fusion icon 701.
  • the position relationship between the icon 227 and the icon 229 in the new fusion icon 701 is consistent with the position relationship between the icon 227 and the icon 229 in the original fusion icon 613.
  • the positional relationship between the interface of the application program corresponding to the icon 229 in the newly generated split screen interface and the interface of the application program corresponding to the icon 227 is consistent with the positional relationship between the icon 227 and the icon 229 in the new fusion icon 701.
  • the user can also continue to operate the prompt 260-2 (or the prompt 260-3), and in response to the user's operation, the electronic device separately displays the icon 227 and icon 229, and delete the split screen interface corresponding to the fusion icon 613.
  • the display position of the icon 227 is the same as the display position of the original icon 227
  • the display position of the icon 229 is the same as the display position of the original icon 229.
  • the display position of the original icon 227 and the display position of the original icon 229 can also refer to the user interface exemplarily shown in FIG. 2A.
  • the fusion icon may contain more than two application icons
  • the electronic device receives a user's operation on the fusion icon 613 (icons containing three application programs), and in response to the user's operation, the electronic device displays a window 703 on the user interface 31.
  • 703 includes the icon 225 of the gallery, the icon 229 of QQ, the icon 227 of WeChat, and the prompt message 705.
  • the electronic device receives the user's sliding operation on the icon 229 of QQ (it can also be other operations, and this is only an example), and in response to the user's operation, the electronic device starts from the window 703 Delete icon 229.
  • the electronic device will display the icon 229 separately, and the display position of the icon 229 may be the same as the display position of the original icon 229.
  • the electronic device receives a user's operation on the display area other than the window 703 in the user interface 31 (an example is a click operation), and in response to the user's operation, the electronic device no longer displays the window 703, and display the icon 229 and the new fusion icon 705 in the user interface 31, generate a split screen interface corresponding to the new fusion icon 705, and delete the split screen interface corresponding to the original fusion icon 613.
  • the newly generated split-screen interface includes the interface of the application corresponding to the icon 225 and the interface of the application corresponding to the icon 227.
  • the fusion icon 705 may be used to receive a user's operation, and in response to the user's operation, the electronic device displays a split screen interface corresponding to the fusion icon 705.
  • the position relationship between the icon 225 and the icon 227 in the new fusion icon 705 is consistent with the position relationship between the icon 225 and the icon 227 in the original fusion icon 613.
  • the positional relationship between the interface of the application program corresponding to the icon 225 in the newly generated split screen interface and the interface of the application program corresponding to the icon 227 is consistent with the positional relationship between the icon 225 and the icon 227 in the new fusion icon 705.
  • the user can also continue to slide up the icon 225 (or icon 227), and in response to the user's operation, the electronic device no longer displays the window 703, and The icon 227 and the icon 225 are separately displayed in the user interface 31. It should be noted that the electronic device deletes the split screen interface corresponding to the fusion icon 613.
  • the display position of the icon 227 is the same as the display position of the original icon 227, and the display position of the icon 225 is the same as the display position of the original icon 225.
  • 8E-8G exemplarily show schematic diagrams of some user interfaces for releasing the split screen.
  • a fusion icon 250 and a fusion icon 613 are displayed in the user interface 21, and the icons of applications included in the two fusion icons, that is, an icon 227, an icon 229, and an icon 225, are displayed separately.
  • the electronic device detects a user's operation on the fusion icon 250 (for example, a long press operation, a press operation, etc.), and in response to the user's operation, the electronic device is on the fusion icon 250
  • the prompt 260-4 is displayed.
  • the prompt may be located at the upper left of the fusion icon 250, may also be located at the upper right, or displayed in the center, which is not limited in the embodiment of the present application.
  • the electronic device may display a prompt on all the fusion icons in the main interface. For example, if this method is adopted, in the user interface 21, prompts are displayed on both the fusion icon 250 and the fusion icon 613.
  • the electronic device detects the user's click operation on the prompt 260-4, and in response to the user's operation, the electronic device no longer displays the fusion icon 250, and deletes the score corresponding to the fusion icon 250 Screen interface.
  • the fusion icon 613 can be moved to a display position vacated by the original fusion icon 250. Through this way of releasing the split screen, the user can easily delete each split screen interface that has been formed.
  • Figures 9A-9D exemplarily show schematic diagrams of some user interfaces for generating folders.
  • the electronic device receives the operation input by the user for the icon 227 of WeChat.
  • the operation is an operation of moving the icon 227 to the vicinity of the icon 229 of QQ.
  • the electronic device Four prompts are displayed around the icon 229. The four prompts are: prompt 228-1 (located to the left of icon 229), prompt 228-2 (located above icon 229), and prompt 228-3 ( Located to the right of icon 229) and prompt 228-4 (located below icon 229).
  • the electronic device detects that the user's finger coordinates fall within the preset area of the icon 229, the electronic device displays a folder prompt box 901.
  • the folder prompt box 901 is used to prompt the user to generate a folder containing the icon 227 and the icon 229.
  • the preset area of the icon 229 may be an area composed of pixels inside the icon 229 and whose distance from the edge of the icon 229 is less than a preset value.
  • FIG. 3H is a schematic diagram of a neighborhood and a preset area of an application icon provided by an embodiment of the present application.
  • the electronic device when the electronic device detects that the user's finger coordinates fall within the preset area of the icon 229 for a duration not less than a preset value (for example, 0.5 second, 1 second, etc.), The electronic device displays a folder 903 and an input box 905. Among them, the icon 227 and the icon 229 are displayed in the folder 903, and the preset name “social” of the folder is displayed in the input box 905.
  • the preset name may be determined by the type of the application program corresponding to the icon 227 and the icon 229.
  • the input box 905 can also receive text information input by the user (it can also be information such as symbols and emoticons), and in response to the user's operation, the electronic device saves the text information as the name of the folder 903.
  • the preset name of the folder may not be displayed in the input box.
  • the process of generating the folder prompt box 901 exemplarily shown in Figs. 9B to 9C can also refer to the process exemplarily shown in Fig. 9B to Fig. 9E, and then to Fig. 9F.
  • the electronic device detects the user The input shaking operation of the icon 227, the electronic device no longer displays the prompt.
  • the shaking operation may include a left-right shaking operation (may also be accompanied by the up and down movement of the icon 227, which is not restricted here), and a vertical shaking operation (may also be accompanied by the left and right movement of the icon 227, which is not restricted here). In this way, the electronic device can be more prepared to determine the user's intention, and improve the accuracy of the split-screen display.
  • the user continues to move the icon 227 to the right.
  • the electronic device detects that the user's finger coordinates fall within the preset area of the icon 229, the electronic device displays a folder prompt box 901.
  • FIG. 10 shows a schematic flowchart of a screen splitting method provided in an embodiment of the present application. As shown in Figure 10, the method includes:
  • the electronic device displays a plurality of application icons on the main interface.
  • the plural number is an integer greater than 1.
  • Application can also be called application, software and other names.
  • the main interface of the electronic device displaying icons of multiple applications may refer to the user interface 21 shown in FIG. 2A or the user interface 31 shown in FIG. 2C.
  • the electronic device receives a long press operation or a press operation of the icon of the first application by the user, and the first application belongs to the plurality of applications.
  • the icon of the first application may be the icon 227 in the embodiment corresponding to FIG. 4C.
  • the long press operation or pressing operation may be a touch operation on the icon 227.
  • the electronic device In response to the long press operation or the pressing operation, the electronic device displays a plurality of first prompts around the icon of one or more second-type applications.
  • the one or more second-type applications are applications that support split screen among the plurality of applications, and the first prompt is used to prompt that the one or more second-type applications support split screen.
  • the icons of the multiple second-type applications displayed in FIG. 4C include: icon 229, icon 233, icon 235, and icon 225.
  • the icons of the multiple second-type applications displayed in FIG. 4C include: icon 229, icon 233, icon 235, and icon 225.
  • four first prompts are displayed around the icon 229 of a second-type application in FIG. 4C.
  • the four first prompts are: prompt 228-1 (located to the left of icon 229) ), prompt 228-2 (located above the icon 229), prompt 228-3 (located to the right of the icon 229), and prompt 228-4 (located below the icon 229).
  • the electronic device may display a plurality of first prompts around the first application, and the first prompts are used to prompt that the first application can support split screen.
  • the icon of the first application is the WeChat icon 227
  • the four seventh prompts displayed around the icon of the first application are: prompt 230-1 (located on the left of the icon 227 ), prompt 230-2 (located above the icon 227), prompt 230-3 (located to the right of the icon 227), and prompt 230-4 (located below the icon 227).
  • the electronic device may not display the first prompt around the first application, which is not limited in this embodiment of the application.
  • the electronic device receives a first operation of the user acting on the icon of the first application, where the first operation is dragging the icon of the first application to contact the first prompt of the icon of the third application.
  • the third application is one of the one or more second-type applications.
  • the first operation may be to touch the icon 227 with the first prompt 228-1 of the icon 229 in the embodiment shown in FIGS. 4C to 4D.
  • the third application is QQ corresponding to icon 229.
  • the electronic device switches from displaying the main interface to displaying the first split screen interface,
  • the first split screen interface includes both the interface of the first application and the interface of the third application.
  • the main interface may be the user interface 21 shown in FIG. 4D
  • the first split screen interface may be the user interface 22 shown in FIG. 3C.
  • the interface of the first application included in the first split screen interface is the interface of WeChat
  • the interface of the third application is the interface of QQ.
  • the switching the electronic device from displaying the main interface to displaying the first split-screen interface in response to releasing the first operation includes: before releasing the first operation, detecting the first The contact duration between the icon of the application and the first prompt of the icon of the third application is not less than a preset value, and in response to releasing the first operation, the electronic device switches from displaying the main interface to displaying the first split screen interface .
  • the first operation may be to touch the icon 227 with the first prompt 228-1 of the icon 229 in the embodiment shown in FIGS. 4C to 4D.
  • the third application is QQ corresponding to icon 229.
  • the preset value can be 0.5 seconds, 1 second, and other time values.
  • the manner of releasing the first operation may be that the user's finger leaves the display screen 194 of the electronic device, and the electronic device can detect whether the user's finger leaves the display screen through the touch sensor 180K. In this way, the user can keep the icon of the first application in contact with the first prompt of the third application for a period of time (not less than the preset value).
  • the electronic device displays the main interface Switch to the display split screen interface. In this way, the user's intention to split the screen can be better determined, and the accuracy of the split screen can be improved.
  • the method further includes: a first position of the electronic device relative to the icon of the third application according to the first prompt in contact with the icon of the first application, where the first position includes One of the left, right, top, and bottom determines the second position of the interface of the first application in the first split screen interface relative to the interface of the third application, where the second position and the first position the same.
  • the icon of the first application may be the icon 227 in FIG. 3F
  • the icon of the third application may be the icon 337 in FIG. 3F
  • the first split screen interface may be the user interface 23 in FIG. 3G.
  • the specific content Reference may be made to the embodiments shown in FIG. 3F to FIG. 3G, which will not be repeated here.
  • the user can determine the position relationship between the third application interface and the first application interface in the split screen interface by controlling the position relationship between the icon of the third application and the icon of the first application, and further improve the efficiency of the split screen operation.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the split screen direction supported by the electronic device is the left-right direction, and the A first prompt is displayed on the left and right of each of the one or more second-type application icons.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the split screen direction supported by the electronic device is an up-down direction, and A first prompt is displayed above and below each of the one or more second-type application icons.
  • the icon of a second type of application may be the icon 229 in FIG. 3E or FIG. 3F.
  • the icon 229 displays the first icon 228-2 above, and below the icon 229 displays 228-4. In this way, it is convenient for the user to understand the direction in which the electronic device supports split screen.
  • the electronic device displays a plurality of first prompts around the icon of one or more second-type applications, including: detecting that the direction in which the electronic device supports split screen is the left-right direction and the up-down direction , A first prompt is displayed on the left, right, above, and below of each icon of the one or more second-type application icons.
  • the method further includes: the icon of the third application adsorbs the icon of the first application, so that the first application An edge of the icon of an application is in contact with an edge of the icon of the third application.
  • the icon of the third application adsorbs the icon of the first application, refer to the introduction of the magnetic attraction effect in the embodiment shown in FIGS. 3A to 3B.
  • the method further includes: the electronic device receives a second operation, and in response to the second operation, the electronic device switches from displaying the first split-screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, and the main interface does not include the icon of the first application and the icon of the third application, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon Is an icon obtained by fusing the icon of the third application with the icon of the first application; receiving a third operation acting on the first fusion icon located on the main interface, and in response to the third operation, the electronic device displays The first split screen interface.
  • the first fusion icon may refer to the fusion icon 250 in FIG. 5A
  • the main interface may refer to the user interface 21 shown in FIG. 5A
  • the third operation may be an operation of clicking the fusion icon 250.
  • the embodiment shown in FIG. 5A which will not be repeated here.
  • the method further includes: the electronic device receives a fourth operation, and in response to the fourth operation, the electronic device switches from displaying the first split-screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon is an icon obtained by fusing the icon of the third application with the icon of the first application; A fifth operation that acts on the first fusion icon located on the main interface is received, and in response to the fifth operation, the electronic device displays the first split screen interface.
  • the first integrated icon may refer to the integrated icon 250 in FIG. 5B
  • the icon of the first application may refer to the WeChat icon 227 in FIG.
  • the icon of the third application may refer to the QQ icon in FIG. 5B.
  • Icon 229 the main interface may refer to the user interface 21 shown in FIG. 5B, and the fifth operation may be an operation of clicking the fusion icon 250.
  • the fifth operation may be an operation of clicking the fusion icon 250.
  • FIG. 5B For specific content, please refer to the embodiment shown in FIG. 5B, which will not be repeated here.
  • the position of the icon of the first application in the first fusion icon relative to the icon of the third application is the same as that of the interface of the first application in the first split screen interface relative to the third application.
  • the location of the application interface is the same.
  • the first fusion icon may refer to the fusion icon 250 in FIG. 5A
  • the first split screen interface may refer to the user interface 22 shown in FIG. 3C. In this way, it is convenient for the user to understand the display position of each application interface in the split screen interface through the icon.
  • the method further includes: the electronic device receives a sixth operation of the user acting on the first fusion icon, and in response to the sixth operation, the electronic device displays the icon of the first application, the The icon of the third application and the second prompt; the electronic device receives the seventh operation of the user acting on the second prompt, and in response to the seventh operation, the electronic device deletes the first fusion icon from the main interface, And the icon of the first application and the icon of the third application are displayed in the main interface.
  • this manner can refer to the corresponding embodiment of FIGS.
  • the sixth operation may be a long-press operation for the fusion icon 250
  • the icon of the first application may be the icon 227
  • the third application The icon of can be icon 229
  • the second prompt can be prompt 260
  • the seventh operation can be a click operation on prompt 260.
  • the method further includes: the electronic device receives an eighth operation of the user on the first fusion icon, and in response to the eighth operation, the electronic device displays the first fusion icon on the first fusion icon.
  • Three prompts The electronic device receives the user's ninth operation on the third prompt, and the electronic device deletes the first fusion icon from the main interface.
  • this manner can refer to the corresponding embodiment of FIGS. 8E-8G, where the eighth operation may be a long-press operation on the fusion icon 250, the third prompt may be prompt 260-4, and the ninth prompt The operation can be a click operation on the prompt 260-4. Through this way of releasing the split screen, the user can easily delete each split screen interface that has been formed.
  • the main interface further includes an icon of a fourth application, where the fourth application belongs to the one or more second-type applications
  • the method further includes: the electronic device receives the user's action on the first application. 4. Long-press operation or pressing operation of the icon of the application; in response to the long-press operation or pressing operation, the electronic device removes the icons of the first application and the third application from the icons of the one or more second-type applications A plurality of the first prompts are displayed around the remaining icons of the, and a plurality of fourth prompts are displayed around the first fusion icon, and the fourth prompt is used to prompt that the split screen interface corresponding to the first fusion icon is still The interface of other applications can be added; the electronic device receives the tenth operation of the user acting on the icon of the fourth application, and the tenth operation is dragging the icon of the fourth application to touch the fourth prompt of the first fusion icon ; In response to the fourth application icon contacting the fourth prompt of the first fusion icon, or in response to releasing the ten
  • the fourth prompt may be six prompts around the fusion icon 602, and the six prompts are: prompt 601-1, prompt 601-2 , Prompt 601-3, prompt 601-4, prompt 601-5 and prompt 601-6.
  • the tenth operation may be that the icon 225 contacts the prompt 601-2.
  • the second split screen interface may be the split screen interface shown in FIG. 6B, where the fourth application is a gallery, the third application is QQ, and the first application is WeChat.
  • the main interface further includes an icon of a fourth application, where the fourth application belongs to the one or more second-type applications
  • the method further includes: the electronic device receives the user's action on the first application.
  • the electronic device receives the user's action on the first application.
  • Four long-press operation or pressing operation of the icon of the application in response to the long-press operation or pressing operation, the electronic device displays a plurality of the first prompts around the icon of the one or more second-type applications, and A plurality of fourth prompts are displayed around the first fusion icon, and the fourth prompt is used to prompt that the split screen interface corresponding to the first fusion icon can also be added to the interface of other applications; the electronic device receives the user's action on the first fusion icon.
  • the eleventh operation of the icon of the fourth application is to drag the icon of the fourth application to touch the fourth prompt of the first fusion icon; in response to the icon of the fourth application and the first fusion
  • the fourth prompt of the icon is touched, or in response to the release of the eleventh operation, the electronic device switches from displaying the main interface to displaying the second split-screen interface, and the second split-screen interface also includes the interface of the fourth application, The interface of the first application and the interface of the third application.
  • the method further includes: a third position of the electronic device relative to the first fusion icon according to a fourth prompt in contact with the icon of the fourth application, where the third position includes the left One of square, right, top, bottom, top left, top right, bottom left, and bottom right determines the fourth position of the fourth application interface in the second split screen interface in the second split screen interface, Wherein, the fourth position is the same as the third position.
  • this method may refer to the embodiments corresponding to FIGS. 6A-6B, or FIGS. 6E-6F.
  • the displaying a plurality of the fourth prompts around the first fusion icon includes: detecting that the split screen directions supported by the electronic device are up and down and left and right directions, and only in the same direction Two split-screen interfaces are supported, and a fourth prompt is displayed on the upper left, upper right, lower left, and lower right of the first fusion icon.
  • This way can refer to the introduction in Fig. 6A-6B. In this way, users can easily understand which directions in the already formed split-screen interface can also add new application program interfaces.
  • the method further includes: the electronic device receives a twelfth operation, and in response to the twelfth operation, the electronic device switches from displaying the second split-screen interface to displaying the main interface, wherein ,
  • the main interface further includes a second fusion icon, and the main interface does not include the icon of the first application, the icon of the third application, and the first fusion icon, and the second fusion icon does not belong to the plurality of applications Icon, the second fusion icon is the icon obtained by fusing the icon of the third application, the icon of the first application, and the icon of the fourth application; receiving the icon that acts on the second fusion icon located on the main interface
  • the thirteenth operation in response to the thirteenth operation, the electronic device displays the second split screen interface.
  • the main interface may refer to the user interface 31 shown in Fig. 6D.
  • the second fusion icon may be the fusion icon 609; the main interface may also refer to the user interface 31 shown in FIG. 6G. Wherein, the second fusion icon may be the fusion icon 613.
  • the method further includes: the electronic device receives a fourteenth operation, and in response to the fourteenth operation, the electronic device switches from displaying the second split screen interface to displaying the main interface, wherein ,
  • the main interface also includes a second fusion icon; the first fusion icon does not belong to the icons of the plurality of applications, and the second fusion icon is the icon of the third application, the icon of the first application, and the fourth application.
  • the main interface may refer to the user interface 21 shown in FIG. 8E.
  • the second fusion icon may be the fusion icon 613.
  • the position of the icon of the fourth application in the second fusion icon is the same as the position of the interface of the fourth application in the second split screen interface.
  • this method may refer to the embodiments corresponding to FIGS. 6A-6B, or FIGS. 6E-6F.
  • the method further includes: the electronic device receives a sixteenth operation of the user acting on the second fusion icon, and in response to the sixteenth operation, the electronic device displays the icon of the first application , The icon of the third application, the icon of the fourth application, and three fifth prompts, wherein a fifth prompt corresponds to an icon of an application; the electronic device receives the icon of the third application by the user In the seventeenth operation of the fifth prompt, the electronic device deletes the second fusion icon from the main interface, and displays the icon of the third application and the third fusion icon in the main interface, the third fusion icon Icons that do not belong to the plurality of applications, the third fusion icon is an icon obtained by fusing the icon of the first application and the icon of the fourth application; receiving the first fusion icon acting on the third fusion icon located on the main interface Eighteenth operation, in response to the eighteenth operation, the electronic device displays a third split screen interface, and the third split screen interface includes both the interface of the first application and the interface of the
  • the first application is WeChat
  • the third application is Gallery
  • the fourth application is QQ.
  • icon 225 corresponds to prompt 260-1
  • icon 229 corresponds to prompt 260-2
  • icon 227 corresponds to prompt 260-3.
  • the seventeenth operation is the user's click operation on the prompt 260-1.
  • the third fusion icon is icon 701.
  • the method further includes: the electronic device receives a nineteenth operation of the user on the second fusion icon, and in response to the nineteenth operation, the electronic device performs the A sixth prompt is displayed on the second fusion icon, wherein a sixth prompt corresponds to a fusion icon; the electronic device receives the twentieth of the sixth prompt that the user acts on the second fusion icon Operation, the electronic device deletes the second fusion icon from the main interface. In this way, it is convenient for the user to delete multiple fusion icons contained in the main interface.
  • the main interface further includes an icon of a fifth application and an icon of a sixth application
  • the method further includes: the electronic device receives a long-press operation or pressing of the icon of the fifth application by the user Operation; in response to the long press operation or the pressing operation, the electronic device displays a plurality of the first prompts around the icon of one or more second-type applications; detecting that the user acts on the icon of the fifth application A shaking operation, in response to the shaking operation, the electronic device no longer displays the plurality of first prompts; detecting that the user drags the icon of the fifth application into the preset area of the icon of the sixth application, the electronic device generates A folder, where the icon of the fifth application and the icon of the sixth application are displayed in the folder.
  • the long press operation may refer to the touch operation on the icon 227 in FIG. 4C
  • the displayed icons of the multiple second-type applications include: icon 229, icon 233, icon 235, and icon 225.
  • the shaking operation can refer to the shaking operation in the embodiment shown in FIG. 9E.
  • the folder can refer to the folder 903 shown in FIG. 9D.
  • FIG. 9B to FIG. 9E please refer to FIG. 9B to FIG. 9E, and then to the detailed introduction in the embodiment of FIG. 9F and FIG. 9D, which will not be repeated here. In this way, the electronic device can be more prepared to determine the user's intention, and improve the accuracy of the split-screen display.
  • FIG. 11 shows a schematic flowchart of another screen splitting method provided in an embodiment of the present application. As shown in Figure 11, the method includes:
  • the electronic device displays a plurality of application icons on the main interface.
  • the main interface of the electronic device displaying icons of multiple applications may refer to the user interface 21 shown in FIG. 2A or the user interface 31 shown in FIG. 2C.
  • the electronic device receives a first operation of the user acting on the icon of the first application.
  • the first operation is moving the first application to the vicinity of the second application.
  • the first application and the second application belong to the plurality of applications. Applications.
  • the icon of the first application may be the icon 227 in FIG. 3A or 3B
  • the icon of the second application may be the icon 229 in FIG. 3A or 3B.
  • the first operation may be an operation of moving the icon of WeChat (icon 227) to the area near the icon of QQ (icon 229).
  • the electronic device displays a plurality of first prompts around the icon of the second application, and the first prompt is used to prompt the second application to support split screen.
  • the icon of the second application shown in FIG. 3C is an icon 229, where four first prompts are displayed around the icon 229.
  • the four first prompts are: Prompt 228-1 (located on the left of icon 229), prompt 228-2 (located above icon 229), prompt 228-3 (located on the right of icon 229) and prompt 228-4 (located on icon 229) Below).
  • the electronic device receives a second operation of the user acting on the icon of the first application, where the second operation is dragging the icon of the first application to contact the first prompt of the second application.
  • this manner can refer to the embodiments shown in FIGS. 3B to 3C, where the second operation is to continuously drag the icon 227 so that the icon 227 is in contact with the prompt 228-1.
  • the electronic device switches from displaying the main interface to displaying the first split screen interface,
  • the first split screen interface includes both the interface of the first application and the interface of the second application.
  • this way can refer to the embodiment shown in FIGS. 3B to 3C, wherein the first prompt of the icon of the first application and the icon of the second application are in contact with each other to maintain the icon of the first application and The first prompt is in contact, and the duration of contact is not less than the preset value.
  • the main interface is the user interface 21 shown in FIG. 3B
  • the first split screen interface is the user interface 22 shown in FIG. 3C.
  • the first application is WeChat and the second application is QQ.
  • the switching of the electronic device from displaying the main interface to displaying the first split-screen interface in response to releasing the second operation includes: before releasing the second operation, detecting that the first The contact duration between the icon of the application and the first prompt of the icon of the second application is not less than the preset value, and in response to releasing the second operation, the electronic device switches from displaying the main interface to displaying the first split screen interface .
  • the second operation may be as shown in the embodiment of FIG. 3B, continuously dragging the icon 227, so that the icon 227 is in contact with the icon 229 prompt 228-1.
  • the icon of the first application is 227, and the icon of the second application is 229.
  • the method further includes: a first position of the electronic device relative to the icon of the second application according to the first prompt in contact with the icon of the first application, where the first position includes One of the left, right, top, and bottom; determining the second position of the interface of the first application in the first split-screen interface relative to the interface of the second application, where the second position and the first position the same.
  • the icon of the first application may be the icon 227 in FIG. 3F
  • the icon of the second application may be the icon 337 in FIG. 3F
  • the first split-screen interface may be the user interface 23 in FIG. 3G.
  • the specific content Reference may be made to the embodiments shown in FIG. 3F to FIG. 3G, which will not be repeated here.
  • the user can determine the positional relationship between the second application interface and the first application interface in the split screen interface by controlling the positional relationship between the icon of the second application and the icon of the first application, thereby further improving the efficiency of the split screen operation.
  • the method further includes: the electronic device receives a third operation, and in response to the third operation, the electronic device switches from displaying the first split screen interface to displaying the main interface, wherein the The main interface also includes a first fusion icon, and the main interface does not include the icon of the first application and the icon of the second application, the first fusion icon does not belong to the icons of the plurality of applications, and the first fusion icon In order to obtain the icon obtained by fusing the icon of the second application with the first application; receiving a fourth operation acting on the first fusion icon located on the main interface, and in response to the fourth operation, the electronic device displays the first A split screen interface.
  • the first fusion icon may refer to the fusion icon 250 in FIG. 5A
  • the main interface may refer to the user interface 21 shown in FIG. 5A
  • the third operation may be an operation of clicking the fusion icon 250.
  • the embodiment shown in FIG. 5A which will not be repeated here.
  • the method further includes: the electronic device receives a fifth operation of the user acting on the first fusion icon, and in response to the fifth operation, the electronic device displays the icon of the first application, the The icon of the second application and the second prompt; the electronic device receives the user's sixth operation on the second prompt, and in response to the sixth operation, the electronic device deletes the first fusion icon from the main interface, And the icon of the first application and the icon of the second application are displayed in the main interface.
  • this way can refer to the corresponding embodiment of FIGS.
  • the fifth operation may be a long-press operation for the fusion icon 250
  • the icon of the first application may be the icon 227
  • the second application The icon of may be icon 229
  • the second prompt may be prompt 260
  • the sixth operation may be a click operation on prompt 260.
  • the main interface further includes an icon of a fifth application and an icon of a sixth application
  • the method further includes: the electronic device receives a sixth operation of the user acting on the icon of the fifth application, the The sixth operation is to move the fifth application to the vicinity of the sixth application; in response to the sixth operation, the electronic device displays a plurality of third prompts around the icon of the sixth application, the third prompt It is used to prompt that the sixth application supports split screen; the user's shaking operation on the icon of the fifth application is detected, and in response to the shaking operation, the electronic device no longer displays the plurality of third prompts; it is detected that the user drags The icon of the fifth application is moved to enter the preset area of the icon of the sixth application, and the electronic device generates a folder, wherein the icon of the fifth application and the icon of the sixth application are displayed in the folder.
  • the shaking operation may refer to the shaking operation in the embodiment shown in FIG. 9E.
  • the folder can refer to the folder 903 shown in FIG. 9D.
  • FIGS. 9A, 9B to 9E and then to the detailed introduction in the embodiments of FIGS. 9F and 9D, which will not be repeated here.
  • the electronic device can be more prepared to determine the user's intention, and improve the accuracy of the split-screen display.
  • each possible implementation manner in the embodiment corresponding to FIG. 10 can be applied to the embodiment corresponding to FIG. 11 and the possible implementation manners corresponding to the embodiment provided that there is no conflict with the embodiment corresponding to FIG. 11 in.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种分屏方法及电子设备,该方法包括:用户界面中显示多个应用的图标,若电子设备接收到用户对第一应用的图标的输入的操作,则在该用户界面中的多个可支持分屏的应用的图标的周围的显示第一提示符,该第一提示符用于提示这些应用支持分屏;之后,若电子设备检测到用户再将该第一应用的图标与第三应用的图标的第一提示符相接触,则显示同时包含该第一应用的界面和该第三应用的界面的分屏界面,该第三应用为多个可支持分屏应用中的一个。该方法使得用户可以方便的进入第一应用与第三应用的分屏界面,提升分屏的效率。

Description

一种分屏方法及电子设备
本申请要求在2019年6月30日提交中国国家知识产权局、申请号为201910583873.2的中国专利申请的优先权,发明名称为“一种分屏方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及人机交互领域,尤其涉及一种分屏方法、图形用户界面及电子设备。
背景技术
随着大屏、折叠屏及柔性屏的不断发展,智能终端上的屏幕尺寸越来越大,一块屏幕可以包含的内容逐渐增多。用户可以通过分屏技术让一块屏幕中显示多个窗口,从而对多个应用程序进行操作,例如,用户设置了微信和QQ两个应用程序的分屏显示,那么用户可以同时查看到微信和QQ两个应用程序中的信息。
现有技术中,要使得两个应用程序在一个屏幕中显示,需要用户在一个应用程序的显示界面中,输入分屏指令(例如两个手指头从屏幕底端向上方滑动),响应于该分屏指令,智能终端显示两个窗口,一个窗口显示该一个应用程序,另一个窗口显示智能终端的主界面(Home screen)。之后,需要用户在主界面中查找想要分屏显示的另一个应用程序的图标,响应于该用户对该应用图标的操作(例如,点击操作),智能终端对这两个应用程序进行分屏显示。上述触发智能终端对应用程序进行分屏显示的过程中,需要用户进行多次操作,触发分屏显示的效率较低。
发明内容
本申请实施例提供一种分屏方法及电子设备,可以提升分屏显示的效率。
第一方面,本申请实施例提供了一种分屏方法,该方法包括:电子设备在主界面中显示复数个应用的图标;该电子设备接收用户作用于第一应用的图标的长按操作或按压操作,该第一应用属于该复数个应用;响应于该长按操作或按压操作,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,其中,该一个或多个第二类应用为该复数个应用中支持分屏的应用,该第一提示符用于提示该一个或多个第二类应用支持分屏;该电子设备接收用户作用于该第一应用的图标的第一操作,该第一操作为拖动该第一应用的图标与第三应用的图标的第一提示符接触;响应于该第一应用的图标与该第三应用的图标的第一提示符接触,或响应于释放该第一操作,该电子设备由显示该主界面切换为显示第一分屏界面,该第一分屏界面同时包括该第一应用的界面和该第三应用的界面。通过这种方式,用户可以方便的进入第一应用与第三应用的分屏界面,提升分屏的效率。
在一种可能的实现方式中,该响应于释放该第一操作,该电子设备由显示该主界面切换为显示第一分屏界面,包括:在释放该第一操作之前,检测到该第一应用的图标与该第三应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放该第一操作,该电子设备由显示该主界面切换为显示该第一分屏界面。通过这种方式,用户可以通过保持第一应用的图标与第三应用的第一提示符的接触持续一段时间(不小于预设值),在用户释放第一操作之 后,电子设备从显示主界面切换到显示分屏界面。通过这种方式,能够更好的判定用户的分屏意图,提升分屏的准确性。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第一应用的图标相接触的第一提示符相对于该第三应用的图标的第一位置,该第一位置包括左方、右方、上方和下方中的一个,确定该第一分屏界面中第一应用的界面相对于该第三应用的界面的第二位置,其中,该第二位置与该第一位置相同。通过这种方式,用户可以通过控制第三应用的图标与第一应用的图标的位置关系,确定分屏界面中第三应用界面与第一应用界面的位置关系,进一步提升分屏操作的效率。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持的分屏方向为左右方向,在该一个或多个第二类应用的图标中的每一个图标的左方和右方分别显示一个第一提示符。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持的分屏方向为上下方向,在该一个或多个第二类应用的图标中的每一个图标的上方和下方分别显示一个第一提示符。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持分屏的方向为左右方向和上下方向,在该一个或多个第二类应用的图标中的每一个图标的左方、右方、上方和下方分别显示一个第一提示符。通过上述三种方式,可以方便用户了解该电子设备支持分屏的方向。
在一种可能的实现方式中,在该电子设备接收该第一操作之后,在释放该第一操作之前,该方法还包括:该第三应用的图标吸附该第一应用的图标,使得该第一应用的图标的一条边缘与该第三应用的图标的一条边缘接触。
在一种可能的实现方式中,该方法还包括:该电子设备接收第二操作,响应于该第二操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,且该主界面中不包括该第一应用的图标和该第三应用的图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第三应用的图标和该第一应用的图标融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第三操作,响应于该第三操作,该电子设备显示该第一分屏界面。
在一种可能的实现方式中,该方法还包括:该电子设备接收第四操作,响应于该第四操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第三应用的图标和该第一应用的图标融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第五操作,响应于该第五操作,该电子设备显示该第一分屏界面。
在一种可能的实施方式中,该第一融合图标中第一应用的图标相对于该第三应用的图标的位置,与该第一分屏界面中该第一应用的界面相对于该第三应用的界面的位置相同。通过这种方式,可以方便用户通过图标了解到,分屏界面中各个应用界面的显示位置。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第六操作,响应于该第六操作,该电子设备显示该第一应用的图标、该第三应用的图标和第二提示符;该电子设备接收用户作用于该第二提示符的第七操作,响应于该第七操作,该电子设备从该主界面中删除该第一融合图标,并在该主界面中显示该第一应用的图标和该第三应用的图标。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第八操作,响应于该第八操作,该电子设备在该第一融合图标上显示第三提示符;该电子设备接收用户作用于该第三提示符的第九操作,该电子设备从该主界面中删除该第一融合图标。通过这种解除分屏方式,用户可以方便的对已形成的各个分屏界面进行删除。
在一种可能的实现方式中,该主界面还包括第四应用的图标,其中,该第四应用属于该一个或多个第二类应用,该方法还包括:该电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在该一个或多个第二类应用的图标中除该第一应用和该第三应用的图标的剩余图标的周围显示复数个该第一提示符,并且在该第一融合图标的周围显示复数个第四提示符,该第四提示符用于提示该第一融合图标对应的分屏界面还可以加入其他应用的界面;该电子设备接收用户作用于该第四应用的图标的第十操作,该第十操作为拖动该第四应用的图标与该第一融合图标的第四提示符接触;响应于该第四应用的图标与该第一融合图标的第四提示符接触,或响应于释放该第十操作,该电子设备由显示该主界面切换为显示第二分屏界面,该第二分屏界面同时包括该第四应用的界面、该第一应用的界面和该第三应用的界面。
在一种可能的实现方式中,该主界面还包括第四应用的图标,其中,该第四应用属于该一个或多个第二类应用,该方法还包括:该电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在该一个或多个第二类应用的图标的周围显示复数个该第一提示符,并且在该第一融合图标的周围显示复数个第四提示符,该第四提示符用于提示该第一融合图标对应的分屏界面还可以加入其他应用的界面;该电子设备接收用户作用于该第四应用的图标的第十一操作,该第十一操作为拖动该第四应用的图标与该第一融合图标的第四提示符接触;响应于该第四应用的图标与该第一融合图标的第四提示符接触,或响应于释放该第十一操作,该电子设备由显示该主界面切换为显示第二分屏界面,该第二分屏界面同时包括该第四应用的界面、该第一应用的界面和该第三应用的界面。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第四应用的图标相接触的第四提示符相对于该第一融合图标的第三位置,该第三位置包括左方、右方、上方、下方、左上方、右上方、左下方和右下方中的一个,确定该第二分屏界面中第四应用的界面在该第二分屏界面中的第四位置,其中,该第四位置与该第三位置相同。
在一种可能的实现方式中,该在该第一融合图标的周围显示复数个该第四提示符,包括:检测该电子设备支持的分屏方向为上下方向和左右方向,且同一方向上仅支持显示两个分屏界面,则在该第一融合图标的左上方、右上方、左下方和右下方分别显示一个第四提示符。通过这种方式,用户可以方便地了解到已形成的分屏界面中,哪些方向还可以加入新的应用程序界面。
在一种可能的实现方式中,该方法还包括:该电子设备接收第十二操作,响应于该第十二操作,该电子设备从显示该第二分屏界面切换至显示该主界面,其中,该主界面中还包括第二融合图标,且该主界面中不包括该第一应用的图标、该第三应用的图标和该第一融合图标,该第二融合图标不属于该复数个应用的图标,该第二融合图标为将该第三应用的图标、该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第二融合图标的第十三操作,响应于该第十三操作,该电子设备显示该第二分屏界面。
在一种可能的实施方式中,该方法还包括:该电子设备接收第十四操作,响应于该第十 四操作,该电子设备从显示该第二分屏界面切换至显示该主界面,其中,该主界面中还包括第二融合图标;该第一融合图标不属于该复数个应用的图标,该第二融合图标为将该第三应用的图标、该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第二融合图标的第十五操作,响应于该第十五操作,该电子设备显示该第二分屏界面。
在一种可能的实现方式中,该第四应用的图标在该第二融合图标中的位置,与该第四应用的界面在该第二分屏界面中的位置相同。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第二融合图标的第十六操作,响应于该第十六操作,该电子设备显示该第一应用的图标、该第三应用的图标、该第四应用的图标和三个第五提示符,其中,一个第五提示符与一个应用的图标相对应;该电子设备接收用户作用于该第三应用的图标的第五提示符的第十七操作,该电子设备从该主界面中删除该第二融合图标,并在该主界面中显示该第三应用的图标和第三融合图标,该第三融合图标不属于该复数个应用的图标,该第三融合图标为将该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第三融合图标的第十八操作,响应于该第十八操作,该电子设备显示第三分屏界面,该第三分屏界面同时包括该第一应用的界面和该第四应用的界面。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第二融合图标的第十九操作,响应于该第十九操作,该电子设备在该第一融合图标和该第二融合图标上分别显示一个第六提示符,其中,一个第六提示符与一个融合图标相对应;该电子设备接收用户作用于该第二融合图标上的第六提示符的第二十操作,该电子设备从该主界面中删除该第二融合图标。通过这种方式,可以方便用户对主界面中包含的多个融合图标进行删除操作。
在一种可能的实现方式中,该主界面还包括第五应用的图标以及第六应用的图标,该方法还包括:该电子设备接收用户作用于该第五应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在一个或多个第二类应用的图标中的周围显示复数个该第一提示符;检测到用户作用于该第五应用的图标的晃动操作,响应于该晃动操作,该电子设备不再显示该复数个第一提示符;检测到用户拖动该第五应用的图标进入该第六应用的图标的预设区域,该电子设备生成文件夹,其中,该第五应用的图标和该第六应用的图标显示在该文件夹中。通过这种方式,电子设备可以更加准备地判断用户的意图,提升分屏显示的准确性。
第二方面,本申请实施例提供了一种分屏方法,该方法包括:电子设备在主界面中显示复数个应用的图标;该电子设备接收用户作用于第一应用的图标的第一操作,该第一操作为将该第一应用移动至第二应用的附近区域,该第一应用与该第二应用属于该复数个应用;响应于该第一操作,该电子设备在该第二应用的图标的周围显示复数个第一提示符,该第一提示符用于提示该第二应用支持分屏;该电子设备接收用户作用于该第一应用的图标的第二操作,该第二操作为拖动该第一应用的图标与该第二应用的第一提示符接触;响应于该第一应用的图标与该第二应用的图标的第一提示符接触,或响应于释放该第二操作,该电子设备由显示该主界面切换为显示第一分屏界面,该第一分屏界面同时包括该第一应用的界面和该第二应用的界面。通过这种方式,用户可以方便的进入第一应用与第三应用的分屏界面,提升分屏的效率。
在一种可能的实现方式中,该响应于释放该第二操作,该电子设备由显示该主界面切换为显示第一分屏界面,包括:在释放该第二操作之前,检测到该第一应用的图标与该第二应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放该第二操作,该电子设备由显示该主界面切换为显示该第一分屏界面。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第一应用的图标相接触的第一提示符相对于该第二应用的图标的第一位置,该第一位置包括左方、右方、上方和下方中的一个;确定该第一分屏界面中第一应用的界面相对于该第二应用的界面的第二位置,其中,该第二位置与该第一位置相同。通过这种方式,用户可以通过控制第二应用的图标与第一应用的图标的位置关系,确定分屏界面中第二应用界面与第一应用界面的位置关系,进一步提升分屏操作的效率。
在一种可能的实现方式中,该方法还包括:该电子设备接收第三操作,响应于该第三操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,且该主界面中不包括该第一应用的图标和该第二应用的图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第二应用的图标和该第一应用融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第四操作,响应于该第四操作,该电子设备显示该第一分屏界面。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第五操作,响应于该第五操作,该电子设备显示该第一应用的图标、该第二应用的图标和第二提示符;该电子设备接收用户作用于该第二提示符的第六操作,响应于该第六操作,该电子设备从该主界面中删除该第一融合图标,并在该主界面中显示该第一应用的图标和该第二应用的图标。
在一种可能的实现方式中,该主界面还包括第五应用的图标以及第六应用的图标,该方法还包括:该电子设备接收用户作用于该第五应用的图标的第六操作,该第六操作为将该第五应用移动至第六应用的附近区域;响应于该第六操作,该电子设备在该第六应用的图标的周围显示复数个第三提示符,该第三提示符用于提示该第六应用支持分屏;检测到用户作用于该第五应用的图标的晃动操作,响应于该晃动操作,该电子设备不再显示该复数个第三提示符;检测到用户拖动该第五应用的图标进入该第六应用的图标的预设区域,该电子设备生成文件夹,其中,该第五应用的图标和该第六应用的图标显示在该文件夹中。
需要说明的是,在与第二方面的方法不冲突的前提下,第一方面中的上述可能的实现方式可以适用于第二方面以及第二方面任一项可能的实现方式中的分屏方法。
第三方面,本申请提供了一种电子设备,包括一个或多个存储器、可折叠显示屏和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,该可折叠显示屏与该一个或多个处理器通信,该一个或多个存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该一个或多个处理器执行计算机指令时,使得电子设备执行上述第一方面以及该第一方面任一项可能的实现方式中的分屏方法。
第四方面,本申请提供了一种电子设备,包括一个或多个存储器、可折叠显示屏和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,该可折叠显示屏与该一个或多个处理器通信,该一个或多个存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该一个或多个处理器执行计算机指令时,使得电子设备执行上述第二方面以及该第二方面任一项可能的实现方式中的分屏方法。
第五方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面以及该第一方面任一项可能的实现方式中的分屏方法。
第六方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第二方面以及该第二方面任一项可能的实现方式中的分屏方法。
第七方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述第一方面以及该第一方面任一项可能的实现方式中的分屏方法。
第八方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述第二方面以及该第二方面任一项可能的实现方式中的分屏方法。
在本申请实施例中,电子设备的主界面中显示多个应用的图标,若电子设备接收到用户对第一应用的图标的输入的操作,则在该用户界面中的多个可支持分屏的应用的图标的周围的显示第一提示符,该第一提示符用于提示这些应用支持分屏;之后,若电子设备检测到用户再将该第一应用的图标与第三应用的图标的第一提示符相接触,则从显示主界面切换至显示同时包含该第一应用的界面和该第三应用的界面的分屏界面,该第三应用为多个可支持分屏应用中的一个。通过这种方式,用户可以方便的进入第一应用与第三应用的分屏界面,提升分屏的效率。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1A是本申请实施例提供的一种电子设备的结构示意图;
图1B是本申请实施例提供的一种电子设备的软件结构框图;
图2A是本申请实施例提供的一种电子设备显示的主界面的示意图;
图2B是本申请实施例提供的一种电子设备的示意图;
图2C是本申请实施例提供的又一种电子设备显示的主界面的示意图;
图3A-图3C是本申请实施例提供的一些用于分屏的用户界面示意图;
图3D是本申请实施例提供的一种提示符的示意图;
图3E-图3G是本申请实施例提供的又一些用于分屏的用户界面示意图;
图3H是本申请实施例提供的一种应用的图标的预设区域、附近区域的示意图;
图4A-图4B是本申请实施例提供的一些显示提示符的用户界面示意图;
图4C-图4D是本申请实施例提供的一些用于分屏的用户界面示意图;
图5A是本申请实施例提供的一种显示融合图标的用户界面的示意图;
图5B是本申请实施例提供的又一种显示融合图标的用户界面的示意图;
图6A-图6B是本申请实施例提供的又一些用于分屏的用户界面的示意图;
图6C是本申请实施例提供的一种分屏界面的示意图;
图6D是本申请实施例提供的又一种显示融合图标的用户界面的示意图;
图6E-图6F是本申请实施例提供的又一些用于分屏的用户界面示意图;
图6G是本申请实施例提供的又一种显示融合图标的示意图;
图6H是本申请实施例提供的又一种分屏界面的示意图;
图7A-图7C是本申请实施例提供的一些用于解除分屏的用户界面的示意图;
图7D-图7G是本申请实施例提供的又一些用于解除分屏的用户界面的示意图;
图8A-图8D是本申请实施例提供的又一些用于解除分屏的用户界面的示意图;
图8E-图8G是本申请实施例提供的又一些用于解除分屏的用户界面的示意图;
图9A-图9F是本申请实施例提供的一些用于生成文件夹的用户界面的示意图。
图10是本申请实施例提供的一种分屏方法的流程示意图;
图11是本申请实施例提供的又一种分屏方法的流程示意图。
具体实施方式
下面对本申请实施例中的技术方案进行更详细地描述。
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。以下介绍了电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2020098918-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面或触控面板的膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面或触控面板的台式计算机。
本申请的说明书和权利要求书及附图中的术语用户界面(user interface,UI),是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备300设备上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control),是用户界面的基本元素,典型的控件有按钮(button)、小工具(widget)、工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。此外,很多应用程序,比如混合应用(hybrid application)的界面中通常还包含有网页。网页,也称为页面,可以理解为内嵌在应用程序界面中的一个特殊的控件,网页是通过特定计算机语言编写的源代码,例如超文本标记语言(hyper text markup language,HTML),层叠样式表(cascading style sheets,CSS),java脚本(JavaScript,JS)等,网页源代码可以由浏览器或与浏览器功能类似的网页显示组件加载和显示为用户可识别的内容。网页所包含的具体内容也是通过网页源代码中的标签或者节点来定义的,比如HTML通过<p>、<img>、<video>、<canvas>来定义网页的元素和属性。
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、 窗口、控件等界面元素。
本申请以下实施例提供了一种分屏方法、图形用户界面及电子设备,使得用户可以通过对需要分屏显示的应用程序的图标执行操作的方式,快捷进入应用程序的分屏界面,操作直观且简单有效,可提高分屏显示的效率。
本申请以下实施例中,智能手机、平板电脑等电子设备可以接收用户针对第一应用的图标的长按操作或者按压操作(force touch),响应于该长按或者按压操作,电子设备在一个或多个第二应用的图标的周围显示复数(大于一的正整数)个第一提示符,该第一提示符用于提示该一个或多个第二应用可支持分屏操作。之后,用户可以拖动第一应用的图标与某一个第二应用的图标的第一提示符接触,响应于第一应用的图标与某一个第二应用的图标的第一提示符接触,电子设备可以显示同时包含有第二应用界面和第一应用界面的分屏界面。
在又一种可能的实施方式中,电子设备可以接收用户将第一应用的图标移动到一个第二应用的图标附近的操作,响应于该用户操作,电子设备在该一个第二应用的图标的周围显示复数(大于一的正整数)个第一提示符,该第一提示符用于提示该一个第二应用可支持分屏操作。之后,用户可以继续拖动第一应用的图标与某一个第二应用的图标的第一提示符接触,响应于第一应用的图标与某一个第二应用的图标的第一提示符接触,电子设备可以显示同时包含有第二应用界面和第一应用界面的分屏界面。
首先介绍本申请以下实施例中提供的示例性电子设备10。
图1A示出了电子设备10的结构示意图。
电子设备10可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,3D摄像模组193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180G,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备10的具体限定。在本申请另一些实施例中,电子设备10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),中央处理器(central processing unit,CPU),图形处理器(graphics processing unit,GPU),神经网络处理器(neural-network processing unit,NPU),调制解调处理器,图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备10也可以包括一个或多个处理器110。
其中,控制器可以是电子设备10的神经中枢和指挥中心。控制器可以根据指令操作码和 时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备10的效率。
在一些实施例中,处理器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)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,3D摄像模组193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备10的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,3D摄像模组193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和3D摄像模组193通过CSI接口通信,实现电子设备10的摄像功能。处理器110和显示屏194通过DSI接口通信,实现电子设备10的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与3D摄像模组193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备10充电,也可以用 于电子设备10与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备10的结构限定。在另一些实施例中,电子设备10也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备10的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,3D摄像模组193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备10的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备10中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备10上的包括无线局域网(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转为电磁波辐射出去。示例性地,无线通信模块160可以包括蓝牙模块、Wi-Fi模块等。
在一些实施例中,电子设备10的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备10可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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)。
电子设备10通过GPU,显示屏194,以及应用处理器等可以实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行指令以生成或改变显示信息。
显示屏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)等。在一些实施例中,电子设备10可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备10可以通过摄像模组193,ISP,视频编解码器,GPU,显示屏194以及应用处理器AP、神经网络处理器NPU等实现摄像功能。
摄像模组193可用于采集拍摄对象的彩色图像数据。ISP可用于处理摄像模组193采集的彩色图像数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像模组193中。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备10在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备10可以支持一种或多种视频编解码器。这样,电子设备10可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)-1,MPEG-2,MPEG-3,MPEG-4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备10的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备10的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐、照片、视频等数据保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备10执行本申请一些实施例中所提供的电子设备的拍照预览方法,以及各种功能应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备10使用过程中所创建的数据(比如照片,联系人等)。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备10可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备10可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备10接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备10可以设置至少一个麦克风170C。在另一些实施例中,电子设备10可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备10还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备10根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备10根据压力传感器180A检测所述触摸操作强度。电子设备10也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备10的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备10围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备10抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备10的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备10通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备10可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备10是翻盖机时,电子设备10可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备10在各个方向上(一般为三轴)加速度的大小。当电子设备10静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备10可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备10可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备10通过发光二极管向外发射红外光。电子设备10使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备10附近有物体。当检测到不充分的反射光时,电子设备10可以确定电子设备10附近没有物体。电子设备10可以利用接近光传感器180G检测用户手持电子设备10贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备10可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备10是否在口袋里,以防误触。
指纹传感器180G用于采集指纹。电子设备10可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备10利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备10执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备10对电池142加热,以避免低温导致电子设备10异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备10对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也可称触控面板或触敏表面。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备10的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获 取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备10可以接收按键输入,产生与电子设备10的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备10的接触和分离。电子设备10可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备10通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备10采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备10中,不能和电子设备10分离。
图1A示例性所示的电子设备10可以通过显示屏194显示以下各个实施例中所描述的各个用户界面。电子设备10可以通过触摸传感器180K在各个用户界面中检测触控操作,例如在各个用户界面中的点击操作(如在图标上的触摸操作、双击操作),又例如在各个用户界面中的向上或向下的滑动操作,或执行画圆圈手势的操作,等等。在一些实施例中,电子设备10可以通过陀螺仪传感器180B、加速度传感器180E等检测用户手持电子设备10执行的运动手势,例如晃动电子设备。在一些实施例中,电子设备10可以通过3D摄像模组193(如3D摄像头、深度摄像头)检测非触控的手势操作。
电子设备10的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备10的软件结构。
图1B是本申请实施例的电子设备10的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图1B所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图1B所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备10的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,G.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图1B所示的软件系统涉及到使用分享能力的应用呈现(如图库,文件管理器),提供分享能力的即时分享模块,提供打印能力的打印服务(print service)和打印后台服务(print spooler),以及应用框架层提供打印框架、WLAN服务、蓝牙服务,以及内核和底层提供WLAN蓝牙能力和基本通信协议。
下面结合捕获拍照场景,示例性说明电子设备10软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操 作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸操作,该触摸操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像模组193捕获静态图像或视频。
下面介绍电子设备10上的用于应用程序菜单的示例性用户界面。
图2A示例性示出了电子设备10上的一种用于显示应用程序菜单的用户界面21。
如图2A所示,用户界面21可包括:状态栏201,具有常用应用程序图标的托盘217,日历小工具213,天气小工具215,以及其他应用程序图标。其中:
状态栏201可包括:移动通信信号(又可称为蜂窝信号)的一个或多个信号强度指示符203、无线高保真(wireless fidelity,Wi-Fi)信号的一个或多个信号强度指示符205,电池状态指示符209、时间指示符211。
日历小工具213可用于指示当前时间,例如日期、星期几、时分信息等。
天气小工具215可用于指示天气类型,例如多云转晴、小雨等,还可以用于指示气温等信息。
具有常用应用程序图标的托盘217可展示:电话图标219、联系人图标221、短信图标223、相机图标225。
其他应用程序图标可例如:微信(Wechat)的图标227、QQ的图标229、推特(Twitter)的图标231、脸书(Facebook)的图标233、邮箱的图标235、云共享的图标237、备忘录的图标239、支付宝的图标221、图库的图标225、设置的图标227。用户界面21还可包括页面指示符229。其他应用程序图标可分布在其他页面。页面指示符429可用于指示页面数量,以及用户当前浏览的是哪一个页面,比如页面指示符429显示3个小圆点,并且第2个小圆点是黑色的,另外两个小圆点是白色的,表明当前手机包括3个页面,且用户正在浏览第2个页面。此外,用户可以在当前页面左右滑动,来浏览其他页面中的应用程序图标。
在一些实施例中,图2A示例性所示的用户界面21可以为主界面(Home screen)中的一个用户界面。
在其他一些实施例中,电子设备10还可以包括主屏幕键。该主屏幕键可以是实体按键,也可以是虚拟按键。该主屏幕键可用于接收用户的指令,响应于该用户的指令,将当前显示的UI返回到主界面,这样可以方便用户随时查看主屏幕。上述指令具体可以是用户单次按下主屏幕键的操作指令,也可以是用户在短时间内连续两次按下主屏幕键的操作指令,还可以是用户在预定时间内长按主屏幕键的操作指令。在本申请其他一些实施例中,主屏幕键还可以集成指纹识别器,以便用于在按下主屏幕键的时候,随之进行指纹采集和识别。
可以理解的是,图2A仅仅示例性示出了电子设备10上的用户界面,不应构成对本申请实施例的限定。
图2B示例性示出了一种电子设备10的示意图。
如图2B所示,电子设备10的显示屏194为折叠屏,通过对电子设备的折叠,显示屏194可以分为A屏和B屏两个部分。
对应于图2B示例性所示的电子设备10,图2C示例性示出了电子设备10上的又一种显 示应用程序菜单的用户界面22。需要说明的是,用户界面22中包含了A屏以及B屏显示的内容,图2C以一个平面的形式展现了显示屏194中包含的内容,但在实际场景中,图2C可以呈现在如图2B所示的折叠屏上,A屏中显示的内容与B屏显示的内容位于不同的平面上。特别的,当折叠屏展开到180度时,显示屏194显示的内容位于同一个平面上。其中,图2C中包含的元素可以与图2A中包含的元素相同,可参照上述图2A中的介绍。
下面将对本申请提供的一些分屏显示的实施例进行介绍。
图3A-图3C示例性示出了一些用于分屏的用户界面示意图。
在图3A-图3C示例性所示的实施例中,当用户将需要分屏显示的第一应用的图标移动到第二应用的图标周围时,电子设备在第二应用的图标上显示提示符;之后,若用户将第一应用的图标与第二应用的提示符相接触,并保持接触的持续时间不小于预设值,则电子设备显示包含有第二应用界面和第一应用界面的第一分屏界面。
如图3A示例性所示,电子设备接收用户输入的针对第一应用的图标(即,微信的图标227)的操作,该操作为将微信的图标移动到QQ的图标(即,QQ的图标229)附近区域的操作。响应于该操作,电子设备在图标229的周围显示四个提示符,具体的,这四个提示符为:提示符228-1(位于图标229的左方),提示符228-2(位于图标229的上方),提示符228-3(位于图标229的右方)和提示符228-4(位于图标229的下方)。这些提示符用于提示第二应用(即,QQ)可支持分屏操作。在一种可选的实施方式中,图标229的周围也可以只显示一个提示符,该提示符为上述提示符中临近图标227的提示符228-1。需要说明的是,第一应用的图标移动到第二应用的图标的附近代表的含义是,第一应用的图标的边缘上的像素点落入第二应用图标的附近区域;其中,该附近区域是指,在第二应用的图标外,且离第二应用的图标的边缘的距离小于预设值的像素点组成的区域。参见图3H,是本申请实施例提供的一种应用程序的图标的附近区域、预设区域的示意图。
在一种可能的实现方式中,当图标227被移动到图标229的附近时,电子设备对这些提示符中离图标227最近的提示符228-1进行特殊显示(例如,高亮显示,改变颜色,加深颜色,抖动显示,等等)。可选的,在这种情况下,电子设备还可以显示图标229对图标227的磁吸效果,该磁吸效果表现为:图标229吸附图标227,使得图标227的边缘与图标229的边缘对齐,并且图标227与图标229距离最近的两条边缘相互贴近。特别的,图标227与图标229距离最近的两条边缘可以重合。如图3B所示,图标227的上边缘与图标229的上边缘位于同一水平线上,图标227的下边缘与图标229的下边缘位于同一水平线上,图标227的左边缘、右边缘与图标229的左边缘、右边缘相互平行,并且图标227的右边缘与图标229的左边缘相互贴近。可选的,在图标229吸附了图标227之后,电子设备可以不继续在图标229周围显示提示符。
需要说明的是,提示符可以有多种不同的显示方式。举例而言,若终端的用户界面上显示的应用程序的图标为圆形,则提示符可以如图3D示例性所示。其中,提示符为图标229周围的四个圆点,与图标227临近的提示符228-1改变了显示颜色。除此之外,该提示符还可以有其他的显示方式,例如,在方形的图标中也可以显示圆形的提示符,本申请实施例不作限制。另外,为了不遮挡应用程序的图标,提示符可以设置有透明度,或者该提示符可以显示在应用程序的图标的下方,本申请实施例不作限制。
如图3B-3C示例性所示,用户持续拖动图标227,使得图标227与提示符228-1相接触, 之后,若检测到图标227与提示符228-1持续接触,且接触的持续时间不小于预设值,则电子设备显示包含第二应用界面和第一应用界面的用户界面22。用户界面22中包括:第一显示区域240,第二显示区域244,分屏符242,其中:
第一显示区域240,可以用于显示第一应用界面。其中,若第一应用在显示第一应用界面之前未打开,则第一应用界面为开启第一应用时的显示界面。若第一应用在该显示第一应用界面之前已打开,则第一应用界面为最近一次离开第一应用之前,第一应用的显示界面。
第二显示区域244,可以用于显示第二应用界面。其中,若第二应用在显示第一应用界面之前未打开,则第二应用界面为开启第二应用时的显示界面。若第二应用在该显示第一应用界面之前已打开,则第二应用界面为最近一次离开第二应用之前,第一应用的显示界面。需要说明的是,还可以在第一显示区域240中显示第二应用界面,在第二显示区域中显示第一应用界面,这种实施例中不作限制。
分屏符242,可以用于分隔第一显示区域240与第二显示区域244。分屏符242还用于接收用户的滑动操作,响应于该用户的滑动操作,电子设备调整第一显示区域240和第二显示区域242的大小。具体的,若该滑动操作为朝向状态栏201的滑动操作,则电子设备减小第一显示区域240的大小,并增大第二显示区域244的大小;若该滑动操作为远离状态栏201的滑动操作,则电子设备增大第一显示区域240的大小,并减小第二显示区域244的大小。需要说明的是,用户界面22中也可以不显示分屏符242。另外,在这种情况下,第一显示区域240的大小可以与第二显示区域244的大小相同。
通过这种方式,用户可以通过操控第一应用的图标的方式,方便的进入第一应用与第二应用的分屏界面,提升了分屏操作的效率,也提升了用户体验。
图3E-图3G示例性示出了又一些用于分屏的用户界面示意图。
在图3E-图3G示例性所示的实施例中,电子设备在图标229上显示的提示符相对于图标229的方向与电子设备10支持分屏的方向一致。用户可以直观的了解到电子设备支持分屏的方向。特别的,图标229和图标227的位置关系,与分屏界面中QQ的显示界面和微信的显示界面的位置关系相同。
如图3E示例性所示,电子设备接收用户输入的针对图标227的操作,操作该操作为将图标227移动到图标229附近的操作,响应于该操作,电子设备在图标229的周围显示提示符。若电子设备10仅支持上下分屏的方式,则图标229上显示的提示符为位于图标229上方的提示符228-2和位于图标229下方的提示符228-4。通过这种方式,可以方便用户了解该电子设备支持分屏的方向。
如图3F-3G示例性所示,电子设备接收用户输入的将图标227与提示符228-4接触,并保持图标227的位置不移动的持续时间不小于预设值的操作,响应于该操作,电子设备显示包含第二应用界面和第一应用界面的用户界面23。可选的,在图标227移动的过程中,电子设备可以移动图标237的位置,以避免图标237与图标227相互遮挡。
该用户界面23中包括:第一显示区域250,第二显示区域252和分屏符242,其中:
第一显示区域,可以用于显示图标229对应的QQ的显示界面,该应用程序的界面中包含的具体内容可参照上述描述,此处不再赘述。
第二显示区域,可以用于显示图标227对应的微信的显示界面,该应用程序的界面中包含的具体内容可参照上述描述,此处不再赘述。需要说明的是,在本实施例中,第一显示区 域的显示内容与第二显示区域的显示内容,由图标229与图标227的位置关系确定。具体的,图标229位于图标227的上方,则用户界面23中QQ的显示界面位于微信的显示界面的上方。即确定了,第一显示区域显示QQ的显示界面,第二显示区域显示微信的显示界面。
分屏符242,可以参照上述描述,此处不再赘述。
通过这种方式,用户可以通过控制第二应用的图标与第一应用的图标的位置关系,确定分屏界面中第二应用界面与第一应用界面的位置关系,进一步提升分屏操作的效率。
以上介绍了电子设备中显示分屏界面的一些实施例,可选的,在这些实施例中还可以存在多种可能的实现方式,以下将对一些可能的实现方式进行介绍。
图4A示例性示出了一种在第一应用的图标上显示提示符的用户界面21。
如图4A示例性所示,在一个或多个第二应用的图标显示提示符之前,电子设备检测到用户针对第一应用的图标(即,微信的图标227)的操作(例如,长按操作,按压操作(force touch),等等),响应于该用户的操作,电子设备在图标227的周围显示四个提示符,这四个提示符包括:提示符230-1(位于图标227的左方),提示符230-2(位于图标227的上方),提示符230-3(位于图标227的右方)和提示符230-4(位于图标227的下方)。该提示符可以指示第一应用可支持分屏操作。需要说明的是,该第一应用的图标周围也可以不显示第七提示符,本申请实施例不做限制。可选的,电子设备可以仅在图标227上显示与电子设备支持分屏的方向同方向的第七提示符。
如图4A-图4B的示例性所示,电子设备接收用户输入的针对图标227的操作,该操作为将图标227被移动到图标229附近的操作,响应于该操作,电子设备在图标229的周围显示四个提示符,该四个提示符包括:提示符228-1(位于图标229的左方),提示符228-2(位于图标229的上方),提示符228-3(位于图标229的右方)和提示符228-4(位于图标229的下方)。可选的,电子设备还可以显示图标229对图标227的磁吸效果,该磁吸效果表现为:图标229吸附图标227,使得图标229的提示符228-1与图标227的提示符230-3重合。可选的,在提示符228-1与提示符230-3重合之后,电子设备可仅显示重合后的提示符230-3/228-1,不再显示其他提示符。需要说明的是,后续显示分屏界面的方均可参照上述描述,此处不再赘述。
图4C示例性示出了一种在第二应用的图标上显示提示符的用户界面。
如图4C示例性所示,电子设备接收用户输入的,针对图标227的触控操作(例如,长按操作、按压操作,等等),响应于该操作,电子设备在支持分屏的第二应用的图标周围显示提示符,该第二应用的图标为图标229,图标233,图标235,图标225。通过这种方式,用户可以直观的看出哪些应用程序是可支持分屏的,方便用户选择需要进行分屏的应用程序。
可选的,响应于该针对第一应用的触控操作,电子设备也可以在第一应用的图标的周围显示提示符。可选的,电子设备在第一应用的图标上显示的提示符相对于该第一应用的图标的方向,可以与电子设备支持分屏的方向一致。
图4C-图4D的示例性所示,电子设备接收用户输入的针对图标227的操作,该操作为将图标227与图标229的提示符228-1接触。可选的,电子设备还可以显示图标229对图标227的磁吸效果,该磁吸效果表现为:图标229吸附图标227,使得图标229的一条边缘与图标227的一条边缘接触。可选的,图标229吸附图标227,使得图标229的提示符228-1与图标 227的提示符230-3重合。可选的,在提示符228-1与提示符230-3重合之后,电子设备可仅显示重合后的提示符230-3/228-1,不再显示其他提示符。
需要说明的是,在图标227与提示符228-1接触之后,电子设备可以由显示的主界面(可参照图4D所示的用户界面21)切换为显示第一分屏界面(可参照上述图3C所示的用户界面22),其中,所述第一分屏界面同时包括所述第一应用(微信)的界面和所述第三应用(QQ)的界面。可选的,也可以在图标227与提示符228-1接触,并且接触的持续时间不小于预设值之后,电子设备从显示的主界面(可参照图4D所示的用户界面21)切换为显示第一分屏界面(可参照上述图3C所示的用户界面22)。通过这种方式,能够更好的判定用户的分屏意图,提升分屏的准确性。
在一种可能的实现方式中,该第二应用为支持分屏的应用程序,并且第二应用所属的类别与该第一应用所属的类别相同。应用程序所属的类别可以为:游戏类、社交通讯类、影音播放类、新闻阅读类,等等。可选的,电子设备中可以预存有多个应用程序的类别标签,该类别标签用于指示应用程序的类别。这样,电子设备可以根据主界面中包括的多个应用程序的类别标签以及第一应用的类别标签从多个应用程序中确定第二应用。
在又一种可能的实现方式中,该第二应用为支持分屏的应用程序,并且该第二应用与该第一应用具有关联关系。其中,若电子设备记录第一预设时间段内(如,一天、三天、一周,等等),第二应用与第一应用的相互切换次数超过预设值,则电子设备建立第二应用与第一应用的关联关系。可选的,与第二应用具有关联关系的第一应用可以为一个或多个应用程序,此处不作限制。举例而言,用户经常在微信与QQ之间,微信与推特之间互相切换,则电子设备建立微信与QQ的关联关系,微信与推特的关联关系。通过这种方式,电子设备可以从多个应用程序之中,选取出与第一应用具有关联关系的一个或多个第一应用进行提示符的显示,符合用户使用应用程序的习惯,进一步提升分屏的效率。
具体的,从第二应用切换至第一应用的过程可以为:(1)从第二应用的界面直接切换至第二程序应用的界面;(2)在第二预设时间段内(如,15秒,30秒,一分钟,等等),从第二应用的界面切换至主界面,再从主界面切换至第一应用界面;(3)在该第二预设时间段内,从第二应用的界面切换至“最近打开应用”界面,再从“最近打开应用”界面切换至第一应用界面。另外,还可以存在其他的切换方式,此处不再赘述。相似的,从第一应用切换至第二应用的过程也可以参照以上介绍的这些方式。
需要说明的是,在上述实施例中,若第一应用的图标靠近的图标所对应的第一应用程序不支持分屏,则电子设备可以显示提示信息(例如,**(此处为第一应用程序的名称)应用不支持分屏),或者在第一应用程序的图标上显示提示符,该提示符用于指示应用程序不支持分屏。举例而言,该提示符可以为覆盖该第一应用程序的图标的“X”型提示符,该提示符还可以为其他样式的图形,此处不作限制。相似的,若第一应用本身不支持分屏,则电子设备可以显示提示信息(例如,**(此处为第一应用的名称)应用不支持分屏),或者在第一应用的图标上显示提示符。
图5A示例性示出了一种在电子设备中显示融合图标的用户界面21。
在电子设备检测到操作(可参见图3B)的持续时间不小于预设值之后,该电子设备还可以生成融合图标,在电子设备返回到主界面之后,可以在主界面中显示融合图标。该融合图标为将微信的图标和QQ的图标融合后得到的图标,该融合图标中包括微信的图标和QQ的 图标。其中,将微信的图标和QQ的图标融合的含义可以是,按一定比例缩小微信的图标以及QQ的图标,使得这两个图标都可以包含在融合图标的边框中。另外,还可以存在其他的融合方式,此处不再赘述。
如图5A示例性所示,电子设备上显示微信与QQ的融合图标250,融合图标250中包含微信的图标以及QQ的图标。可选的,融合图标250中的微信的图标和QQ的图标的位置关系,可与分屏界面中微信的显示界面和QQ的显示界面的位置关系相同(可参考图3C)。融合图标250还用于接收用户的操作,响应于该用户的操作,电子设备显示包含微信的显示界面和QQ的显示界面的分屏界面(可参考图3C)。
在一种可能的实现方式中,在显示了融合图标250之后,电子设备不再在用户界面21中显示微信的图标以及QQ的图标(这种显示方式可参见图5A)。其中,融合图标250的显示位置可以为原微信的图标所在的位置,也可以为原QQ图标所在的位置。
在又一种可能的实现方式中,电子设备在用户界面21中同时显示微信的图标227、QQ的图标229以及融合图标250(这种显示方式可参见图5B)。可选的,融合图标250的显示位置可以为用户界面21中的未被占用的图标显示位置中的任一个。或者,在用户界面21中不存在未被占用的图标显示位置的情况下,融合图标250显示在主界面中的另一个用户界面中。或者,融合图标250显示在主界面中专用于显示融合图标的用户界面中。通过这种方式,用户可以通过点击微信的图标227,进入微信的显示界面;通过点击QQ的图标229,进入QQ的显示界面;通过点击融合图标250,进入包含微信的显示界面和QQ的显示界面的分屏界面(可参考图3C)。
在又一种可能的实现方式中,图5A或者图5B所示的用户界面21可以在上述实施例中显示分屏界面之前显示,例如,电子设备显示分屏界面的过程可以为图3A、图3B、图5A、图3C。可选的,用于显示融合图标的用户界面可以在显示了预设时间段(例如,0.5秒、1秒,等等)后,自动切换至用于显示分屏界面的用户界面。可选的,在另一种方式中,电子设备在显示了融合图标之后,若接收到用户输入的对融合图标的操作,电子设备再切换至用于显示分屏界面的用户界面。
图6A-图6B示例性示出了又一些用于分屏的用户界面的示意图。
在图6A-图6B示例性所示的实施例中,电子设备可支持包含两个以上的应用程序界面的分屏显示。在电子设备检测到图标225被移动到融合图标602附近的情况下,电子设备在融合图标602的周围显示六个提示符,这六个提示符为:提示符601-1、提示符601-2、提示符601-3、提示符601-4、提示符601-5和提示符601-6。
可选的,提示符相对于融合图标602的方向,与融合图标602对应的分屏界面中还可以加入的应用程序界面的方向(可参见图6C或者图6H)一致。具体的,图6A中显示的提示符表示,融合图标602所对应的分屏界面,还可以在相对于原分屏界面的左方(对应于提示符601-1)、左上方(对应于提示符601-2)、右上方(对应于提示符601-3)、右方(对应于提示符601-4)、右下方(对应于提示符601-5)和左下方(对应于提示符601-6)的方向上,加入新的应用程序界面。在又一种可能的情况中,若电子设备最多能支持左上方、右上方、右下方和左下方四个方向上分屏显示应用程序界面,则电子设备在融合图标602周围显示四个提示符,这四个提示符为:提示符601-2、提示符601-3、提示符601-5和提示符601-6。通过这种方式,用户可以方便地了解到已形成的分屏界面中,哪些方向还可以加入新的应用程序 界面。
如图6A-图6B示例性所示,电子设备检测到图标225与提示符601-2相接触,且接触的持续时间不小于预设值的操作,响应于该操作,电子设备显示包含融合图标602指示的应用程序的界面和图标225对应的第一应用的界面的用户界面32。可选的,第一应用界面相对于用户界面31的方向与提示符601-2相对于融合图标602的方向一致。
用户界面32中包括第一显示区域603、第二显示区域605、第三显示区域607,以及分屏符242-1、分屏符242-2;其中:
第一显示区域603,可以用于显示图标225对应的应用程序(即,图库)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
第二显示区域605,可以用于显示位于融合图标602左侧的应用图标对应的应用程序(即,QQ)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
第三显示区域607,可以用于显示位于融合图标602右侧的应用图标对应的应用程序(即,微信)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
分屏符242-1和分隔符242-2,可以用于分隔上述三个显示区域,这两个分屏符还可以用于接收用户的滑动操作,响应于该滑动操作,电子设备调整显示区域的大小。可选的,电子设备也可以不显示分屏符242-1和分隔符242-2。
在又一种可能的实现方式中,响应于该操作,电子设备生成新的融合图标609。其中,应用程序的图标相对于融合图标的方向与该应用程序的界面相对于第一分屏界面的方向相同。例如,QQ的图标在融合图标609的左下方,QQ的界面也位于第一分屏界面的左下方,这两个方向相同。电子设备显示融合图标609的用户界面31可参照图6D示例性所示。可选的,该用户界面31中还可以包括微信的图标227、QQ的图标229以及融合图标602。
可以理解的是,图标225相接触的提示符不同,电子设备显示的分屏界面不同。以下对又一种显示分屏界面的情况进行介绍。
如图6E-图6F示例性所示,电子设备检测到保持图标225与提示符601-2和提示符601-3相接触,且接触的持续时间不小于预设值,电子设备显示包含融合图标602指示的应用程序的界面和图标225对应的第一应用的界面的用户界面33。可选的,第一应用界面相对于用户界面31的方向与提示符601-2和提示符相对于融合图标602的方向一致。具体的,提示符601-2和提示符601-3均位于融合图标602的上方,则第一应用界面位于分屏界面的上方。
用户界面33中包括第一显示区域610、第二显示区域611、第三显示区域612,以及分屏符242-1、分屏符242-2;其中:
第一显示区域610,可以用于显示图标225对应的应用程序(即,图库)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
第二显示区域611,可以用于显示位于融合图标602左侧的应用图标对应的应用程序(即,QQ)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
第三显示区域612,可以用于显示位于融合图标602右侧的应用图标对应的应用程序(即,微信)的界面。该应用程序的界面包含的具体内容可以参照上述的描述,此处不再赘述。
分屏符242-1和分隔符242-2,可以用于分隔上述三个显示区域,这两个分屏符还可以用于接收用户的滑动操作,响应于该滑动操作,电子设备调整显示区域的大小。可选的,电子设备也可以不显示分屏符242-1和分隔符242-2。
在又一种可能的实现方式中,响应于该操作,电子设备生成新的融合图标613。其中,第一应用的界面相对于用户界面31的方向与提示符601-2、提示符601-3相对于融合图标602的方向相同。显示该融合图标613的用户界面31可参照图6G示例性所示。可选的,该用户界面31中还可以包括微信的图标227、QQ的图标229、融合图标602。
需要理解的是,在本申请实施例中,用户也可以通过移动融合图标至第一应用图标的附近的方式,来生成分屏界面,本申请实施例不做限制。可选的,在用户移动融合图标至第一应用图标的附近之前,若电子设备接收用户输入的对融合图标的操作,响应于该用户的操作,电子设备在融合图标的周围显示提示符,该提示符相对于融合图标的方向,与融合图标对应的分屏界面中还可以加入的应用程序界面的方向一致。
以上介绍了一些如何显示分屏界面的实施例,以下将对如何解除分屏的实施例作进一步的介绍。总的来说,解除分屏可以分为两种情况:第一种情况,电子设备的主界面中仅显示融合图标,不单独显示该融合图标包含的应用程序的图标(这种情况可参见图5A);第二种情况,电子设备的主界面中显示融合图标,并单独显示该融合图标所包含的应用程序的图标(这种情况可参见图5B)。以下将对这两种情况中,解除分屏的方式进行介绍。
首先对第一种情况中解除分屏的方式进行介绍。图7A-图7C示例性示出了一些用于解除分屏的用户界面的示意图。
如图7A-图7B示例性所示,电子设备接收用户针对融合图标250的长按操作,响应于该用户的操作,电子设备显示融合图标中包含的QQ的图标229和微信的图标227,以及提示符260。提示符260可以位于图标229和图标227之间,具体的,提示符的位置可以为图标227的右上方(也为图标229的左上方),还可以为图标227右边缘的中部(也为图标229左边缘的中部),本申请实施例不作限制。提示符260可以用于接收用户的操作,响应于该用户的操作,电子设备不再显示融合图标250以及融合图标250对应的分屏界面,并且单独显示图标229和图标227。可选的,为了区分提示符和与应用程序的删除图标,提示符的显示颜色可以与删除图标的显示颜色不同,或者提示符可以是除示例之外的其他的图形,本申请实施例不作限制。
如图7B-图7C示例性所示,电子设备接收用户针对提示符260的点击操作,响应于该用户的操作,电子设备在用户界面21中不再显示融合图标250,并且单独显示图标229和图标227。可选的,电子设备还可以删除“最近打开应用”界面中记录的融合图标250对应的分屏界面。
在又一种可能的情况中,融合图标中可能包含两个以上的应用程序的图标。这种情况可参照图7D-图7G示例性所示的一些解除分屏的示意图。
如图7D-图7E示例性所示,电子设备接收用户对融合图标613(包含3个应用程序的图标)的操作,响应于该用户的操作,电子设备显示图库的图标225、QQ的图标229和微信的图标227,以及每个应用程序的图标对应的提示符。具体的,图标225对应提示符260-1,图标229对应提示符260-2,图标227对应提示符260-3。提示符可以位于自身对应的应用程序的图标的左上方,还可以位于右上方,或者居中显示,本申请实施例不作限制。
如图7E-图7F示例性所示,电子设备接收用户对提示符260-1的点击操作,响应于该用户的操作,电子设备单独显示提示符260-1对应的图标225。可选的,图标225的显示位置可 以与原图标225的显示位置相同。需要说明的是,原图标225的显示位置可以参照图2A所示例性示出的用户界面。
如图7F-图7G示例性所示,电子设备接收用户对用户界面31中除提示符260-2以及除提示符260-3之外的显示区域的操作(示例为点击操作),响应于该用户的操作,电子设备显示包含提示符260-2对应的图标229以及提示符260-3对应的图标227的融合图标701,并生成新的融合图标701对应的分屏界面,删除原融合图标613对应的分屏界面。其中,该新生成的分屏界面中包括图标229对应的应用程序的界面,以及图标227对应的应用程序的界面。该融合图标701可以用于接收用户的操作,响应于该用户的操作,电子设备显示融合图标701对应的分屏界面。可选的,新的融合图标701中图标227与图标229的位置关系,和原融合图标613中图标227与图标229的位置关系一致。进一步的,新生成的分屏界面中的图标229对应的应用程序的界面与图标227对应的应用程序的界面的位置关系,与新的融合图标701中图标227与图标229的位置关系一致。
可选的,在图7F示例性所示的用户界面31中,用户也可以继续对提示符260-2(或者提示符260-3)进行操作,响应于该用户的操作,电子设备单独显示图标227以及图标229,并删除融合图标613对应的分屏界面。可选的,图标227的显示位置与原图标227的显示位置相同,图标229的显示位置与原图标229的显示位置相同。相似的,原图标227的显示位置和原图标229的显示位置也可以参照图2A所示例性示出的用户界面。
在又一种可选的实现方式中,融合图标中可能包含两个以上的应用程序的图标的情况,还可以参照图8A-图8D示例性所示的又一些用于解除分屏的用户界面的示意图。
如图8A-图8B示例性所示,电子设备接收用户对融合图标613(包含3个应用程序的图标)的操作,响应于该用户的操作,电子设备在用户界面31上显示窗口703,窗口703中包括图库的图标225、QQ的图标229和微信的图标227,以及提示信息705。
如图8B-图8C示例性所示,电子设备接收用户对QQ的图标229的上滑操作(还可以为其他操作,此处仅为示例),响应于该用户的操作,电子设备从窗口703中删除图标229。可选的,电子设备将单独显示图标229,图标229的显示位置可以与原图标229的显示位置相同。
如图8C-图8D示例性所示,电子设备接收用户对用户界面31中除窗口703之外的显示区域的操作(示例为点击操作),响应于该用户的操作,电子设备不再显示窗口703,并且在用户界面31中显示图标229以及新的融合图标705,生成新的融合图标705对应的分屏界面,删除原融合图标613对应的分屏界面。其中,该新生成的分屏界面中包括图标225对应的应用程序的界面,以及图标227对应的应用程序的界面。该融合图标705可以用于接收用户的操作,响应于该用户的操作,电子设备显示融合图标705对应的分屏界面。可选的,新的融合图标705中图标225与图标227的位置关系,和原融合图标613中图标225与图标227的位置关系一致。进一步的,新生成的分屏界面中的图标225对应的应用程序的界面与图标227对应的应用程序的界面的位置关系,与新的融合图标705中图标225与图标227的位置关系一致。
可选的,在图8C示例性所示的用户界面31中,用户也可以继续对图标225(或者图标227)进行上滑操作,响应于该用户的操作,电子设备不再显示窗口703,并且在用户界面31中单独显示图标227以及图标225。需要说明的是,电子设备会删除融合图标613对应的分 屏界面。可选的,图标227的显示位置与原图标227的显示位置相同,图标225的显示位置与原图标225的显示位置相同。
接下来,对第二种情况中解除分屏的方式进行介绍。图8E-图8G示例性示出了一些用于解除分屏的用户界面的示意图。
如图8E示例性所示,用户界面21中显示了融合图标250、融合图标613,并且单独显示了这两个融合图标中包括的应用程序的图标,即图标227,图标229和图标225。
如图8E-图8F示例性所示,电子设备检测到用户针对融合图标250的操作(例如,长按操作、按压操作,等等),响应于该用户的操作,电子设备在融合图标250上显示提示符260-4。提示符可以位于融合图标250的左上方,还可以位于右上方,或者居中显示,本申请实施例不作限制。可选的,响应于该用户的操作,电子设备可以在主界面中的所有融合图标上显示提示符。举例而言,若采用这种方式,在用户界面21中,融合图标250以及融合图标613上均显示提示符。
如图8F-图8G示例性所示,电子设备检测到用户针对提示符260-4的点击操作,响应于该用户的操作,电子设备不再显示融合图标250,并删除融合图标250对应的分屏界面。可选的,融合图标613可以移动到原融合图标250空出的显示位置。通过这种解除分屏方式,用户可以方便的对已形成的各个分屏界面进行删除。
以上对解除分屏的实施例进行了具体的介绍。在现有技术中,用户可以通过拖动图标相互覆盖的方式生成文件夹,以下将对生成分屏界面和生成文件夹这两种方式的切换过程进行进一步介绍。
图9A-图9D示例性示出了一些用于生成文件夹的用户界面的示意图。
如图9A-图9B示例性所示,电子设备接收用户输入的针对微信的图标227的操作,该操作为将图标227被移动到QQ的图标229附近的操作,响应于该操作,电子设备在图标229的周围显示四个提示符,这四个提示符为:提示符228-1(位于图标229的左方),提示符228-2(位于图标229的上方),提示符228-3(位于图标229的右方)和提示符228-4(位于图标229的下方)。
如图9B-图9C示例性所示,用户持续向右移动图标227,可选的,在用户继续移动图标227的过程中,图标229周围还是可以显示提示符。当电子设备检测到用户的手指坐标落入图标229的预设区域内时,电子设备显示文件夹提示框901。文件夹提示框901用于提示用户将生成包含图标227和图标229的文件夹。其中,图标229的预设区域可以为,在图标229内部,且离图标229的边缘的距离小于预设值的像素点组成的区域。具体的,可参见图3H,图3H是本申请实施例提供的一种应用程序的图标的附近区域、预设区域的示意图。
如图9C-图9D示例性所示,当电子设备检测到用户的手指坐标落入图标229的预设区域内的持续时间不小于预设值(例如,0.5秒、1秒等等)时,电子设备显示文件夹903以及输入框905。其中,文件夹903中显示图标227以及图标229,输入框905中显示文件夹的预设名称“社交”,该预设名称可以由图标227以及图标229对应的应用程序的类型确定。输入框905还可以接收用户输入的文字信息(还可以为符号、表情等信息),响应于该用户的操作,电子设备保存该文字信息为文件夹903的名称。可选的,该输入框中也可以不显示文件夹的预设名称。
在又一种可能的实现方式中,图9B-图9C示例性示出的生成文件夹提示框901过程还可以参照图9B到图9E,再到图9F示例性示出的过程。
如图9B到图9E示例性所示,在电子设备在图标229的周围显示提示符228-1、提示符228-2、提示符228-3和提示符228-4之后,电子设备检测到用户输入的对图标227的晃动操作,电子设备不再显示提示符。其中,该晃动操作可以包含左右晃动操作(还可能伴随着图标227的上下移动,此处不作限制),上下晃动操作(还可能伴随着图标227的左右移动,此处不作限制)。通过这种方式,电子设备可以更加准备地判断用户的意图,提升分屏显示的准确性。
如图9E到图9F示例性所示,用户继续向右移动图标227,当电子设备检测到用户的手指坐标落入图标229的预设区域内时,电子设备显示文件夹提示框901。
请参见图10,图10示出了本申请实施例中提供的一种分屏方法的流程示意图。如图10所示,该方法包括:
S1001、电子设备在主界面中显示复数个应用的图标。
其中,复数为大于1的整数。应用,又可以称为应用程序,软件等名称。具体的,该电子设备显示复数个应用的图标的主界面可参照图2A所示的用户界面21或图2C所示的用户界面31。
S1002、该电子设备接收用户作用于第一应用的图标的长按操作或按压操作,该第一应用属于该复数个应用。
示例性的,该第一应用的图标可以是图4C所对应的实施例中的图标227。该长按操作或按压操作可以为针对图标227的触控操作。
S1003、响应于该长按操作或按压操作,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符。
其中,该一个或多个第二类应用为该复数个应用中支持分屏的应用,该第一提示符用于提示该一个或多个第二类应用支持分屏。
需要说明的是,多个第二类应用不代表多个相同的第二类应用,该多个第二类应用中每个第二类应用是互不相同的。示例性的,可以参照图4C,图4C中显示的该多个第二类应用的图标包括:图标229,图标233,图标235和图标225。举例而言,图4C中一个第二类应用的图标229的周围显示有四个第一提示符,具体的,这四个第一提示符为:提示符228-1(位于图标229的左方),提示符228-2(位于图标229的上方),提示符228-3(位于图标229的右方)和提示符228-4(位于图标229的下方)。相似的,其他的第二类应用的图标的周围也显示有复数个第一提示符,此处不一一指出。通过这种方式,用户可以直观的看出哪些应用程序是可支持分屏的,方便用户选择需要进行分屏的应用程序。
另外,响应于该长按操作或按压操作,该电子设备可以在该第一应用的周围显示复数个第一提示符,该第一提示符用于提示该第一应用可以支持分屏。示例性的,可以参照图4A,该第一应用的图标为微信的图标227,该第一应用的图标周围显示的四个第七提示符为:提示符230-1(位于图标227的左方),提示符230-2(位于图标227的上方),提示符230-3(位于图标227的右方)和提示符230-4(位于图标227的下方)。可选的,电子设备也可以不在第一应用的周围显示第一提示符,本申请实施例不作限制。
S1004、该电子设备接收用户作用于该第一应用的图标的第一操作,该第一操作为拖动该 第一应用的图标与第三应用的图标的第一提示符接触。
其中,该第三应用为该一个或多个第二类应用中的一个。示例性的,该第一操作可以为图4C-图4D所示的实施例中的,将图标227与图标229的第一提示符228-1接触。其中,该第三应用为图标229对应的QQ。
S1005、响应于该第一应用的图标与该第三应用的图标的第一提示符接触,或响应于释放该第一操作,该电子设备由显示该主界面切换为显示第一分屏界面,该第一分屏界面同时包括该第一应用的界面和该第三应用的界面。
示例性的,参照图4C-图4D所示的实施例,该主界面可以为图4D所示的用户界面21,该第一分屏界面可以为图3C所示的用户界面22。其中,该第一分屏界面包括的第一应用的界面为微信的界面,第三应用的界面为QQ的界面。
在一种可能的实现方式中,该响应于释放该第一操作,该电子设备由显示该主界面切换为显示第一分屏界面,包括:在释放该第一操作之前,检测到该第一应用的图标与该第三应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放该第一操作,该电子设备由显示该主界面切换为显示该第一分屏界面。示例性的,该第一操作可以为图4C-图4D所示的实施例中的,将图标227与图标229的第一提示符228-1接触。其中,该第三应用为图标229对应的QQ。其中,该预设值可以为0.5秒,1秒等时间值。释放该第一操作的方式可以是,用户的手指离开电子设备的显示屏194,该电子设备可以通过触摸传感器180K检测用户的手指是否离开显示屏。通过这种方式,用户可以通过保持第一应用的图标与第三应用的第一提示符的接触持续一段时间(不小于预设值),在用户释放第一操作之后,电子设备从显示主界面切换到显示分屏界面。通过这种方式,能够更好的判定用户的分屏意图,提升分屏的准确性。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第一应用的图标相接触的第一提示符相对于该第三应用的图标的第一位置,该第一位置包括左方、右方、上方和下方中的一个,确定该第一分屏界面中第一应用的界面相对于该第三应用的界面的第二位置,其中,该第二位置与该第一位置相同。示例性的,该第一应用的图标可以为图3F中的图标227,该第三应用的图标可以为图3F中的图标337,第一分屏界面可以为图3G中用户界面23,具体内容可以参考图3F-图3G所示的实施例,此处不再赘述。通过这种方式,用户可以通过控制第三应用的图标与第一应用的图标的位置关系,确定分屏界面中第三应用界面与第一应用界面的位置关系,进一步提升分屏操作的效率。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持的分屏方向为左右方向,在该一个或多个第二类应用的图标中的每一个图标的左方和右方分别显示一个第一提示符。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持的分屏方向为上下方向,在该一个或多个第二类应用的图标中的每一个图标的上方和下方分别显示一个第一提示符。示例性的,一个第二类应用的图标可以为图3E或图3F中的图标229,该图标229的上方显示第一图标228-2,该图标229的下方显示228-4。通过这种方式,可以方便用户了解该电子设备支持分屏的方向。
在一种可能的实现方式中,该电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:检测该电子设备支持分屏的方向为左右方向和上下方向,在该一个或 多个第二类应用的图标中的每一个图标的左方、右方、上方和下方分别显示一个第一提示符。
在一种可能的实现方式中,在该电子设备接收该第一操作之后,在释放该第一操作之前,该方法还包括:该第三应用的图标吸附该第一应用的图标,使得该第一应用的图标的一条边缘与该第三应用的图标的一条边缘接触。示例性的,该第三应用的图标吸附该第一应用的图标的方式,可以参照图3A-图3B所示实施例中的磁吸效果的介绍。
在一种可能的实现方式中,该方法还包括:该电子设备接收第二操作,响应于该第二操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,且该主界面中不包括该第一应用的图标和该第三应用的图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第三应用的图标和该第一应用的图标融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第三操作,响应于该第三操作,该电子设备显示该第一分屏界面。示例性的,该第一融合图标可以参照图5A中的融合图标250,该主界面可以参照图5A所示的用户界面21,该第三操作可以为点击融合图标250的操作。具体内容可以参考图5A所示的实施例,此处不再赘述。
在一种可能的实现方式中,该方法还包括:该电子设备接收第四操作,响应于该第四操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第三应用的图标和该第一应用的图标融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第五操作,响应于该第五操作,该电子设备显示该第一分屏界面。示例性的,该第一融合图标可以参照图5B中的融合图标250,该第一应用的图标可以参照图5B中的微信的图标227,该第三应用的图标可以参照图5B中的QQ的图标229,该主界面可以参照图5B所示的用户界面21,该第五操作可以为点击融合图标250的操作。具体内容可以参考图5B所示的实施例,此处不再赘述。
在一种可能的实施方式中,该第一融合图标中第一应用的图标相对于该第三应用的图标的位置,与该第一分屏界面中该第一应用的界面相对于该第三应用的界面的位置相同。示例性的,可参考图5A所对应的实施例,其中,该第一融合图标可以参照图5A中的融合图标250,该第一分屏界面可以参照图3C所示的用户界面22。通过这种方式,可以方便用户通过图标了解到,分屏界面中各个应用界面的显示位置。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第六操作,响应于该第六操作,该电子设备显示该第一应用的图标、该第三应用的图标和第二提示符;该电子设备接收用户作用于该第二提示符的第七操作,响应于该第七操作,该电子设备从该主界面中删除该第一融合图标,并在该主界面中显示该第一应用的图标和该第三应用的图标。示例性的,这种方式可以参照图7A-图7C的对应的实施例,其中,第六操作可以为针对融合图标250的长按操作,第一应用的图标可以为图标227、该第三应用的图标可以为图标229,第二提示符可以为提示符260,第七操作可以为针对提示符260的点击操作。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第八操作,响应于该第八操作,该电子设备在该第一融合图标上显示第三提示符;该电子设备接收用户作用于该第三提示符的第九操作,该电子设备从该主界面中删除该第一融合图标。示例性的,这种方式可以参照图8E-图8G的对应的实施例,其中,第八操作可以为针对融合图标250的长按操作,第三提示符可以为提示符260-4,第九操作可以为针对提示符260-4的点击操作。通过这种解除分屏方式,用户可以方便的对已形成的各个分屏界面进行删除。
在一种可能的实现方式中,该主界面还包括第四应用的图标,其中,该第四应用属于该一个或多个第二类应用,该方法还包括:该电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在该一个或多个第二类应用的图标中除该第一应用和该第三应用的图标的剩余图标的周围显示复数个该第一提示符,并且在该第一融合图标的周围显示复数个第四提示符,该第四提示符用于提示该第一融合图标对应的分屏界面还可以加入其他应用的界面;该电子设备接收用户作用于该第四应用的图标的第十操作,该第十操作为拖动该第四应用的图标与该第一融合图标的第四提示符接触;响应于该第四应用的图标与该第一融合图标的第四提示符接触,或响应于释放该第十操作,该电子设备由显示该主界面切换为显示第二分屏界面,该第二分屏界面同时包括该第四应用的界面、该第一应用的界面和该第三应用的界面。示例性的,参见图6A-图6B所示的实施例,第四提示符可以为融合图标602周围的六个提示符,这六个提示符为:提示符601-1、提示符601-2、提示符601-3、提示符601-4、提示符601-5和提示符601-6。第十操作可以为图标225与提示符601-2相接触。第二分屏界面可以为图6B所示的分屏界面,其中,第四应用为图库,第三应用为QQ,第一应用为微信。
在一种可能的实现方式中,该主界面还包括第四应用的图标,其中,该第四应用属于该一个或多个第二类应用,该方法还包括:该电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在该一个或多个第二类应用的图标的周围显示复数个该第一提示符,并且在该第一融合图标的周围显示复数个第四提示符,该第四提示符用于提示该第一融合图标对应的分屏界面还可以加入其他应用的界面;该电子设备接收用户作用于该第四应用的图标的第十一操作,该第十一操作为拖动该第四应用的图标与该第一融合图标的第四提示符接触;响应于该第四应用的图标与该第一融合图标的第四提示符接触,或响应于释放该第十一操作,该电子设备由显示该主界面切换为显示第二分屏界面,该第二分屏界面同时包括该第四应用的界面、该第一应用的界面和该第三应用的界面。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第四应用的图标相接触的第四提示符相对于该第一融合图标的第三位置,该第三位置包括左方、右方、上方、下方、左上方、右上方、左下方和右下方中的一个,确定该第二分屏界面中第四应用的界面在该第二分屏界面中的第四位置,其中,该第四位置与该第三位置相同。示例性的,这种方法可以参照图6A-图6B,或者图6E-图6F对应的实施例。
在一种可能的实现方式中,该在该第一融合图标的周围显示复数个该第四提示符,包括:检测该电子设备支持的分屏方向为上下方向和左右方向,且同一方向上仅支持显示两个分屏界面,则在该第一融合图标的左上方、右上方、左下方和右下方分别显示一个第四提示符。这种方式可以参考图6A-图6B中的介绍。通过这种方式,用户可以方便地了解到已形成的分屏界面中,哪些方向还可以加入新的应用程序界面。
在一种可能的实现方式中,该方法还包括:该电子设备接收第十二操作,响应于该第十二操作,该电子设备从显示该第二分屏界面切换至显示该主界面,其中,该主界面中还包括第二融合图标,且该主界面中不包括该第一应用的图标、该第三应用的图标和该第一融合图标,该第二融合图标不属于该复数个应用的图标,该第二融合图标为将该第三应用的图标、该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第二融合图标的第十三操作,响应于该第十三操作,该电子设备显示该第二分屏界面。示例性 的,该主界面可以参考图6D所示的用户界面31。其中,第二融合图标可以为融合图标609;该主界面还可以参考图6G所示的用户界面31。其中,第二融合图标可以为融合图标613。
在一种可能的实施方式中,该方法还包括:该电子设备接收第十四操作,响应于该第十四操作,该电子设备从显示该第二分屏界面切换至显示该主界面,其中,该主界面中还包括第二融合图标;该第一融合图标不属于该复数个应用的图标,该第二融合图标为将该第三应用的图标、该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第二融合图标的第十五操作,响应于该第十五操作,该电子设备显示该第二分屏界面。示例性的,该主界面可以参考图8E所示的用户界面21。其中,第二融合图标可以为融合图标613。
在一种可能的实现方式中,该第四应用的图标在该第二融合图标中的位置,与该第四应用的界面在该第二分屏界面中的位置相同。示例性的,这种方法可以参照图6A-图6B,或者图6E-图6F对应的实施例。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第二融合图标的第十六操作,响应于该第十六操作,该电子设备显示该第一应用的图标、该第三应用的图标、该第四应用的图标和三个第五提示符,其中,一个第五提示符与一个应用的图标相对应;该电子设备接收用户作用于该第三应用的图标的第五提示符的第十七操作,该电子设备从该主界面中删除该第二融合图标,并在该主界面中显示该第三应用的图标和第三融合图标,该第三融合图标不属于该复数个应用的图标,该第三融合图标为将该第一应用的图标和该第四应用的图标融合后得到的图标;接收作用于位于该主界面上的第三融合图标的第十八操作,响应于该第十八操作,该电子设备显示第三分屏界面,该第三分屏界面同时包括该第一应用的界面和该第四应用的界面。示例性的,这种方式可以参照图7D-7G所示的实施例。其中,第一应用为微信,第三应用为图库,第四应用为QQ。具体的,图标225对应提示符260-1,图标229对应提示符260-2,图标227对应提示符260-3。第十七操作为用户对提示符260-1的点击操作。第三融合图标为图标701。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第二融合图标的第十九操作,响应于该第十九操作,该电子设备在该第一融合图标和该第二融合图标上分别显示一个第六提示符,其中,一个第六提示符与一个融合图标相对应;该电子设备接收用户作用于该第二融合图标上的第六提示符的第二十操作,该电子设备从该主界面中删除该第二融合图标。通过这种方式,可以方便用户对主界面中包含的多个融合图标进行删除操作。
在一种可能的实现方式中,该主界面还包括第五应用的图标以及第六应用的图标,该方法还包括:该电子设备接收用户作用于该第五应用的图标的长按操作或者按压操作;响应于该长按操作或者按压操作,该电子设备在一个或多个第二类应用的图标中的周围显示复数个该第一提示符;检测到用户作用于该第五应用的图标的晃动操作,响应于该晃动操作,该电子设备不再显示该复数个第一提示符;检测到用户拖动该第五应用的图标进入该第六应用的图标的预设区域,该电子设备生成文件夹,其中,该第五应用的图标和该第六应用的图标显示在该文件夹中。示例性的,该长按操作可以参照图4C中的针对图标227的触控操作,显示的该多个第二类应用的图标包括:图标229,图标233,图标235和图标225。该晃动操作可以参照图9E所示的实施例中的晃动操作。该文件夹可以参考图9D中所示的文件夹903。其他内容可以参考图9B到图9E,再到图9F、图9D的实施例中的详细介绍,此处不再赘述。通过这种方式,电子设备可以更加准备地判断用户的意图,提升分屏显示的准确性。
请参见图11,图11示出了本申请实施例中提供的又一种分屏方法的流程示意图。如图11所示,该方法包括:
S1101、电子设备在主界面中显示复数个应用的图标。
具体的,该电子设备显示复数个应用的图标的主界面可参照图2A所示的用户界面21或图2C所示的用户界面31。
S1102、该电子设备接收用户作用于第一应用的图标的第一操作,该第一操作为将该第一应用移动至第二应用的附近区域,该第一应用与该第二应用属于该复数个应用。
示例性的,该第一应用的图标可以是图3A或图3B中的图标227,该第二应用的图标可以是图3A或图3B中的图标229。该第一操作可以是将微信(图标227)的图标移动到QQ的图标(图标229)附近区域的操作。
S1103、响应于该第一操作,该电子设备在该第二应用的图标的周围显示复数个第一提示符,该第一提示符用于提示该第二应用支持分屏。
示例性的,可以参照图3C,图3C中显示的第二应用的图标为图标229,其中,图标229的周围显示有四个第一提示符,具体的,这四个第一提示符为:提示符228-1(位于图标229的左方),提示符228-2(位于图标229的上方),提示符228-3(位于图标229的右方)和提示符228-4(位于图标229的下方)。
S1104、该电子设备接收用户作用于该第一应用的图标的第二操作,该第二操作为拖动该第一应用的图标与该第二应用的第一提示符接触。
示例性的,这种方式可以参照图3B-图3C所示的实施例,其中,该第二操作为持续拖动图标227,使得图标227与提示符228-1相接触。
S1105、响应于该第一应用的图标与该第二应用的图标的第一提示符接触,或响应于释放该第二操作,该电子设备由显示该主界面切换为显示第一分屏界面,该第一分屏界面同时包括该第一应用的界面和该第二应用的界面。
示例性的,这种方式可以参照图3B-图3C所示的实施例,其中,该第一应用的图标与该第二应用的图标的第一提示符接触为,保持第一应用的图标与第一提示符相接触,且接触的持续时间不小于预设值的操作。主界面为图3B所示的用户界面21,第一分屏界面为图3C所示的用户界面22。第一应用为微信,第二应用为QQ。其他具体的内容可以参照实施例中的描述,此处不再赘述。
在一种可能的实现方式中,该响应于释放该第二操作,该电子设备由显示该主界面切换为显示第一分屏界面,包括:在释放该第二操作之前,检测到该第一应用的图标与该第二应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放该第二操作,该电子设备由显示该主界面切换为显示该第一分屏界面。其中,该第二操作可以为图3B的实施例所示的,持续拖动图标227,使得图标227与图标229提示符228-1相接触。第一应用的图标为227,第二应用的图标为229。
在一种可能的实现方式中,该方法还包括:该电子设备根据与该第一应用的图标相接触的第一提示符相对于该第二应用的图标的第一位置,该第一位置包括左方、右方、上方和下方中的一个;确定该第一分屏界面中第一应用的界面相对于该第二应用的界面的第二位置,其中,该第二位置与该第一位置相同。示例性的,该第一应用的图标可以为图3F中的图标 227,该第二应用的图标可以为图3F中的图标337,第一分屏界面可以为图3G中用户界面23,具体内容可以参考图3F-图3G所示的实施例,此处不再赘述。通过这种方式,用户可以通过控制第二应用的图标与第一应用的图标的位置关系,确定分屏界面中第二应用界面与第一应用界面的位置关系,进一步提升分屏操作的效率。
在一种可能的实现方式中,该方法还包括:该电子设备接收第三操作,响应于该第三操作,该电子设备从显示该第一分屏界面切换至显示该主界面,其中,该主界面中还包括第一融合图标,且该主界面中不包括该第一应用的图标和该第二应用的图标,该第一融合图标不属于该复数个应用的图标,该第一融合图标为将该第二应用的图标和该第一应用融合后得到的图标;接收作用于位于该主界面上的第一融合图标的第四操作,响应于该第四操作,该电子设备显示该第一分屏界面。示例性的,该第一融合图标可以参照图5A中的融合图标250,该主界面可以参照图5A所示的用户界面21,该第三操作可以为点击融合图标250的操作。具体内容可以参考图5A所示的实施例,此处不再赘述。
在一种可能的实现方式中,该方法还包括:该电子设备接收用户作用于该第一融合图标的第五操作,响应于该第五操作,该电子设备显示该第一应用的图标、该第二应用的图标和第二提示符;该电子设备接收用户作用于该第二提示符的第六操作,响应于该第六操作,该电子设备从该主界面中删除该第一融合图标,并在该主界面中显示该第一应用的图标和该第二应用的图标。示例性的,这种方式可以参照图7A-图7C的对应的实施例,其中,第五操作可以为针对融合图标250的长按操作,第一应用的图标可以为图标227、该第二应用的图标可以为图标229,第二提示符可以为提示符260,第六操作可以为针对提示符260的点击操作。
在一种可能的实现方式中,该主界面还包括第五应用的图标以及第六应用的图标,该方法还包括:该电子设备接收用户作用于该第五应用的图标的第六操作,该第六操作为将该第五应用移动至第六应用的附近区域;响应于该第六操作,该电子设备在该第六应用的图标的周围显示复数个第三提示符,该第三提示符用于提示该第六应用支持分屏;检测到用户作用于该第五应用的图标的晃动操作,响应于该晃动操作,该电子设备不再显示该复数个第三提示符;检测到用户拖动该第五应用的图标进入该第六应用的图标的预设区域,该电子设备生成文件夹,其中,该第五应用的图标和该第六应用的图标显示在该文件夹中。示例性的,该晃动操作可以参照图9E所示的实施例中的晃动操作。该文件夹可以参考图9D中所示的文件夹903。其他内容可以参考图9A、图9B到图9E,再到图9F、图9D的实施例中的详细介绍,此处不再赘述。通过这种方式,电子设备可以更加准备地判断用户的意图,提升分屏显示的准确性。
需要说明的是,本申请的各实施方式可以任意进行组合,以实现不同的技术效果。例如,图10对应的实施例中的各个可能的实现方式,在与图11对应的实施例不冲突的前提下,都可以应用在图11对应的实施例以及该实施例对应的可能的实现方式中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例 如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。
总之,以上所述仅为本申请技术方案的实施例而已,并非用于限定本申请的保护范围。凡根据本申请的揭露,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (58)

  1. 一种分屏方法,其特征在于,包括:
    电子设备在主界面中显示复数个应用的图标;
    所述电子设备接收用户作用于第一应用的图标的长按操作或按压操作,所述第一应用属于所述复数个应用;
    响应于所述长按操作或按压操作,所述电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,所述一个或多个第二类应用为所述复数个应用中支持分屏的应用,所述第一提示符用于提示所述一个或多个第二类应用支持分屏;
    所述电子设备接收用户作用于所述第一应用的图标的第一操作,所述第一操作为拖动所述第一应用的图标与第三应用的图标的第一提示符接触,所述第三应用为所述一个或多个第二类应用中的一个;
    响应于所述第一应用的图标与所述第三应用的图标的第一提示符接触,或响应于释放所述第一操作,所述电子设备由显示所述主界面切换为显示第一分屏界面,所述第一分屏界面同时包括所述第一应用的界面和所述第三应用的界面。
  2. 根据权利要求1所述的方法,其特征在于,所述响应于释放所述第一操作,所述电子设备由显示所述主界面切换为显示第一分屏界面,包括:
    在释放所述第一操作之前,检测到所述第一应用的图标与所述第三应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放所述第一操作,所述电子设备由显示所述主界面切换为显示所述第一分屏界面。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    所述电子设备根据与所述第一应用的图标相接触的第一提示符相对于所述第三应用的图标的第一位置,所述第一位置包括左方、右方、上方和下方中的一个,确定所述第一分屏界面中第一应用的界面相对于所述第三应用的界面的第二位置,其中,所述第二位置与所述第一位置相同。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:
    检测所述电子设备支持的分屏方向为左右方向,在所述一个或多个第二类应用的图标中的每一个图标的左方和右方分别显示一个第一提示符。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述电子设备在一个或多个第二类应用的图标的周围显示复数个第一提示符,包括:
    检测所述电子设备支持的分屏方向为上下方向,在所述一个或多个第二类应用的图标中的每一个图标的上方和下方分别显示一个第一提示符。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,所述电子设备在一个或多个第二 类应用的图标的周围显示复数个第一提示符,包括:
    检测所述电子设备支持分屏的方向为左右方向和上下方向,在所述一个或多个第二类应用的图标中的每一个图标的左方、右方、上方和下方分别显示一个第一提示符。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述电子设备接收所述第一操作之后,在释放所述第一操作之前,所述方法还包括:
    所述第三应用的图标吸附所述第一应用的图标,使得所述第一应用的图标的一条边缘与所述第三应用的图标的一条边缘接触。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第二操作,响应于所述第二操作,所述电子设备从显示所述第一分屏界面切换至显示所述主界面,其中,所述主界面中还包括第一融合图标,且所述主界面中不包括所述第一应用的图标和所述第三应用的图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第三应用的图标和所述第一应用融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第三操作,响应于所述第三操作,所述电子设备显示所述第一分屏界面。
  9. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第四操作,响应于所述第四操作,所述电子设备从显示所述第一分屏界面切换至显示所述主界面,其中,所述主界面中还包括第一融合图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第三应用的图标和所述第一应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第五操作,响应于所述第五操作,所述电子设备显示所述第一分屏界面。
  10. 根据权利要求8或9所述方法,其特征在于,所述第一融合图标中第一应用的图标相对于所述第三应用的图标的位置,与所述第一分屏界面中所述第一应用的界面相对于所述第三应用的界面的位置相同。
  11. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收用户作用于所述第一融合图标的第六操作,响应于所述第六操作,所述电子设备显示所述第一应用的图标、所述第三应用的图标和第二提示符;
    所述电子设备接收用户作用于所述第二提示符的第七操作,响应于所述第七操作,所述电子设备从所述主界面中删除所述第一融合图标,并在所述主界面中显示所述第一应用的图标和所述第三应用的图标。
  12. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收用户作用于所述第一融合图标的第八操作,响应于所述第八操作,所述电子设备在所述第一融合图标上显示第三提示符;
    所述电子设备接收用户作用于所述第三提示符的第九操作,所述电子设备从所述主界面 中删除所述第一融合图标。
  13. 根据权利要求8所述的方法,其特征在于,所述主界面还包括第四应用的图标,其中,所述第四应用属于所述一个或多个第二类应用,所述方法还包括:
    所述电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,所述电子设备在所述一个或多个第二类应用的图标中除所述第一应用和所述第三应用的图标的剩余图标的周围显示复数个所述第一提示符,并且在所述第一融合图标的周围显示复数个第四提示符,所述第四提示符用于提示所述第一融合图标对应的分屏界面还可以加入其他应用的界面;
    所述电子设备接收用户作用于所述第四应用的图标的第十操作,所述第十操作为拖动所述第四应用的图标与所述第一融合图标的第四提示符接触;
    响应于所述第四应用的图标与所述第一融合图标的第四提示符接触,或响应于释放所述第十操作,所述电子设备由显示所述主界面切换为显示第二分屏界面,所述第二分屏界面同时包括所述第四应用的界面、所述第一应用的界面和所述第三应用的界面。
  14. 根据权利要求9所述的方法,其特征在于,所述主界面还包括第四应用的图标,其中,所述第四应用属于所述一个或多个第二类应用,所述方法还包括:
    所述电子设备接收用户作用于第四应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,所述电子设备在所述一个或多个第二类应用的图标的周围显示复数个所述第一提示符,并且在所述第一融合图标的周围显示复数个第四提示符,所述第四提示符用于提示所述第一融合图标对应的分屏界面还可以加入其他应用的界面;
    所述电子设备接收用户作用于所述第四应用的图标的第十一操作,所述第十一操作为拖动所述第四应用的图标与所述第一融合图标的第四提示符接触;
    响应于所述第四应用的图标与所述第一融合图标的第四提示符接触,或响应于释放所述第十一操作,所述电子设备由显示所述主界面切换为显示第二分屏界面,所述第二分屏界面同时包括所述第四应用的界面、所述第一应用的界面和所述第三应用的界面。
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:
    所述电子设备根据与所述第四应用的图标相接触的第四提示符相对于所述第一融合图标的第三位置,所述第三位置包括左方、右方、上方、下方、左上方、右上方、左下方和右下方中的一个,确定所述第二分屏界面中第四应用的界面在所述第二分屏界面中的第四位置,其中,所述第四位置与所述第三位置相同。
  16. 根据权利要求13或14所述的方法,其特征在于,所述在所述第一融合图标的周围显示复数个所述第四提示符,包括:
    检测所述电子设备支持的分屏方向为上下方向和左右方向,且同一方向上仅支持显示两个分屏界面,则在所述第一融合图标的左上方、右上方、左下方和右下方分别显示一个第四提示符。
  17. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第十二操作,响应于所述第十二操作,所述电子设备从显示所述第二分屏界面切换至显示所述主界面,其中,所述主界面中还包括第二融合图标,且所述主界面中不包括所述第一应用的图标、所述第三应用的图标和所述第一融合图标,所述第二融合图标不属于所述复数个应用的图标,所述第二融合图标为将所述第三应用的图标、所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第二融合图标的第十三操作,响应于所述第十三操作,所述电子设备显示所述第二分屏界面。
  18. 根据权利要求14所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第十四操作,响应于所述第十四操作,所述电子设备从显示所述第二分屏界面切换至显示所述主界面,其中,所述主界面中还包括第二融合图标;所述第一融合图标不属于所述复数个应用的图标,所述第二融合图标为将所述第三应用的图标、所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第二融合图标的第十五操作,响应于所述第十五操作,所述电子设备显示所述第二分屏界面。
  19. 根据权利要求17或18所述的方法,其特征在于,所述第四应用的图标在所述第二融合图标中的位置,与所述第四应用的界面在所述第二分屏界面中的位置相同。
  20. 根据权利要求17所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收用户作用于所述第二融合图标的第十六操作,响应于所述第十六操作,所述电子设备显示所述第一应用的图标、所述第三应用的图标、所述第四应用的图标和三个第五提示符,其中,一个第五提示符与一个应用的图标相对应;
    所述电子设备接收用户作用于所述第三应用的图标的第五提示符的第十七操作,所述电子设备从所述主界面中删除所述第二融合图标,并在所述主界面中显示所述第三应用的图标和第三融合图标,所述第三融合图标不属于所述复数个应用的图标,所述第三融合图标为将所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第三融合图标的第十八操作,响应于所述第十八操作,所述电子设备显示第三分屏界面,所述第三分屏界面同时包括所述第一应用的界面和所述第四应用的界面。
  21. 根据权利要求18所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收用户作用于所述第二融合图标的第十九操作,响应于所述第十九操作,所述电子设备在所述第一融合图标和所述第二融合图标上分别显示一个第六提示符,其中,一个第六提示符与一个融合图标相对应;
    所述电子设备接收用户作用于所述第二融合图标上的第六提示符的第二十操作,所述电子设备从所述主界面中删除所述第二融合图标。
  22. 根据权利要求1-7任一项所述的方法,其特征在于,所述主界面还包括第五应用的图标以及第六应用的图标,所述方法还包括:
    所述电子设备接收用户作用于所述第五应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,所述电子设备在一个或多个第二类应用的图标中的周围显示复数个所述第一提示符;
    检测到用户作用于所述第五应用的图标的晃动操作,响应于所述晃动操作,所述电子设备不再显示所述复数个第一提示符;
    检测到用户拖动所述第五应用的图标进入所述第六应用的图标的预设区域,所述电子设备生成文件夹,其中,所述第五应用的图标和所述第六应用的图标显示在所述文件夹中。
  23. 一种分屏方法,其特征在于,包括:
    电子设备在主界面中显示复数个应用的图标;
    所述电子设备接收用户作用于第一应用的图标的第一操作,所述第一操作为将所述第一应用移动至第二应用的附近区域,所述第一应用与所述第二应用属于所述复数个应用;
    响应于所述第一操作,所述电子设备在所述第二应用的图标的周围显示复数个第一提示符,所述第一提示符用于提示所述第二应用支持分屏;
    所述电子设备接收用户作用于所述第一应用的图标的第二操作,所述第二操作为拖动所述第一应用的图标与所述第二应用的第一提示符接触;
    响应于所述第一应用的图标与所述第二应用的图标的第一提示符接触,或响应于释放所述第二操作,所述电子设备由显示所述主界面切换为显示第一分屏界面,所述第一分屏界面同时包括所述第一应用的界面和所述第二应用的界面。
  24. 根据权利要求23所述的方法,其特征在于,所述响应于释放所述第二操作,所述电子设备由显示所述主界面切换为显示第一分屏界面,包括:
    在释放所述第二操作之前,检测到所述第一应用的图标与所述第二应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放所述第二操作,所述电子设备由显示所述主界面切换为显示所述第一分屏界面。
  25. 根据权利要求23或24所述的方法,其特征在于,所述方法还包括:
    所述电子设备根据与所述第一应用的图标相接触的第一提示符相对于所述第二应用的图标的第一位置,所述第一位置包括左方、右方、上方和下方中的一个,
    确定所述第一分屏界面中第一应用的界面相对于所述第二应用的界面的第二位置,其中,所述第二位置与所述第一位置相同。
  26. 根据权利要求23-25任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第三操作,响应于所述第三操作,所述电子设备从显示所述第一分屏界面切换至显示所述主界面,其中,所述主界面中还包括第一融合图标,且所述主界面中不包括所述第一应用的图标和所述第二应用的图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第二应用的图标和所述第一应用融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第四操作,响应于所述第四操作,所述电子设备显示所述第一分屏界面。
  27. 根据权利要求26所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收用户作用于所述第一融合图标的第五操作,响应于所述第五操作,所述电子设备显示所述第一应用的图标、所述第二应用的图标和第二提示符;
    所述电子设备接收用户作用于所述第二提示符的第六操作,响应于所述第六操作,所述电子设备从所述主界面中删除所述第一融合图标,并在所述主界面中显示所述第一应用的图标和所述第二应用的图标。
  28. 根据权利要求23-25任一项所述的方法,其特征在于,所述主界面还包括第五应用的图标以及第六应用的图标,所述方法还包括:
    所述电子设备接收用户作用于所述第五应用的图标的第六操作,所述第六操作为将所述第五应用移动至第六应用的附近区域;
    响应于所述第六操作,所述电子设备在所述第六应用的图标的周围显示复数个第三提示符,所述第三提示符用于提示所述第六应用支持分屏;
    检测到用户作用于所述第五应用的图标的晃动操作,响应于所述晃动操作,所述电子设备不再显示所述复数个第三提示符;
    检测到用户拖动所述第五应用的图标进入所述第六应用的图标的预设区域,所述电子设备生成文件夹,其中,所述第五应用的图标和所述第六应用的图标显示在所述文件夹中。
  29. 一种电子设备,其特征在于,所述电子设备包括,显示屏、存储器和至少一个处理器;所述存储器与所述一个或多个处理器耦合,所述存储用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行以下操作:
    在主界面中显示复数个应用的图标;
    接收用户作用于第一应用的图标的长按操作或按压操作,所述第一应用属于所述复数个应用;
    响应于所述长按操作或按压操作,在一个或多个第二类应用的图标的周围显示复数个第一提示符,所述一个或多个第二类应用为所述复数个应用中支持分屏的应用,所述第一提示符用于提示所述一个或多个第二类应用支持分屏;
    接收用户作用于所述第一应用的图标的第一操作,所述第一操作为拖动所述第一应用的图标与第三应用的图标的第一提示符接触,所述第三应用为所述一个或多个第二类应用中的一个;
    响应于所述第一应用的图标与所述第三应用的图标的第一提示符接触,或响应于释放所述第一操作,由显示所述主界面切换为显示第一分屏界面,所述第一分屏界面同时包括所述第一应用的界面和所述第三应用的界面。
  30. 根据权利要求29所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    在释放所述第一操作之前,检测到所述第一应用的图标与所述第三应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放所述第一操作,由显示所述主界面切换为显示所述第一分屏界面。
  31. 根据权利要求29或30所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    根据与所述第一应用的图标相接触的第一提示符相对于所述第三应用的图标的第一位置,所述第一位置包括左方、右方、上方和下方中的一个,
    确定所述第一分屏界面中第一应用的界面相对于所述第三应用的界面的第二位置,其中,所述第二位置与所述第一位置相同。
  32. 根据权利要求29-31任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    检测所述电子设备支持的分屏方向为左右方向,在所述一个或多个第二类应用的图标中的每一个图标的左方和右方分别显示一个第一提示符。
  33. 根据权利要求29-31任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    检测所述电子设备支持的分屏方向为上下方向,在所述一个或多个第二类应用的图标中的每一个图标的上方和下方分别显示一个第一提示符。
  34. 根据权利要求29-31任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    检测所述电子设备支持分屏的方向为左右方向和上下方向,在所述一个或多个第二类应用的图标中的每一个图标的左方、右方、上方和下方分别显示一个第一提示符。
  35. 根据权利要求29-34任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述第三应用的图标吸附所述第一应用的图标,使得所述第一应用的图标的一条边缘与所述第三应用的图标的一条边缘接触。
  36. 根据权利要求29-35任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收第二操作,响应于所述第二操作,从显示所述第一分屏界面切换至显示所述主界面,其中,所述主界面中还包括第一融合图标,且所述主界面中不包括所述第一应用的图标和所述第三应用的图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第三应用的图标和所述第一应用融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第三操作,响应于所述第三操作,显示所述第一分屏界面。
  37. 根据权利要求29-35任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收第四操作,响应于所述第四操作,从显示所述第一分屏界面切换至显示所述主界面, 其中,所述主界面中还包括第一融合图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第三应用的图标和所述第一应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第五操作,响应于所述第五操作,显示所述第一分屏界面。
  38. 根据权利要求36或37所述电子设备,其特征在于,所述第一融合图标中第一应用的图标相对于所述第三应用的图标的位置,与所述第一分屏界面中所述第一应用的界面相对于所述第三应用的界面的位置相同。
  39. 根据权利要求36所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第一融合图标的第六操作,响应于所述第六操作,显示所述第一应用的图标、所述第三应用的图标和第二提示符;
    接收用户作用于所述第二提示符的第七操作,响应于所述第七操作,从所述主界面中删除所述第一融合图标,并在所述主界面中显示所述第一应用的图标和所述第三应用的图标。
  40. 根据权利要求37所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第一融合图标的第八操作,响应于所述第八操作,在所述第一融合图标上显示第三提示符;
    接收用户作用于所述第三提示符的第九操作,从所述主界面中删除所述第一融合图标。
  41. 根据权利要求36所述的电子设备,其特征在于,所述主界面还包括第四应用的图标,其中,所述第四应用属于所述一个或多个第二类应用,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于第四应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,在所述一个或多个第二类应用的图标中除所述第一应用和所述第三应用的图标的剩余图标的周围显示复数个所述第一提示符,并且在所述第一融合图标的周围显示复数个第四提示符,所述第四提示符用于提示所述第一融合图标对应的分屏界面还可以加入其他应用的界面;
    接收用户作用于所述第四应用的图标的第十操作,所述第十操作为拖动所述第四应用的图标与所述第一融合图标的第四提示符接触;
    响应于所述第四应用的图标与所述第一融合图标的第四提示符接触,或响应于释放所述第十操作,由显示所述主界面切换为显示第二分屏界面,所述第二分屏界面同时包括所述第四应用的界面、所述第一应用的界面和所述第三应用的界面。
  42. 根据权利要求37所述的电子设备,其特征在于,所述主界面还包括第四应用的图标,其中,所述第四应用属于所述一个或多个第二类应用,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于第四应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,在所述一个或多个第二类应用的图标的周围显示复数个所述第一提示符,并且在所述第一融合图标的周围显示复数个第四提示符,所述第四提示符用于提示所述第一融合图标对应的分屏界面还可以加入其他应用的界面;
    接收用户作用于所述第四应用的图标的第十一操作,所述第十一操作为拖动所述第四应用的图标与所述第一融合图标的第四提示符接触;
    响应于所述第四应用的图标与所述第一融合图标的第四提示符接触,或响应于释放所述第十一操作,由显示所述主界面切换为显示第二分屏界面,所述第二分屏界面同时包括所述第四应用的界面、所述第一应用的界面和所述第三应用的界面。
  43. 根据权利要求41或42所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    根据与所述第四应用的图标相接触的第四提示符相对于所述第一融合图标的第三位置,所述第三位置包括左方、右方、上方、下方、左上方、右上方、左下方和右下方中的一个,确定所述第二分屏界面中第四应用的界面在所述第二分屏界面中的第四位置,其中,所述第四位置与所述第三位置相同。
  44. 根据权利要求41或42所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    检测支持的分屏方向为上下方向和左右方向,且同一方向上仅支持显示两个分屏界面,则在所述第一融合图标的左上方、右上方、左下方和右下方分别显示一个第四提示符。
  45. 根据权利要求41所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收第十二操作,响应于所述第十二操作,从显示所述第二分屏界面切换至显示所述主界面,其中,所述主界面中还包括第二融合图标,且所述主界面中不包括所述第一应用的图标、所述第三应用的图标和所述第一融合图标,所述第二融合图标不属于所述复数个应用的图标,所述第二融合图标为将所述第三应用的图标、所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第二融合图标的第十三操作,响应于所述第十三操作,显示所述第二分屏界面。
  46. 根据权利要求42所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收第十四操作,响应于所述第十四操作,从显示所述第二分屏界面切换至显示所述主界面,其中,所述主界面中还包括第二融合图标;所述第一融合图标不属于所述复数个应用的图标,所述第二融合图标为将所述第三应用的图标、所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第二融合图标的第十五操作,响应于所述第十五操作,显示所述第二分屏界面。
  47. 根据权利要求45或46所述的电子设备,其特征在于,所述第四应用的图标在所述第二融合图标中的位置,与所述第四应用的界面在所述第二分屏界面中的位置相同。
  48. 根据权利要求45所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第二融合图标的第十六操作,响应于所述第十六操作,显示所述第一应用的图标、所述第三应用的图标、所述第四应用的图标和三个第五提示符,其中,一个第五提示符与一个应用的图标相对应;
    接收用户作用于所述第三应用的图标的第五提示符的第十七操作,从所述主界面中删除所述第二融合图标,并在所述主界面中显示所述第三应用的图标和第三融合图标,所述第三融合图标不属于所述复数个应用的图标,所述第三融合图标为将所述第一应用的图标和所述第四应用的图标融合后得到的图标;
    接收作用于位于所述主界面上的第三融合图标的第十八操作,响应于所述第十八操作,显示第三分屏界面,所述第三分屏界面同时包括所述第一应用的界面和所述第四应用的界面。
  49. 根据权利要求46所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第二融合图标的第十九操作,响应于所述第十九操作,在所述第一融合图标和所述第二融合图标上分别显示一个第六提示符,其中,一个第六提示符与一个融合图标相对应;
    接收用户作用于所述第二融合图标上的第六提示符的第二十操作,从所述主界面中删除所述第二融合图标。
  50. 根据权利要求29-35任一项所述的电子设备,其特征在于,所述主界面还包括第五应用的图标以及第六应用的图标,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第五应用的图标的长按操作或者按压操作;
    响应于所述长按操作或者按压操作,在一个或多个第二类应用的图标中的周围显示复数个所述第一提示符;
    检测到用户作用于所述第五应用的图标的晃动操作,响应于所述晃动操作,不再显示所述复数个第一提示符;
    检测到用户拖动所述第五应用的图标进入所述第六应用的图标的预设区域,生成文件夹,其中,所述第五应用的图标和所述第六应用的图标显示在所述文件夹中。
  51. 一种电子设备,其特征在于,所述电子设备包括,显示屏、存储器和至少一个处理器;所述存储器与所述一个或多个处理器耦合,所述存储用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行以下操作:
    在主界面中显示复数个应用的图标;
    接收用户作用于第一应用的图标的第一操作,所述第一操作为将所述第一应用移动至第 二应用的附近区域,所述第一应用与所述第二应用属于所述复数个应用;
    响应于所述第一操作,在所述第二应用的图标的周围显示复数个第一提示符,所述第一提示符用于提示所述第二应用支持分屏;
    接收用户作用于所述第一应用的图标的第二操作,所述第二操作为拖动所述第一应用的图标与所述第二应用的第一提示符接触;
    响应于所述第一应用的图标与所述第二应用的图标的第一提示符接触,或响应于释放所述第二操作,由显示所述主界面切换为显示第一分屏界面,所述第一分屏界面同时包括所述第一应用的界面和所述第二应用的界面。
  52. 根据权利要求51所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备具体执行以下操作:
    在释放所述第二操作之前,检测到所述第一应用的图标与所述第二应用的图标的第一提示符的接触持续时间不小于预设值,响应于释放所述第二操作,由显示所述主界面切换为显示所述第一分屏界面。
  53. 根据权利要求51或52所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    根据与所述第一应用的图标相接触的第一提示符相对于所述第二应用的图标的第一位置,所述第一位置包括左方、右方、上方和下方中的一个,
    确定所述第一分屏界面中第一应用的界面相对于所述第二应用的界面的第二位置,其中,所述第二位置与所述第一位置相同。
  54. 根据权利要求51-53任一项所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收第三操作,响应于所述第三操作,从显示所述第一分屏界面切换至显示所述主界面,其中,所述主界面中还包括第一融合图标,且所述主界面中不包括所述第一应用的图标和所述第二应用的图标,所述第一融合图标不属于所述复数个应用的图标,所述第一融合图标为将所述第二应用的图标和所述第一应用融合后得到的图标;
    接收作用于位于所述主界面上的第一融合图标的第四操作,响应于所述第四操作,显示所述第一分屏界面。
  55. 根据权利要求54所述的电子设备,其特征在于,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    接收用户作用于所述第一融合图标的第五操作,响应于所述第五操作,显示所述第一应用的图标、所述第二应用的图标和第二提示符;
    接收用户作用于所述第二提示符的第六操作,响应于所述第六操作,从所述主界面中删除所述第一融合图标,并在所述主界面中显示所述第一应用的图标和所述第二应用的图标。
  56. 根据权利要求51-53任一项所述的电子设备,其特征在于,所述主界面还包括第五应用的图标以及第六应用的图标,当所述一个或多个处理器执行所述计算机指令时,使得所 述电子设备还执行以下操作:
    所述电子设备接收用户作用于所述第五应用的图标的第六操作,所述第六操作为将所述第五应用移动至第六应用的附近区域;
    响应于所述第六操作,所述电子设备在所述第六应用的图标的周围显示复数个第三提示符,所述第三提示符用于提示所述第六应用支持分屏;
    检测到用户作用于所述第五应用的图标的晃动操作,响应于所述晃动操作,不再显示所述复数个第三提示符;
    检测到用户拖动所述第五应用的图标进入所述第六应用的图标的预设区域,生成文件夹,其中,所述第五应用的图标和所述第六应用的图标显示在所述文件夹中。
  57. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-22中任一项所述的方法。
  58. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求23-28中任一项所述的方法。
PCT/CN2020/098918 2019-06-30 2020-06-29 一种分屏方法及电子设备 WO2021000839A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/597,174 US11687235B2 (en) 2019-06-30 2020-06-29 Split-screen method and electronic device
EP20834328.5A EP3964934A4 (en) 2019-06-30 2020-06-29 SCREEN DIVISION METHOD AND ELECTRONIC DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910583873.2A CN110362244B (zh) 2019-06-30 2019-06-30 一种分屏方法及电子设备
CN201910583873.2 2019-06-30

Publications (1)

Publication Number Publication Date
WO2021000839A1 true WO2021000839A1 (zh) 2021-01-07

Family

ID=68217617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098918 WO2021000839A1 (zh) 2019-06-30 2020-06-29 一种分屏方法及电子设备

Country Status (4)

Country Link
US (1) US11687235B2 (zh)
EP (1) EP3964934A4 (zh)
CN (2) CN115686299A (zh)
WO (1) WO2021000839A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866641A (zh) * 2022-07-07 2022-08-05 荣耀终端有限公司 一种图标处理方法、终端设备及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686299A (zh) * 2019-06-30 2023-02-03 华为技术有限公司 一种分屏方法及电子设备
CN114461111B (zh) * 2019-10-31 2022-09-23 华为技术有限公司 启动功能的方法及电子设备
CN112882777B (zh) * 2019-11-30 2024-10-18 华为技术有限公司 一种分屏显示方法及电子设备
CN111142723B (zh) * 2019-12-24 2021-07-13 维沃移动通信有限公司 图标移动方法及电子设备
CN114115769B (zh) * 2020-08-31 2023-09-29 华为技术有限公司 一种显示方法及电子设备
CN116324692A (zh) * 2020-09-22 2023-06-23 Oppo广东移动通信有限公司 计算设备中的分屏显示实现
CN112148181B (zh) 2020-09-30 2022-08-30 维沃移动通信有限公司 菜单显示方法、装置、电子设备及存储介质
CN112269508B (zh) * 2020-10-27 2022-07-29 维沃移动通信有限公司 显示方法、装置和电子设备
CN115700443A (zh) * 2021-07-30 2023-02-07 荣耀终端有限公司 分屏推荐方法和装置
CN113703902A (zh) * 2021-09-10 2021-11-26 广州朗国电子科技股份有限公司 一种分屏显示用菜单栏构建方法及装置
CN115617230A (zh) * 2022-12-15 2023-01-17 北京万里红科技有限公司 一种应用分屏显示方法、装置、计算设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135880A (zh) * 2011-12-05 2013-06-05 鸿富锦精密工业(深圳)有限公司 具有分屏显示功能的电子装置及方法
CN104049866A (zh) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 一种移动终端及其分屏的实现方法和装置
CN105224273A (zh) * 2015-09-25 2016-01-06 联想(北京)有限公司 显示处理方法、显示处理装置和电子设备
US10162494B2 (en) * 2013-10-18 2018-12-25 Samsung Electronics Co., Ltd. Operating method for multiple windows and electronic device supporting the same
CN109885249A (zh) * 2019-02-28 2019-06-14 深圳市泰衡诺科技有限公司 一种分屏处理方法、智能终端及可读存储介质
CN110362244A (zh) * 2019-06-30 2019-10-22 华为技术有限公司 一种分屏方法及电子设备

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7954060B2 (en) * 2007-03-29 2011-05-31 International Business Machines Corporation Accentuated graphical user interface
KR100969790B1 (ko) 2008-09-02 2010-07-15 엘지전자 주식회사 이동단말기 및 그 컨텐츠 합성방법
KR20110014040A (ko) * 2009-08-04 2011-02-10 엘지전자 주식회사 이동 단말기 및 그의 아이콘 충돌 제어방법
KR101782639B1 (ko) * 2010-06-16 2017-09-27 삼성전자주식회사 휴대단말기의 사용 방법
KR101957173B1 (ko) * 2012-09-24 2019-03-12 삼성전자 주식회사 터치 디바이스에서 멀티윈도우 제공 방법 및 장치
EP2741192A3 (en) * 2012-12-06 2016-09-14 Samsung Electronics Co., Ltd Display device for executing a plurality of applications and method for controlling the same
KR102155708B1 (ko) * 2013-02-26 2020-09-14 삼성전자 주식회사 휴대 단말기 및 그의 멀티 어플리케이션 운용 방법
JP6132644B2 (ja) * 2013-04-24 2017-05-24 キヤノン株式会社 情報処理装置、表示制御方法、コンピュータプログラム、及び記憶媒体
CN103324435B (zh) * 2013-05-24 2017-02-08 华为技术有限公司 分屏显示的方法、装置及其电子设备
KR102153366B1 (ko) * 2013-08-30 2020-10-15 삼성전자 주식회사 전자 기기의 화면 전환 방법 및 장치
KR20150069184A (ko) * 2013-12-13 2015-06-23 삼성전자주식회사 휴대형 전자장치의 화면 제어 방법
CN104978123A (zh) * 2015-06-29 2015-10-14 努比亚技术有限公司 一种分屏方法和装置
CN106648314A (zh) * 2016-12-09 2017-05-10 珠海市魅族科技有限公司 一种分屏方法及装置
CN108279950A (zh) * 2018-01-22 2018-07-13 维沃移动通信有限公司 一种应用程序启动方法及移动终端
CN109800045B (zh) * 2019-01-14 2021-10-29 维沃移动通信有限公司 一种显示方法及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135880A (zh) * 2011-12-05 2013-06-05 鸿富锦精密工业(深圳)有限公司 具有分屏显示功能的电子装置及方法
US10162494B2 (en) * 2013-10-18 2018-12-25 Samsung Electronics Co., Ltd. Operating method for multiple windows and electronic device supporting the same
CN104049866A (zh) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 一种移动终端及其分屏的实现方法和装置
CN105224273A (zh) * 2015-09-25 2016-01-06 联想(北京)有限公司 显示处理方法、显示处理装置和电子设备
CN109885249A (zh) * 2019-02-28 2019-06-14 深圳市泰衡诺科技有限公司 一种分屏处理方法、智能终端及可读存储介质
CN110362244A (zh) * 2019-06-30 2019-10-22 华为技术有限公司 一种分屏方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3964934A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866641A (zh) * 2022-07-07 2022-08-05 荣耀终端有限公司 一种图标处理方法、终端设备及存储介质
CN114866641B (zh) * 2022-07-07 2022-11-11 荣耀终端有限公司 一种图标处理方法、终端设备及存储介质

Also Published As

Publication number Publication date
CN115686299A (zh) 2023-02-03
US20220308753A1 (en) 2022-09-29
EP3964934A4 (en) 2022-07-06
CN110362244A (zh) 2019-10-22
EP3964934A1 (en) 2022-03-09
CN110362244B (zh) 2022-11-11
US11687235B2 (en) 2023-06-27

Similar Documents

Publication Publication Date Title
WO2021000839A1 (zh) 一种分屏方法及电子设备
WO2021013158A1 (zh) 显示方法及相关装置
WO2021139768A1 (zh) 跨设备任务处理的交互方法、电子设备及存储介质
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
US11922005B2 (en) Screen capture method and related device
JP7142783B2 (ja) 音声制御方法及び電子装置
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2021018067A1 (zh) 一种悬浮窗口的管理方法及相关装置
WO2021036571A1 (zh) 一种桌面的编辑方法及电子设备
WO2020052529A1 (zh) 全屏显示视频中快速调出小窗口的方法、图形用户接口及终端
WO2020221063A1 (zh) 切换父页面和子页面的方法、相关装置
WO2020062294A1 (zh) 系统导航栏的显示控制方法、图形用户界面及电子设备
WO2021082835A1 (zh) 启动功能的方法及电子设备
WO2021000881A1 (zh) 一种分屏方法及电子设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
WO2021063098A1 (zh) 一种触摸屏的响应方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2022184173A1 (zh) 一种卡片组件的显示方法、图形用户界面及相关装置
WO2022068819A1 (zh) 一种界面显示方法及相关装置
WO2020238759A1 (zh) 一种界面显示方法和电子设备
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2022017393A1 (zh) 显示交互系统、显示方法及设备
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
WO2023138305A9 (zh) 卡片显示方法、电子设备及计算机可读存储介质

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: 20834328

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020834328

Country of ref document: EP

Effective date: 20211202

NENP Non-entry into the national phase

Ref country code: DE