CN107391094A - A kind of window display method and device - Google Patents
A kind of window display method and device Download PDFInfo
- Publication number
- CN107391094A CN107391094A CN201610325080.7A CN201610325080A CN107391094A CN 107391094 A CN107391094 A CN 107391094A CN 201610325080 A CN201610325080 A CN 201610325080A CN 107391094 A CN107391094 A CN 107391094A
- Authority
- CN
- China
- Prior art keywords
- window
- display
- current active
- active window
- remaining space
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种窗口显示方法及装置,该方法包括:接收用于显示当前活动窗口的触发操作;基于触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和当前活动窗口的当前窗口信息,其中,历史窗口信息包括,历史窗口的显示位置和历史窗口的显示尺寸;根据历史窗口信息,确定显示单元上未显示有窗口的剩余空间的剩余尺寸;根据剩余尺寸和当前窗口信息,判断剩余空间是否满足当前活动窗口的显示条件;满足时,确定在剩余空间显示当前活动窗口。本发明提供的方法及装置,用以解决现有技术中按预设模板来显示窗口,存在的灵活性差,用户体验差的技术问题。实现了提高了窗口显示灵活度,进而提升了用户体验的技术效果。
The invention discloses a window display method and device. The method includes: receiving a trigger operation for displaying the current active window; Window information, wherein the historical window information includes the display position of the historical window and the display size of the historical window; according to the historical window information, determine the remaining size of the remaining space where no window is displayed on the display unit; according to the remaining size and the current window information, Determine whether the remaining space satisfies the display conditions of the current active window; if so, determine to display the current active window in the remaining space. The method and device provided by the present invention are used to solve the technical problems of poor flexibility and poor user experience in the prior art when windows are displayed according to preset templates. The technical effect of improving the window display flexibility and further enhancing the user experience is realized.
Description
技术领域technical field
本发明涉及软件技术领域,尤其涉及一种窗口显示方法及装置。The invention relates to the field of software technology, in particular to a window display method and device.
背景技术Background technique
当前,智能设备上的软件应用类型及品牌众多,用户往往会在设备上安装较多的应用以满足其需求。而各种应用往往通过自己的窗口来与用户交互,故会导致用户在使用智能设备时,常需要在显示单元上同时开启多个窗口。Currently, there are many types and brands of software applications on smart devices, and users tend to install more applications on devices to meet their needs. However, various applications often interact with the user through their own windows, so the user often needs to open multiple windows on the display unit at the same time when using the smart device.
然而,多个窗口同时显示在显示单元上时,会出现互相遮挡和干扰,给用户的使用带来不便。目前,为了避免窗口之间的干扰,往往采用下述多窗口显示方式:预先设置一个窗口分区模板,按照预设的模板在不同的区域显示不同的窗口,实现多个窗口同时显示在显示单元上。但是,在使用过程中发现,按预设的固定模板来显示窗口,虽然做到了多个窗口同时显示,但灵活性差,不利于用户体验。However, when multiple windows are displayed on the display unit at the same time, mutual occlusion and interference will occur, which brings inconvenience to users. At present, in order to avoid interference between windows, the following multi-window display method is often used: a window partition template is preset, and different windows are displayed in different areas according to the preset template, so that multiple windows can be displayed on the display unit at the same time . However, in the process of use, it is found that the window is displayed according to the preset fixed template, although multiple windows can be displayed at the same time, but the flexibility is poor, which is not conducive to user experience.
也就是说,现有技术中按预设模板来显示窗口,存在灵活性差,用户体验差的技术问题。That is to say, in the prior art, displaying windows according to preset templates has the technical problems of poor flexibility and poor user experience.
发明内容Contents of the invention
本发明通过提供一种窗口显示方法及装置,解决了现有技术中按预设模板来显示窗口,存在的灵活性差,用户体验差的技术问题。By providing a window display method and device, the present invention solves the technical problems of poor flexibility and poor user experience in the prior art when windows are displayed according to preset templates.
一方面,为解决上述技术问题,本发明提供了如下技术方案:On the one hand, in order to solve the above technical problems, the present invention provides the following technical solutions:
一种窗口显示方法,包括:A window display method, comprising:
接收用于显示当前活动窗口的触发操作;Receive a trigger operation for displaying the current active window;
基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;Based on the trigger operation, the history window information of the history window displayed on the display unit and the current window information of the currently active window are acquired, wherein the history window information includes the display position of the history window and the history The display size of the window;
根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;According to the historical window information, determine the remaining size of the remaining space where no windows are displayed on the display unit;
根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;judging whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information;
当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。When the remaining space satisfies the display condition of the current active window, it is determined to display the current active window in the remaining space.
可选的,所述接收用于显示当前活动窗口的触发操作,包括:接收用于打开并显示所述当前活动窗口的触发操作;或接收用于从所述历史窗口中选择并显示所述当前活动窗口的触发操作。Optionally, the receiving a trigger operation for displaying the current active window includes: receiving a trigger operation for opening and displaying the current active window; or receiving a trigger operation for selecting and displaying the current active window from the history window The trigger action for the active window.
可选的,所述根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件,包括:根据所述当前窗口信息,确定所述当前活动窗口的最大显示尺寸和最小显示尺寸;根据所述剩余尺寸和所述最小显示尺寸,判断所述剩余空间是否满足所述当前活动窗口按所述最小显示尺寸进行显示。Optionally, the judging whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information includes: determining the size of the current active window according to the current window information The maximum display size and the minimum display size; according to the remaining size and the minimum display size, it is judged whether the remaining space satisfies the requirement that the current active window be displayed according to the minimum display size.
可选的,所述当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口,包括:当所述剩余空间满足所述当前活动窗口按所述最小显示尺寸进行显示时,根据所述剩余尺寸确定所述当前活动窗口的匹配显示尺寸;确定在所述剩余空间按所述匹配显示尺寸显示所述当前活动窗口。Optionally, when the remaining space satisfies the display condition of the current active window, determining to display the current active window in the remaining space includes: when the remaining space satisfies the display condition of the current active window When displaying the minimum display size, determine the matching display size of the current active window according to the remaining size; determine to display the current active window in the remaining space according to the matching display size.
可选的,所述判断所述剩余空间是否满足所述当前活动窗口的显示条件之后,还包括:当所述剩余空间不满足所述当前活动窗口的显示条件时,判断调整所述历史窗口的显示位置和/或显示尺寸后,所述显示单元上的调整后剩余空间是否满足所述当前活动窗口的显示条件;如果所述调整后剩余空间满足所述当前活动窗口的显示条件时,则调整所述历史窗口的显示位置和/或显示尺寸;确定在所述调整后剩余空间显示所述当前活动窗口。Optionally, after the judging whether the remaining space satisfies the display condition of the current active window, it further includes: when the remaining space does not meet the display condition of the current active window, judging and adjusting the display condition of the history window After displaying the position and/or display size, whether the adjusted remaining space on the display unit meets the display conditions of the current active window; if the adjusted remaining space meets the display conditions of the current active window, then adjust The display position and/or display size of the history window; determine the remaining space after the adjustment to display the current active window.
可选的,所述判断调整所述历史窗口的显示位置和/或显示尺寸后,所述显示单元上的调整后剩余空间是否满足所述当前活动窗口的显示条件之后,还包括:如果所述调整后剩余空间不满足所述当前活动窗口的显示条件时,将所述历史窗口显示为列表;在未显示有所述列表的区域显示所述当前活动窗口。Optionally, after the judging whether the adjusted remaining space on the display unit satisfies the display condition of the current active window after adjusting the display position and/or display size of the history window, it further includes: if the When the remaining space after adjustment does not satisfy the display condition of the current active window, display the history window as a list; display the current active window in an area where the list is not displayed.
可选的,当所述历史窗口信息还包括所述历史窗口的数量时,所述按照所述显示状态显示所述当前活动窗口之前,还包括:判断所述历史窗口的数量是否大于预设数量;当所述历史窗口的数量大于所述预设数量时,将所述历史窗口显示为列表;根据所述列表的显示尺寸和所述当前窗口信息,确定所述当前活动窗口的显示状态。Optionally, when the historical window information also includes the number of the historical windows, before displaying the current active window according to the display state, it further includes: judging whether the number of the historical windows is greater than a preset number ; When the number of the history windows is greater than the preset number, display the history windows as a list; determine the display state of the current active window according to the display size of the list and the information of the current window.
另一方面,提供一种窗口显示装置,包括:In another aspect, a window display device is provided, including:
接收模块,用于接收用于显示当前活动窗口的触发操作;A receiving module, configured to receive a trigger operation for displaying the current active window;
获取模块,用于基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;An acquisition module, configured to acquire historical window information of the displayed historical window on the display unit and current window information of the currently active window based on the trigger operation, wherein the historical window information includes display of the historical window the location and display size of said history window;
尺寸确定模块,用于根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;A size determining module, configured to determine the remaining size of the remaining space on the display unit where no window is displayed according to the historical window information;
判断模块,用于根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;A judging module, configured to judge whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information;
显示确定模块,用于当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。A display determination module, configured to determine to display the current active window in the remaining space when the remaining space satisfies the display condition of the current active window.
可选的,所述接收模块包括:第一接收单元,用于接收用于打开并显示所述当前活动窗口的触发操作;或第二接收单元,用于从所述历史窗口中选择并显示所述当前活动窗口的触发操作。Optionally, the receiving module includes: a first receiving unit, configured to receive a trigger operation for opening and displaying the current active window; or a second receiving unit, configured to select and display the active window from the history window Describes the trigger operations for the currently active window.
可选的,所述判断单元还用于:根据所述当前窗口信息,确定所述当前活动窗口的最大显示尺寸和最小显示尺寸;根据所述剩余尺寸和所述最小显示尺寸,判断所述剩余空间是否满足所述当前活动窗口按所述最小显示尺寸进行显示。Optionally, the judging unit is further configured to: determine the maximum display size and the minimum display size of the current active window according to the current window information; judge the remaining size according to the remaining size and the minimum display size. Whether the space satisfies the requirement that the current active window is displayed according to the minimum display size.
可选的,所述显示确定单元还用于:当所述剩余空间满足所述当前活动窗口按所述最小显示尺寸进行显示时,根据所述剩余尺寸确定所述当前活动窗口的匹配显示尺寸;确定在所述剩余空间按所述匹配显示尺寸显示所述当前活动窗口。Optionally, the display determination unit is further configured to: determine a matching display size of the current active window according to the remaining size when the remaining space is sufficient for the current active window to be displayed in the minimum display size; Determine to display the current active window in the remaining space according to the matching display size.
可选的,所述装置还包括:调整模块,用于当所述剩余空间不满足所述当前活动窗口的显示条件时,判断调整所述历史窗口的显示位置和/或显示尺寸后,所述显示单元上的调整后剩余空间是否满足所述当前活动窗口的显示条件;如果所述调整后剩余空间满足所述当前活动窗口的显示条件时,则调整所述历史窗口的显示位置和/或显示尺寸;确定在所述调整后剩余空间显示所述当前活动窗口。Optionally, the device further includes: an adjustment module, configured to determine that after adjusting the display position and/or display size of the history window when the remaining space does not meet the display conditions of the current active window, the Whether the adjusted remaining space on the display unit meets the display condition of the current active window; if the adjusted remaining space meets the display condition of the current active window, adjust the display position and/or display of the history window size; determine the remaining space to display the current active window after the adjustment.
可选的,所述装置还包括:第一列表模块,用于如果所述调整后剩余空间不满足所述当前活动窗口的显示条件时,将所述历史窗口显示为列表;在未显示有所述列表的区域显示所述当前活动窗口。Optionally, the device further includes: a first list module, configured to display the history window as a list if the adjusted remaining space does not meet the display condition of the current active window; The list area shows the currently active window.
可选的,当所述历史窗口信息还包括所述历史窗口的数量时,所述装置还包括:第二列表模块,用于判断所述历史窗口的数量是否大于预设数量;当所述历史窗口的数量大于所述预设数量时,将所述历史窗口显示为列表;根据所述列表的显示尺寸和所述当前窗口信息,确定所述当前活动窗口的显示状态。Optionally, when the history window information further includes the number of the history windows, the device further includes: a second list module, configured to determine whether the number of the history windows is greater than a preset number; When the number of windows is greater than the preset number, display the historical windows as a list; determine the display state of the current active window according to the display size of the list and the information of the current window.
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
本申请实施例提供的方法及装置,根据显示单元上已显示的历史窗口的信息和需要交互的当前活动窗口的信息来确定所述当前活动窗口的显示状态,即能根据已经显示的窗口的实际情况来调整当前活动窗口的显示状态,使得当前活动窗口的显示更加灵活,有效提升了用户体验。The method and device provided by the embodiments of the present application determine the display state of the current active window according to the information of the historical windows displayed on the display unit and the information of the current active window that needs to be interacted with, that is, according to the actual The display state of the current active window is adjusted according to the situation, so that the display of the current active window is more flexible, and the user experience is effectively improved.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on the provided drawings without making creative efforts.
图1为本申请实施例中窗口显示方法的流程图;Fig. 1 is the flowchart of the window display method in the embodiment of the present application;
图2为本申请实施例中剩余尺寸确定的示意图;Fig. 2 is the schematic diagram that remaining size is determined in the embodiment of the present application;
图3为本申请实施例中窗口显示的示意图一;Fig. 3 is a schematic diagram 1 of window display in the embodiment of the present application;
图4为本申请实施例中窗口显示的示意图二;Fig. 4 is the second schematic diagram of the window display in the embodiment of the present application;
图5为本申请实施例中窗口显示的示意图三;Fig. 5 is the third schematic diagram of window display in the embodiment of the present application;
图6为本申请实施例中窗口显示的示意图四;Fig. 6 is a schematic diagram 4 of window display in the embodiment of the present application;
图7为本申请实施例中窗口显示装置的结构图。FIG. 7 is a structural diagram of a window display device in an embodiment of the present application.
具体实施方式detailed description
本申请实施例通过提供一种窗口显示方法及装置,解决了现有技术中按预设模板来显示窗口,存在的灵活性差,用户体验差的技术问题。实现了提高了窗口显示灵活度,进而提升了用户体验的技术效果。The embodiments of the present application provide a window display method and device, which solve the technical problems of poor flexibility and poor user experience in the prior art when windows are displayed according to preset templates. The technical effect of improving window display flexibility and further improving user experience is realized.
为解决上述技术问题,本申请实施例提供技术方案的总体思路如下:In order to solve the above technical problems, the general idea of the technical solution provided by the embodiment of the present application is as follows:
本申请提供一种窗口显示方法,所述方法包括:The present application provides a window display method, the method comprising:
接收用于显示当前活动窗口的触发操作;Receive a trigger operation for displaying the current active window;
基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;Based on the trigger operation, the history window information of the history window displayed on the display unit and the current window information of the currently active window are acquired, wherein the history window information includes the display position of the history window and the history The display size of the window;
根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;According to the historical window information, determine the remaining size of the remaining space where no windows are displayed on the display unit;
根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;judging whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information;
当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。When the remaining space satisfies the display condition of the current active window, it is determined to display the current active window in the remaining space.
本申请实施例提供的方法及装置,根据显示单元上已显示的历史窗口的信息和需要交互的当前活动窗口的信息来确定所述当前活动窗口的显示状态,即能根据已经显示的窗口的实际情况来调整当前活动窗口的显示状态,使得当前活动窗口的显示更加灵活,有效提升了用户体验。The method and device provided by the embodiments of the present application determine the display state of the current active window according to the information of the historical windows displayed on the display unit and the information of the current active window that needs to be interacted with, that is, according to the actual The display state of the current active window is adjusted according to the situation, so that the display of the current active window is more flexible, and the user experience is effectively improved.
为了更好的理解上述技术方案,下面将结合具体的实施方式对上述技术方案进行详细说明,应当理解本发明实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with specific implementation modes. For the limitation of the technical solution of the application, the embodiments of the present application and the technical features in the embodiments can be combined with each other under the condition of no conflict.
实施例一Embodiment one
在本实施例中,提供了一种窗口显示方法,请参考图1,图1为本申请实施例中窗口显示方法的流程图,如图1所示,所述方法包括:In this embodiment, a method for displaying a window is provided. Please refer to FIG. 1. FIG. 1 is a flowchart of a method for displaying a window in an embodiment of the present application. As shown in FIG. 1, the method includes:
步骤S101,接收用于显示当前活动窗口的触发操作;Step S101, receiving a trigger operation for displaying the current active window;
步骤S102,基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;Step S102, based on the trigger operation, acquire the historical window information of the historical window displayed on the display unit and the current window information of the currently active window, wherein the historical window information includes the display position and The display size of the history window;
步骤S103,根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;Step S103, according to the historical window information, determine the remaining size of the remaining space where no windows are displayed on the display unit;
步骤S104,根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;Step S104, according to the remaining size and the current window information, judge whether the remaining space satisfies the display condition of the current active window;
步骤S105,当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。Step S105, when the remaining space satisfies the display condition of the current active window, determine to display the current active window in the remaining space.
举例来说,所述方法可以应用于具有显示单元的电子设备,该电子设备例如为:笔记本电脑、一体机、智能手机或平板电脑等等。For example, the method can be applied to an electronic device with a display unit, such as a notebook computer, an all-in-one computer, a smart phone or a tablet computer, and the like.
下面,结合图1对本申请提供的窗口显示方法进行详细介绍:Below, in conjunction with Figure 1, the window display method provided by this application is introduced in detail:
首先,执行步骤S101,接收用于显示当前活动窗口的触发操作;First, step S101 is executed to receive a trigger operation for displaying the current active window;
需要说明的是,所述当前活动窗口是用户当前操作的窗口,其即可以是用户新打开的窗口,也可以是用户之前打开,当前又点击选择的窗口。It should be noted that the current active window is the window currently operated by the user, which may be a newly opened window by the user, or may be a window opened by the user before and currently clicked to select.
具体来讲,当所述当前活动窗口是用户新打开的窗口时,所述接收用于显示当前活动窗口的触发操作,具体为:接收用于打开并显示所述当前活动窗口的触发操作。例如,显示单元上已显示有窗口A、窗口B和窗口C,用户双击窗口D对应的应用图标打开窗口D,则此时窗口D为所述当前活动窗口,所述触发操作为双击所述应用图标的操作;Specifically, when the current active window is a window newly opened by the user, the receiving a trigger operation for displaying the current active window specifically includes: receiving a trigger operation for opening and displaying the current active window. For example, window A, window B, and window C have been displayed on the display unit, and the user double-clicks the application icon corresponding to window D to open window D, then window D is the current active window at this time, and the trigger operation is double-clicking the application icon. Icon operation;
或者,当所述当前活动窗口是用户之前打开的,当前又点击选择的窗口时,所述接收用于显示当前活动窗口的触发操作,具体为:接收用于从所述历史窗口中选择并显示所述当前活动窗口的触发操作。例如,显示单元上已打开显示有窗口A、窗口B和窗口C,其中,窗口B缩小显示在任务栏,用户在任务栏点击窗口B对应的所述标识,以能观察到窗口B的内容,则此时窗口B为所述当前活动窗口,所述触发操作为点击所述标识的操作。Or, when the current active window is opened by the user before and the selected window is currently clicked, the receiving the trigger operation for displaying the current active window is specifically: receiving the trigger operation for selecting and displaying the current active window from the history window The trigger operation of the currently active window. For example, window A, window B and window C have been opened and displayed on the display unit, wherein window B is shrunk and displayed on the taskbar, and the user clicks the corresponding sign of window B on the taskbar to observe the content of window B, Then window B is the current active window at this time, and the trigger operation is an operation of clicking the logo.
接下来,执行步骤S102,基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;Next, step S102 is executed, based on the trigger operation, the historical window information of the historical window displayed on the display unit and the current window information of the currently active window are acquired, wherein the historical window information includes the historical window and the display size of the history window;
需要说明的是,所述历史窗口信息的获取可以是:每次在显示单元上开启显示窗口时,所述电子设备存储显示的窗口的信息,以作为所述历史窗口信息,当接收到所述触发操作时,所述电子设备可以读取获取之前存储的所述历史窗口信息。所述当前窗口信息的获取可以是:解析所述当前活动窗口对应的当前应用的代码来获取,也可以是与所述当前应用的服务器通信获取,在本发明中不作限制。It should be noted that the acquisition of the historical window information may be: each time the display window is opened on the display unit, the electronic device stores the information of the displayed window as the historical window information, and when receiving the When the operation is triggered, the electronic device may read and acquire the previously stored historical window information. The acquisition of the current window information may be obtained by analyzing the code of the current application corresponding to the current active window, or obtained by communicating with the server of the current application, which is not limited in the present invention.
在本申请实施例中,所述历史窗口信息可以包括以下一种或多种的组合:所述历史窗口的显示位置、所述历史窗口的显示尺寸、所述历史窗口的数量、所述历史窗口的类型和所述历史窗口对应的应用名称。所述当前窗口信息可以包括以下一种或多种的组合:所述当前活动窗口的默认最大显示尺寸、所述当前活动窗口的最小显示尺寸、所述当前活动窗口的类型和所述当前活动窗口对应的应用名称。In this embodiment of the application, the history window information may include one or more of the following combinations: the display position of the history window, the display size of the history window, the number of the history windows, the history window type and the application name corresponding to the history window. The current window information may include one or more of the following combinations: the default maximum display size of the current active window, the minimum display size of the current active window, the type of the current active window, and the current active window corresponding application name.
再下来,执行步骤S103,根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;Next, step S103 is executed to determine the remaining size of the remaining space on the display unit where no window is displayed according to the historical window information;
在本申请实施例中,所述剩余尺寸的确定,可以是预先将显示单元进行方格组合化,再通过统计被历史窗口占据显示的方格数来进行计算历史窗口显示占用的尺寸及剩余空间的剩余尺寸;也可以是如图2所示,通过测定历史窗口与显示单元的四个边的距离a、b、c和d,来确定剩余空间的剩余尺寸,在本发明中不作限制。In the embodiment of the present application, the determination of the remaining size may be to combine the display unit into grids in advance, and then calculate the size and remaining space occupied by the history window by counting the number of grids occupied by the history window. It can also be as shown in Figure 2, by measuring the distances a, b, c and d of the four sides of the history window and the display unit to determine the remaining size of the remaining space, which is not limited in the present invention.
然后,执行步骤S104和步骤S105,根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。Then, step S104 and step S105 are executed to judge whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information; when the remaining space satisfies the display condition of the current active window condition, determine to display the current active window in the remaining space.
在本申请实施例中,判断所述剩余空间是否满足当前活动窗口的显示条件,可以有下述两种判断方法:In the embodiment of the present application, to judge whether the remaining space satisfies the display condition of the current active window, the following two judgment methods can be used:
第一种,直接将历史窗口显示为最小显示尺寸,再判断是否能满足当前活动窗口的显示条件。The first one is to directly display the history window to the minimum display size, and then judge whether the display condition of the current active window can be satisfied.
具体来讲,即先根据所述历史窗口信息,确定每个所述历史窗口的最小显示尺寸,将每个所述历史窗口均缩小到其最小显示尺寸,再判断显示单元上未显示有窗口的剩余空间是否能放置最小显示尺寸的所述当前活动窗口。Specifically, first determine the minimum display size of each of the history windows according to the history window information, reduce each of the history windows to its minimum display size, and then determine that no window is displayed on the display unit Whether the remaining space can place the current active window with the minimum display size.
进一步,可以在每个所述历史窗口均缩小到其最小显示尺寸之后,再将缩小后的所述历史窗口依次排列在显示单元的边缘区域,以增加所述剩余空间的集中程度,再判断显示单元上未显示有窗口的剩余空间是否能放置最小显示尺寸的所述当前活动窗口。Further, after each of the history windows is reduced to its minimum display size, the reduced history windows may be arranged sequentially in the edge area of the display unit, so as to increase the concentration of the remaining space, and then judge the display Whether the remaining space on the unit where no windows are displayed can accommodate the current active window of the minimum display size.
第二种,分步来判断:The second is to judge step by step:
第一步判断,根据所述当前窗口信息,确定所述当前活动窗口的最大显示尺寸和最小显示尺寸;根据所述剩余尺寸和所述最小显示尺寸,判断所述剩余空间是否满足所述当前活动窗口按所述最小显示尺寸进行显示。The first step is to judge, according to the current window information, determine the maximum display size and minimum display size of the current active window; according to the remaining size and the minimum display size, judge whether the remaining space meets the requirements of the current active window. The window is displayed at the stated minimum display size.
具体来讲,所述当前活动窗口存在默认的最大显示尺寸和最小显示尺寸,当显示单元上当前所述剩余空间足够以最小显示尺寸放置所述当前活动窗口时,则直接在所述剩余空间放置显示所述当前活动窗口。Specifically, the current active window has a default maximum display size and a minimum display size, and when the remaining space on the display unit is sufficient to place the current active window with the minimum display size, place the current active window directly in the remaining space. Displays the currently active window.
第二步判断,当所述剩余空间不满足所述当前活动窗口的显示条件时,判断调整所述历史窗口的显示位置和/或显示尺寸后,所述显示单元上的调整后剩余空间是否满足所述当前活动窗口的显示条件;The second step is to judge, when the remaining space does not meet the display conditions of the current active window, after adjusting the display position and/or display size of the history window, whether the adjusted remaining space on the display unit satisfies The display conditions of the current active window;
如果所述调整后剩余空间满足所述当前活动窗口的显示条件时,则调整所述历史窗口的显示位置和/或显示尺寸;确定在所述调整后剩余空间显示所述当前活动窗口。If the adjusted remaining space satisfies the display condition of the current active window, then adjust the display position and/or display size of the history window; determine to display the current active window in the adjusted remaining space.
在具体实施过程中,所述第二步判断也可以分为两步来进行:先判断调整所述历史窗口的显示位置后,剩余空间是否满足所述当前活动窗口的显示条件;如果满足,则调整所述历史窗口的显示位置来腾出足够的剩余空间放置所述当前活动窗口;如果不满足,再进一步判断调整所述历史窗口的显示位置和显示尺寸后,剩余空间是否满足所述当前活动窗口的显示条件。In the specific implementation process, the second step of judging can also be divided into two steps: first judge whether the remaining space satisfies the display condition of the current active window after adjusting the display position of the history window; if so, then Adjust the display position of the history window to vacate enough remaining space to place the current active window; if not, further judge whether the remaining space satisfies the current activity after adjusting the display position and display size of the history window The display condition of the window.
举例来讲,请参考图2,如图2所示,显示单元上显示有历史窗口Browser,测定获取历史窗口与显示单元的四个边的距离a、b、c和d。For example, please refer to FIG. 2 . As shown in FIG. 2 , a history window Browser is displayed on the display unit, and the distances a, b, c, and d between the history window and the four sides of the display unit are measured.
当需要开启窗口Folder时:先根据a、b、c和d判断显示单元上的剩余空间是否能放置窗口Folder,获得第一判断结果;When the window Folder needs to be opened: first judge whether the remaining space on the display unit can place the window Folder according to a, b, c and d, and obtain the first judgment result;
如果所述第一判断结果为否,再判断移动窗口Browser后的横向空间总和a+b、纵向空间总和c+d是否能放置窗口Folder,获得第二判断结果;If the first judgment result is no, then judge whether the horizontal space sum a+b and the vertical space sum c+d after moving the window Browser can place the window Folder, and obtain the second judgment result;
如果所述第二判断结果为是,则如图3所示,按箭头方向往显示单元边沿移动窗口Browser,在移动后的剩余空间放置窗口Folder。If the second judgment result is yes, as shown in FIG. 3 , the window Browser is moved toward the edge of the display unit in the direction of the arrow, and the window Folder is placed in the remaining space after the movement.
当需要再开启窗口Word时:先判断显示单元上除窗口Browser和窗口Folder外的剩余空间是否能放置窗口Word,获得第三判断结果;When the window Word needs to be opened again: first judge whether the remaining space on the display unit except the window Browser and the window Folder can place the window Word, and obtain the third judgment result;
如果所述第三判断结果为否,再判断移动窗口Browser和窗口Folder后的剩余空间是否能放置窗口Word,获得第四判断结果;If the third judgment result is no, then judge whether the remaining space after moving the window Browser and the window Folder can place the window Word, and obtain the fourth judgment result;
如果所述第四判断结果为否,再判断缩小并移动窗口Browser和窗口Folder后的剩余空间是否能放置窗口Word,获得第五判断结果;If the fourth judgment result is no, then judge whether the remaining space after shrinking and moving the window Browser and the window Folder can place the window Word, and obtain the fifth judgment result;
如果所述第五判断结果为是,则如图4所示,缩小窗口Browser和窗口Folder,并将缩小后的窗口Browser和窗口Folder移动到显示单元的边缘,再在移动后的剩余空间放置窗口Word。If the fifth judgment result is yes, then as shown in Figure 4, reduce the window Browser and window Folder, and move the reduced window Browser and window Folder to the edge of the display unit, then place the window in the remaining space after moving Word.
进一步,为了使所述当前活动窗口的显示尺寸最优化,当所述剩余空间或所述调整后的剩余空间满足所述当前活动窗口按所述最小显示尺寸进行显示时,可以不以最小显示尺寸来显示所述当前活动窗口,而是根据所述剩余尺寸确定能最优显示所述当前活动窗口的匹配显示尺寸;在所述剩余空间按所述匹配显示尺寸显示所述当前活动窗口。具体来讲,所述匹配显示尺寸可以是所述剩余空间能够放置的最大显示尺寸,所述匹配显示尺寸大于等于所述最小显示尺寸。Further, in order to optimize the display size of the current active window, when the remaining space or the adjusted remaining space satisfies that the current active window is displayed at the minimum display size, it is not necessary to use the minimum display size to display the current active window, but determine a matching display size that can optimally display the current active window according to the remaining size; display the current active window in the remaining space according to the matching display size. Specifically, the matching display size may be a maximum display size that can be placed in the remaining space, and the matching display size is greater than or equal to the minimum display size.
进一步,为了使所述当前活动窗口的显示位置最优化,当所述剩余空间或所述调整后的剩余空间满足所述当前活动窗口按所述最小显示尺寸进行显示时,还可以:首先调整所述历史窗口的位置,以使所述剩余空间的位置相对最佳,例如,使所述剩余空间的位置居中,或使所述剩余空间更集中;再调整所述当前活动窗口的显示尺寸到调整后的所述剩余空间可以满足的匹配显示尺寸后,在剩余空间放置显示所述当前活动窗口,具体来讲,所述匹配显示尺寸可以是所述剩余空间能够放置的最大显示尺寸。Further, in order to optimize the display position of the current active window, when the remaining space or the adjusted remaining space satisfies that the current active window is displayed at the minimum display size, it is also possible to: first adjust the The position of the history window, so that the position of the remaining space is relatively optimal, for example, the position of the remaining space is centered, or the remaining space is more concentrated; then adjust the display size of the current active window to adjust After the remaining space can meet the matching display size, place and display the current active window in the remaining space. Specifically, the matching display size can be the maximum display size that can be placed in the remaining space.
进一步,在显示所述当前活动窗口后,将所述显示单元上显示的窗口的数量和尺寸等信息进行数据存储更新,以便于后续需要打开或关闭窗口时计算判断使用。Further, after the current active window is displayed, information such as the number and size of the windows displayed on the display unit is stored and updated in data, so as to be used for calculation and judgment when opening or closing windows is required later.
在本申请实施例中,当所述显示单元上开启显示的窗口过多,以至于仅通过移动和缩放历史窗口已不能保证当前活动窗口和历史窗口的正常完整显示时,可以采用下述两种处理方法,来获得当前活动窗口的无遮挡、合理显示:In the embodiment of the present application, when there are too many windows opened and displayed on the display unit, so that the normal and complete display of the current active window and the history window cannot be guaranteed only by moving and zooming the history window, the following two methods can be used: Processing method to obtain unobstructed and reasonable display of the current active window:
第一种,当调整后的剩余空间不足时,将历史窗口列表化:The first one, when the adjusted remaining space is insufficient, list the history window:
即如果所述调整后剩余空间不满足所述当前活动窗口的显示条件时,将所述历史窗口显示为列表;That is, if the adjusted remaining space does not meet the display conditions of the current active window, display the history window as a list;
在未显示有所述列表的区域显示所述当前活动窗口。The currently active window is displayed in an area where the list is not displayed.
第二种,当历史窗口数量过多时,将历史窗口列表化:The second is to list the history windows when there are too many history windows:
即判断所述历史窗口的数量是否大于预设数量;That is, it is judged whether the quantity of the historical windows is greater than a preset quantity;
当所述历史窗口的数量大于所述预设数量时,将所述历史窗口显示为列表;When the number of the history windows is greater than the preset number, displaying the history windows as a list;
根据所述列表的显示尺寸和所述当前窗口信息,确定所述当前活动窗口的显示状态。The display state of the current active window is determined according to the display size of the list and the current window information.
在具体实施过程中,可以通过读取历史窗口的打开队列顺序来确定列表的先后顺序,将先打开的窗口排列在前,后打开的窗口排列在后;也可以根据用户的历史使用习惯来确定列表的先后顺序,用户使用频率高的窗口排列在前,用户使用频率低的窗口排列在后;当然,还可以根据用户的设置来确定列表的先后顺序,在此不再一一列举,本发明对此不作限制。In the specific implementation process, the order of the list can be determined by reading the opening queue order of the historical windows, and the windows opened first will be arranged first, and the windows opened later will be arranged last; it can also be determined according to the user's historical usage habits For the order of the list, the windows with high frequency of use by users are arranged first, and the windows with low frequency of use by users are arranged at the back; of course, the order of the list can also be determined according to the settings of the user, and will not be listed here. The present invention There is no limit to this.
在具体实施过程中,可以根据所述当前活动窗口的尺寸来确定列表区域的尺寸,而列表中每个历史窗口的尺寸可以按优先级确定,例如,可以通过读取应用的句柄属性来获取窗口的类型,从而确定历史窗口的优先级;也可以按照用户的使用习惯来确定历史窗口的优先级;还可以按照用户的设置来确定历史窗口的优先级,在此不再一一列举,本发明对此不作限制。In the specific implementation process, the size of the list area can be determined according to the size of the current active window, and the size of each historical window in the list can be determined according to the priority. For example, the window can be obtained by reading the handle attribute of the application type, thereby determining the priority of the history window; the priority of the history window can also be determined according to the user's usage habits; the priority of the history window can also be determined according to the user's settings, which will not be listed here. There is no limit to this.
举例来说,如图5所示,显示单元上已显示有历史窗口:Browser、Folder、Word和PowerPoint,当需要再开启当前活动窗口Application时:For example, as shown in Figure 5, historical windows have been displayed on the display unit: Browser, Folder, Word and PowerPoint, when the current active window Application needs to be opened again:
判断调整历史窗口的显示位置和显示尺寸后,也不满足当前活动窗口Application的显示条件,则确定将历史窗口列表化显示;After judging that the display position and display size of the history window are adjusted, and the display conditions of the current active window Application are not met, it is determined to display the history window in a list;
首先,依据进入窗口的先后队列顺序进行列表化,按先进先出的窗口队列进行列表化,例如,历史窗口的开启顺序依次为Folder、Browser、Word和PowerPoint,则按如图6所示排列;First, perform tabulation according to the sequence of queues entering the windows, and perform tabulation according to the first-in-first-out window queues. For example, the opening sequence of the history windows is Folder, Browser, Word, and PowerPoint, and they are arranged as shown in Figure 6;
再依据窗口的优先级设置列表中窗口的显示尺寸,对于同一优先级的窗口,可以采用列宽均等,行高可改变的原则,例如,如图6所示,预先设定Browser和Office为同一等级,则在列表中Browser、Word和PowerPoint的显示宽度相同;预先设定browser较Folder的等级高,则在窗口安排时,优先考虑browser的显示宽度,Folder的宽度略小。而列表中各窗口行高可以用户自行拖动调整,或按照窗口内容的多少来设置。Then set the display size of the window in the list according to the priority of the window. For windows with the same priority, the principle of equal column width and variable row height can be adopted. For example, as shown in Figure 6, the browser and Office are preset to be the same level, the display width of Browser, Word, and PowerPoint in the list is the same; if the level of browser is set higher than Folder in advance, when arranging windows, the display width of browser will be given priority, and the width of Folder will be slightly smaller. The row height of each window in the list can be adjusted by the user by dragging, or set according to the content of the window.
在具体实施过程中,可以通过滚动鼠标滑轮、移动鼠标或触控触摸屏来在列表中切换选择窗口。During the specific implementation process, the selection window can be switched in the list by rolling the mouse wheel, moving the mouse or touching the touch screen.
当然,在具体实施过程中,当调整后的剩余空间不足或历史窗口数量过多时,也可以不是将历史窗口列表化,而是重叠放置所述历史窗口,还可以将所述历史窗口透明化或将所述历史窗口显示为标识,在此不再一一列举,本发明对此不作限制。Of course, in the specific implementation process, when the adjusted remaining space is insufficient or the number of history windows is too large, the history windows may not be listed, but the history windows may be overlapped, and the history windows may also be made transparent or The history window is displayed as a logo, which is not listed here, and the present invention is not limited thereto.
进一步,当关闭任意窗口时,可以自动根据所述历史窗口信息和所述当前窗口信息重新确定调整窗口的显示状态。Further, when any window is closed, the display status of the adjustment window may be re-determined automatically according to the historical window information and the current window information.
具体来讲,本发明通过计算显示单元的剩余空间的方式来推算当前活动窗口的放置策略,并采用剩余空间确定,窗口显示模式设定,数据存储,整体调整规划的方式,使窗口的安排变成一个动态的过程,而非单一的罗列,可以适用于用户打开不同的窗口,能帮助用户浏览窗口时自动整理窗口,大大降低了用户的重复性操作,使用户可以专心使用窗口,而不用再花时间来将窗口反复调整。使得多个窗口的显示更加灵活,有效提升了用户体验。Specifically, the present invention calculates the placement strategy of the current active window by calculating the remaining space of the display unit, and adopts the method of determining the remaining space, setting the window display mode, storing data, and adjusting the overall planning, so that the arrangement of the windows can be changed. It is a dynamic process rather than a single list, which can be applied to users opening different windows, and can help users to automatically organize windows when browsing windows, greatly reducing the user's repetitive operations, so that users can concentrate on using windows instead of Take the time to iteratively adjust the window. The display of multiple windows is made more flexible, and the user experience is effectively improved.
基于同一发明构思,本申请还提供了实施例一中方法对应的装置,详见实施例二。Based on the same inventive concept, the present application also provides a device corresponding to the method in Embodiment 1, see Embodiment 2 for details.
实施例二Embodiment two
在本实施例中,提供了一种窗口显示装置,请参考图7,图7为本申请实施例中窗口显示装置的结构图,如图7所示,所述装置包括:In this embodiment, a window display device is provided. Please refer to FIG. 7. FIG. 7 is a structural diagram of a window display device in an embodiment of the present application. As shown in FIG. 7, the device includes:
接收模块701,用于接收用于显示当前活动窗口的触发操作;A receiving module 701, configured to receive a trigger operation for displaying the current active window;
获取模块702,用于基于所述触发操作,获取显示单元上已显示的历史窗口的历史窗口信息和所述当前活动窗口的当前窗口信息,其中,所述历史窗口信息包括,所述历史窗口的显示位置和所述历史窗口的显示尺寸;An acquiring module 702, configured to acquire historical window information of a historical window displayed on the display unit and current window information of the currently active window based on the trigger operation, wherein the historical window information includes, a display position and a display size of the history window;
尺寸确定模块703,用于根据所述历史窗口信息,确定所述显示单元上未显示有窗口的剩余空间的剩余尺寸;A size determining module 703, configured to determine the remaining size of the remaining space on the display unit where no window is displayed according to the historical window information;
判断模块704,用于根据所述剩余尺寸和所述当前窗口信息,判断所述剩余空间是否满足所述当前活动窗口的显示条件;A judging module 704, configured to judge whether the remaining space satisfies the display condition of the current active window according to the remaining size and the current window information;
显示确定模块705,用于当所述剩余空间满足所述当前活动窗口的显示条件时,确定在所述剩余空间显示所述当前活动窗口。A display determination module 705, configured to determine to display the current active window in the remaining space when the remaining space meets the display condition of the current active window.
在本申请实施例中,所述接收模块701包括:In the embodiment of this application, the receiving module 701 includes:
第一接收单元,用于接收用于打开并显示所述当前活动窗口的触发操作;或A first receiving unit, configured to receive a trigger operation for opening and displaying the current active window; or
第二接收单元,用于从所述历史窗口中选择并显示所述当前活动窗口的触发操作。The second receiving unit is configured to select and display the trigger operation of the current active window from the history window.
在本申请实施例中,所述判断模块704还用于:In this embodiment of the application, the judging module 704 is also used to:
根据所述当前窗口信息,确定所述当前活动窗口的最大显示尺寸和最小显示尺寸;determining the maximum display size and the minimum display size of the current active window according to the current window information;
根据所述剩余尺寸和所述最小显示尺寸,判断所述剩余空间是否满足所述当前活动窗口按所述最小显示尺寸进行显示。According to the remaining size and the minimum display size, it is judged whether the remaining space satisfies the minimum display size for the current active window to be displayed.
在本申请实施例中,所述显示确定模块705还用于:In this embodiment of the application, the display determination module 705 is also used to:
当所述剩余空间满足所述当前活动窗口按所述最小显示尺寸进行显示时,根据所述剩余尺寸确定所述当前活动窗口的匹配显示尺寸;When the remaining space satisfies that the current active window is displayed in the minimum display size, determine a matching display size of the current active window according to the remaining size;
确定在所述剩余空间按所述匹配显示尺寸显示所述当前活动窗口。Determine to display the current active window in the remaining space according to the matching display size.
在本申请实施例中,所述装置还包括:In the embodiment of the present application, the device further includes:
调整模块,用于当所述剩余空间不满足所述当前活动窗口的显示条件时,判断调整所述历史窗口的显示位置和/或显示尺寸后,所述显示单元上的调整后剩余空间是否满足所述当前活动窗口的显示条件;如果所述调整后剩余空间满足所述当前活动窗口的显示条件时,则调整所述历史窗口的显示位置和/或显示尺寸;确定在所述调整后剩余空间显示所述当前活动窗口。An adjustment module, configured to determine whether the adjusted remaining space on the display unit satisfies the condition after adjusting the display position and/or display size of the history window when the remaining space does not meet the display conditions of the current active window. The display condition of the current active window; if the adjusted remaining space meets the display condition of the current active window, then adjust the display position and/or display size of the historical window; determine the remaining space after the adjustment Displays the currently active window.
在本申请实施例中,所述装置还包括:In the embodiment of the present application, the device further includes:
第一列表模块,用于如果所述调整后剩余空间不满足所述当前活动窗口的显示条件时,将所述历史窗口显示为列表;在未显示有所述列表的区域显示所述当前活动窗口。A first list module, configured to display the history window as a list if the adjusted remaining space does not meet the display conditions of the current active window; display the current active window in an area where the list is not displayed .
在本申请实施例中,当所述历史窗口信息还包括所述历史窗口的数量时,所述装置还包括:In this embodiment of the present application, when the historical window information also includes the number of historical windows, the device further includes:
第二列表模块,用于判断所述历史窗口的数量是否大于预设数量;当所述历史窗口的数量大于所述预设数量时,将所述历史窗口显示为列表;根据所述列表的显示尺寸和所述当前窗口信息,确定所述当前活动窗口的显示状态。The second list module is used to judge whether the quantity of the historical windows is greater than the preset quantity; when the quantity of the historical windows is greater than the preset quantity, display the historical windows as a list; according to the display of the list The size and the current window information determine the display status of the current active window.
由于本发明实施例二所介绍的装置,为实施本发明实施例一的方法所采用的装置,故而基于本发明实施例一所介绍的方法,本领域所属人员能够了解该装置的具体结构及变形,故而在此不再赘述。凡是本发明实施例一的方法所采用的装置都属于本发明所欲保护的范围。Because the device introduced in Embodiment 2 of the present invention is the device used to implement the method in Embodiment 1 of the present invention, so based on the method described in Embodiment 1 of the present invention, those skilled in the art can understand the specific structure and deformation of the device , so it will not be repeated here. All devices used in the method of Embodiment 1 of the present invention belong to the intended protection scope of the present invention.
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:The above-mentioned technical solutions in the embodiments of the present application have at least the following technical effects or advantages:
本申请实施例提供的方法及装置,根据显示单元上已显示的历史窗口的信息和需要交互的当前活动窗口的信息来确定所述当前活动窗口的显示状态,即能根据已经显示的窗口的实际情况来调整当前活动窗口的显示状态,使得当前活动窗口的显示更加灵活,有效提升了用户体验。The method and device provided by the embodiments of the present application determine the display state of the current active window according to the information of the historical windows displayed on the display unit and the information of the current active window that needs to be interacted with, that is, according to the actual The display state of the current active window is adjusted according to the situation, so that the display of the current active window is more flexible, and the user experience is effectively improved.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610325080.7A CN107391094A (en) | 2016-05-17 | 2016-05-17 | A kind of window display method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610325080.7A CN107391094A (en) | 2016-05-17 | 2016-05-17 | A kind of window display method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107391094A true CN107391094A (en) | 2017-11-24 |
Family
ID=60338089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610325080.7A Pending CN107391094A (en) | 2016-05-17 | 2016-05-17 | A kind of window display method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107391094A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109828808A (en) * | 2018-12-24 | 2019-05-31 | 珠海海鸟科技有限公司 | A kind of interception preventing method and relevant device |
| CN110221892A (en) * | 2019-05-20 | 2019-09-10 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus, medium and the electronic equipment of rolling window information |
| CN111400631A (en) * | 2020-03-16 | 2020-07-10 | 出通科技(上海)有限公司 | Asymmetric information stream reading method and device, terminal and storage medium |
| CN114205636A (en) * | 2021-12-06 | 2022-03-18 | 广州方硅信息技术有限公司 | Method, device, equipment and storage medium for displaying window information of live broadcast room |
| WO2025227779A1 (en) * | 2024-04-29 | 2025-11-06 | 华为技术有限公司 | Interface display method and electronic device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06266524A (en) * | 1993-03-15 | 1994-09-22 | Nippon Telegr & Teleph Corp <Ntt> | Window number automatic adjustment system |
| US20060248404A1 (en) * | 2005-04-29 | 2006-11-02 | Microsoft Corporation | System and Method for Providing a Window Management Mode |
| CN101609387A (en) * | 2008-06-20 | 2009-12-23 | 宏碁股份有限公司 | Method for displaying multiple windows on screen and computer readable medium |
| CN103067569A (en) * | 2012-12-10 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device of multi-window displaying of smart phone |
| CN103853381A (en) * | 2012-12-06 | 2014-06-11 | 三星电子株式会社 | Display device and method for controlling display device |
-
2016
- 2016-05-17 CN CN201610325080.7A patent/CN107391094A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06266524A (en) * | 1993-03-15 | 1994-09-22 | Nippon Telegr & Teleph Corp <Ntt> | Window number automatic adjustment system |
| US20060248404A1 (en) * | 2005-04-29 | 2006-11-02 | Microsoft Corporation | System and Method for Providing a Window Management Mode |
| CN101609387A (en) * | 2008-06-20 | 2009-12-23 | 宏碁股份有限公司 | Method for displaying multiple windows on screen and computer readable medium |
| CN103853381A (en) * | 2012-12-06 | 2014-06-11 | 三星电子株式会社 | Display device and method for controlling display device |
| CN103067569A (en) * | 2012-12-10 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device of multi-window displaying of smart phone |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109828808A (en) * | 2018-12-24 | 2019-05-31 | 珠海海鸟科技有限公司 | A kind of interception preventing method and relevant device |
| CN110221892A (en) * | 2019-05-20 | 2019-09-10 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus, medium and the electronic equipment of rolling window information |
| CN110221892B (en) * | 2019-05-20 | 2022-07-15 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for scrolling window information |
| CN111400631A (en) * | 2020-03-16 | 2020-07-10 | 出通科技(上海)有限公司 | Asymmetric information stream reading method and device, terminal and storage medium |
| CN111400631B (en) * | 2020-03-16 | 2021-06-18 | 出通科技(上海)有限公司 | Asymmetric information stream reading method and device, terminal and storage medium |
| CN114205636A (en) * | 2021-12-06 | 2022-03-18 | 广州方硅信息技术有限公司 | Method, device, equipment and storage medium for displaying window information of live broadcast room |
| CN114205636B (en) * | 2021-12-06 | 2024-06-25 | 广州方硅信息技术有限公司 | Live broadcasting room window information display method, device, equipment and storage medium |
| WO2025227779A1 (en) * | 2024-04-29 | 2025-11-06 | 华为技术有限公司 | Interface display method and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2990924B1 (en) | Gesture-based on-chart data filtering | |
| US10394438B2 (en) | Scroll bar control | |
| US9513769B2 (en) | Methods and systems for non-linear representation of time in calendar applications | |
| US10775971B2 (en) | Pinch gestures in a tile-based user interface | |
| US11604580B2 (en) | Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device | |
| US9569004B2 (en) | Swipe toolbar to switch tabs | |
| US20110115814A1 (en) | Gesture-controlled data visualization | |
| US20130187923A1 (en) | Legend indicator for selecting an active graph series | |
| US20140098142A1 (en) | System and method for generation and manipulation of a curve in a dynamic graph based on user input | |
| US20150277746A1 (en) | Touch control method and device for electronic map | |
| US20160350951A1 (en) | Chart drawing method | |
| EP2259174A1 (en) | Electronic device, method for viewing desktop thereof, and computer program product | |
| JP2017532681A (en) | Heterogeneous application tab | |
| CN104049835A (en) | Method and device for automatically expanding panes | |
| US10552532B2 (en) | Techniques to present a dynamic formula bar in a spreadsheet | |
| CN107391094A (en) | A kind of window display method and device | |
| WO2016145832A1 (en) | Method of operating terminal and device utilizing same | |
| KR20140078629A (en) | User interface for editing a value in place | |
| WO2015117341A1 (en) | Mobile terminal and method for one-handed operation thereof, and computer storage medium | |
| CN104937530A (en) | Method and apparatus for two-dimensional document navigation | |
| US20140145969A1 (en) | System and method for graphic object management in a large-display area computing device | |
| CN106155511A (en) | Multi-mode detailed stock information device and method | |
| WO2017032193A1 (en) | User interface layout adjustment method and apparatus | |
| CN103049493A (en) | Method, device and equipment for determining presenting positions of target page elements | |
| CN110417984B (en) | A method, device and storage medium for realizing operation in a screen special-shaped area |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171124 |