WO2020048243A1 - 一种窗口调整方法、窗口调整装置及移动终端 - Google Patents

一种窗口调整方法、窗口调整装置及移动终端 Download PDF

Info

Publication number
WO2020048243A1
WO2020048243A1 PCT/CN2019/096549 CN2019096549W WO2020048243A1 WO 2020048243 A1 WO2020048243 A1 WO 2020048243A1 CN 2019096549 W CN2019096549 W CN 2019096549W WO 2020048243 A1 WO2020048243 A1 WO 2020048243A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
free
adjusted
parameter
adjustment
Prior art date
Application number
PCT/CN2019/096549
Other languages
English (en)
French (fr)
Inventor
李同喜
付亮晶
林志泳
敬雷
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP19857434.5A priority Critical patent/EP3846015A4/en
Publication of WO2020048243A1 publication Critical patent/WO2020048243A1/zh
Priority to US17/191,414 priority patent/US11507244B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image

Definitions

  • the present application belongs to the technical field of mobile terminals, and particularly relates to a window adjustment method, a window adjustment device, a mobile terminal, and a computer-readable storage medium.
  • the Android system provides a multi-window display function.
  • the user can only control the incoming / outgoing of the window, but cannot control other parameters of the window, such as size and position.
  • the present application provides a window adjustment method, a window adjustment device, a mobile terminal, and a computer-readable storage medium, so that a user can adjust a window according to his or her own needs, to avoid the window being blocked and affecting the use of the user.
  • a first aspect of the present application provides a window adjustment method, including:
  • the adjustment parameter includes a position parameter and / or a size parameter.
  • a second aspect of the present application provides a window adjustment device, including:
  • a detection unit configured to detect the number of windows of the free window displayed by the mobile terminal
  • a determining unit configured to determine a free window to be adjusted among the free windows displayed by the mobile terminal if the number of the windows is not less than two;
  • the adjustment unit is configured to adjust the free window to be adjusted based on the adjustment parameter, where the adjustment parameter includes a position parameter and / or a size parameter.
  • a third aspect of the present application provides a mobile terminal.
  • the mobile terminal includes a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor executes the computer program, the processor is implemented as described above. Step by step method.
  • a fourth aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the method of the first aspect above.
  • a fifth aspect of the present application provides a computer program product.
  • the computer program product includes a computer program.
  • the steps of the method of the first aspect are implemented.
  • FIG. 1 is a schematic flowchart of an implementation process of a window adjustment method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another implementation of a window adjustment method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another implementation of the window adjustment method according to the embodiment of the present application.
  • FIG. 4 is a structural block diagram of a window adjustment device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a mobile terminal according to an embodiment of the present application.
  • the window adjustment method in the embodiment of the present application includes:
  • step 101 the number of free window windows displayed by the mobile terminal is detected
  • the window when the front desk of the mobile terminal only displays a window in full screen, it is considered that the window is not a Freeform window; and when the front desk displays a window in a non-full screen form, the window is considered as free window. Further, it can be considered that when there are more than two windows displayed on the front station, the above two or more windows take the form of free windows.
  • the above free window is a window in Freeform mode, which includes the characteristics of a normal activity window such as a complete activity, window, focus, and input. The user can drag the free window. , Open, close and other operations, you can also display multiple free windows on the screen of the mobile terminal to achieve multi-window display.
  • Freeform mode In the Android system, you can define whether to support the Freeform mode in the ActivityManagerService and define a specific Freeform Stack. All Freeform activities will start in a specific Freeform Stack. In Freeform mode, there are no corresponding Stacks, but There are multiple Tasks in a Freeform Stack. In this mode, it is not the Stack bound that determines the display position of the activity, but the Task bound, that is, each Task has a corresponding bound. In Freeform mode, it is Stack bound that determines the display position of the activity, and each activity is displayed in its own Stack bound area.
  • step 102 if the number of the windows is not less than two, determining a free window to be adjusted among the free windows displayed by the mobile terminal;
  • the free window to be adjusted can be determined in the free window displayed in the foreground according to the selected instruction input by the user; or the free to be adjusted can also be determined according to user behavior or the attributes of the application program corresponding to each free window.
  • the window is not limited here.
  • step 103 adjustment parameters are acquired, and the free window to be adjusted is adjusted based on the adjustment parameters.
  • the adjustment parameters include adjusted position parameters and / or size parameters. After obtaining the adjustment parameters, the position parameters and / or size parameters of the free window to be adjusted will be changed to the adjustments. Position parameter and / or size parameter among the parameters.
  • the above adjustment parameters may be input by the user or may be defaulted by the system, which are not limited here. For example, the user can drag the edge of the free window to be adjusted by inputting a sliding instruction, and can also drag the position of the free window to be adjusted by inputting a sliding instruction; or, the user can also change the The position and / or size of the adjusted free window is not limited here.
  • the user can first determine the free window to be adjusted, and then adjust the free window to be adjusted based on the adjustment parameters, so that the user can according to his needs Make adjustments to the free window to avoid being blocked by the free window and affecting the user's use.
  • the window adjustment method in the embodiment of the present application includes:
  • step 201 the number of free window windows displayed by the mobile terminal is detected
  • the foregoing step 201 is the same as or similar to the foregoing step 101.
  • the foregoing step 101 refers to the related description of the foregoing step 101, and details are not described herein again.
  • step 202 if the number of the foregoing windows is not less than two, a free window that meets a predetermined condition among the free windows displayed by the mobile terminal is determined as the free window to be adjusted;
  • the above-mentioned predetermined condition includes that a time of triggering an operation is closest to a current time or a maximum number of times of triggering an operation.
  • the user may set a time period for counting the triggered operation in advance, and separately count the statistics of the triggered operation of the free window displayed by the mobile terminal during the time period. frequency.
  • the foregoing time period may be set to start from the time when the mobile terminal displays the free window until the current time.
  • the foregoing predetermined condition is that the time for triggering the operation is closest to the current time.
  • step 203 adjustment parameters are acquired, and the free window to be adjusted is adjusted based on the adjustment parameters.
  • the foregoing step 203 is the same as or similar to the foregoing step 103.
  • the foregoing step 103 For details, refer to the related description of the foregoing step 103, and details are not described herein again.
  • the mobile terminal can intelligently determine the free window to be adjusted according to user behavior, and then adjust the free window to be adjusted based on the adjustment parameters, so that the user can Make adjustments to the free window according to your needs, to avoid being blocked by the free window and affecting the user's use.
  • the window adjustment method in the embodiment of the present application includes:
  • step 301 the number of free window windows displayed by the mobile terminal is detected
  • the foregoing step 301 is the same as or similar to the foregoing step 101.
  • the foregoing step 101 refers to the related description of the foregoing step 101, and details are not described herein again.
  • step 302 if the number of the windows is not less than two, obtain the type of the application displayed in the free window;
  • any type of application can be displayed in the free window. Since some applications usually need to see their complete display interface when running, such as video applications, game applications, etc., the types of each application displayed in the above free window can be obtained as Determine the basis of the free window to be adjusted.
  • step 303 a free window to be adjusted is determined according to the type of the above application program
  • a free window in which an application of a preset type is located may be determined as a free window.
  • the preset type is a game application
  • WINDOW2 and WINDOW3 respectively show applications APP1, APP2, and APP3.
  • APP1 is obtained as a social application (such as WeChat)
  • APP2 is a game application
  • APP3 is a shopping application (such as Taobao )
  • the above-mentioned APP2 may be determined as a free window to be adjusted.
  • the above preset types can be changed according to the needs of the user, which is not limited here.
  • the free window to be adjusted may be determined again according to a predetermined condition by using the solution in Embodiment 2 above.
  • step 304 adjustment parameters are acquired, and the free window to be adjusted is adjusted based on the adjustment parameters.
  • adjustment parameters may be obtained based on the type of an application program displayed in the free window to be adjusted, and the free window to be adjusted may be adjusted according to the adjustment parameter.
  • the above-mentioned window adjustment method may further include:
  • the above window parameters include the size parameters and position parameters of the free window;
  • step 304 is specifically as follows:
  • the corresponding window parameter is determined as the adjustment parameter, and the free window to be adjusted is adjusted based on the adjustment parameter.
  • the application type-window parameter comparison table may be stored locally on the mobile terminal, or to avoid data loss, the application type-window parameter comparison table may also be uploaded and backed up to the cloud periodically, which is not limited here.
  • the user can set or change the corresponding window parameters for each type of different application in the above application type-window parameter comparison table.
  • a preview window may be displayed on the screen of the mobile terminal in real time when the user performs setting or changing operations, and the window parameters of the preview window are the window parameters currently set or changed by the user. .
  • different types of applications can have different window parameters in the above-mentioned application type-window parameter comparison table, which makes the display size of the free window diversified and meets the user's operation requirements for specific applications.
  • the mobile terminal when there are multiple free windows, the mobile terminal can intelligently determine the free window to be adjusted according to the type of application, and the adjustment parameters corresponding to different types of applications are also different.
  • the mobile terminal can adjust the free window to be adjusted based on the adjustment parameters, so that the user can adjust the free window according to his own needs, to avoid the free window being blocked and affecting the use of the user.
  • the above steps 103, 203, and 304 include:
  • the free window to be adjusted is full screen
  • the size parameter in the adjustment parameters is not greater than a preset second size threshold, the above-mentioned free window to be adjusted is minimized.
  • the first size threshold and the second size threshold can be set and changed by the system or user of the mobile terminal, or the first size threshold and the second size threshold can be set according to the number of windows, for example, the number of windows When there are more, the first size threshold and the second size threshold may both be set smaller; when there are fewer windows, the first size threshold and the second size threshold may both be set larger, specifically Ground, each window number may correspond to a corresponding first size threshold and a second size threshold, which are not limited herein. Based on this, when a user needs to perform a full screen or minimize operation, the user can simply change the size of the free window to be adjusted to a certain range through operations such as sliding instructions, and then the full screen or minimize operation can be quickly implemented.
  • Embodiment 4 of the present application provides a window adjustment device.
  • the above window adjustment device may be integrated in a mobile terminal.
  • the window adjustment device 400 in the embodiment of the application includes:
  • a detecting unit 401 configured to detect the number of free window windows displayed by the mobile terminal
  • a determining unit 402 configured to determine a free window to be adjusted among the free windows displayed by the mobile terminal if the number of the windows is not less than two;
  • the adjustment unit 404 is configured to adjust the free window to be adjusted based on the adjustment parameter, where the adjustment parameter includes a position parameter and / or a size parameter.
  • the determining unit 402 includes:
  • the first determining subunit is configured to determine a free window to be adjusted according to the type of the foregoing application program.
  • the adjustment unit 404 is specifically configured to obtain adjustment parameters based on a type of an application program displayed in the free window to be adjusted, and adjust the free window to be adjusted according to the adjustment parameter.
  • the window adjustment device 400 further includes:
  • a setting unit configured to set a corresponding window parameter according to the type of each application in the application type-window parameter comparison table
  • the adjustment unit 404 includes:
  • a search subunit configured to find a corresponding window parameter in the application type-window parameter comparison table according to the type of the application displayed in the free window to be adjusted;
  • the window adjustment subunit is configured to determine the corresponding window parameter as the adjustment parameter, and adjust the free window to be adjusted based on the adjustment parameter.
  • the window adjustment device 400 further includes:
  • the uploading unit is configured to periodically upload the application type-window parameter comparison table to a preset cloud server.
  • the determining unit 402 includes:
  • a second determining subunit configured to determine a free window that meets a predetermined condition among the free windows displayed by the mobile terminal as a free window to be adjusted, where the predetermined condition includes a time when a trigger operation is closest to a current time or a trigger operation Most times.
  • the determining unit 402 further includes:
  • the statistics subunit is configured to separately count the number of times that the free window displayed by the mobile terminal triggers an operation within a preset period of time.
  • the adjustment unit 404 includes:
  • a full-screen subunit configured to full-screen the free window to be adjusted if the size parameter in the adjustment parameters is not less than a preset first size threshold
  • the minimization subunit is configured to minimize the free window to be adjusted if the size parameter in the adjustment parameter is not greater than a preset second size threshold.
  • the adjustment unit 404 further includes:
  • a setting subunit is configured to set the first size threshold and the second size threshold according to the number of windows.
  • the above-mentioned window adjustment device can first determine the free window to be adjusted, and then adjust the free window to be adjusted based on the adjustment parameters, so that the user can Make your own adjustments to the free window to avoid being blocked by the free window and affecting user use.
  • Embodiment 5 of the present application provides a mobile terminal. Please refer to FIG. 5.
  • the mobile terminal in the embodiment of the present application includes a memory 501, one or more processors 502 (only one is shown in FIG. 5), and stored in the memory.
  • 501 A computer program that is executable on a processor.
  • the memory 501 is used to store software programs and modules, and the processor 502 executes various functional applications and data processing by running the software programs and units stored in the memory 501 to obtain resources corresponding to the preset events.
  • the processor 502 implements the following steps by running the computer program stored in the memory 501:
  • the adjustment parameter includes a position parameter and / or a size parameter.
  • the foregoing determines the free window to be adjusted among the free windows displayed by the mobile terminal.
  • the free window to be adjusted is determined according to the type of the above application program.
  • the foregoing adjusting the free window to be adjusted based on the adjustment parameter includes:
  • the processor 502 further implements the following steps when running the above-mentioned computer program stored in the memory 501:
  • the above window parameters include the size parameters and position parameters of the free window;
  • obtaining the adjustment parameter based on the type of the application displayed in the free window to be adjusted, and adjusting the free window to be adjusted according to the adjustment parameter includes:
  • the corresponding window parameter is determined as the adjustment parameter, and the free window to be adjusted is adjusted based on the adjustment parameter.
  • the processor 502 further implements the following steps when running the above-mentioned computer program stored in the memory 501:
  • the above determining the free window to be adjusted among the free windows displayed by the mobile terminal includes:
  • the free window that meets a predetermined condition among the free windows displayed by the mobile terminal is determined as a free window to be adjusted, where the predetermined condition includes a time when a trigger operation is closest to a current time or a maximum number of trigger operations.
  • the processor 502 further implements the following steps when running the above-mentioned computer program stored in the memory 501:
  • the foregoing acquisition adjustment parameter is based on The above adjustment parameters adjust the above-mentioned free window to be adjusted, including:
  • the free window to be adjusted is full screen
  • the size parameter in the adjustment parameters is not greater than a preset second size threshold, the above-mentioned free window to be adjusted is minimized.
  • the processor 502 further implements the following steps when running the above-mentioned computer program stored in the memory 501:
  • the first size threshold and the second size threshold are set according to the above according to the number of windows.
  • the above mobile terminal may further include one or more input devices 503 (only one is shown in FIG. 5) and one or more output devices 504 (only one is shown in FIG. 5).
  • the memory 501, the processor 502, the input device 503, and the output device 504 are connected through a bus 505.
  • the processor 502 may be a central processing unit (CPU), and the processor may also be another general-purpose processor or a digital signal processor (DSP).
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the input device 503 may include a keyboard, a touchpad, a fingerprint sensor (for collecting fingerprint information and orientation information of a user), a microphone, and the like
  • the output device 504 may include a display, a speaker, and the like.
  • the memory 501 may include a read-only memory and a random access memory, and provide instructions and data to the processor 502. A part or all of the memory 501 may further include a non-volatile random access memory. For example, the memory 501 may also store information of a device type.
  • the mobile terminal can first determine the free window to be adjusted, and then adjust the free window to be adjusted based on the adjustment parameters, so that the user can Need to adjust the free window to avoid the free window being blocked and affecting the user's use.
  • the disclosed apparatus and method may be implemented in other ways.
  • the system embodiments described above are only schematic.
  • the division of the above modules or units is only a logical function division.
  • multiple units or components may be combined.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, which may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • the above integrated unit When the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, this application implements all or part of the processes in the methods of the above embodiments, and can also be completed by a computer program instructing related hardware.
  • the above computer program can be stored in a computer-readable storage medium.
  • the computer program When executed by a processor, the steps of the foregoing method embodiments may be implemented.
  • the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form.
  • the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer-readable memory, and a read-only memory (ROM, Read-Only Memory). ), Random Access Memory (RAM, Random Access Memory), electric carrier signals, telecommunication signals, and software distribution media. It should be noted that the content contained in the above computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions. For example, in some jurisdictions, computer-readable storage The medium does not include electric carrier signals and telecommunication signals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)

