CN106445286B - Method and device for determining focus of terminal screen based on split screen and terminal equipment - Google Patents

Method and device for determining focus of terminal screen based on split screen and terminal equipment Download PDF

Info

Publication number
CN106445286B
CN106445286B CN201610822508.9A CN201610822508A CN106445286B CN 106445286 B CN106445286 B CN 106445286B CN 201610822508 A CN201610822508 A CN 201610822508A CN 106445286 B CN106445286 B CN 106445286B
Authority
CN
China
Prior art keywords
window
screen
split
focus
determining
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.)
Expired - Fee Related
Application number
CN201610822508.9A
Other languages
Chinese (zh)
Other versions
CN106445286A (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610822508.9A priority Critical patent/CN106445286B/en
Publication of CN106445286A publication Critical patent/CN106445286A/en
Application granted granted Critical
Publication of CN106445286B publication Critical patent/CN106445286B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

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

Abstract

The invention discloses a method and a device for determining a focus of a terminal screen based on split screen and terminal equipment. The method comprises the following steps: responding to user operation, inquiring a first window provided with a focus mark position, and determining split screens presenting the first window; judging whether the focus is transferred to a second window or not according to a preset rule corresponding to the user operation; and if the focus is transferred to a second window, determining to present a split screen of the second window, presenting the second window in the split screen, and setting a focus mark bit for the second window. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.

Description

Method and device for determining focus of terminal screen based on split screen and terminal equipment
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a method and a device for determining a focus of a terminal screen based on split screen and terminal equipment.
Background
With the increasing screen size of the intelligent terminal and the increasing and more powerful hardware functions such as a Central Processing Unit (CPU), a memory, a Graphics Processing Unit (GPU), and the like, the demand of the user for simultaneous display of multiple applications is also increasing.
Although currently common operating systems on a terminal, such as an android system (also called an android system, a mobile operating system developed by google corporation) and an ios system (a mobile operating system developed by apple corporation), are multi-task systems, which can run multiple applications simultaneously, when the terminal executes a certain application program, if messages of other application programs need to be processed, a user needs to perform program switching in a specific manner. Taking the android system as an example, when a terminal executes a certain application program and when messages of other application programs need to be processed, a user needs to suspend the currently running application program to return to a main interface through a home key or quit an operation interface of the currently running application program, and then searches for the application program to be started in an application program list and runs the application program, so that the terminal needs to continuously perform switching display between the application programs, and the processing complexity is high.
For example, when a user uses a navigation application, if an address book needs to be called, the user needs to pause a navigation interface in use to switch to an address book interface; for another example, two applications with interactive functions need to see several interrelated applications simultaneously when they are invoked or referenced to each other. Therefore, if a user needs to perform display operation on a plurality of applications at the same time, the user needs to switch back and forth between the application interfaces of the applications, which brings inconvenience to the user.
Some smart devices require that a screen needs to have a split screen display function, but in an operating system of a mobile terminal, an activity having a focus can receive an input and then execute a current operation.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a focus determination method, apparatus, and terminal device for a split-screen based terminal screen that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a focus determination method of a split-screen based terminal screen displayed in a split-screen manner, wherein a window in a focus state is provided with a focus flag bit, the method comprising:
responding to user operation, inquiring a first window provided with a focus mark position, and determining split screens presenting the first window;
judging whether the focus is transferred to a second window or not according to a preset rule corresponding to the user operation;
and if the focus is transferred to a second window, determining to present a split screen of the second window, presenting the second window in the split screen, and setting a focus mark bit for the second window.
According to another aspect of the present invention, there is provided a focus determination apparatus for a split-screen based terminal screen, the terminal screen being displayed in a split-screen manner, wherein a window in a focus state is provided with a focus flag bit, the apparatus comprising:
the response module is suitable for responding to user operation, inquiring the first window provided with the focus mark position and determining split screen presenting the first window;
the processing module is suitable for judging whether the focus is transferred to a second window according to a preset rule corresponding to the user operation;
the presenting module is suitable for determining to present split screens of the second window if the focus is transferred to the second window, and presenting the second window in the split screens;
and the focus setting module is suitable for setting a focus mark bit for the second window.
According to still another aspect of the present invention, there is provided a terminal device including the above-mentioned focus determining apparatus of a split-screen based terminal screen.
According to the method, the device and the terminal equipment for determining the focus of the split-screen-based terminal screen, provided by the embodiment of the invention, by setting the focus mark bit for the window in the focus state, under the condition that the focus is triggered to be transferred from the first window to the second window by user operation, the split screen presenting the second window is determined firstly, then the second window is presented in the split screen, and the focus mark bit is set for the second window. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1a is a flowchart illustrating a split-screen display method of a terminal screen according to an embodiment of the present invention;
FIG. 1b is a schematic diagram illustrating a split-screen display interface of a mobile phone screen according to an embodiment of the present invention;
FIG. 1c is a schematic view of a split-screen display interface of a vehicle event data recorder in the embodiment of the invention;
fig. 2 illustrates a flowchart of a focus determination method of a split-screen based terminal screen according to an embodiment of the present invention;
fig. 3 illustrates a flowchart of a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention;
fig. 6 is a functional configuration diagram of a focus determination apparatus for a split-screen based terminal screen according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The focus determination scheme of the split-screen-based terminal screen provided by the embodiment of the invention is provided on the basis of realizing the function of split-screen display application on the terminal equipment, and the focus determination scheme provided by the embodiment of the invention can be applied to the split-screen display solution provided by the prior art and can also be applied to the split-screen display solution shown in the following figure 1. The split-screen display solution shown in fig. 1 is greatly different from the split-screen display solution provided in the prior art, and in order to more clearly describe the implementation basis of the embodiment of the present invention, the split-screen display solution is first described.
Fig. 1a shows a flowchart of a split-screen display method of a terminal screen according to an embodiment of the present invention. As shown in fig. 1a, the method comprises the steps of:
step S101, when a user triggers and starts an application program, determining split screens of windows for presenting the application program.
When a user triggers the launching of an application, it is first determined at which split screen the window of the application is presented. Taking left and right split screens as an example, if a user triggers to start a navigation application, it needs to be determined whether the navigation application is presented on a left screen or a right screen.
Fig. 1b shows a schematic view of a split-screen display interface of a mobile phone screen in the embodiment of the present invention. As shown in fig. 1b, the screen of the mobile phone is divided into an upper screen and a lower screen, wherein the upper screen presents a video player and the lower screen presents a browser. Fig. 1c shows a schematic view of a split-screen display interface of the automobile data recorder in the embodiment of the invention. As shown in fig. 1c, the screen of the tachograph is divided into four screens, presenting the navigation application, the camera, the music and the traffic statistics application in sequence from left to right. When any of the applications in fig. 1b and 1c is started, it is necessary to determine in which split screen the window of the application is presented.
One implementation manner of the embodiment of the present invention is that when a user triggers and starts a certain application program, the user can input a split-screen selection instruction, and the split screen of a window presenting the application program is determined according to the split-screen selection instruction. For example, the terminal screen is displayed with a split screen selection button, the user can select the split screen by clicking or dragging, and the system determines which split screen the window of the application program is presented in according to the selection of the user.
Another implementation manner of the embodiment of the present invention is that a configuration list is stored in advance in the system, and the configuration list records a corresponding relationship between an application program and a split screen. As can be understood as a split screen in which the default presentation of the application window is recorded in the configuration list. When a user triggers to start an application program, the user directly queries the configuration list to determine the split screen of the window for presenting the application program without selecting the split screen.
The two implementation modes can be combined together, when a user triggers and starts an application program, whether the user inputs a split screen selection instruction is judged, and if yes, the split screen of a window presenting the application program is determined according to the split screen selection instruction; if not, the configuration list is queried to determine a split screen for presenting a window of the application.
If the split screen of the window for presenting the application program cannot be determined in the above manner, the window of the application program is presented by default in a certain split screen (such as a default left screen or a default upper screen).
Step S102, judging whether the system creates a stack corresponding to split screen, if so, executing step S104; if not, step S103 is executed.
In the android system, one application program contains many active components (activities), one activity corresponds to one window, and the system can continuously start many activities to improve the user experience. All open activities are stored in the stack. A set of related activities are allocated into a stack. The root activity in the stack is the start of the task and, in general, is the activity selected in the user group application loader. Activity at the top of the stack is just the currently running active component that handles the user's actions centrally. When an activity initiates another new activity, the new activity will push onto the stack, which will become the active activity in operation. The previous activity remains in the stack. When the user presses the back button, the current activity pops up from the stack and the previous activity returns to the active state.
In the prior art, the stack of the system comprises a home stack and a non-home stack. The home stack is a stack for managing a desktop (Launcher), and the non-home stack is a stack for managing applications. That is, in the prior art, once a user triggers to launch an application, the activity of the application is pushed to the non-home stack. This is the processing mechanism of the android system Framework layer (Framework).
The embodiment of the invention improves the processing mechanism of the android system frame layer in the prior art, and creates an additional stack besides a home stack and a non-home stack. The home stack and the non-home stack correspond to a full screen, the additionally created stacks correspond to split screens, and each split screen corresponds to an independent stack.
After determining the split screen of the window for presenting the application, a determination is made as to whether the system has created a stack corresponding to the split screen. Taking left and right split screens as an example, if the split screen of the window a1 for presenting the application a started by the user is determined to be the left screen, it is determined whether the system has created a stack corresponding to the left screen. If there are other windows presented on the left screen before the user launches application A or before window A1 is presented, then the system has created a stack corresponding to the left screen; if window a1 is the initial interface that the left screen needs to present, then the stack corresponding to the left screen needs to be created first.
And step S103, creating a stack corresponding to split screen.
This step creates a stack for split screens of a window for presenting an application, the stack being independent of the home stack and the non-home stack. The creation of tasks (tasks) continues in the stack, each task consisting of multiple activities.
And S104, pressing the movable assembly into the stack, enabling the movable assembly to be positioned at the stack top of the stack, and carrying out layout on the window of the application program by utilizing the window position parameter and the window size parameter managed by the stack.
If it is determined in step S102 that the system has created a stack corresponding to the split screen, other activities have been pushed into the stack in advance. For example, two tasks, task1 and task2, are created in the stack, task1 contains three activities, a1, a2, and a3, respectively, and task2 contains two activities, a4 and a5, respectively. If the activity launched by the current user is a6 and a6 is an active component activated by a5, a6 is pushed to the stack after being launched, a task2 is entered, an interface presented by a6 covers the interface of a5, and a5 enters a background operation.
In step S102, if it is determined that the system does not create a stack corresponding to the split screen, the stack corresponding to the split screen is created, and the activity started by the current user is pushed into the stack, and at this time, only this activity is in the stack, so that the activity is at the bottom of the stack and also at the top of the stack.
In the embodiment of the present invention, each stack manages its own window layout parameters (including a window position parameter and a window size parameter). Taking left and right split screens as an example, the window layout parameter of stack management corresponding to the left screen enables the corresponding window to be laid out on the left half part of the terminal screen, and the window layout parameter of stack management corresponding to the right screen enables the corresponding window to be laid out on the right half part of the terminal screen.
And step S105, displaying the window of the application program in the split screen.
Further, after the step S105, the method may further include:
and step S106, modifying the window position parameter and/or the window size parameter of stack management according to the triggering behavior of the user.
After the window of the application is displayed on the terminal screen in a split-screen mode, a user can trigger the split-screen window to move and change the size by clicking and/or dragging and the like, and the window position parameter and/or the window size parameter of stack management are/is modified according to the triggering behavior of the user. For example, if a user moves a split-screen window, modifying a window position parameter of stack management corresponding to the split screen; and if the size of a certain split-screen window is changed by dragging, modifying the window size parameter of stack management corresponding to the split screen.
And S107, re-laying out the window of the application program according to the modified window position parameter and/or window size parameter.
And step S108, displaying the window of the application program after the new layout in a split screen.
The method can realize left-right split screen and up-down split screen. For example, a left screen stack and a right screen stack are additionally created, the left screen stack manages a window of an application a presented in the left half of the terminal screen, and the right screen stack manages a window of an application B presented in the right half of the terminal screen, so that left and right split screens are realized; or additionally creating an upper screen stack and a lower screen stack, wherein the upper screen stack manages the window of the application A presented on the upper half part of the terminal screen, and the lower screen stack manages the window of the application B presented on the lower half part of the terminal screen, so that the upper and lower split screens are realized. The invention is not limited to the method, and a plurality of stacks can be created, and each stack manages the split-screen window according to the respective window layout parameter, so that the visual effect of multi-application split-screen can be realized finally.
As can be seen from the above description, the split-screen display method of the terminal screen according to the embodiment of the present invention manages the active components corresponding to the windows that need to be displayed in a split-screen manner by creating an additional stack, and implements isolated management of each split-screen on the framework layer, so that the layout management of the windows in each split-screen is not affected by each other, and finally implements split-screen display of multiple application windows on the terminal screen, that is, implements a visual effect of split-screen. The user can start a plurality of applications simultaneously, and a plurality of application programs run simultaneously without mutual influence, thereby greatly improving the simplicity of user operation. Furthermore, the user can move the split screen window or change the size of the split screen window, and the flexibility of split screen display of the terminal screen is improved.
Based on the split-screen display method for the terminal screen or the split-screen display solution provided in the prior art, the method for determining the focus of the terminal screen based on the split-screen provided by the embodiment of the present invention is described in detail below.
Fig. 2 illustrates a flowchart of a focus determination method of a split-screen based terminal screen according to an embodiment of the present invention. In the method, a terminal screen is displayed in a split screen manner, and a window in a focus state is provided with a focus mark bit, as shown in fig. 2, the method comprises the following steps:
step S201, in response to a user operation, querying a first window with a focus flag bit set therein, and determining a split screen in which the first window is presented.
In an embodiment of the present invention, a window refers to an application window presented in a User Interface (UI). Taking the Android system as an example, among the four major components of the Android application program, only the Activity component is related to the UI, and what is described is an application program window. One Activity corresponds to one application window, and the starting of any Activity is completed by the cooperation of AMS (Activity manager service) service and application program process. In order to more effectively manage the focus of the window, the invention marks the window which is in the focus state at present by setting a focus mark bit.
In practical applications, the shift of focus is usually triggered by user operation. In the method, user operation is monitored, when the user operation occurs, a first window provided with a focus mark position is inquired in response to the user operation, and split screen presenting of the first window is determined. Optionally, the user operation to which the method needs to respond includes: the operation of clicking the screen by the user and/or the operation of pressing the system return key by the user. The user clicking the screen operation refers to the user clicking a screen area except the system status bar, the user pressing the system return key refers to the user clicking or pressing a back key in the system status bar, and as shown in fig. 1c, a small arrow at the upper right corner of the screen of the automobile data recorder is the system return key. When the "back" key is clicked, the system defaults to executing the finish () method of the current activity of the application and then jumps out of the interface.
Step S202, according to a preset rule corresponding to the user operation, judging whether the focus is transferred to a second window.
The method identifies the user operation, and after the user operation is identified, whether focus transfer occurs or not is judged according to a preset rule corresponding to the operation, namely whether the focus is transferred from a first window to a second window or not. If the focus is not transferred, for example, the first window is currently in the focus state, the user clicks the screen range to which the first window belongs, and the focus is not transferred, then the method does not process the focus.
Step S203, if the focus is transferred to the second window, determining to present the split screen of the second window, presenting the second window in the split screen, and setting a focus mark bit for the second window.
If focus is transferred from the first window to the second window, a split screen of the second window is determined to be presented. Because the method aims at the focus processing of the terminal screen based on split screen, focus transfer can occur in two situations: one is that the focus is shifted to a second window under the same split screen; the other is focus shifting to a second window under the other split screen. In either case, the method first determines the split screen in which the second window is to be rendered, then renders the second window in the split screen, and sets a focus flag bit for the second window.
Further, if the focus is shifted to a second window under the same split screen, before presenting the second window in the split screen, the method further includes: and removing the focus mark bit of the first window.
According to the focus determining method of the split-screen-based terminal screen, provided by the embodiment of the invention, by setting the focus mark bit for the window in the focus state, under the condition that the user operates to trigger the focus to be transferred from the first window to the second window, the split screen presenting the second window is determined, then the second window is presented in the split screen, and the focus mark bit is set for the second window. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
Fig. 3 illustrates a flowchart of a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention. In the method, a terminal screen is displayed in a split screen mode, a window in a focus state is provided with a focus mark position, and the method mainly describes a focus determining method responding to the operation of clicking the screen by a user. As shown in fig. 3, the method comprises the steps of:
step S301, responding to the screen clicking operation of the user, inquiring the first window with the focus mark position, and determining the split screen presenting the first window.
In this embodiment, the operation of clicking the screen by the user refers to an operation of clicking a screen area except for the system status bar by the user. The user click screen operation is one of the operations that trigger focus shift. The method monitors the operation of clicking the screen by a user, and when the operation of clicking the screen by the user occurs, the first window provided with the focus mark position is inquired in response to the operation, and the split screen of the first window is determined to be presented. According to the split-screen display method of the terminal screen, the system creates an additional stack for managing each split screen, and realizes the isolation management of each split screen on the framework layer, so that the window layout management of each split screen is not influenced by each other. In this way, after the first window currently in the focus state is queried, which stack the first window is pushed into is further searched, and then the split screen corresponding to the first window can be determined.
Step S302, determining a user click position corresponding to the screen click operation of the user.
For the operation of clicking the screen by the user, the onTouchervent method can be realized in Activity, and the coordinates of the clicking position of the user can be obtained through event.
Step S303, determining the triggered window according to the user click position, determining whether the triggered window is a second window, if so, determining that the focus is transferred to the second window, and executing step S304.
The triggered window is determined by combining the user click position and the window layout parameter, and specifically, whether the coordinate of the user click position belongs to the window range of a certain window can be compared to determine the window triggered by the operation. If the triggered window is not the first window but the second window, it is determined that focus shift occurs. If the focus is not transferred, for example, the first window is currently in the focus state, the user clicks the window range of the first window, and the focus is not transferred, then the method does not process the focus.
Step S304, determining the split screen presenting the second window, presenting the second window in the split screen, and setting a focus mark bit for the second window.
If focus is transferred from the first window to the second window, a split screen of the second window is determined to be presented. Specifically, the stack managing the second window is first searched, and the split screen presenting the second window can be determined. For responding to the operation of clicking the screen by the user, the windows clicked by the user are all windows positioned at the top of each stack, and if the focus of the windows is shifted, the windows are all shifted to windows positioned at the top of the stack under other split screens, so in this case, the first window and the second window are positioned in different split screens, and the second window is already presented in the split screens (positioned at the top of the stack for managing the split screens), all that needs to be done in this step is to set a focus mark bit for the second window.
According to the focus determining method of the split-screen-based terminal screen, provided by the embodiment of the invention, by setting the focus mark bit for the window in the focus state, under the condition that a user clicks the screen to trigger the focus to be transferred from the first window to the second window, the split screen presenting the second window is determined firstly, then the second window is presented in the split screen, and the focus mark bit is set for the second window. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
Fig. 4 illustrates a flowchart of a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention. In the method, a terminal screen is displayed in a split screen mode, a window in a focus state is provided with a focus mark position, and the method mainly describes a focus determining method for responding to the operation of pressing a system return key by a user. As shown in fig. 4, the method includes the steps of:
in step S401, in response to an operation of pressing a system return key by a user, a first window in which a focus flag bit is set is queried, and a split screen in which the first window is presented is determined.
In this embodiment, the operation of pressing the system return key by the user refers to an operation of clicking or pressing a "back" key in the system status bar, and when the "back" key is clicked, the system executes a finish () method of the current activity of the application by default, and then jumps out of the interface. The operation of the user pressing the system return key is one of the operations of triggering the focus shift. The method monitors the operation of pressing the system return key by a user, and when the operation of pressing the system return key by the user occurs, the first window provided with the focus mark position is inquired in response to the operation, and the split screen of the first window is determined to be presented. According to the split-screen display method of the terminal screen, the system creates an additional stack for managing each split screen, and realizes the isolation management of each split screen on the framework layer, so that the window layout management of each split screen is not influenced by each other. In this way, after the first window currently in the focus state is queried, which stack the first window is pushed into is further searched, and then the split screen corresponding to the first window can be determined.
Step S402, inquiring the window starting sequence recorded in the stack for managing the split screen presenting the first window, and judging whether the focus is transferred to the second window.
In this embodiment, the specific step of determining whether the focus is transferred to the second window is: judging whether a started window exists before the first window, if so, determining that the window started before the first window is a second window, determining that the focus is transferred to the second window, and executing the step S403; if not, the first window is known to be the window which is started first in the split screen mode and presents the first window, the focus is determined to be transferred to the desktop instead of being transferred to the second window, and step S404 is executed.
The method comprises the steps that a window starting sequence is recorded in a stack for managing split screens, a window which is firstly started is firstly pressed into the stack, and whether a window which is started exists before a first window or not is judged by inquiring the window starting sequence.
Step S403, determining the split screen presenting the second window, presenting the second window in the split screen, setting a focus mark bit for the second window, and removing the focus mark bit of the first window.
And under the condition that the second window is started before the first window is judged, determining to present split screens of the second window. In this case, the split screen presenting the second window is the same split screen as the split screen presenting the first window. And presenting a second window in the split screen, setting a focus mark position for the second window, meanwhile, because the first window and the second window are positioned under the same split screen, the interface presented by the second window covers the interface of the first window, the first window enters a background to run, and the focus mark position of the first window is removed.
And S404, presenting the desktop in the split screen, and setting a focus mark position for the desktop.
And under the condition that the first window is judged to be the window which is started first in the split screen presenting the first window, determining that the focus is transferred to the desktop at the moment, presenting the desktop in the split screen, and setting a focus mark position for the desktop.
In another embodiment of the present invention, one implementation manner of step S402 is: inquiring a window starting sequence recorded in a stack for managing split screens presenting a first window, knowing that the first window is a window started first by a first split screen (split screen presenting the first window), and knowing that the first window is a window triggered and started by user operation on a second window started by a second split screen (different from the other split screen of the first split screen), determining that a focus is transferred to the second window, and executing step S403, but in step S403, because the first window and the second window are not presented in the same split screen, removing a focus mark bit of the first window. This embodiment is applicable to a scenario in which the functions of each other are invoked between two applications presented in different split screens. For example, a certain window of the WeChat presented in the second split screen is triggered to open a file due to user operation, a WPS application is required to be called to open the file, and the file window of the WPS application is presented in the first split screen and is in a focus state; at this time, the user presses a system return key, and since the file window of the WPS application is the window started first in the first split screen and the file window is the window started by the user operation triggered on the wechat window started in the second split screen, it is determined that the focus should be shifted to the wechat window.
According to the focus determining method of the split-screen-based terminal screen provided by the embodiment of the invention, by setting the focus mark bit for the window in the focus state, under the condition that the focus transfer is triggered by the operation of pressing the system return key by the user, the window starting sequence recorded in the stack for managing the split screen presenting the first window is inquired to judge the window or the desktop to which the focus should be transferred. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
Fig. 5 is a flowchart illustrating a focus determination method of a split-screen based terminal screen according to another embodiment of the present invention. In the method, a terminal screen is displayed in a split screen mode, a window in a focus state is provided with a focus mark position, and the method also describes a focus determining method responding to the operation of pressing a system return key by a user. Unlike the embodiment shown in fig. 4, the method is applicable to a scenario that at least one split screen of the terminal screen is started with a resident window. The resident window refers to a window which is always started in the split screen and can not be triggered to exit by the operation of a user. Taking a terminal device as an intelligent rearview mirror as an example, the main function provided by the intelligent rearview mirror is a navigation function, and a navigation window provided by a navigation application can reside in one split screen of the intelligent rearview mirror, so that the navigation window is used for providing navigation service for a user in real time.
In the method of this embodiment, an example in which two split screens exist in a terminal screen is described, where a split screen presenting a first window is a first split screen, and another split screen is a second split screen. However, it should be noted that the method provided by the present invention is not only applicable to the case of two split screens, but also applicable to the case of more than two split screens.
As shown in fig. 5, the method includes the steps of:
step S501, responding to the operation that the user presses a system return key, inquiring a first window provided with a focus mark position, and determining a first split screen presenting the first window.
Step S502, inquiring a window starting sequence recorded in a stack for managing the first split screen, judging whether the first window is the window which is started first in the first split screen, and if so, executing step S503; otherwise, determining the window started before the first window as the second window, and executing step S505.
The specific implementation of step S501 and step S502 is the same as that of step S401 and step S402, and is not described again.
Step S503, judging whether the first window is a resident window of the first split screen, if so, executing step S504; otherwise, step S506 is executed.
And under the condition that the first window is judged to be the window which is started first in the split screen, continuously judging whether the first window is a resident window of the split screen. Taking the resident navigation window of the intelligent rearview mirror as an example, if the current focus is on the resident navigation window, even if the user presses the system return key, the resident navigation window does not enter the background operation, and still needs to be continuously presented in the first sub-screen, thereby providing real-time navigation service for the user.
Step S504, judge whether the second split screen starts the second window, if, carry out step S505; otherwise, step S506 is executed.
Although the resident window does not go into background execution, the focus of the operation in response to the user still shifts. The method comprises the steps of judging whether a second window is started in the second split screen, specifically, inquiring a window starting sequence recorded in a stack for managing the second split screen, and if the window is started, determining that the last started window is the second window and the focus should be transferred to the second window. If no window is launched, indicating that the second split screen does not present any application's window, then focus should be shifted to the desktop.
Step S505, determining that the focus is transferred to a second window, determining a second split screen presenting the second window, presenting the second window in the second split screen, setting a focus mark bit for the second window, and removing the focus mark bit of the first window.
And under the condition that the second split screen is started, determining to present the second split screen of the second window. Under the condition, the first window and the second window are under different split screens, the first split screen presents a resident window, the second split screen presents the second window, a focus mark position is set for the second window, and the focus mark position of the first window is removed, so that the focus is shifted.
Step S506, determining that the focus is transferred to the desktop, and setting a focus mark bit for the desktop.
And under the condition that the second split screen is judged not to be started with the second window, determining that the focus is transferred to the desktop at the moment, and setting a focus mark position for the desktop. The focus shifts and the first split screen continues to render the resident window.
The method for determining a focus of a split-screen-based terminal screen, provided by the embodiment of the present invention, is applicable to at least one split screen of a terminal screen, where a resident window is started, and if a plurality of other split screens exist besides the split screen for starting the resident window, priorities for focus transfer can be set for the plurality of other split screens, and in step S504, whether a second window is started for the other split screens is sequentially determined according to the priority order, so as to determine to which split screen window the focus should be transferred or to a desktop. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
Fig. 6 is a functional configuration diagram of a focus determination apparatus for a split-screen based terminal screen according to an embodiment of the present invention. And displaying the terminal screen in a split screen mode, wherein the window in the focus state is provided with a focus mark bit. As shown in fig. 6, the apparatus includes: a response module 61, a processing module 62, a presentation module 63, and a focus setting module 64.
And the response module 61 is suitable for responding to the user operation, inquiring the first window provided with the focus mark position and determining the split screen for presenting the first window. The response module 61 is further adapted to: in response to a user click on a screen operation and/or in response to a user pressing a system return key. The user clicking the screen operation refers to the operation that the user clicks the screen area except the system status bar, and the operation that the user presses the system return key refers to the operation that the user clicks or presses the back key in the system status bar.
And the processing module 62 is adapted to determine whether the focus is transferred to the second window according to a predetermined rule corresponding to the user operation. The processing module 62 determines whether focus shift occurs, i.e., whether focus is shifted from the first window to the second window, according to a preset rule corresponding to a user operation. If the focus is not transferred, for example, the first window is currently in the focus state, the user clicks the screen range to which the first window belongs, and the focus is not transferred, the device does not process the screen range.
And the presenting module 63 is adapted to determine to present the split screen of the second window if the focus is transferred to the second window, and present the second window in the split screen.
A focus setting module 64 adapted to set a focus flag bit for the second window. The focus setting module 64 is further adapted to: and removing the focus mark bit of the first window.
If focus is shifted from the first window to the second window, the rendering module 63 determines to render the split screen of the second window. Because the device aims at the focus processing of the terminal screen based on split screen, focus transition can occur in two situations: one is that the focus is shifted to a second window under the same split screen; the other is focus shifting to a second window under the other split screen. In either case, the rendering module 63 determines the split screen for rendering the second window and then renders the second window in the split screen, and the focus setting module 64 sets the focus flag bit for the second window and removes the focus flag bit for the first window. If the focus is shifted to a second window under the same split screen, the presenting module 63 covers the interface presented by the second window over the interface of the first window, so that the first window enters a background operation.
Further, the processing module 62 includes: the first processing sub-module 621 is adapted to determine a user click position corresponding to a user click screen operation, determine a triggered window according to the user click position, and determine that the focus is transferred to the second window if the triggered window is not the first window but the second window. For the operation of clicking the screen by the user, the onTouchervent method can be realized in Activity, and the coordinates of the clicking position of the user can be obtained through event. The triggered window is determined by combining the user click position and the window layout parameter, and specifically, whether the coordinate of the user click position belongs to the window range of a certain window can be compared to determine the window triggered by the operation. If the triggered window is not the first window but the second window, it is determined that focus shift occurs. If the focus is not transferred, for example, the first window is currently in the focus state, the user clicks the window range of the first window, and the focus is not transferred, the device does not process the focus.
Further, the processing module 62 includes: the second processing sub-module 622 is adapted to query a window start sequence recorded inside a stack for managing split screens presenting the first window according to an operation of pressing a system return key by a user, and determine whether the focus is transferred to the second window.
Optionally, the second processing submodule 622 includes: a first querying element 622a and a determining element 622 b.
The first querying unit 622a is adapted to query a window launching order for managing an in-stack record of a split screen presenting the first window.
The determining unit 622b is adapted to determine that the window started before the first window is the second window and determine that the focus is transferred to the second window if the first querying unit 622a knows that the started window exists before the first window.
The determining unit 622b is further adapted to: if the first querying unit 622a knows that the first window is the window that is first started by the split screen that presents the first window, it determines that the focus is not transferred to the second window, but is transferred to the desktop.
The presentation module 63 is further adapted to: the desktop is presented in split screens. The focus setting module 64 is further adapted to: a focus flag bit is set for the desktop.
In yet another embodiment of the present invention, the determining unit 622b is further adapted to: if the first querying unit 622a learns that the first window is the window started first by the first split screen (the split screen presenting the first window), and learns that the first window is the window started by being triggered by the user operation on the second window started by the second split screen (the second split screen different from the first split screen), it determines that the focus is transferred to the second window. This embodiment is applicable to a scenario in which the functions of each other are invoked between two applications presented in different split screens. For example, a certain window of the WeChat presented in the second split screen is triggered to open a file due to user operation, a WPS application is required to be called to open the file, and the file window of the WPS application is presented in the first split screen and is in a focus state; at this time, the user presses a system return key, and since the file window of the WPS application is the window started first in the first split screen and the file window is the window started by the user operation triggered on the wechat window started in the second split screen, it is determined that the focus should be shifted to the wechat window.
In another embodiment of the invention, the device is also suitable for starting a scene with a resident window in at least one split screen of the terminal screen. Specifically, the second processing submodule 622 further includes: a judging unit 622c and a second querying unit 622 d.
The determining unit 622c is adapted to determine whether the first window is a resident window of the first split screen if the first querying unit 622a knows that the first window is the window started first in the first split screen.
The second querying unit 622d is adapted to determine whether the second split screen is started with the second window if the determining unit 622c determines that the first window is the resident window of the first split screen. The second querying element 622d is further adapted to: and inquiring the window starting sequence recorded in the stack for managing the second split screen, and determining the last started window as the second window.
The determining unit 622b is further adapted to: if the second querying unit 622d determines that the second split screen is started with the second window, it is determined that the focus is transferred to the second window; if the second query unit 622d determines that the second split screen has no window started, it determines that the focus is shifted to the desktop.
The presentation module 63 is further adapted to: the desktop is presented in the second split screen.
The focus setting module 64 is further adapted to: a focus flag bit is set for the desktop.
According to the focus determining device of the split-screen-based terminal screen, provided by the embodiment of the invention, by setting the focus mark bit for the window in the focus state, under the condition that the user operates to trigger the focus to be transferred from the first window to the second window, the split screen presenting the second window is determined, then the second window is presented in the split screen, and the focus mark bit is set for the second window. By such processing, the determination and the shift of the focus can be managed efficiently, and the target window of the shift of the focus can be determined more accurately. When the condition of the focus window needs to be determined, the condition can be determined directly according to the focus mark bit, and the processing performance of the terminal equipment based on split screen is ensured.
The split screen in the embodiment of the invention comprises a left half screen and a right half screen, or comprises an upper half screen and a lower half screen.
The invention also provides a terminal device comprising the focus determining device of the terminal screen based on split screen.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the focus determination apparatus and the terminal device of the split-screen based terminal screen according to the embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (27)

1. A focus determination method of a terminal screen based on split screen, the terminal screen being displayed in a split screen manner, wherein a window in a focus state is provided with a focus flag bit, the method comprising:
creating additional stacks for managing each split screen, each stack managing respective window layout parameters;
responding to user operation, inquiring a first window provided with a focus mark position, searching a stack pressed by the first window, and further determining split screen presenting the first window; wherein, the split screen presenting the first window is the first split screen;
judging whether the focus is transferred to a second window or not according to a preset rule corresponding to the user operation;
if the focus is transferred to a second window, searching and managing a stack of the second window, further determining split screens presenting the second window, presenting the second window in the split screens, and setting a focus mark bit for the second window;
wherein the determining whether the focus is transferred to the second window according to a predetermined rule corresponding to the user operation further comprises:
inquiring a window starting sequence recorded in a stack for managing the split screen presenting the first window according to the operation of pressing a system return key by a user;
if the first window is the window started first in the first split screen, judging whether the first window is a resident window of the first split screen; if the first window is a resident window of the first split screen, sequentially judging whether other split screens start a second window according to the priority sequence of other split screens to determine the split screen window to which the focus should be transferred or transfer to the desktop; the resident window is a window which is started all the time in the split screen and is not triggered to exit due to user operation.
2. The focus determination method of a split-screen based terminal screen according to claim 1, said responding to a user operation further comprising: in response to a user click on a screen operation and/or in response to a user pressing a system return key.
3. The focus determination method of the split-screen based terminal screen according to claim 1 or 2, wherein before the presenting the second window in the split screen and setting the focus flag bit for the second window, the method further comprises: and removing the focus mark bit of the first window.
4. The focus determination method for a split-screen terminal screen according to claim 2, wherein said determining whether focus is shifted to a second window according to a predetermined rule corresponding to the user operation further comprises:
determining a user click position corresponding to the user click screen operation, determining a triggered window according to the user click position, and determining that the focus is transferred to a second window if the triggered window is not the first window but the second window.
5. The focus determination method for a split-screen based terminal screen according to claim 1, after said query is used for managing a window launch order recorded inside a stack of said split-screen presenting a first window, said method further comprising:
and if the fact that a started window exists before the first window is known by inquiring a window starting sequence recorded in a stack for managing split screens presenting the first window, determining that the window started before the first window is a second window, and determining that the focus is transferred to the second window.
6. The focus determination method of the split-screen-based terminal screen according to claim 1, wherein after the determining whether the first window is a resident window of the first split screen, the method further comprises:
if the first window is not the resident window of the first split screen, then it is determined that focus is not being transferred to the second window, but rather to the desktop.
7. The focus determination method of the split-screen based terminal screen according to claim 6, wherein after determining that the focus is shifted to a desktop, the method further comprises: and presenting the desktop in the split screen, and setting a focus mark bit for the desktop.
8. The method for determining the focus of the split-screen-based terminal screen according to claim 1, wherein the determining whether the second window is activated for the other split-screens or not according to the priority order of the other split-screens to determine to which split-screen window the focus should be transferred or to the desktop further comprises:
if the other split screens are the second split screen; judging whether a second window is started in the second split screen;
if the second split screen is judged to be started with a second window, determining that the focus is transferred to the second window; and if the window of which the second split screen is not started is judged, determining that the focus is transferred to the desktop.
9. The focus determination method of the split-screen terminal screen according to claim 8, wherein the determining whether the second split screen has a second window activated further comprises:
and inquiring a window starting sequence recorded in the stack for managing the second split screen, and determining the last started window as the second window.
10. The focus determination method of the split-screen based terminal screen according to claim 8, wherein after determining that the focus is shifted to a desktop, the method further comprises: and presenting the desktop in the second split screen, and setting a focus mark bit for the desktop.
11. The focus determination method of the split-screen-based terminal screen according to claim 7 or 10, wherein the desktop is managed by a home stack.
12. The focus determination method of a split-screen based terminal screen according to claim 1,
if the first window is the window started first in the first split screen, the method further comprises:
and if the first window is a window triggered and started by user operation on a second window started by the second split screen, determining that the focus is transferred to the second window.
13. The focus determination method of the split-screen-based terminal screen according to claim 1, wherein the split screen comprises a left half screen and a right half screen, or the split screen comprises an upper half screen and a lower half screen.
14. A focus determination apparatus of a split-screen based terminal screen displayed in a split-screen manner, wherein a window in a focus state is provided with a focus flag bit, the apparatus comprising:
the response module is suitable for responding to user operation, inquiring the first window provided with the focus mark position, searching the stack pressed by the first window and further determining the split screen presenting the first window; wherein, the split screen presenting the first window is the first split screen;
the processing module is suitable for judging whether the focus is transferred to a second window according to a preset rule corresponding to the user operation;
the presentation module is suitable for searching and managing the stack of the second window if the focus is transferred to the second window, further determining the split screen of the second window, and presenting the second window in the split screen;
the focus setting module is suitable for setting a focus marking bit for the second window;
the apparatus is further configured to: creating additional stacks for managing each split screen, each stack managing respective window layout parameters;
wherein the processing module is further adapted to:
inquiring a window starting sequence recorded in a stack for managing the split screen presenting the first window according to the operation of pressing a system return key by a user;
if the first window is the window started first in the first split screen, judging whether the first window is a resident window of the first split screen; if the first window is a resident window of the first split screen, sequentially judging whether other split screens start a second window according to the priority sequence of other split screens to determine the split screen window to which the focus should be transferred or transfer to the desktop; the resident window is a window which is started all the time in the split screen and is not triggered to exit due to user operation.
15. The device for determining focus of a screen-splitting based terminal screen of claim 14, wherein the response module is further adapted to: in response to a user click on a screen operation and/or in response to a user pressing a system return key.
16. The device for determining the focus of the split-screen terminal screen according to claim 14 or 15, wherein the focus setting module is further adapted to: and removing the focus mark bit of the first window.
17. The apparatus for determining focus of a split-screen terminal screen according to claim 15, wherein the processing module is further adapted to determine a user click position corresponding to the user click screen operation, determine a triggered window according to the user click position, and determine that focus is shifted to a second window if the triggered window is not the first window but the second window.
18. The device for determining a focus of a screen-splitting based terminal screen according to claim 14, wherein the processing sub-module is further adapted to:
and if the fact that a started window exists before the first window is known by inquiring a window starting sequence recorded in a stack for managing split screens presenting the first window, determining that the window started before the first window is a second window, and determining that the focus is transferred to the second window.
19. The device for determining focus of a split-screen terminal screen according to claim 14, wherein the processing module is further adapted to: and if the first window is the window which is started first by the split screen presenting the first window, determining that the focus is not transferred to the second window but transferred to the desktop.
20. The device for determining focus of a split-screen based terminal screen according to claim 19, wherein said presentation module is further adapted to: presenting the desktop in split screens;
the focus setting module is further adapted to: a focus flag bit is set for the desktop.
21. The focus determination apparatus of a split-screen based terminal screen according to claim 14,
the processing module is further adapted to: if the other split screens are the second split screen; judging whether a second window is started in the second split screen;
if a second window is started in the second split screen, determining that the focus is transferred to the second window; and if the window of which the second split screen is not started is judged, determining that the focus is transferred to the desktop.
22. The device for determining focus of a split-screen terminal screen according to claim 21, wherein said processing module is further adapted to: and inquiring a window starting sequence recorded in the stack for managing the second split screen, and determining the last started window as the second window.
23. The device for determining focus of a split-screen based terminal screen of claim 21, wherein said presentation module is further adapted to: presenting the desktop in the second split screen;
the focus setting module is further adapted to: a focus flag bit is set for the desktop.
24. The focus determination apparatus of the split-screen terminal screen according to claim 20 or 23, wherein the desktop is managed by a home stack.
25. The device for determining focus of a split-screen terminal screen according to claim 14, wherein the processing module is further adapted to: and if the first window is the window started first in the first split screen and the first window is the window triggered and started by the user operation on the second window started in the second split screen, determining that the focus is transferred to the second window.
26. The apparatus for determining a focus of a screen-split based terminal screen according to claim 14, wherein the screen-split comprises a left half screen and a right half screen, or the screen-split comprises an upper half screen and a lower half screen.
27. A terminal device, comprising: the focus determination apparatus of a split-screen based terminal screen of any of claims 14-26.
CN201610822508.9A 2016-09-13 2016-09-13 Method and device for determining focus of terminal screen based on split screen and terminal equipment Expired - Fee Related CN106445286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822508.9A CN106445286B (en) 2016-09-13 2016-09-13 Method and device for determining focus of terminal screen based on split screen and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822508.9A CN106445286B (en) 2016-09-13 2016-09-13 Method and device for determining focus of terminal screen based on split screen and terminal equipment

Publications (2)

Publication Number Publication Date
CN106445286A CN106445286A (en) 2017-02-22
CN106445286B true CN106445286B (en) 2020-05-19

Family

ID=58169069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822508.9A Expired - Fee Related CN106445286B (en) 2016-09-13 2016-09-13 Method and device for determining focus of terminal screen based on split screen and terminal equipment

Country Status (1)

Country Link
CN (1) CN106445286B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765943B (en) * 2017-10-16 2020-05-12 北京点石经纬科技有限公司 Method for realizing simultaneous operation of double APPs on double-screen intelligent terminal
CN109271074A (en) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 A kind of window regulation method, window adjusting means and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591575A (en) * 2011-12-26 2012-07-18 广东威创视讯科技股份有限公司 Method for deploying software on wide-screen display and device
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN104598100A (en) * 2014-12-22 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN105824491A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Split screen processing method and device in mobile equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9588674B2 (en) * 2012-11-30 2017-03-07 Qualcomm Incorporated Methods and systems for providing an automated split-screen user interface on a device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591575A (en) * 2011-12-26 2012-07-18 广东威创视讯科技股份有限公司 Method for deploying software on wide-screen display and device
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN104598100A (en) * 2014-12-22 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN105824491A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Split screen processing method and device in mobile equipment

Also Published As

Publication number Publication date
CN106445286A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US10445132B2 (en) Method and apparatus for switching applications
US20100281481A1 (en) Apparatus and method for providing a user interface within a computing device
CN112486451B (en) Voice broadcasting method, computing device and computer storage medium
US20100281409A1 (en) Apparatus and method for handling notifications within a communications device
CN110300328B (en) Video playing control method and device and readable storage medium
US20130024818A1 (en) Apparatus and Method for Handling Tasks Within a Computing Device
US20150128085A1 (en) Method, Device and Computer Storage Medium for Controlling Desktop
US9720557B2 (en) Method and apparatus for providing always-on-top user interface for mobile application
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN110096189B (en) Application function access control method and device, storage medium and terminal equipment
CN113055525A (en) File sharing method, device, equipment and storage medium
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
JP6250151B2 (en) Independent hit test for touchpad operation and double tap zooming
US20200125243A1 (en) Terminal, split-screen display method for screen thereof, and storage device
CN111708471B (en) Control processing method and related device
CN112148163A (en) Screen recording method and device and electronic equipment
CN106445286B (en) Method and device for determining focus of terminal screen based on split screen and terminal equipment
CN113360062A (en) Display control method and device, electronic equipment and readable storage medium
CN105094576B (en) Application scenarios switching method and apparatus
CN114173175A (en) Media resource playing method, device, equipment and storage medium
CN112269509B (en) Information processing method and device and electronic equipment
CN111346386B (en) Message processing method and device
CN106066874B (en) Object processing method and terminal
CN112181570A (en) Background task display method and device and electronic equipment
CN112752127A (en) Method and device for positioning video playing position, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200519

Termination date: 20210913

CF01 Termination of patent right due to non-payment of annual fee