CN115525187B - Screen splitting method and related equipment - Google Patents

Screen splitting method and related equipment Download PDF

Info

Publication number
CN115525187B
CN115525187B CN202210114794.9A CN202210114794A CN115525187B CN 115525187 B CN115525187 B CN 115525187B CN 202210114794 A CN202210114794 A CN 202210114794A CN 115525187 B CN115525187 B CN 115525187B
Authority
CN
China
Prior art keywords
task
card
display
locking
activity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210114794.9A
Other languages
Chinese (zh)
Other versions
CN115525187A (en
Inventor
刘诗聪
姚远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210114794.9A priority Critical patent/CN115525187B/en
Publication of CN115525187A publication Critical patent/CN115525187A/en
Application granted granted Critical
Publication of CN115525187B publication Critical patent/CN115525187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a split screen method and related equipment. According to the split screen method, the electronic device can lock and display one or more of the first task card and the second task card under the condition that the first task card and the second task card are displayed in a split screen mode by the same application. If the user triggers the electronic device to start a new task card, the display of the locked task card is not affected, and the position of the display window of the new task card is the area where the unlocked task card is located. A new task window is displayed in the foreground and the unlocked task card is transferred to the background. Through the split screen method, a user can use more split screen combinations, split screen display of the task cards in the application can be more flexible, and split screen experience of the user is improved.

Description

Screen splitting method and related equipment
Technical Field
The application relates to the technical field of terminals, in particular to a split screen method and related equipment.
Background
In recent years, design of related settings and functions of terminal devices has been increasingly focused on user demands and experiences. The types of applications on the terminal equipment are more and more, the information contained in the applications is more and more, and the functions of the applications are more and more powerful. The user may need to pay attention to different tasks of one application at the same time when using the application on the terminal device. In order to meet the user demand, the terminal equipment adopts an embedded window separation technology to realize that different task cards of an application are simultaneously displayed, and particularly, different task cards can be displayed in a split screen mode.
Disclosure of Invention
The embodiment of the application provides an optimized split screen method and related equipment.
In some scenarios, the terminal device may employ embedded window splitting techniques to enable simultaneous display of different task cards for an application. However, in this way, the manner in which different task cards of an application are displayed by the terminal device is limited. Taking two task cards of the terminal equipment for displaying one application in a split screen mode as an example, the terminal equipment always displays a new task card and an old task card for starting the new task card in a split screen mode. For example, if the sequence of the task cards started by the terminal device is card a, card B, card C and card D, and card a starts card B, card B starts card C and card C starts card D, then the split screen combination displayed by the terminal device is card a+card B, card b+card C and card c+card D. The terminal equipment cannot display the card A and the card C in a split screen mode, and cannot display the card B and the card D. How to display more task card combinations in an application in a split screen manner and improving the flexibility of the split screen in the application are the problems to be solved in the prior art.
In a first aspect, an embodiment of the present application provides a split screen method. The method may include: the electronic equipment displays a first task card in a first display area of a display screen, and displays a second task card in a second display area of the display screen; the first task card and the second task card are task cards of a first application; in response to a first operation acting on a task lock control displayed by the display screen, the electronic device displaying the first task card lock in the first display area; under the condition that the first task card is locked and displayed in the first display area, if a third task card is triggered, the electronic equipment switches the content displayed in the second display area from a second task card to the third task card; the third task card is a task card of the first application which is triggered to be displayed after the first task card and the second task card.
In the scheme provided by the embodiment, the electronic device can respond to the user operation to lock the task card displayed on the split screen, and after a new task card is started, the locked task card cannot be covered by the new task card, and the new task card is displayed in the area where the unlocked task card is located. And moreover, the task cards displayed on the split screen of the electronic equipment can be task cards of the same application, so that various split screen displays of the task cards of the same application are realized, namely, the combination of the task cards in the same application is more various and flexible, and the split screen experience of a user is greatly improved.
With reference to the first aspect, in an implementation manner, before the responding to the first operation acting on the task lock control displayed on the display screen, the method further includes: responding to a task locking control triggering operation, and displaying the task locking control by the electronic equipment; and the task locking control triggering operation is used for triggering and displaying the task locking control.
In the scheme provided by the application, the user can trigger the operation through the task locking control to enable the electronic equipment to display the task locking control. By the mode, the user can trigger the electronic equipment to display the task locking control when the split screen locking function is needed, but not directly display the task locking control when the split screen is used, so that the user is not influenced to browse task cards, and the split screen experience of the user is improved.
In some embodiments, the task-locked control triggering operation may be an operation to launch a split-screen management service application. In other embodiments, the task-lock control trigger operation may also be a shortcut button click operation (e.g., clicking on a hover sphere). It will be appreciated that there are other forms of task-locking control triggering operations, and reference is made to the following description, which is not described herein.
In some embodiments, the electronic device may directly display the task-locking control at the time of split screen, and may be particularly referred to in the detailed description below.
With reference to the first aspect, in one implementation manner, the task lock controls include a first task lock control and a second task lock control; the first task locking control is displayed in the first display area; the second task locking control is displayed in the second display area; the electronic device displays the first task card lock in the first display area in response to a first operation acting on a task lock control displayed on the display screen, and specifically includes: in response to the first operation acting on the first task-locking control, the electronic device switches the first task-locking control displayed in the first display area from being displayed as an unlocked state to being displayed as a locked state.
In the scheme provided by the application, the electronic equipment can display a plurality of task locking controls. In some embodiments, the plurality of task-locking controls displayed by the electronic device may correspond to task cards displayed by the electronic device. In this case, the user can select the task lock control corresponding to the task card to be locked by himself. In this way, the split screen experience of the user is improved.
With reference to the first aspect, in one implementation manner, the first operation is an operation of touching the task lock control and sliding to the first display area; after the responding to the first operation acted on the task lock control displayed by the display screen, the method further comprises: and the electronic equipment switches the task locking control sliding to the first display area from the unlocking state to the locking state.
In the scheme provided by the application, the electronic equipment can display a task locking control. In some embodiments, the user may drag the task lock control to a display area of a respective task card, causing the respective task card to be displayed in a respective display area in a locked manner. In this case, the user can select the task lock control corresponding to the task card to be locked by himself. In this way, the split screen experience of the user is improved.
With reference to the first aspect, in an implementation manner, when the first task card is displayed in the first display area in a locked manner, if a third task card is triggered, the electronic device switches the content displayed in the second display area from a second task card to the third task card, and specifically includes: in response to a second operation acting on the first task card or in response to a third operation acting on the second task card, the electronic device displays the third task card in the second display area.
In the scheme provided by the application, under the condition that the electronic equipment locks and displays the first task card in the first display area, the electronic equipment can trigger the first application to start the third task card through the operation acted on the first task card or the second task card. That is, the electronic device displays the first task card in the first display area, in which case the newly initiated task card is displayed in the second display area. The user may browse the content on the first task card while browsing the new task card. The split screen mode does not need the user to return to the started task card or enter the next task card by himself, but the task cards triggered at different times are displayed on the electronic equipment at the same time, so that the user experience is improved.
In some embodiments, the third task card triggered by an operation on the first task card may be different from the third task card triggered by an operation on the second task card.
With reference to the first aspect, in one implementation manner, after the responding to the first operation acting on the task lock control displayed on the display screen, the method further includes: the electronic equipment determines the first task card as a target locking task card, and configures a locking strategy through a split screen service management application; the locking strategy is used for indicating that the target locking task card is the first task card; the split screen service management application is used for managing the task locking control and determining a locking strategy based on the state change of the task locking control.
In the scheme provided by the application, the electronic equipment can realize the management of the task locking control and the configuration of the locking strategy through the split screen service management application, and the specific reference can be made to the detailed description below.
With reference to the first aspect, in one implementation manner, the displaying, by the electronic device, the third task card in the second display area specifically includes: the electronic equipment starts the third task card; the electronic device determining first location information based on the locking policy; the first position information comprises position coordinates of a display window corresponding to the third task card when the third task card is displayed on the display screen; the electronic equipment determines that a display window corresponding to the third task card is positioned in the second display area based on the first position information; and the electronic equipment displays the third task card in the second display area.
In the solution provided in the present application, the electronic device may determine the first location information based on the locking policy, and determine the location of the display area corresponding to the new task card (e.g., the third task card), which will be described in detail later.
With reference to the first aspect, in one implementation manner, the determining, by the electronic device, first location information based on the locking policy specifically includes: the electronic equipment determines that a display window corresponding to the target locking task card is positioned in the first display area based on the locking strategy; the electronic equipment determines that a display window corresponding to the third task card is in a second display area, and determines the position coordinates of the display window corresponding to the third task card; and the position coordinates of the display window corresponding to the third task card are the position coordinates of the second display area.
With reference to the first aspect, in an implementation manner, before the electronic device determines the first location information based on the locking policy, the method further includes: the electronic equipment sends a first message to a new task starting management module through the first application; the first message is used for notifying the new task starting management module that the third task card is started; the electronic equipment sends a locking strategy acquisition request to the split screen service management application through the new task starting management module; the locking policy acquisition request is used for requesting to acquire the locking policy; the electronic equipment sends the locking strategy to a task card position management module through the new task card starting management module; the electronic device determines, based on the first position information, that a display window corresponding to the third task card is located in the second display area, specifically including: the electronic equipment sends the first position information to a multi-window starting module through the task card position management module; and the electronic equipment starts a display window corresponding to the third task card according to the first position information through the multi-window starting module, and displays the third task card.
In the solution provided in the present application, the electronic device may start a display window corresponding to a new task card (for example, a third task card) according to the first location information, which will be described in detail later.
In a second aspect, an embodiment of the present application provides an electronic device. The electronic device may include a display screen, a memory, and one or more processors. Wherein the one or more processors are coupled with a memory for storing computer program code, the computer program code comprising computer instructions. The display screen is used for displaying a first task card in a first display area and displaying a second task card in a second display area; the first task card and the second task card are task cards of a first application. The display screen is further used for displaying the first task card in the first display area in a locked mode in response to a first operation on the task locking control displayed by the display screen. The processor is used for switching the content displayed in the second display area from the second task card to the third task card if the third task card is triggered under the condition that the first task card is locked and displayed in the first display area; the third task card is a task card of the first application which is triggered to be displayed after the first task card and the second task card.
With reference to the second aspect, in one implementation manner, the display screen is further configured to, before being configured to respond to a first operation acting on a task lock control displayed on the display screen, display the task lock control in response to a task lock control triggering operation; and the task locking control triggering operation is used for triggering and displaying the task locking control.
With reference to the second aspect, in one implementation manner, the task lock control includes a first task lock control and a second task lock control; the first task locking control is displayed in the first display area; and the second task locking control is displayed in the second display area. The display screen is used for displaying the first task card in the first display area in a locked mode in response to a first operation on a task locking control displayed by the display screen, and is specifically used for: in response to the first operation acting on the first task-locking control, switching the first task-locking control displayed in the first display area from being displayed in an unlocked state to being displayed in a locked state.
With reference to the second aspect, in one implementation, the first operation is an operation of touching the task lock control and sliding to the first display area; the display screen is used for switching the task locking control sliding to the first display area from an unlocking state to a locking state after being used for responding to the first operation acted on the task locking control displayed by the display screen.
With reference to the second aspect, in one implementation manner, when the processor is configured to switch, when the first task card is locked and displayed in the first display area and the third task card is triggered, content displayed in the second display area from the second task card to the third task card, the processor is specifically configured to: and displaying the third task card in the second display area through the display screen in response to a second operation acting on the first task card or in response to a third operation acting on the second task card.
With reference to the second aspect, in one implementation, after the responding to the first operation acting on the task lock control displayed on the display screen, the processor is further configured to: determining the first task card as a target locking task card, and configuring a locking strategy through a split screen service management application; the locking strategy is used for indicating that the target locking task card is the first task card; the split screen service management application is used for managing the task locking control and determining a locking strategy based on the state change of the task locking control.
With reference to the second aspect, in one implementation manner, the processor is specifically configured to: starting the third task card; determining first location information based on the locking policy; the first position information comprises position coordinates of a display window corresponding to the third task card when the third task card is displayed on the display screen; based on the first position information, determining that a display window corresponding to the third task card is positioned in the second display area; and the display screen is used for displaying the third task card in the second display area.
With reference to the second aspect, in one implementation manner, the processor is configured to, when determining the first location information based on the locking policy, specifically: determining that a display window corresponding to the target locking task card is positioned in the first display area based on the locking strategy; determining that a display window corresponding to the third task card is in a second display area, and determining the position coordinates of the display window corresponding to the third task card; and the position coordinates of the display window corresponding to the third task card are the position coordinates of the second display area.
With reference to the second aspect, in one implementation, before being used for determining the first location information based on the locking policy, the processor is further configured to: sending a first message to a new task start management module through the first application; the first message is used for notifying the new task starting management module that the third task card is started; sending a locking strategy acquisition request to the split screen service management application through the new task starting management module; the locking policy acquisition request is used for requesting to acquire the locking policy; sending the locking strategy to a task card position management module through the new task card starting management module;
The processor is specifically configured to, when determining, based on the first location information, that a display window corresponding to the third task card is located in the second display area: the first position information is sent to a multi-window starting module through the task card position management module; and starting a display window corresponding to the third task card according to the first position information through the multi-window starting module. And the display screen is used for displaying the third task card.
In a third aspect, the present application provides a computer storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform any one of the implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a chip for application to an electronic device, the chip comprising one or more processors for invoking computer instructions to cause the electronic device to perform any of the implementations of the second aspect described above.
In a fifth aspect, embodiments of the present application provide a computer program product comprising instructions that, when run on a device, cause the electronic device to perform any one of the implementations of the first aspect.
It will be appreciated that the electronic device provided in the second aspect, the computer storage medium provided in the third aspect, the chip provided in the fourth aspect, and the computer program product provided in the fifth aspect are configured to perform any implementation manner of the first aspect. Therefore, the advantages achieved by the method can be referred to the advantages achieved by any one of the implementation manners of the first aspect, and will not be described herein.
Drawings
FIG. 1 is a schematic diagram of the starting of a task card according to an embodiment of the present application;
fig. 2 is a schematic diagram of starting a task card in a split screen scenario according to an embodiment of the present application;
FIGS. 3A-3F are schematic diagrams of a set of user interfaces provided in accordance with embodiments of the present application;
FIGS. 4A-4F are schematic illustrations of yet another set of user interfaces provided by embodiments of the present application;
fig. 5 is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application;
fig. 6 is a schematic software structure of an electronic device 100 according to an embodiment of the present application;
fig. 7 is a schematic software structure of another electronic device 100 according to an embodiment of the present application;
FIG. 8 is a flowchart of a split screen method according to an embodiment of the present application;
fig. 9 is a flowchart of another split screen method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and furthermore, in the description of the embodiments of the present application, "plural" means two or more than two.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the application may be combined with other embodiments.
With the development of mobile communication technology, the types of applications on terminal devices are more and more, the information contained in the applications is more and more, and the functions of the applications are more and more powerful. The user may need to pay attention to different task cards of the application at the same time when using the application on the terminal device. Generally, task cards in an application are presented one by one. For example, as shown in fig. 1, card a in the application activates card B, which in turn activates card C. That is, the application displays card a, card B, and card C in succession. It will be appreciated that card A, card B and card C are all task cards for the application.
It should be noted that, the task card in the present application may be understood as Activity. Activity is one of the four most basic and common Android components. Activity is an application component responsible for interacting with a user. In an Android application, an Activity is typically a separate interface, which may display controls. The user can interact through this interface to accomplish a task. All operations in Activity are closely related to the user. It is appreciated that the electronic device may not be able to fully display Activity due to differences in the size of the display screen of the electronic device and the default display settings. In this case, the user can cause the electronic device to display other parts of the Activity through a sliding operation.
Currently, in order to enable a user to pay attention to different task cards of an application at the same time, a terminal device can adopt an embedded window separation technology to realize that different task cards of one application are displayed at the same time, namely, the application is split. The technology can realize the internal division of the application in various scenes, wherein one of the more common scenes is that the terminal equipment displays a new task card and an old task card from the same application in a split screen manner.
As shown in fig. 2, after the electronic device starts the application, the card a is displayed first. In response to a user operation acting on card a, card a activates card B, and the terminal device displays card a and card B in a split screen. In response to a user operation acting on card B, card B activates card C, and the terminal device no longer displays card a, but displays card B and card C in separate screens. Similarly, in response to a user operation acting on card C, card C activates card D, and the terminal device no longer displays card B, but displays card C and card D in separate screens. It will be appreciated that the references to cards and task cards in this application are intended to be synonymous. In some embodiments, the cards and task cards may be Activity.
It can be understood that the embedded window separation technology provides a system-side solution for implementing the application split screen by taking the Activity as a basic unit and taking the left and right window separation display technology, the double window life cycle management, the double window display mode and the switching logic as core technologies.
It can be understood that although the above manner may enable the terminal device to split-screen display a different interface of an application, the terminal device always split-screen displays a new interface and an old interface for starting the new interface, which limits the combination of the split-screen displayed interfaces. As shown in fig. 2, when the terminal device displays the card B and the card C in a split screen, the card a is in the background, and the terminal device cannot display the card a and the card C in a split screen.
It can be understood that the terminal device in the present application may refer to electronic devices such as a mobile phone, a tablet computer, a notebook computer, and the like.
Some embodiments of the application provide a split screen method and related equipment. According to the split-screen method provided by some embodiments, the electronic device can lock and display one or more of a plurality of task cards (for example, a first task card and a second task card) under the condition that the task cards are displayed in a split-screen mode with an application. If the user triggers the electronic device to start a new task card, the display of the locked task card is not affected, and the position of the display window of the new task card is the area where the unlocked task card is located. A new task window is displayed in the foreground and the unlocked task card is transferred to the background. Through the split screen method, a user can use more split screen combinations, split screen display of the task cards in the application can be more flexible, and split screen experience of the user is improved. In other scenarios, the multiple task cards displayed in a split screen in some embodiments of the present application may also be task cards from different applications.
The following describes some split screen scenarios provided by the present application.
It is to be understood that the terms "interface" and "user interface" in the specification and claims and in the drawings are medium interfaces for interaction and exchange of information between an application or operating system and a user, which enable conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
1. Office split screen scene (figures 3A-3F)
1. Entering split screen (figures 3A-3C)
Referring to fig. 3A, fig. 3A is a schematic diagram of a user interface according to an embodiment of the application.
As shown in fig. 3A, the user interface 310 displays a page on which application icons are placed. The page may include a plurality of application icons (e.g., weather application icon, calendar application icon, email application icon, settings application icon, application store application icon, notes application icon, album application icon, application M icon 311, and application N icon 312, etc.).
It can be understood that the application program corresponding to the application M icon 311 is application M. Application M is a communications application. The user may communicate with other people through the application M. The specific communication modes can be sending text information, sending voice information, making voice calls, making video calls and the like. Of course, the application M may have other functions, which the application is not limited to. In addition, the present application does not limit the icon and name of the application M. The application program corresponding to the application N icon 312 is application N. Application N is an online shopping application. The user may make online purchases by applying N.
Page indicators can be displayed below the application icons to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator are a plurality of application icons (e.g., browser application icon, camera application icon). It is understood that the application icons below the page indicator remain displayed upon page switching.
It will be appreciated that the above-described representations and names of application icons are examples only and should not be construed as limiting. In addition, other content may be displayed on user interface 310, as the application is not limited in this regard.
In addition, the application program and the application in the embodiment of the application represent application, namely mobile phone software, which can be simply called APP.
The electronic device 100 may detect a user operation acting on the application M icon 311, and in response to the user operation, the electronic device 100 may display the user interface 320 shown in fig. 3B. The user interface 320 may be a main interface of the application M. The user interface 320 may include one or more chat thumbnail boxes (e.g., chat thumbnail box 321) and may also include items of content such as "pay", "file transfer", "sports", and "subscribe to number message".
It should be noted that, the user operations mentioned in the embodiments of the present application may include, but are not limited to, touching, voice control, gestures, and so on.
The electronic device 100 may detect a user operation on the chat thumbnail box 321, and in response to the user operation, the electronic device 100 may display the user interface 330 shown in fig. 3C. The user interface 330 may include a display area 331 and a display area 332. The display area 331 may display the task card M1 of the application M. The task card M1 is the first task card displayed after the user triggers the start of the application M. The task card M1 may be understood as a main interface of the application M. The display area 332 may display the task card M2 of the application M. The task card M2 may be understood as a chat task of the user with elder Zhao. The display area 331 may also display a task lock control 3311. The task lock control 3311 is used to lock the task card M1. The display area 332 may also display a task lock control 3321. The task lock control 3321 is used to lock the task card M2. As shown in fig. 3C, both task-locked control 3311 and task-locked control 3321 are shown in an unlocked state. That is, in the case shown in fig. 3C, the task card M1 and the task card M2 are both in the unlocked state.
It is to be appreciated that the task card M2 can include a document link 3322. I.e., the display area 332 may also display a document link 3322. Document link 3322 is a link sent to the user of the device by the other party (elder Zhao) of the chat task to which task card M2 corresponds.
It should be noted that, in the present application, the user interface and the interface may be understood as what is displayed on the display screen of the electronic device 100. In some embodiments, the task card may not be fully displayed on the display screen due to limitations in the size of the electronic device screen, etc. In this case, the user can slide up and down to make the display screen display different contents of the task card, that is, the user interface displayed by the display screen changes.
In some embodiments, in response to a user operation acting on chat thumbnail box 321, the user interface displayed by electronic device 100 does not include task-locking controls (e.g., task-locking control 3311 and task-locking control 3321). In this case, the user may autonomously trigger the electronic device 100 to display a task lock control.
In some embodiments, the user may trigger the electronic device 100 to display the task lock control by launching a split screen service management application (e.g., by directly clicking on a split screen service management application icon).
In some embodiments, the user may invoke the electronic device 100 to display a task lock control via a shortcut. For example, a shortcut button displaying a task lock control exists in the notification bar of the electronic device 100, which a user can cause the electronic device 100 to display the task lock control by clicking on.
In some embodiments, the user may enter the split display mode by clicking a button or icon that initiates a split function to split display of task cards from the same or different applications, and may further lock the display of one of the task cards by some operation, such as pressing a task card long or clicking an icon or button of a lock window to lock the display of the one task card. Before or after the task card is locked for display, the user may also switch the display positions of the task cards displayed by two split screens (e.g., who is displayed on the left and who is displayed on the right) by some operations (e.g., dragging the window or clicking on an icon or button that switches the display positions of the windows). The buttons or icons described above may be concentrated in one window or menu bar or control bar display, such as in the middle of the two task cards, and may be further located at the top of the screen, i.e., in the central area above the screen. Buttons or icons, also referred to as controls. For another example, in response to a user operation (e.g., a slide-left/right operation), the electronic device 100 may display a hover ball that the user may cause the electronic device 100 to display a task lock control by clicking on.
2. Locking task card (figure 3D)
The electronic device 100 can detect a user operation on the task-lock control 3321, in response to which the electronic device 100 can display the user interface 340 shown in fig. 3D. The user interface 340 may include a display area 331 and a display area 341. The display area 341 may display the task card M2 of the application M. The display area 341 may also display the task-lock control 3321 in a locked state. It can be appreciated that the task card M2 is locked for display in the display area 341. The task card M2 can include a document link 3322.
3. Opening a new task card (FIGS. 3E-3F)
The electronic device 100 may detect a user operation on the document link 3322 included in the user interface 340 shown in fig. 3D, and in response to the user operation, the electronic device 100 may display the user interface 350 shown in fig. 3E. The user interface 350 may include a display area 351 and a display area 341. The display area 351 may display the task card M3. The task card M3 is a task card that the application M starts based on the document link 3322 included in the task card M2. That is, the display area 351 may display a document interface. The task card M3 can include a reimbursement entry link 3511. Reimbursement portal link 3511 is used to trigger electronic device 100 to display reimbursement interfaces. It will be appreciated that in the case where the electronic device 100 displays the user interface 350 shown in fig. 3E, the electronic device 100 moves back to the background with the task card M1 originally displayed in the display area 331. In some embodiments, the electronic device 100 can detect a user operation on the control 3512, in response to which the electronic device 100 can re-screen the task card M1 and the task card M2 (as shown in fig. 3D).
The electronic device 100 may detect a user operation on the reimbursement portal link 3511, in response to which the electronic device 100 may display the user interface 360 shown in fig. 3F. The user interface 360 may include a display area 361 and a display area 341. The display area 361 may display the task card M4. The task card M4 is a task card that the application M starts based on the reimbursement portal link 3511 included in the task card M3. It is understood that the display area 361 may display a reimbursement interface. In some embodiments, the task card M4 may be understood as a reimbursement interface.
It will be appreciated that the specific implementation of opening a new task card described above is not described here, and the detailed description thereof will be seen later.
2. Shopping split screen scene (figures 4A-4F)
1. Entering split screen (figures 4A-4B)
The electronic device 100 may detect a user operation on the application N icon 312, in response to which the electronic device 100 may display a main interface of the application N. The user may search the search bar in the main interface for "cell phone" to trigger the electronic device 100 to launch the task card N1, thereby displaying the user interface 410 shown in fig. 4A on the display screen. The content displayed by the user interface 410 is part or all of the content included in the task card N1. The user interface 410 may include a control 411. The control 411 is used for triggering and displaying an introduction interface of the R1 type mobile phone.
The electronic device 100 can detect a user operation on the control 411, in response to which the application N can launch the task card N2, so that the electronic device 100 can display the user interface 420 shown in fig. 4B. The user interface 420 may include a display area 421 and a display area 422. The display area 421 is used to display the task card N1. The display area 422 is used to display the task card N2. The task card N2 includes information about the R1 type mobile phone. The display of the electronic device 100 may also display the task lock control 423. As shown in fig. 4B, the task lock control 423 may be displayed at the interface of the display area 421 and the display area 422. The task locking control is used for locking the task card N1 and/or the task card N2.
It should be noted that, due to the limitation of the size and other factors, the task card N2 cannot be completely displayed on the display screen of the electronic device 100. As shown in fig. 4B, the display area 422 displays a part of the content of the task card N2. In the present application, the interface displayed by the display area 422 may be denoted as user interface O1.
2. Opening a new task card (FIGS. 4C-4F)
The user may touch the task lock control 423 and slide toward the display area 422. The electronic device 100 may detect a user operation acting on the task lock control 423, in response to which the task lock control 423 may switch from being displayed in an unlocked state to being displayed in a locked state, such that the electronic device 100 may display the user interface 430 of fig. 4C. The user interface 430 may include a display area 421 and a display area 431. The display area 431 is used for displaying the task card N2. It is understood that the display area 431 may also display the task lock control 423 in a locked state.
It should be noted that, in some embodiments, the user may touch the task lock control 423 in the locked state and move it to the intersection between the display area 421 and the display area 422, and in response to this operation, the task lock control 423 may be switched from being displayed in the locked state to being displayed in the unlocked state. In this case, the user can touch the task lock control 423 in the unlocked state and slide toward the display area 421. The electronic device 100 can detect a user operation on the task lock control 423, in response to which the task lock control 423 can switch from being displayed in an unlocked state to being displayed in a locked state. It is appreciated that at this point, the task lock control 423 is located in the display area 421.
It will be appreciated that there are a number of ways to switch the task lock control 423 in the locked state to the unlocked state, which is merely one example provided by the present application and should not be considered limiting.
The electronic device 100 may detect an upward sliding operation acting on the display area 431, and in response to the upward sliding operation, the electronic device 100 may display a user interface 440 as shown in fig. 4D. The user interface 440 may include a display area 421 and a display area 441. The display area 441 is used to display the task card N2. It will be appreciated that as shown in fig. 4D, the display area 441 displays a portion of the contents of the task card N2. In the present application, the interface displayed by the display area 441 may be referred to as a user interface O2. It can be understood that the contents displayed by the user interface O1 and the user interface O2 are part of the contents of the task card N2. As shown in fig. 4D, the task card N2 may include a control 4411. Control 4411 is used to trigger the generation of a task card N3. The task card N3 may include information about the R2 type handset.
The electronic device 100 can detect a user operation on the control 4411, in response to which the application N initiates the task card N3, thereby enabling the electronic device 100 to display the user interface 450 as shown in fig. 4E. The user interface 450 may include a display area 451 and a display area 441. The display area 451 is used to display the task card N3. And the display area 441 is used to display the task card N2.
The electronic device 100 may detect a downward sliding operation acting on the display area 441, and in response to the downward sliding operation, the electronic device 100 may display a user interface 460 as shown in fig. 4F. The user interface 460 may include a display area 451 and a display area 461. It will be appreciated that display area 451 is used to display task card N3, while display area 461 is used to display task card N2. According to the above, the task card N2 includes information related to the R1 type mobile phone, and the task card N3 includes information related to the R2 type mobile phone. The user can compare the related information of different models of mobile phones displayed on the display screen, so that a satisfactory product is selected.
It should be noted that the split-screen scheme may also be applied to other types of applications, and is not limited to the above-mentioned communication applications and shopping applications. In addition, the presentation forms of the task lock control described in the above two split screen scenes (office split screen scene and shopping split screen scene) are only two examples provided by the present application, and the task lock control may be presented in other forms, which is not limited by the present application.
The following describes the apparatus according to the embodiment of the present application.
Fig. 5 is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (Subscriber Identification Module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a memory, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
In the embodiment provided by the present application, the electronic device 100 may execute the split screen method through the processor 110.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
Fig. 6 is a schematic software structure of an electronic device 100 according to an embodiment of the present application.
As shown in fig. 6, the software framework of the electronic device 100 may include an application layer and an application framework layer.
The application layer may comprise a series of applications. Such as the first application and split screen service management application shown in fig. 6. The first application may be an office application, a shopping application, or another type of application. The first application may enable different task cards to be displayed simultaneously on the display screen of the electronic device 100. The split screen service management application is used for managing states of other applications when splitting screens. The split screen service management application may include a task lock control. The task lock control is used for locking and displaying a task card of an application program such as a first application program in a corresponding area of a display screen of the electronic device 100.
The application framework layer provides an application programming interface and programming framework for application programs of the application layer. The application framework layer includes some predefined functions. As shown in fig. 6, the application framework layer may include a task lifecycle module and a window manager.
The task life cycle module is used for managing the life cycle of the task card. It is understood that the task cards and tasks mentioned in the present application refer to activities. That is, the task lifecycle module is responsible for the maintenance of the Activity lifecycle. The task lifecycle module may also include a new task card initiation module. The new task card starting module can request to acquire the locking strategy and can also transmit the acquired locking strategy to other modules.
The window manager (WindowManager) is mainly used to manage some states, attributes, view additions, deletions, updates, window order, message collection and processing, etc. of the window. The window manager may include a split screen combination management module, a multi-window initiation module, and a task card location management module. The split screen combination management module can be used for managing the position of a display window where the task card currently displayed on the display screen is located and the hierarchical relation among all the started task cards. The multi-window initiation module may initiate a display window for displaying the task card. The task card location management module may be used to calculate the location of the task card when displayed on the display screen. It will be appreciated that the task card will ultimately be displayed in a display window on the display screen, and the task card position management module will function to calculate the position (e.g., coordinates, etc.) of this display window.
It will be appreciated that in general, the task cards of the same application will be displayed through a window. In the application, the task cards of the same application can be independently displayed separately, i.e. each task card of the application can be independently displayed at different positions of the display screen.
It should be noted that in some embodiments, the software framework of the electronic device 100 may further include an interface layer. The interface layer may include a software development kit (Software Development Kit, SDK). SDKs refer to a collection of development tools in building application software for a particular software package, software framework, hardware platform, operating system, etc.
It should be noted that, the schematic software framework of the electronic device 100 shown in fig. 6 provided in the embodiment of the present application is only an example, and the software framework of the electronic device 100 may also include other modules, and the present application is not limited to specific module division in different layers.
It will be appreciated that the software framework shown in fig. 6 above may also function as part of an existing software framework. The following describes a software framework of an electronic device 100 with an Android (Android) operating system according to an embodiment of the present application with reference to fig. 7.
As shown in fig. 7, the software framework of the electronic device 100 may include an application layer, an application framework layer, a system library, an Zhuoyun row, a hardware abstraction layer, and a kernel layer.
It is understood that the relevant descriptions of the application layer and the application framework layer may be referred to above, and will not be repeated here.
It should be noted that in some embodiments, the task lifecycle module may be a module in the activity manager. An Activity manager (actigammanager) is an important part of the android framework, which is responsible for the creation of new Activity threads (actighreads) and the maintenance of the Activity lifecycle.
The system library and Android run-time comprise function functions required to be called by an application framework layer, a core library of Android and an Android virtual machine. The system library may include a plurality of functional modules. For example: browser kernel, three-dimensional (3 d) graphics, font library, etc.
The Hardware Abstraction Layer (HAL) is a device kernel driven abstract interface for enabling application programming interfaces that provide a higher level Java application programming interface (Application Programming Interface, API) framework to access the underlying devices. HAL contains a plurality of library modules, such as audio, bluetooth, cameras, sensors, etc. Wherein each library module implements an interface for a particular type of hardware component. When the system framework layer API requires access to the hardware of the portable device, the Android operating system will load the library module for that hardware component.
The kernel layer is the basis of the Android operating system, and the final functions of the Android operating system are completed through the kernel layer. The kernel layer may include camera drivers, audio drivers, bluetooth drivers, sensor drivers, display drivers, touch screen drivers, key drivers, and the like. For example, the interface language between the kernel layer and the hardware abstraction layer is the hardware abstraction layer interface description language (HAL interface definition language, HIDL).
It should be noted that, the schematic software framework of the electronic device 100 shown in fig. 7 provided in the embodiment of the present application is only used as an example, and is not limited to specific module division in different hierarchies of the android operating system, and reference may be made to description of the software structure of the android operating system in the conventional technology. In addition, other operating systems may also be employed in the electronic device 100 provided in the embodiments of the present application. It can be understood that the input method calling method provided by the embodiment of the application can also be realized based on other operating systems, and the application is not limited to one by one.
The following describes a split screen method provided by the present application with reference to fig. 8.
S801: in response to a user operation acting on the task lock control, the split screen service management application configures a lock policy.
It can be appreciated that the user can trigger a state change of the task locking control by clicking or the like, and the split screen service management application can configure the locking policy according to the state change of the task locking control. It can be appreciated that the task locking control is a control in a split screen service management application. The locking policy includes a target locking task card. The target locking task card is a task card that the user desires to lock.
It should be noted that, the state change of the task lock control mentioned in the present application refers to a state change of the task lock control between the state of being displayed as an unlocked state and the state of being displayed as a locked state.
In some embodiments, the split screen service management application may configure the locking policy based on the location of the task locking control after the state change, and the location of the task card currently displayed by the display screen. And determining the target locking task card according to the position relation between the task locking control after the state change and the task card currently displayed on the display screen.
Illustratively, a first display area of the display screen of the electronic device 100 displays the task card A and a second display area of the display screen of the electronic device 100 displays the task card B. It can be appreciated that the task card a and the task card B are both task cards of the first application. The display of the electronic device 100 also displays a task-locked control, and the task-locked control is displayed in an unlocked state. The user can slide the task lock control to the first display area, and the task lock control is switched to be displayed in a locked state. That is, when the task lock control slides to the first display area where the task card a is displayed, the display is switched to the lock state. In this case, the split screen service management application determines to lock the task card a. I.e. the locking policy is: the task card a is locked in the first display area. That is, the target-locked task card is a task card a. Similarly, the user may slide the task lock control to the second display area, with the task lock control switching to display in a locked state. That is, when the task lock control slides to the second display area where the task card B is displayed, the display is switched to the lock state. In this case, the split-screen service management application determines to lock the task card B. I.e. the locking policy is: the task card B is locked in the second display area. That is, the target-locked task card is a task card B.
In some embodiments, the display of the electronic device 100 may display a plurality of task-locking controls. Illustratively, a first display area of the display screen of the electronic device 100 displays the task card A and a second display area of the display screen of the electronic device 100 displays the task card B. The first display area is also displayed with a task locking control K1, and the second display area is also displayed with a task locking control K2. It can be appreciated that the task card a and the task card B are both task cards of the first application. In response to a user operation acting on the task lock control K1, the split screen service management application may set the lock policy to: the task card a is locked. That is, the target-locked task card is a task card a. In this case, the electronic device 100 may lock the task card a in the first display area. In another case, in response to a user operation acting on the task lock control K2, the split screen service management application may set the lock policy to: the task card B is locked. That is, the target-locked task card is a task card B. In this case, the electronic apparatus 100 may lock the task card B in the second display area.
It can be understood that the task card a may be the task card M2 in the foregoing embodiment, and may also be the task card N2 in the foregoing embodiment. The task card B may be the task card M1 in the foregoing embodiment, or may be the task card N1 in the foregoing embodiment. The task lock control K1 may be a task lock control 3321. The task lock control K2 may be a task lock control 3311.
Note that, before step S801 is performed, the electronic apparatus 100 is in the split screen state. That is, the electronic device 100 may display a plurality of task cards in a split screen. It can be appreciated that the plurality of task cards displayed on the split screen of the electronic device 100 are all task cards of the first application. In addition, the electronic device 100 may display a plurality of task cards in various forms of split screens. In some embodiments, the electronic device 100 may split-screen display two task cards in a left-right split-screen fashion.
In some embodiments, when the electronic device 100 enters a split screen, a split screen service management application may be launched and a task lock control displayed.
In still other embodiments, after the electronic device 100 enters the split screen, the user may autonomously launch the split screen service management application, thereby causing the electronic device 100 to display the task lock control. For example, a user may trigger the electronic device 100 to display a task lock control through a gesture or shortcut. It will be appreciated that the application is not limited in the manner in which the user triggers the electronic device 100 to display the task lock control.
In some embodiments, the task lock control is automatically displayed when the electronic device 100 enters a split state. If no user operation is detected for the preset time, the electronic device 100 may not display the task lock control any more.
S802: in response to a user operation, the first application initiates a new task card.
It is understood that the user may click on a control displayed in the task card of the display screen, thereby triggering the first application to launch a new task card. In some embodiments, prior to performing step S802, the electronic device 100 may split-screen display a plurality of task cards of the first application. The user may click on a control in the plurality of task cards, triggering the task card to launch a new task card.
For example, before performing step S802, the electronic device 100 may display the task card a and the task card B in a split screen. It can be appreciated that the task card a and the task card B are both task cards of the first application. Specifically, the electronic device 100 may display the task card a in the first display area and display the task card B in the second display area. In response to a user operation, the first application may launch the task card C. The task card C is a new task card.
It should be noted that, the first application starting the new task card in step S802 means that the first application generates a new task card, but the new task card is not displayed on the display screen yet. That is, the first application generates a new Activity object that has not yet been attributed to its display window, i.e., has not yet been displayed on the display screen of the electronic device 100.
S803: the first application sends a first message to the new task card initiation management module. The first message is used for notifying the information that the first application starts the new task card to the new task card starting management module.
Specifically, after the first application starts a new task card, a first message may be sent to the new task card start management module to notify the new task card start management module that the new task card has been started by itself.
Correspondingly, the new task card startup management module can receive a first message sent by the first application.
S804: the new task card starting management module sends a locking strategy acquisition request to the split screen service management application. The locking policy acquisition request is used for requesting to acquire the locking policy set by the split-screen service management application.
Specifically, after the new task card startup management module receives the first message sent by the first application, a locking policy acquisition request may be sent to the split-screen service management application. The locking policy acquisition request is used for requesting to acquire the locking policy set by the split-screen service management application.
S805: after receiving the locking policy acquisition request sent by the new task card starting management module, the split screen service management application sends a locking policy to the new task card starting management module.
It can be understood that, after the split-screen service management application receives the locking policy acquisition request sent by the new task card start management module, the locking policy set by itself (refer to step S801) may be sent to the new task card start management module. In accordance with the above, the locking policy includes targeting the task card.
S806: the new task card starting management module sends a second message to the multi-window starting module. The second message is used for notifying the multi-window starting module that the first application starts a new task card.
It is understood that the new task card activation management module may send a second message to the multi-window activation module. The second message is used for notifying the multi-window starting module that the first application starts a new task card.
Correspondingly, the multi-window starting module can receive a second message sent by the new task card starting management module.
S807: the new task card starting management module sends a locking strategy to the multi-window starting module.
It is understood that the new task card initiation management module may send the locking policy obtained from the split-screen service management application to the multi-window initiation module.
Correspondingly, the multi-window starting module can receive the locking strategy sent by the new task card starting management module.
In some embodiments, the new task card initiation management module may send a message to the multi-window initiation module in combination with the locking policy informing the first application to initiate a new task card. Illustratively, the second message includes a locking policy. In this case, the electronic apparatus 100 does not need to execute step S807 any more. The new task card starting management module does not need to send the locking strategy to the multi-window starting module again.
It is understood that the present application is not limited to the order in which the electronic device 100 performs the steps S805 and S806. The application does not limit the sequence of the second message and the locking strategy sent by the new task card starting management module.
S808: the multi-window starting module sends a locking strategy to the task card position management module.
It can be understood that after the multi-window starting module receives the locking policy sent by the new task card starting management module, the target locked task card can be determined, but the corresponding display window cannot be directly started to display the new task card because the position of the display window corresponding to the new task card when displayed on the display screen is not determined at this time. In this case, the multi-window starting module may send the locking policy to the task card position management module to obtain the position of the display window corresponding to the new task card.
Correspondingly, the task card position management module can receive the locking strategy sent by the multi-window starting module.
S809: the task card position management module determines first position information according to a locking strategy. The first position information comprises position coordinates of a display window corresponding to the new task card when the new task card is displayed on the display screen.
Specifically, after the task card position management module receives the locking policy sent by the multi-window starting module, the target locking task card can be determined according to the locking policy, the position coordinate of the display window where the target locking task card is located is determined, and the position coordinate of the display window corresponding to the new task card when the new task card is displayed on the display screen is determined based on the position coordinate of the display window.
In some embodiments, the electronic device 100 displays two task cards in the same application in a split screen. The two task cards respectively correspond to a display window. In this case, the two task cards may span the entire display screen of the electronic device 100. After the electronic device 100 determines the position coordinates of the display window where the target task locking card is located, since the target task locking card and the new task card can be paved on the whole display screen, the electronic device 100 can determine the position coordinates of the display window corresponding to the new task card according to the screen size.
It should be noted that, the display window mentioned in the present application is used for displaying the task card, i.e. the Activity. It will be appreciated that in the case where there are multiple display windows, the task cards displayed by these display windows may be task cards in the first application, i.e. Activity in one application. That is, in the present application, different activities of one application may be separately displayed on the electronic device 100, and the electronic device 100 may also lock the activities therein, thereby fixing the display window of the Activity in the locked state.
S810: the task card position management module sends first position information to the multi-window starting module.
It can be appreciated that after the task card position management module determines the position of the display window corresponding to the new task card when displayed on the display screen, the first position information may be sent to the multi-window starting module. The first location information may include location coordinates of a display window corresponding to when the new task card is displayed on the display screen.
Correspondingly, the multi-window starting module can receive the first position information sent by the task card position management module.
S811: and the multi-window starting module starts a display window corresponding to the new task card according to the position information, so that the electronic equipment 100 displays the target locking task card and the new task card in a split screen mode.
It can be understood that the multi-window starting module can start the display window in the corresponding area of the display screen according to the position coordinates of the display window corresponding to the new task card included in the first position information, and display the new task card in the display window. In this case, the display screen also displays a target lock task card. That is, the electronic device 100 may display the target locked task card and the new task card in a split screen. The task card previously displayed on the electronic device 100 with the target-locked task card split screen is returned to the background and is no longer displayed on the display screen.
For example, before performing step S801, the electronic device 100 may display the task card a and the task card B in a split screen. That is, the electronic device 100 may display the task card a in the first display area and display the task card B in the second display area. It can be appreciated that the task card a and the task card B are both task cards of the first application. The first display area and the second display area can be understood as display windows of the task cards a and B. In response to a user operation, the split screen service management application determines that the task card B is a target locking task card. In response to a user operation acting on the task card B, the first application may launch a new task card, task card C. That is, the task card C is the next-stage task card of the task card B. The task card position management module may determine, according to a locking policy (i.e., the task card B is a target locking task card), that a position of a display window corresponding to the task card C is a position of the first display area. The multi-window starting module may start a new display window at the position of the first display area, and display the task card C in the new display window, while the task card a originally displayed at the first display area is backed up.
S812: the multi-window starting module sends a third message to the split screen combination management module. The third message is used for notifying the split screen combination management module to update the split screen combination.
It is understood that the multi-window initiation module may send a third message to the split screen combination management module. The third message may be used to inform the split combination management module to update the split combination. In some embodiments, the third message may include the task card currently displayed on the display screen and the location of the task card. The position of the task card mentioned here can also be understood as the position of the display window corresponding to the task card.
Correspondingly, the split screen combination management module can receive a third message sent by the multi-window starting module.
S813: the split screen combination management module may receive a third message sent by the multi-window starting module, and update the split screen combination based on the third message.
Specifically, the split-screen combination management module may receive the third message sent by the multi-window starting module, determine the task cards displayed on the current display screen and the positions of the task cards according to the third message, and determine the hierarchical relationship between the task cards returned to the background and the task cards displayed on the display screen, and update the split-screen combination. It is understood that a split screen combination may include the task cards currently displayed on the display screen and their locations, as well as the hierarchical relationship between all task cards (including the foreground and background task cards). It will be appreciated that one task card may activate (launch) another task card, and that a logical relationship exists between the two task cards. In the case of activating multiple task cards, there is a logical relationship between the task cards. These complex relationships can be understood as hierarchical relationships between task cards. Briefly, the hierarchical relationship between task cards is the relationship between the task cards that activate other task cards and the task cards that are activated.
A logical relationship (logic relationship), i.e., a "dependency relationship," refers to a relationship in which a change in one of two activities (a preceding activity and a subsequent activity) will affect the other activity.
Illustratively, after the first application initiates task card A, electronic device 100 initiates task card B in response to a user operation acting on task card A. This means that the task card a activates the task card B. The task card a can be understood as a previous-level task card of the task card B. If the electronic device 100 detects a return operation acting on the task card B, the electronic device 100 may display the task card a.
For example, in the split-screen scenario provided by the present application, the electronic device 100 may display the task card a and the task card B in a split-screen manner. If the electronic device 100 activates the task card C through the task card a in response to a user operation acting on the task card a in the case of locking the task card a, the electronic device 100 displays the task card a and the task card C in a split screen. In this case, if the electronic apparatus 100 detects a return operation acting on the task card C, the task card C is destroyed, and the electronic apparatus 100 may display the task card a and the task card B in a split screen.
For example, in the split-screen scenario provided by the present application, the electronic device 100 may display the task card a and the task card B in a split-screen manner. If the electronic device 100 activates the task card D through the task card B in response to a user operation acting on the task card B with the task card a locked, the electronic device 100 displays the task card a and the task card D in a split screen. In this case, if the electronic apparatus 100 detects a return operation acting on the task card D, the electronic apparatus 100 may display the task card a and the task card B in a split screen.
For example, in the split-screen scenario provided by the present application, the electronic device 100 may display the task card a and the task card B in a split-screen manner. If the electronic device 100 activates the task card D through the task card B in response to a user operation acting on the task card B in the case of locking the task card B, the electronic device 100 displays the task card B and the task card D in a split screen. In this case, if the electronic apparatus 100 detects a return operation acting on the task card D, the electronic apparatus 100 may display the task card a and the task card B in a split screen.
For example, in the split-screen scenario provided by the present application, the electronic device 100 may display the task card a and the task card B in a split-screen manner. If the electronic device 100 activates the task card C through the task card a in response to a user operation acting on the task card a in the case of locking the task card B, the electronic device 100 displays the task card B and the task card C in a split screen. In this case, if the electronic apparatus 100 detects a return operation acting on the task card C, the electronic apparatus 100 may display the task card a and the task card B in a split screen.
It is understood that the split-screen combination management module may include a split-screen combination before the first application initiates a new task card. After receiving the third message, the split screen combination can be updated according to the task card displayed by the current display screen and the position of the task card included in the third message, and the split screen combination before the first application starts the new task card.
In some embodiments, the task card location management module may send a fourth message to the dynamic effects manager. The fourth message is used for notifying the dynamic effect manager to issue the transition dynamic effect. The transition motion effect refers to an animation effect displayed on the display screen when the task card displayed on the electronic device 100 is changed. For example, a new task card is slid to the corresponding display area for display.
Another split screen method provided by the present application is described below with reference to fig. 9.
S901: the electronic device 100 displays the first task card in a first display area of the display screen and displays the second task card in a second display area of the display screen. The first task card and the second task card are task cards of the first application.
It is understood that the electronic device 100 may display a first task card in a first display area of the display screen and a second task card in a second display area of the display screen. And the first task card and the second task card are task cards of the first application. That is, the electronic device 100 may split screen display two task cards of the first application.
In accordance with the above, a task card refers to Activity. I.e. the first and second task cards are two activities of the first application.
In some embodiments, before performing step S901, the electronic device 100 may display the first task card on the display screen in full screen. In response to a user operation acting on the first task card, the electronic device 100 may activate the second task card and display the first and second task cards in the first and second display areas on the display screen, respectively. That is, the second task card may be a task card that is launched by the first task card.
In some embodiments of the present application, when the electronic device 100 displays the first task card and the second task card in a split screen manner, the first task card cannot be displayed in the first display area completely. In this case, in response to a user operation (e.g., sliding up or sliding down) acting on the first task card, the electronic device 100 may display a different portion of the first task card in the first display area. This means that the interface displayed by the electronic device 100 in the first display area may change.
Similarly, in some embodiments, when the electronic device 100 displays the first task card and the second task card in a split screen, the second task card cannot be displayed completely in the first display area. In this case, in response to a user operation (e.g., sliding up or sliding down) acting on the second task card, the electronic device 100 may display a different portion of the second task card in the second display area. This means that the interface displayed by the electronic device 100 in the second display area may change.
In some embodiments, the first task card referred to herein may be the task card M2 shown in fig. 3C and 3D, and the second task card may be the task card M1 shown in fig. 3C and 3D. The first display area may be the display area 332 shown in fig. 3C. The second display area may be the display area 331 shown in fig. 3C.
In some embodiments, the first task card referred to herein may be the task card N2 shown in fig. 4B, 4C, and 4D, and the second task card may be the task card N1 shown in fig. 4B, 4C, and 4D. The first display area may be the display area 421 shown in fig. 4B. The second display area may be the display area 422 shown in fig. 4B.
S902: in response to a first operation acting on the task lock control, the electronic device 100 switches the task lock control from being displayed in an unlocked state to being displayed in a locked state and locks the first task card in the first display area.
It is appreciated that the task-locked control may be displayed in an unlocked state. The user may perform a corresponding operation (e.g., click, slide, voice control, gesture control, etc.) on the task-locking control, and in response to the first operation acting on the task-locking control, the electronic device 100 may switch the display state of the task-locking control to the locked state, i.e., the electronic device 100 may display the task-locking control in the locked state.
It should be noted that, in some embodiments, the default display state of the task lock control is an unlocked state. That is, the task-locking control is in an unlocked state when first displayed on the display screen of the electronic device 100.
According to the foregoing embodiment, when the electronic device 100 displays different task cards (for example, the first task card and the second task card) of the same application in a split screen manner, the task lock control may be actively triggered by the user and may also be displayed autonomously by the electronic device.
In some embodiments, the display of the electronic device 100 displays a task lock control. The user may slide the task-locking control to lock the task cards displayed in different areas. In the case that the user slides the task lock control to the first display area, the electronic device may switch the task lock control from displaying as an unlocked state to displaying as a locked state, and lock and display the first task card in the first display area. In the case that the user slides the task lock control to the second display area, the electronic device may switch the task lock control from displaying as an unlocked state to displaying as a locked state, and lock the second task card to displaying in the second display area.
In some embodiments, the display screen of the electronic device 100 displays a plurality of task-locking controls. For example, when the electronic device 100 displays the first task card in the first display area and displays the second task card in the second display area, the electronic device 100 may display the first task lock control in the first display area and may display the second task lock control in the first display area. The user may trigger the first task lock control to switch from the display as unlocked state to the display as locked state by clicking or the like, and the electronic device 100 may lock the first task card to be displayed in the first display area.
It is appreciated that the first task-locking control can be the task-locking control 3321 shown in FIG. 3C. The second task lock control may be task lock control 3311 shown in FIG. 3C.
It can be appreciated that when the task lock control is displayed in the locked state, the user may trigger the task lock control to switch to display in the unlocked state by clicking or sliding or other operations.
S903: in response to a second operation acting on the first task card, the electronic device 100 displays a third task card in the second display area. The third task card is a task card started by the first application through the first task card.
It is appreciated that in response to a second operation acting on the first task card, the electronic device 100 may display a third task card in the second display area while still displaying the first task card in the first display area. It is understood that the third task card is a task card of the first application. I.e. the Activity of the first application.
In some embodiments, the second display region may be the display region 351 shown in fig. 3E. The third task card may be the task card M3 shown in fig. 3E.
In some embodiments, the second display area may be the display area 451 shown in fig. 4E. The third task card may be the task card N3 shown in fig. 4E.
In some embodiments, the electronic device 100 may detect a third operation on the second task card, in response to which the electronic device 100 may display the third task card in the second display area. It is understood that the third task card triggered and launched by the second task card is different from the third task card triggered and launched by the first task card.
The above embodiments are merely illustrative of the technical solution, and not limiting thereof; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (9)

1. A split screen method, the method comprising:
the electronic equipment displays a first Activity in a first display area of a display screen, and displays a second Activity in a second display area of the display screen; the first Activity and the second Activity are activities of a first application;
in response to a first operation acting on a task lock control displayed by the display screen, the electronic device displays the first Activity lock in the first display area;
triggering a third Activity in response to a user operation on the first Activity under the condition that the first Activity lock is displayed in the first display area;
when the third Activity is triggered, the electronic equipment switches the content displayed in the second display area from the second Activity to the third Activity and updates a split screen combination; the third Activity is the Activity of the first application which is triggered to be displayed after the first Activity and the second Activity; the split screen combination comprises activities and positions thereof currently displayed on the display screen, and a hierarchical relation among all activities including foreground and background activities;
And responding to a return operation of the user in the third Activity input, displaying the second Activity in the second display area based on the split screen combination, and continuing to display the first Activity in the first display area.
2. The method of claim 1, wherein prior to the responding to the first operation acting on the task-locking control displayed by the display screen, the method further comprises:
responding to a task locking control triggering operation, and displaying the task locking control by the electronic equipment; and the task locking control triggering operation is used for triggering and displaying the task locking control.
3. The method of claim 1 or 2, wherein the task-locking controls comprise a first task-locking control and a second task-locking control; the first task locking control is displayed in the first display area; the second task locking control is displayed in the second display area;
the responding to the first operation acted on the task locking control displayed by the display screen, the electronic equipment displays the first Activity locking in the first display area, and the method specifically comprises the following steps:
In response to the first operation acting on the first task-locking control, the electronic device switches the first task-locking control displayed in the first display area from being displayed as an unlocked state to being displayed as a locked state.
4. The method of claim 1 or 2, wherein the first operation is an operation of touching the task lock control and sliding toward the first display area;
after the responding to the first operation acted on the task lock control displayed by the display screen, the method further comprises:
and the electronic equipment switches the task locking control sliding to the first display area from the unlocking state to the locking state.
5. The method of claim 1 or 2, wherein the method further comprises, after the responding to the first operation acting on the task-locking control displayed by the display screen:
the electronic equipment determines the first Activity as a target locking task card, and configures a locking strategy through a split screen service management application; the locking strategy is used for indicating that the target locking task card is the first Activity; the split screen service management application is used for managing the task locking control and determining a locking strategy based on the state change of the task locking control.
6. The method of claim 5, wherein the electronic device displays the third Activity in the second display area, specifically comprising:
the electronic equipment starts the third Activity;
the electronic device determining first location information based on the locking policy; the first position information comprises position coordinates of a display window corresponding to the third Activity when the third Activity is displayed on the display screen;
the electronic equipment determines that a display window corresponding to the third Activity is positioned in the second display area based on the first position information;
and the electronic equipment displays the third Activity in the second display area.
7. The method of claim 6, wherein the electronic device determines first location information based on the locking policy, comprising:
the electronic equipment determines that a display window corresponding to the target locking task card is positioned in the first display area based on the locking strategy;
the electronic equipment determines that the display window corresponding to the third Activity is in a second display area, and determines the position coordinate of the display window corresponding to the third Activity; and the position coordinates of the display window corresponding to the third Activity are the position coordinates of the second display area.
8. The method of claim 6 or 7, wherein prior to the electronic device determining the first location information based on the locking policy, the method further comprises:
the electronic equipment sends a first message to a new task card starting management module through the first application; the first message is used for notifying the new task card starting management module that the third Activity is started;
the electronic equipment sends a locking strategy acquisition request to the split-screen service management application through the new task card starting management module; the locking policy acquisition request is used for requesting to acquire the locking policy;
the electronic equipment sends the locking strategy to a task card position management module through the new task card starting management module;
the electronic device determines, based on the first location information, that a display window corresponding to the third Activity is located in the second display area, specifically including:
the electronic equipment sends the first position information to a multi-window starting module through the task card position management module;
and the electronic equipment starts a display window corresponding to the third Activity according to the first position information through the multi-window starting module and displays the third Activity.
9. An electronic device comprising a display screen, a memory, one or more processors, wherein the memory is for storing a computer program; the processor is configured to invoke the computer program to cause the electronic device to perform the method of any of claims 1-8.
CN202210114794.9A 2022-01-30 2022-01-30 Screen splitting method and related equipment Active CN115525187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210114794.9A CN115525187B (en) 2022-01-30 2022-01-30 Screen splitting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210114794.9A CN115525187B (en) 2022-01-30 2022-01-30 Screen splitting method and related equipment

Publications (2)

Publication Number Publication Date
CN115525187A CN115525187A (en) 2022-12-27
CN115525187B true CN115525187B (en) 2023-08-11

Family

ID=84694422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210114794.9A Active CN115525187B (en) 2022-01-30 2022-01-30 Screen splitting method and related equipment

Country Status (1)

Country Link
CN (1) CN115525187B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416203A (en) * 2018-03-21 2018-08-17 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal
CN109062467A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN112882777A (en) * 2019-11-30 2021-06-01 华为技术有限公司 Split-screen display method and electronic equipment
CN113986408A (en) * 2020-07-09 2022-01-28 华为技术有限公司 Application page display method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110709806A (en) * 2017-07-18 2020-01-17 华为技术有限公司 Multitasking operation method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416203A (en) * 2018-03-21 2018-08-17 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal
CN109062467A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN112882777A (en) * 2019-11-30 2021-06-01 华为技术有限公司 Split-screen display method and electronic equipment
CN113986408A (en) * 2020-07-09 2022-01-28 华为技术有限公司 Application page display method and electronic equipment

Also Published As

Publication number Publication date
CN115525187A (en) 2022-12-27

Similar Documents

Publication Publication Date Title
EP4068065B1 (en) Card display method, electronic device, and computer-readable storage medium
CN108614722B (en) Application program preloading method and device, storage medium and terminal
US10853979B2 (en) Electronic device and method for displaying screen thereof
WO2021104030A1 (en) Split-screen display method and electronic device
WO2021244443A1 (en) Split-screen display method, electronic device, and computer readable storage medium
WO2021057868A1 (en) Interface switching method and electronic device
CN108710513B (en) Application program starting method and device, storage medium and terminal
KR102080146B1 (en) Operating Method associated with connected Electronic Device with External Display Device and Electronic Device supporting the same
WO2019000287A1 (en) Icon display method and device
WO2013185658A1 (en) Method for entering functional interface in a screen locked state of mobile terminal and mobile terminal
CN114237779A (en) Method for displaying window, method for switching window, electronic equipment and system
EP4280058A1 (en) Information display method and electronic device
EP4318239A1 (en) Methods and apparatuses for calling application program, storage medium, and electronic device
CN114489350B (en) Input method calling method and related equipment
CN108762838B (en) Application program preloading method and device, storage medium and terminal
CN115525187B (en) Screen splitting method and related equipment
CN114530148A (en) Control method and device and electronic equipment
US10303351B2 (en) Method and apparatus for notifying of content change
CN112114883A (en) Terminal awakening method, terminal and computer storage medium
CN114461312A (en) Method for switching application and task in application and electronic equipment
KR101661974B1 (en) Mobile terminal and operation method thereof
CN114489858B (en) Application software information setting method and device, terminal equipment and storage medium
CN112492100A (en) Method and device for controlling communication, folding screen equipment and storage medium
US11138024B2 (en) Multiple independent lifecycle states
CN116048317B (en) Display method and device

Legal Events

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