Abstract

一种窗口调整方法、窗口调整装置、移动终端及计算机可读存储介质,其中,该窗口调整方法包括:检测移动终端所显示的自由窗口的窗口数量(101);若所述窗口数量不少于两个,则确定所述移动终端所显示的自由窗口中待调整的自由窗口(102);获取调整参数,基于所述调整参数对所述待调整的自由窗口进行调整(103),其中,所述调整参数包括位置参数和/或尺寸参数。该方法使得用户可以根据自己的需求对窗口作出调整,避免窗口被遮挡而影响用户的使用。

Description

一种窗口调整方法、窗口调整装置及移动终端
交叉引用
本申请要求发明专利申请号:201811030385.0,发明名称:一种窗口调整方法、窗口调整装置及移动终端,于2018年09月05日递交至国知局的中国发明专利申请,在此通过引用将上述发明专利申请的内容结合到本申请之中。
技术领域
本申请属于移动终端技术领域,尤其涉及一种窗口调整方法、窗口调整装置、移动终端及计算机可读存储介质。
背景技术
当前,安卓(Android)系统提供了多窗口显示的功能,用户在使用多窗口显示的功能时,仅能控制窗口的呼入/呼出,而无法针对窗口的其它参数,例如尺寸及位置作出控制。
发明内容
本申请提供一种窗口调整方法、窗口调整装置、移动终端及计算机可读存储介质,使得用户可以根据自己的需求对窗口作出调整,避免窗口被遮挡而影响用户的使用。
本申请的第一方面提供了一种窗口调整方法,包括:
检测移动终端所显示的自由窗口的窗口数量;
若上述窗口数量不少于两个,则确定上述移动终端所显示的自由窗口中待调整的自由窗口;
获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整,其中,上述调整参数包括位置参数和/或尺寸参数。
本申请的第二方面提供了一种窗口调整装置,包括:
检测单元,用于检测移动终端所显示的自由窗口的窗口数量;
确定单元,用于若上述窗口数量不少于两个,则确定上述移动终端所显示的自由窗口中待调整的自由窗口;
获取单元,用于获取调整参数;
调整单元,用于基于上述调整参数对上述待调整的自由窗口进行调整,其中,上述调整参数包括位置参数和/或尺寸参数。
本申请的第三方面提供了一种移动终端,上述移动终端包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上第一方面的方法的步骤。
本申请的第四方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上第一方面的方法的步骤。
本申请的第五方面提供了一种计算机程序产品,上述计算机程序产品包括计算机程序,上述计算机程序被一个或多个处理器执行时实现如上述第一方面的方法的步骤。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的窗口调整方法的一种实现流程示意图;
图2是本申请实施例提供的窗口调整方法的另一种实现流程示意图;
图3是本申请实施例提供的窗口调整方法的又一种实现流程示意图;
图4是本申请实施例提供的窗口调整装置的结构框图;
图5是本申请实施例提供的移动终端的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。
实施例1
下面对本申请实施例提供的一种窗口调整方法进行描述,请参阅图1,本申请实施例中的窗口调整方法包括:
在步骤101中,检测移动终端所显示的自由窗口的窗口数量;
在本申请实施例中,在移动终端的前台仅全屏显示有一个窗口时,认为该窗口并非自由(Freeform)窗口;而在上述前台以非全屏的形式显示一个窗口时,则认为该窗口为自由窗口。进一步地,可以认为当前台显示有两个以上窗口时,上述两个以上窗口即采取了自由窗口的形式。上述自由窗口是一种Freeform模式下的窗口,包含了完整的活动(activity)、窗口(window)、焦点(focus)、输入(input)等正常活动窗口的特征,用户可以对自由窗口进行拖动、打开、关闭等操作,也可以在移动终端屏幕上显示多个自由窗口,实现多窗口显示。在安卓系统中,可以在ActivityManagerService中定义是否支持Freeform模式,定义特定的Freeform Stack,所有Freeform模式的activity会在特定的Freeform Stack启动,Freeform模式下并不存在与之对应的多个Stack,而是一个 Freeform Stack存在多个Task,该模式下决定activity显示位置的不是Stack bound,而是Task bound,即每个Task都有对应的bound。而非Freeform模式下决定activity显示位置的是Stack bound,每个activity显示在所属Stack bound区域内。
在步骤102中,若上述窗口数量不少于两个,则确定上述移动终端所显示的自由窗口中待调整的自由窗口;
在本申请实施例中,若检测发现上述自由窗口的窗口数量不少于两个,则在需要对自由窗口进行调节时,需要先确定移动终端所显示的自由窗口中待调整的自由窗口。可选地,可以根据用户输入的选定指令在前台所显示的自由窗口中确定待调整的自由窗口;或者,也可以根据用户行为或者各个自由窗口所对应的应用程序的属性确定待调整的自由窗口,此处不作限定。
在步骤103中,获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整。
在本申请实施例中,上述调整参数包括调整后的位置参数和/或尺寸参数,在获取到上述调整参数后,上述待调整的自由窗口的位置参数和/或尺寸参数将被更改为上述调整参数中的位置参数和/或尺寸参数。上述调整参数可以是用户输入的,也可以是系统所默认的,此处不作限定。例如,用户可以通过输入滑动指令拉拽上述待调整的自由窗口的边缘,也可以通过输入滑动指令拖曳上述待调整的自由窗口的位置;或者,也可以直接根据系统所设定的调整参数更改待调整的自由窗口的位置和/或尺寸,此处不作限定。
由上可见,通过本申请方案,在有多个自由窗口的情况下,用户可以先确定待调整的自由窗口,然后基于调整参数对该待调整的自由窗口进行调整,使得用户可以根据自己的需求对自由窗口作出调整,避免自由窗口被遮挡而影响用户的使用。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例2
在上述实施例1的基础上,下面对本申请实施例提供的另一种窗口调整方法进行描述,请参阅图2,本申请实施例中的窗口调整方法包括:
在步骤201中,检测移动终端所显示的自由窗口的窗口数量;
在本申请实施例中,上述步骤201与上述步骤101相同或相似,具体可参见上述步骤101的相关描述,在此不再赘述。
在步骤202中,若上述窗口数量不少于两个,则将上述移动终端所显示的自由窗口中符合预定条件的自由窗口确定为待调整的自由窗口;
在本申请实施例中,上述预定条件包括触发操作的时间距离当前时间最近或者触发操 作的次数最多。可选地,针对触发操作的次数最多这一预定条件,用户可以预先设定一用于统计触发操作的时间段,并在该时间段内分别统计上述移动终端所显示的自由窗口被触发操作的次数。仅作为示例,上述时间段可以被设定为从移动终端本次开始显示自由窗口为始,直至当前时间为止。在一种应用场景下,上述预定条件为触发操作的时间距离当前时间最近,假定当前移动终端的前台有三个窗口WINDOW1、WINDOW2、WINDOW3,分别对应显示了应用程序APP1、APP2、APP3,通过对上述三个窗口进行监测,发现用户最后一次对APP1触发操作为10分钟前,最后一次对APP2触发操作为3分钟前,最后一次对APP3触发操作为10秒前,则确定上述APP3所对应的WINDOW3为待调整的自由窗口。在另一种应用场景下,上述预定条件为触发操作的次数最多,则假定通过对上述三个窗口进行监测,发现在本次移动终端进入自由窗口显示模式后,用户对APP1触发操作的次数为1次,对APP2触发操作的次数为10次,对APP3触发操作的次数为5次,则确定上述APP2所对应的WINDOW2为待调整的自由窗口。通过本步骤,不再需要用户主动选择待调整的自由窗口,即可根据用户行为智能确定待调整的自由窗口。
在步骤203中,获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整。
在本申请实施例中,上述步骤203与上述步骤103相同或相似,具体可参见上述步骤103的相关描述,在此不再赘述。
由上可见,通过本申请方案,在有多个自由窗口的情况下,移动终端可以根据用户行为智能确定待调整的自由窗口,然后基于调整参数对该待调整的自由窗口进行调整,使得用户可以根据自己的需求对自由窗口作出调整,避免自由窗口被遮挡而影响用户的使用。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例3
在上述实施例1的基础上,下面对本申请实施例提供的又一种窗口调整方法进行描述,请参阅图3,本申请实施例中的窗口调整方法包括:
在步骤301中,检测移动终端所显示的自由窗口的窗口数量;
在本申请实施例中,上述步骤301与上述步骤101相同或相似,具体可参见上述步骤101的相关描述,在此不再赘述。
在步骤302中,若上述窗口数量不少于两个,则获取显示在上述自由窗口中的应用程序的类型;
在本申请实施例中,上述自由窗口中可以显示任何类型的应用程序。由于某些应用程序在运行时用户通常需要看到其完整的显示界面,例如视频类应用程序、游戏类应用程序 等,因而,可以获取显示在上述自由窗口中的各个应用程序的类型,以作为确定待调整的自由窗口的基础。
在步骤303中,根据上述应用程序的类型确定待调整的自由窗口;
在本申请实施例中,可以将类型为预设类型的应用程序所在的自由窗口确定为自由窗口,例如,假定上述预设类型为游戏类应用程序,若当前移动终端的前台有三个窗口WINDOW1、WINDOW2、WINDOW3,分别对应显示了应用程序APP1、APP2、APP3,根据上述步骤302,获取得到APP1为社交类应用程序(例如微信),APP2为游戏类应用程序,APP3为购物类应用程序(例如淘宝),则可以将上述APP2确定为待调整的自由窗口。当然,上述预设类型可以根据用户的需求进行更改,此处不作限定。可选地,如果当前有两个以上应用程序的类型为预设类型,则可以再次通过上述实施例2中的方案,根据预定条件确定待调整的自由窗口。
在步骤304中,获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整。
在本申请实施例中,可以基于显示在上述待调整的自由窗口中的应用程序的类型获取调整参数,并根据上述调整参数对上述待调整的自由窗口进行调整。具体地,为了个性化设置各个不同类型的应用程序所对应的自由窗口的窗口参数,上述窗口调整方法还可以包括:
创建应用程序类型-窗口参数对照表,上述窗口参数包括自由窗口的尺寸参数及位置参数;
在上述应用程序类型-窗口参数对照表中,根据各个不同的应用程序的类型设置对应的窗口参数;
则上述步骤304,具体表现为:
根据显示在上述待调整的自由窗口中的应用程序的类型,在上述应用程序类型-窗口参数对照表中查找对应的窗口参数;
将上述对应的窗口参数确定为上述调整参数,并基于上述调整参数对上述待调整的自由窗口进行调整。
其中,上述应用程序类型-窗口参数对照表可以存储于上述移动终端的本地,或者,为了避免数据丢失,上述应用程序类型-窗口参数对照表还可以定期上传备份至云端,此处不作限定。用户可以自行对上述应用程序类型-窗口参数对照表中各个不同的应用程序的类型设置或更改对应的窗口参数。可选地,为了提高用户设置的效率,还可以在用户进行设置或更改操作时,实时在上述移动终端的屏幕上显示预览窗口,上述预览窗口的窗口参数即为用户当前设置或更改的窗口参数。这样一来,各个不同类型的应用程序均可在上述应用程序类型-窗口参数对照表中对应有不同的窗口参数,使得自由窗口的显示尺寸多样化,符 合用户对特定应用程序的操作需求。
由上可见,通过本申请方案,在有多个自由窗口的情况下,移动终端可以根据应用程序的类型智能确定待调整的自由窗口,并且,不同类型的应用程序所对应的调整参数也不同,移动终端可以基于调整参数对该待调整的自由窗口进行调整,使得用户可以根据自己的需求对自由窗口作出调整,避免自由窗口被遮挡而影响用户的使用。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
可选地,为了简化用户对自由窗口的全屏/最小化操作,在上述实施例1、实施例2及实施例3中,上述步骤103、步骤203及步骤304包括:
若上述调整参数中的尺寸参数不小于预设的第一尺寸阈值,则将上述待调整的自由窗口全屏;
若上述调整参数中的尺寸参数不大于预设的第二尺寸阈值,则将上述待调整的自由窗口最小化。
其中,上述第一尺寸阈值及上述第二尺寸阈值可以由移动终端的系统或者用户设定及更改,也可以根据上述窗口数量设定上述第一尺寸阈值及上述第二尺寸阈值,例如,窗口数量较多时,上述第一尺寸阈值及上述第二尺寸阈值可以都被设定的小一些;窗口数量较少时,上述第一尺寸阈值及上述第二尺寸阈值可以都被设定的大一些,具体地,每一窗口数量都可分别对应有相关的第一尺寸阈值及第二尺寸阈值,此处不作限定。基于此,用户在需要进行全屏或者最小化操作时,可简单的通过滑动指令等操作将上述待调整的自由窗口的尺寸更改至一定范围内,即可快速实现全屏或者最小化的操作。
实施例4
本申请实施例4提供了一种窗口调整装置,上述窗口调整装置可集成于移动终端中,如图4所示,本申请实施例中的窗口调整装置400包括:
检测单元401,用于检测移动终端所显示的自由窗口的窗口数量;
确定单元402,用于若上述窗口数量不少于两个,则确定上述移动终端所显示的自由窗口中待调整的自由窗口;
获取单元403,用于获取调整参数;
调整单元404,用于基于上述调整参数对上述待调整的自由窗口进行调整,其中,上述调整参数包括位置参数和/或尺寸参数。
可选地,上述确定单元402包括:
类型获取子单元,用于获取显示在上述自由窗口中的应用程序的类型;
第一确定子单元,用于根据上述应用程序的类型确定待调整的自由窗口。
可选地,上述调整单元404,具体用于基于显示在上述待调整的自由窗口中的应用程序的类型获取调整参数,并根据上述调整参数对上述待调整的自由窗口进行调整。
可选地,上述窗口调整装置400还包括:
创建单元,用于创建应用程序类型-窗口参数对照表,上述窗口参数包括自由窗口的尺寸参数及位置参数;
设置单元,用于在上述应用程序类型-窗口参数对照表中,根据各个不同的应用程序的类型设置对应的窗口参数;
上述调整单元404包括:
查找子单元,用于根据显示在上述待调整的自由窗口中的应用程序的类型,在上述应用程序类型-窗口参数对照表中查找对应的窗口参数;
窗口调整子单元,用于将上述对应的窗口参数确定为上述调整参数,并基于上述调整参数对上述待调整的自由窗口进行调整。
可选地,上述窗口调整装置400还包括:
上传单元,用于周期性将上述应用程序类型-窗口参数对照表上传至预设的云端服务器。
可选地,上述确定单元402包括:
第二确定子单元,用于将上述移动终端所显示的自由窗口中符合预定条件的自由窗口确定为待调整的自由窗口,其中,上述预定条件包括触发操作的时间距离当前时间最近或者触发操作的次数最多。
可选地,上述确定单元402还包括:
统计子单元,用于分别统计上述移动终端所显示的自由窗口在预设的时间段内触发操作的次数。
可选地,上述调整单元404包括:
全屏子单元,用于若上述调整参数中的尺寸参数不小于预设的第一尺寸阈值,则将上述待调整的自由窗口全屏;
最小化子单元,用于若上述调整参数中的尺寸参数不大于预设的第二尺寸阈值,则将上述待调整的自由窗口最小化。
可选地,上述调整单元404还包括:
设定子单元,用于根据上述窗口数量设定上述第一尺寸阈值及上述第二尺寸阈值。
由上可见,通过本申请方案,在有多个自由窗口的情况下,上述窗口调整装置可以先 确定待调整的自由窗口,然后基于调整参数对该待调整的自由窗口进行调整,使得用户可以根据自己的需求对自由窗口作出调整,避免自由窗口被遮挡而影响用户的使用。
实施例5
本申请实施例5提供了一种移动终端,请参阅图5,本申请实施例中的移动终端包括:存储器501,一个或多个处理器502(图5中仅示出一个)及存储在存储器501上并可在处理器上运行的计算机程序。其中:存储器501用于存储软件程序以及模块,处理器502通过运行存储在存储器501的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,处理器502通过运行存储在存储器501的上述计算机程序时实现以下步骤:
检测移动终端所显示的自由窗口的窗口数量;
若上述窗口数量不少于两个,则确定上述移动终端所显示的自由窗口中待调整的自由窗口;
获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整,其中,上述调整参数包括位置参数和/或尺寸参数。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,上述确定上述移动终端所显示的自由窗口中待调整的自由窗口,包括:
获取显示在上述自由窗口中的应用程序的类型;
根据上述应用程序的类型确定待调整的自由窗口。
在第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,上述基于上述调整参数对上述待调整的自由窗口进行调整,包括:
基于显示在上述待调整的自由窗口中的应用程序的类型获取调整参数,并根据上述调整参数对上述待调整的自由窗口进行调整。
在第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
创建应用程序类型-窗口参数对照表,上述窗口参数包括自由窗口的尺寸参数及位置参数;
在上述应用程序类型-窗口参数对照表中,根据各个不同的应用程序的类型设置对应的窗口参数;
相应地,上述基于显示在上述待调整的自由窗口中的应用程序的类型获取调整参 数,并根据上述调整参数对上述待调整的自由窗口进行调整,包括:
根据显示在上述待调整的自由窗口中的应用程序的类型,在上述应用程序类型-窗口参数对照表中查找对应的窗口参数;
将上述对应的窗口参数确定为上述调整参数,并基于上述调整参数对上述待调整的自由窗口进行调整。
在第四种可能的实施方式作为基础而提供的第五种可能的实施方式中,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
周期性将上述应用程序类型-窗口参数对照表上传至预设的云端服务器。
在第一种可能的实施方式作为基础而提供的第六种可能的实施方式中,上述确定上述移动终端所显示的自由窗口中待调整的自由窗口,包括:
将上述移动终端所显示的自由窗口中符合预定条件的自由窗口确定为待调整的自由窗口,其中,上述预定条件包括触发操作的时间距离当前时间最近或者触发操作的次数最多。
在第六种可能的实施方式作为基础而提供的第七种可能的实施方式中,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
分别统计上述移动终端所显示的自由窗口在预设的时间段内触发操作的次数。
在第一种可能的实施方式作为基础,或者在第二种可能的实施方式作为基础,或者在第三种可能的实施方式作为基础,或者在第四种可能的实施方式作为基础,或者在第五种可能的实施方式作为基础,或者在第六种可能的实施方式作为基础,或者在第七种可能的实施方式作为基础而提供的第八种可能的实施方式中,上述获取调整参数,基于上述调整参数对上述待调整的自由窗口进行调整,包括:
若上述调整参数中的尺寸参数不小于预设的第一尺寸阈值,则将上述待调整的自由窗口全屏;
若上述调整参数中的尺寸参数不大于预设的第二尺寸阈值,则将上述待调整的自由窗口最小化。
在第八种可能的实施方式作为基础而提供的第九种可能的实施方式中,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
根据上述根据上述窗口数量设定上述第一尺寸阈值及上述第二尺寸阈值。
进一步,如图5所示,上述移动终端还可包括:一个或多个输入设备503(图5中仅示出一个)和一个或多个输出设备504(图5中仅示出一个)。存储器501、处理器502、输入设备503和输出设备504通过总线505连接。
应当理解,在本申请实施例中,所称处理器502可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备503可以包括键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备504可以包括显示器、扬声器等。
存储器501可以包括只读存储器和随机存取存储器,并向处理器502提供指令和数据。存储器501的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器501还可以存储设备类型的信息。
由上可见,通过本申请方案,在有多个自由窗口的情况下,移动终端可以先确定待调整的自由窗口,然后基于调整参数对该待调整的自由窗口进行调整,使得用户可以根据自己的需求对自由窗口作出调整,避免自由窗口被遮挡而影响用户的使用。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者外部设备软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方 式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读存储介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机可读存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括是电载波信号和电信信号。
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种窗口调整方法,其特征在于,包括:
    检测移动终端所显示的自由窗口的窗口数量;
    若所述窗口数量不少于两个,则确定所述移动终端所显示的自由窗口中待调整的自由窗口;
    获取调整参数,基于所述调整参数对所述待调整的自由窗口进行调整,其中,所述调整参数包括位置参数和/或尺寸参数。
  2. 如权利要求1所述的窗口调整方法,其特征在于,所述确定所述移动终端所显示的自由窗口中待调整的自由窗口,包括:
    获取显示在所述自由窗口中的应用程序的类型;
    根据所述应用程序的类型确定待调整的自由窗口。
  3. 如权利要求2所述的窗口调整方法,其特征在于,所述基于所述调整参数对所述待调整的自由窗口进行调整,包括:
    基于显示在所述待调整的自由窗口中的应用程序的类型获取调整参数,并根据所述调整参数对所述待调整的自由窗口进行调整。
  4. 如权利要求3所述的窗口调整方法,其特征在于,所述窗口调整方法还包括:
    创建应用程序类型-窗口参数对照表,所述窗口参数包括自由窗口的尺寸参数及位置参数;
    在所述应用程序类型-窗口参数对照表中,根据各个不同的应用程序的类型设置对应的窗口参数;
    相应地,所述基于显示在所述待调整的自由窗口中的应用程序的类型获取调整参数,并根据所述调整参数对所述待调整的自由窗口进行调整,包括:
    根据显示在所述待调整的自由窗口中的应用程序的类型,在所述应用程序类型-窗口参数对照表中查找对应的窗口参数;
    将所述对应的窗口参数确定为所述调整参数,并基于所述调整参数对所述待调整的自由窗口进行调整。
  5. 如权利要求4所述的窗口调整方法,其特征在于,所述窗口调整方法还包括:
    周期性将所述应用程序类型-窗口参数对照表上传至预设的云端服务器。
  6. 如权利要求1所述的窗口调整方法,其特征在于,所述确定所述移动终端所显示的自由窗口中待调整的自由窗口,包括:
    将所述移动终端所显示的自由窗口中符合预定条件的自由窗口确定为待调整的自由窗口,其中,所述预定条件包括触发操作的时间距离当前时间最近或者触发操作的 次数最多。
  7. 如权利要求6所述的窗口调整方法,其特征在于,所述窗口调整方法还包括:
    分别统计所述移动终端所显示的自由窗口在预设的时间段内触发操作的次数。
  8. 如权利要求1至7任一项所述的窗口调整方法,所述获取调整参数,基于所述调整参数对所述待调整的自由窗口进行调整,包括:
    若所述调整参数中的尺寸参数不小于预设的第一尺寸阈值,则将所述待调整的自由窗口全屏;
    若所述调整参数中的尺寸参数不大于预设的第二尺寸阈值,则将所述待调整的自由窗口最小化。
  9. 如权利要求8所述的窗口调整方法,其特征在于,窗口调整方法还包括:
    根据所述窗口数量设定所述第一尺寸阈值及所述第二尺寸阈值。
  10. 一种窗口调整装置,其特征在于,包括:
    检测单元,用于检测移动终端所显示的自由窗口的窗口数量;
    确定单元,用于若所述窗口数量不少于两个,则确定所述移动终端所显示的自由窗口中待调整的自由窗口;
    获取单元,用于获取调整参数;
    调整单元,用于基于所述调整参数对所述待调整的自由窗口进行调整,其中,所述调整参数包括位置参数和/或尺寸参数。
  11. 一种移动终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:
    检测移动终端所显示的自由窗口的窗口数量;
    若所述窗口数量不少于两个,则确定所述移动终端所显示的自由窗口中待调整的自由窗口;
    获取调整参数,基于所述调整参数对所述待调整的自由窗口进行调整,其中,所述调整参数包括位置参数和/或尺寸参数。
  12. 如权利要求11所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述确定所述移动终端所显示的自由窗口中待调整的自由窗口,包括:
    获取显示在所述自由窗口中的应用程序的类型;
    根据所述应用程序的类型确定待调整的自由窗口。
  13. 如权利要求12所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述基于所述调整参数对所述待调整的自由窗口进行调整,包括:
    基于显示在所述待调整的自由窗口中的应用程序的类型获取调整参数,并根据所述调整参数对所述待调整的自由窗口进行调整。
  14. 如权利要求13所述的移动终端,其特征在于,所述处理器执行所述计算机程序时还实现以下步骤:
    创建应用程序类型-窗口参数对照表,所述窗口参数包括自由窗口的尺寸参数及位置参数;
    在所述应用程序类型-窗口参数对照表中,根据各个不同的应用程序的类型设置对应的窗口参数;
    相应地,所述基于显示在所述待调整的自由窗口中的应用程序的类型获取调整参数,并根据所述调整参数对所述待调整的自由窗口进行调整,包括:
    根据显示在所述待调整的自由窗口中的应用程序的类型,在所述应用程序类型-窗口参数对照表中查找对应的窗口参数;
    将所述对应的窗口参数确定为所述调整参数,并基于所述调整参数对所述待调整的自由窗口进行调整。
  15. 如权利要求14所述的移动终端,其特征在于,所述处理器执行所述计算机程序时还实现以下步骤:
    周期性将所述应用程序类型-窗口参数对照表上传至预设的云端服务器。
  16. 如权利要求11所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述确定所述移动终端所显示的自由窗口中待调整的自由窗口,包括:
    将所述移动终端所显示的自由窗口中符合预定条件的自由窗口确定为待调整的自由窗口,其中,所述预定条件包括触发操作的时间距离当前时间最近或者触发操作的次数最多。
  17. 如权利要求16所述的移动终端,其特征在于,所述处理器执行所述计算机程序时还实现以下步骤:
    分别统计所述移动终端所显示的自由窗口在预设的时间段内触发操作的次数。
  18. 如权利要求11至17任一项所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述获取调整参数,基于所述调整参数对所述待调整的自由窗口进行调整,包括:
    若所述调整参数中的尺寸参数不小于预设的第一尺寸阈值,则将所述待调整的自由窗口全屏;
    若所述调整参数中的尺寸参数不大于预设的第二尺寸阈值,则将所述待调整的自由窗口最小化。
  19. 如权利要求18所述的移动终端,其特征在于,所述处理器执行所述计算机程序时还实现以下步骤:
    根据所述窗口数量设定所述第一尺寸阈值及所述第二尺寸阈值。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述方法的步骤。
PCT/CN2019/096549 2018-09-05 2019-07-18 一种窗口调整方法、窗口调整装置及移动终端 WO2020048243A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19857434.5A EP3846015A4 (en) 2018-09-05 2019-07-18 WINDOW ADJUSTMENT PROCEDURES, WINDOW ADJUSTMENT DEVICE AND MOBILE TERMINAL DEVICE
US17/191,414 US11507244B2 (en) 2018-09-05 2021-03-03 Window adjustment method, window adjustment device and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811030385.0A CN109271074A (zh) 2018-09-05 2018-09-05 一种窗口调整方法、窗口调整装置及移动终端
CN201811030385.0 2018-09-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/191,414 Continuation-In-Part US11507244B2 (en) 2018-09-05 2021-03-03 Window adjustment method, window adjustment device and mobile terminal

Publications (1)

Publication Number Publication Date
WO2020048243A1 true WO2020048243A1 (zh) 2020-03-12

Family

ID=65188447

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096549 WO2020048243A1 (zh) 2018-09-05 2019-07-18 一种窗口调整方法、窗口调整装置及移动终端

Country Status (4)

Country Link
US (1) US11507244B2 (zh)
EP (1) EP3846015A4 (zh)
CN (1) CN109271074A (zh)
WO (1) WO2020048243A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114928A (zh) * 2020-09-28 2020-12-22 西安万像电子科技有限公司 显示页面的处理方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271074A (zh) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 一种窗口调整方法、窗口调整装置及移动终端
CN116931933B (zh) * 2023-09-19 2023-12-01 北京麟卓信息科技有限公司 一种应用适配自由缩放的自动判断方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150058799A1 (en) * 2013-08-22 2015-02-26 Chiun Mai Communication Systems, Inc. Electronic device and method for adjusting user interfaces of applications in the electronic device
CN105005427A (zh) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 一种窗口管理方法及装置
CN106445286A (zh) * 2016-09-13 2017-02-22 北京奇虎科技有限公司 基于分屏的终端屏幕的焦点确定方法、装置及终端设备
CN107122149A (zh) * 2017-04-17 2017-09-01 北京小米移动软件有限公司 应用程序的显示方法、装置及终端
CN109271074A (zh) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 一种窗口调整方法、窗口调整装置及移动终端

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5666498A (en) * 1996-03-29 1997-09-09 International Business Machines Corporation Method, memory and apparatus for automatically resizing a window
US6025841A (en) * 1997-07-15 2000-02-15 Microsoft Corporation Method for managing simultaneous display of multiple windows in a graphical user interface
US6342908B1 (en) * 1999-03-22 2002-01-29 International Business Machines Corporation Progressive window organization
JP2003186593A (ja) * 2001-12-14 2003-07-04 Sumitomo Electric Ind Ltd マルチウィンドウ表示方法及びシステム
US7146573B2 (en) * 2002-01-28 2006-12-05 International Business Machines Corporation Automatic window representation adjustment
US7568167B2 (en) * 2003-06-26 2009-07-28 Microsoft Corporation Non-persistent user interface for real-time communication
US8464177B2 (en) * 2006-07-26 2013-06-11 Roy Ben-Yoseph Window resizing in a graphical user interface
JP4342578B2 (ja) * 2007-07-24 2009-10-14 株式会社エヌ・ティ・ティ・ドコモ 情報処理装置およびプログラム
US20100293148A1 (en) * 2008-01-29 2010-11-18 Paul Cesario Network attached storage backup
CN103164269B (zh) 2011-12-08 2017-05-03 中兴通讯股份有限公司 一种多窗口显示应用程序的方法及终端
KR20130119129A (ko) * 2012-04-23 2013-10-31 삼성전자주식회사 윈도우 크기를 조절하기 위한 방법 및 그 전자 장치
US20130339284A1 (en) * 2012-06-15 2013-12-19 Iolo Technologies, Llc Predicted software usage duration
US9250761B2 (en) * 2013-04-30 2016-02-02 Microsoft Technology Licensing, Llc Auto-grouping of application windows
US9798437B2 (en) * 2013-10-28 2017-10-24 Lenovo (Beijing) Co., Ltd. Information processing method and electronic device
ES2828444T3 (es) * 2015-01-04 2021-05-26 Huawei Tech Co Ltd Procedimiento, dispositivo y terminal de procesamiento de información de notificación
CN104808959B (zh) * 2015-04-29 2020-07-24 联想(北京)有限公司 一种信息处理方法及电子设备
JP6623908B2 (ja) * 2016-04-08 2019-12-25 富士通株式会社 情報処理装置、情報処理方法及び情報処理プログラム
CN106201166A (zh) * 2016-06-25 2016-12-07 深圳市金立通信设备有限公司 一种分屏显示方法及终端
US20180181289A1 (en) * 2016-12-27 2018-06-28 Lenovo (Singapore) Pte. Ltd. Sizing applications based on display parameters
US10331293B2 (en) * 2017-02-22 2019-06-25 International Business Machines Coporation Automated resizing of application windows based on interactive states
CN107168673B (zh) * 2017-05-16 2021-01-22 西安万像电子科技有限公司 窗口的控制方法、装置和系统、存储介质及处理器
CN108920086B (zh) * 2018-07-03 2020-07-07 Oppo广东移动通信有限公司 分屏退出方法、装置、存储介质和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150058799A1 (en) * 2013-08-22 2015-02-26 Chiun Mai Communication Systems, Inc. Electronic device and method for adjusting user interfaces of applications in the electronic device
CN105005427A (zh) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 一种窗口管理方法及装置
CN106445286A (zh) * 2016-09-13 2017-02-22 北京奇虎科技有限公司 基于分屏的终端屏幕的焦点确定方法、装置及终端设备
CN107122149A (zh) * 2017-04-17 2017-09-01 北京小米移动软件有限公司 应用程序的显示方法、装置及终端
CN109271074A (zh) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 一种窗口调整方法、窗口调整装置及移动终端

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114928A (zh) * 2020-09-28 2020-12-22 西安万像电子科技有限公司 显示页面的处理方法和装置
CN112114928B (zh) * 2020-09-28 2023-12-22 西安万像电子科技有限公司 显示页面的处理方法和装置

Also Published As

Publication number Publication date
EP3846015A4 (en) 2021-10-27
CN109271074A (zh) 2019-01-25
EP3846015A1 (en) 2021-07-07
US20210191579A1 (en) 2021-06-24
US11507244B2 (en) 2022-11-22

Similar Documents

Publication Publication Date Title
US9973506B2 (en) Method and apparatus for clearing notification icon, and storage medium
WO2020048243A1 (zh) 一种窗口调整方法、窗口调整装置及移动终端
KR101813195B1 (ko) 연락처 정보 추천 방법, 장치, 프로그램 및 기록매체
CN109240791B (zh) 一种应用程序显示方法、应用程序显示装置及移动终端
US20210191741A1 (en) Window Switching Method, Terminal and Non-Transitory Computer-Readable Storage Medium
CN106454139A (zh) 拍照方法及移动终端
US20170147184A1 (en) Method and electronic device for processing terminal folder
CN107613087B (zh) 一种控制方法及移动终端
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
WO2017128521A1 (zh) 一种锁屏界面处理方法及终端
CN105141826B (zh) 一种畸变校正方法及终端
CN107040591A (zh) 一种对客户端进行控制的方法及装置
US11209951B2 (en) Method and apparatus for displaying application program, terminal device, and storage medium
WO2020062908A1 (zh) 一种显示方向控制方法、系统及移动终端
WO2015027745A1 (zh) 界面处理方法、装置、终端及计算机存储介质
CN110796094A (zh) 基于图像识别的控制方法及装置、电子设备和存储介质
CN111565282A (zh) 一种拍摄控制处理方法、装置、设备及存储介质
CN109983428B (zh) 一种应用的操作方法和装置
CN113867870A (zh) 弹窗管理系统、弹窗控制方法、存储介质、计算机设备
CN112055156B (zh) 预览图像更新方法、装置、移动终端及存储介质
WO2020135397A1 (zh) 屏幕显示控制方法及装置
CN110856196A (zh) Wlan服务优化方法、终端设备和存储介质
WO2015193748A1 (en) Information acquiring apparatus and method, and electronic device
WO2023082569A1 (zh) 视频信息提取方法及装置
CN111031233B (zh) 一种数字图像处理帧率控制方法及装置

Legal Events

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

Ref document number: 19857434

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019857434

Country of ref document: EP

Effective date: 20210401