WO2011072497A1 - 窗口管理方法、装置及计算设备 - Google Patents

窗口管理方法、装置及计算设备 Download PDF

Info

Publication number
WO2011072497A1
WO2011072497A1 PCT/CN2010/002091 CN2010002091W WO2011072497A1 WO 2011072497 A1 WO2011072497 A1 WO 2011072497A1 CN 2010002091 W CN2010002091 W CN 2010002091W WO 2011072497 A1 WO2011072497 A1 WO 2011072497A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
target
size
scaling
elements
Prior art date
Application number
PCT/CN2010/002091
Other languages
English (en)
French (fr)
Inventor
姚远
秦波
赵静滨
陈宏星
李茁萌
张弛
Original Assignee
联想(北京)有限公司
北京联想软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN200910242879XA external-priority patent/CN102103456B/zh
Priority claimed from CN 200910243834 external-priority patent/CN102109944A/zh
Application filed by 联想(北京)有限公司, 北京联想软件有限公司 filed Critical 联想(北京)有限公司
Priority to US13/259,601 priority Critical patent/US9069437B2/en
Publication of WO2011072497A1 publication Critical patent/WO2011072497A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the present invention relates to window management of an application in an operating system, and more particularly to a window management method, apparatus, and computing device. Background technique
  • any window includes a large number of title bars, menu bars, window workspaces, and so on.
  • the user can zoom in and out of the window by dragging the mouse, move the position, or double-click the title bar of the window to control the size. Even the restore button of the title bar can be used to adjust the window size. .
  • the user selects the middle window, manages the size of the window, and obtains the arrangement diagram shown in Figure lc. Finally, the user selects the uppermost window, and manages the size of the window to obtain the arrangement diagram shown in Figure Id; Yes, the user needs to perform multiple times when managing the size and position of each window.
  • the above is only three windows. If there are more windows, the more operations the user needs to perform, therefore, the existing window management scheme requires a large number of operations when the window is large, which is extremely inconvenient.
  • the window is the most important part of the user interface of the computer system. It is a visual interface provided to the user. Through the window, the user can view the resources provided by the system. Among them, when the resources provided by the system are displayed in the window, they are called elements in the window. For the system, the window is a tool. The more information is provided to the user through the window, the higher the utilization of the window and the higher the resource utilization of the system.
  • the embodiment of the invention provides a window management method, device and computing device, which reduces the operation of the user when performing window management, and is beneficial to improving the utilization of the window, thereby effectively ensuring resource utilization.
  • an embodiment of the present invention provides a window management apparatus, configured to manage at least two windows opened in an electronic device, where the window management apparatus includes:
  • a window presentation management device configured to manage the at least two windows in response to an input operation to change a size and a position of a target window for which the input operation is performed in the at least two windows, and at the same time adaptively change the location The size and position of at least one other window of at least two windows.
  • the window presentation management apparatus includes:
  • An input detection module for detecting an input operation
  • a window control module configured to perform a window control operation on the target window and the at least one other window according to the input operation detected by the detecting module, to change the size and position of the target window, and change the size of the at least one other window And location.
  • the window management apparatus further includes window element presentation management means for managing at least the presentation of the elements in the target window when the target window is zoomed.
  • the window element presentation management apparatus includes:
  • a window size detecting module configured to detect a scaled size of the target window when the target window is zoomed
  • a display type determining module configured to determine a display type of an element in the zoomed target window by using a correspondence between a preset window size and an element display type
  • a presentation module configured to display elements in the target window according to the determined display type.
  • the window element presentation management means manages the presentation of the elements in the at least one other window in which the scaling occurs while managing the presentation of the elements in the target window.
  • the embodiment of the present invention further provides a window management method for managing at least two windows opened in an electronic device, and the window management method includes:
  • the window presentation management step comprises:
  • a window control operation is performed on the target window and at least one other window to change the size and position of the target window while changing the size and position of the at least one other window.
  • the window management apparatus further includes a window element presentation management step of managing at least the presentation of the elements in the target window when the target window is zoomed.
  • the window element presentation management step includes:
  • the elements in the target window are presented according to the display type of the determined element.
  • an embodiment of the present invention further provides a computing device, including a processor, an input device, a storage device, and a display device, where the display device displays at least two windows, and the processor is configured to detect the input through An input operation input by the device, and performing a window management operation on the at least two open windows according to the detected input operation to simultaneously change the size and position of each of the at least two open windows.
  • the processor is further configured to change at least the presentation of the elements in the target window when the target window for the input operation is zoomed.
  • the scaled size of the target window is detected, and then the corresponding relationship between the preset window size and the element display type is used to determine the target window in the zoomed target window.
  • the display type of the element, and the elements in the target window are displayed according to the determined display type. Therefore, in the method provided by the present invention, as the window size changes, the display type of the element displayed in the window may also change, for example, assuming that in the initial state, the icon of the file is displayed in the window, when the window is enlarged to To a certain extent, you can display summary information such as thumbnails of files in the window, and then zoom in to a certain distance. In addition, you can also display complete information about the file, and so on. Therefore, it is possible to use the window to display more information to the user, which is beneficial to improving the utilization of the window, thereby effectively ensuring resource utilization.
  • Figure la- Figure Id is a schematic diagram of the existing window management process
  • FIG. 2 is a schematic view of a window before and after zooming in the prior art
  • FIG. 3 is a schematic structural diagram of a window management apparatus according to an embodiment of the present invention.
  • 4a-4d are schematic diagrams showing a first possible window change of window presentation management according to an embodiment of the present invention.
  • 4e-4g are schematic diagrams showing a second possible window change of window presentation management according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a window presentation management apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a window presentation management method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of four windows currently opened in a tiled manner according to an embodiment of the present invention
  • FIG. 8 is a plan view of five windows currently opened after a window is newly opened on the basis of FIG. 6 according to an embodiment of the present invention
  • Figure 9 is a schematic diagram showing the position of the position determining control after being presented to the screen and the window;
  • FIG. 10 is a schematic diagram of a window presented to a screen after being operated by a position determining control
  • FIG. 11 is a schematic structural diagram of a window element presentation management apparatus according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a window element presentation management apparatus according to another embodiment of the present invention.
  • FIG. 13 is a flowchart of a window element presentation management method according to an embodiment of the present invention.
  • FIG. 14 is a flowchart of a window element presentation management method according to another embodiment of the present invention.
  • 15a-15d are schematic diagrams showing changes of elements in a window zooming process in window element presentation management according to an embodiment of the present invention.
  • 16a-16b are schematic diagrams of the prior art before and after scaling of the rounded window
  • 17a-17b are schematic diagrams of the front and back of a rounded window zoom in window element presentation management according to an embodiment of the present invention. detailed description
  • a window management apparatus includes a window presentation management means 301 for managing the size and position of the target window for the input operation and the at least one other open window in response to the input operation.
  • a window presentation management means 301 for managing the size and position of the target window for the input operation and the at least one other open window in response to the input operation.
  • the window management apparatus may further include a window element presentation management means 303 (shown in phantom in FIG. 3, indicating that the window element presentation management means 303 is optional) for at least the target window when the target window is zoomed.
  • a window management apparatus using an embodiment of the present invention is utilized.
  • the window element presentation management device 303 With the window element presentation management device 303, with the window management device of the embodiment of the present invention, while changing the size and position of the window, the display type of the element displayed in the window can be automatically changed as the window size changes.
  • the size, the number, etc. provide the possibility to display more information to the user by using the window, which is beneficial to improving the utilization of the window, thereby effectively ensuring the utilization of resources.
  • the window presentation management apparatus 301 of the window management apparatus will first be described in detail below. Those skilled in the art can understand that the embodiments of the present invention are not limited to the following detailed description.
  • the window presentation management device 301 manages at least two windows opened in the electronic device, and the window presentation management device includes: an input detection module for detecting an input operation;
  • a window control module configured to perform a window control operation on the at least two windows according to the input operation detected by the input detection module, while changing a size and a position of each of the at least two windows. After the input detection module detects the output operation, the window control module performs a window control operation on the at least two windows according to the input operation detected by the input detection module, and simultaneously changes the size of each of the at least two windows. And location.
  • FIG. 4a-4d illustrate the first possible window change diagram of window presentation management according to an embodiment of the present invention.
  • Fig. 4a in the initial state, four windows are tiled on the screen, assuming that the user selects the lower left corner of the upper right window with the mouse and drags to the lower left, when dragging to the first position, The four windows displayed on the screen are shown in Figure 4b. It can be seen that not only the upper right window becomes larger, but also the position and size of the other three windows change at the same time. The user further drags to the lower left.
  • Figure 4c When dragging to the second position, the four windows displayed on the screen are as shown in Figure 4c. It can be seen that not only the upper right window becomes larger, but also the position and size of the other three windows change at the same time.
  • the user can realize coordinated management of multiple windows by one operation or a very small number of operations, thereby greatly reducing the complexity and operation amount of the user management window.
  • the input operation can be detected by detecting the change of the position of the touch focus. As shown in FIG. 4a, it is assumed that the user first clicks on the upper right window and then clicks on the second position, and then it can be found.
  • the window control module performs the following operations:
  • FIG. 4e-4g are schematic diagrams showing a second possible window change of window presentation management in accordance with an embodiment of the present invention.
  • the tiled four windows (image display window, music window, video window, and file window, respectively) divide the screen 4 equally, and the intersections of the four windows are set with positions.
  • Determine the control shown as a circle in the figure, which will be explained in further detail later);
  • the user drags the position determining control to the second position.
  • real-time window control is performed on the four windows, so that four windows are displayed in a tiled manner, and the intersection point is still a position determining control.
  • the current location you can see that the image window becomes larger, and the other three windows become smaller.
  • the content displayed in the four windows also changes accordingly, and the thumbnails displayed in the image window become larger.
  • the content displayed in the other three windows is either less or smaller to accommodate the change in window size.
  • the user drags the position determining control to the third position.
  • real-time window control is performed on the four windows, so that the four windows are displayed in a tiled manner, and the intersection is still a position determining control.
  • the current location you can see that the image window becomes larger, and the other three windows become smaller, in this case,
  • the content displayed in the four windows has also changed accordingly.
  • the number of thumbnails displayed in the image window has increased, and the contents displayed in the other three windows have changed accordingly to adapt to the change of the window size.
  • the four windows are displayed in a tiled manner and intersect at the position of the position determining control.
  • the size and position of the four windows can be determined directly by the position of the position determining control. as follows.
  • each window can be determined by the coordinates of the four vertices.
  • the coordinates of the four vertices of the window at the lower left of the screen are: (0, 0), (XI, 0), (XI, Y1) and (0, Y1)
  • the coordinates of the four vertices of the window at the top left of the screen are: (0, Yl), (XI, Yl), (XI, ⁇ ) and (0, ⁇ ), at the bottom right of the screen.
  • the coordinates of the four vertices of the window are: (XI, 0), (X, 0), (X, Y1), and (XI, Y1).
  • the coordinates of the four vertices of the window at the top right of the screen are: ( XI, Yl), (X, Yl), (X, Y) and (XI, ⁇ ).
  • the input detecting module detects the coordinates of the position determining control at any time, and determines according to the position.
  • the coordinates of the control modify the coordinates of the window displayed in the tile mode and the coordinates of the position determining control, and then perform the window control operation according to the coordinates of the modified window, and change the size of each of the at least two windows and position.
  • the coordinates of the four vertices of the window at the lower left of the screen are: (0, 0) ), ( ⁇ 2, 0), ( ⁇ 2, ⁇ 2), and (0, ⁇ 2)
  • the coordinates of the four vertices of the window at the top left of the screen are: (0, ⁇ 2), ( ⁇ 2, ⁇ 2), ( ⁇ 2, ⁇ ) and (0, ⁇ )
  • the coordinates of the four vertices of the window at the bottom right of the screen are: ( ⁇ 2, 0), (X, 0), (X, ⁇ 2) and ( ⁇ 2, ⁇ 2), at the top right of the screen.
  • the coordinates of the four vertices of the window are: ( ⁇ 2, ⁇ 2), (X, ⁇ 2), (X, ⁇ ), and ( ⁇ 2, ⁇ ).
  • the user manages the window in order to adjust the proportion of the window occupying the screen. Therefore, in the embodiment of the present invention, after the window control module performs the window control operation, at least one window of at least two windows remains displayed on the screen.
  • the window control module performs a window control operation on at least two of the at least two windows currently open, so that the window arrangement satisfies the window arrangement corresponding to the input operation After the rule, the windows displayed on the screen do not overlap each other.
  • the above-mentioned window arrangement rule can make the windows displayed on the screen do not overlap each other, such as a tiled manner, a manner of being arranged at a certain distance, and the like.
  • the correspondence between the input operation and the window arrangement rule may be set in advance, and after the input operation is detected, the corresponding operation may be performed according to the input operation.
  • the window arrangement rules directly manage the windows collaboratively, reducing the amount of user operations.
  • the input operation corresponds to the window arrangement rule
  • the window control operation is performed on the at least two windows according to the window arrangement rule corresponding to the input operation detected by the input detection module, and the at least two are changed simultaneously The size and position of each window in the window.
  • the window management device of the embodiment of the present invention includes:
  • a saving module 503, configured to pre-store a correspondence between an input operation and a window arrangement rule for recording a window arrangement manner of at least two windows;
  • An input detecting module 501 configured to detect an input operation
  • the window control module 502 is configured to perform a window control operation on the at least two windows that are currently open, so that the window arrangement satisfies a window arrangement rule corresponding to the input operation, where the window control operation includes a window size control operation and a window position control operation. .
  • the window presentation management method of the embodiment of the present invention is as shown in FIG. 6, and includes:
  • Step 601 pre-storing the correspondence between the input operation and the window arrangement of recording at least two windows;
  • Step 602 detecting an input operation;
  • Step 603 Perform a window control operation on at least two windows that are currently open, so that the window arrangement satisfies A window arrangement rule corresponding to the input operation, the window control operation including a window size control operation and a window position control operation.
  • the corresponding window arrangement rule needs to be determined according to the input operation.
  • the window arrangement rule corresponding to the input operation may be as follows: a cursor movement track When the line is a vertical direction, the currently open window is divided into screens, and arranged in order from top to bottom;
  • the currently open window is divided into screens and arranged in order from left to right.
  • the user only needs to control the cursor to perform the vertical motion by using the mouse, and by detecting the motion of the cursor, it can be determined that the currently opened window is arranged in the following manner:
  • the window divides the screen in the vertical direction.
  • the corresponding instructions are generated according to the window arrangement, and the operating system is notified to control the size and position of the window, and finally the three windows are presented in the vertical direction in a divided screen manner.
  • the input operation may be represented by a motion track of the cursor, a key operation, or a trajectory of the pointing object on the touch screen.
  • a motion track of the cursor a key operation, or a trajectory of the pointing object on the touch screen.
  • the mouse action is taken as an example for detailed description.
  • the specific embodiment of the present invention considering that the types of windows opened in the electronic device are various, in the specific embodiment of the present invention, at least two windows that are currently open belong to different types of windows, and the application distances are as follows: .
  • three windows arranged from left to right can be the same type of window, or different types of windows, such as Word program window, Excel program window, music player software window, video play window, live chat. Program window, etc.
  • the window control module before the window control module performs the window control operation, the at least two currently open The window is displayed in a tiled manner.
  • the window control module It can also be set to perform window control operations on a plurality of windows that are simultaneously opened, so that a plurality of windows that are simultaneously opened are displayed in a tiled manner, and at least two windows that are currently open are obtained, as shown in FIG. 7 is a schematic diagram of four windows currently opened in a tiled manner in the embodiment of the present invention.
  • FIG. 7 in the case where the above-described window control module is provided, the window arrangement of the embodiment of the present invention becomes regular and facilitates subsequent operations, which will be described later in detail.
  • the window control module can also perform window control operations on the new window and the already opened window after the new window is opened, so that multiple windows that are simultaneously opened are displayed in a tiled manner, and at least two currently open are obtained.
  • the window as shown in FIG. 8, is a schematic diagram of a plurality of windows displayed in a tiled manner after newly opening a window.
  • a position determining control is also provided, which is presented to the screen, which can be operated by the user using the mouse.
  • the position determining control is located at the "intersection point", as shown in FIG. 9, wherein the circle is the position determining control set in the embodiment of the present invention, and the intersection is 4 windows. The area where the intersection is located.
  • the input operation is a drag operation on the position determining control, and according to a user dragging operation on the position determining control, it may be determined that the user intention has been corresponding.
  • the window arrangement rules are as follows.
  • the top two are two document editing windows, below The two are the live chat window and the music play window.
  • the user wants to edit the two documents.
  • the user can use the mouse (of course, other methods such as a touchpad) to drag down.
  • the position control control is detected.
  • the window arrangement rule corresponding to dragging directly below is found as follows:
  • the upper two windows each occupy 1/2 screen, and the lower window is minimized, so
  • the arrangement rule the size and position of the upper two windows and the at least two windows can be determined, and then an instruction is issued to the operating system, and the upper window is controlled to occupy 1/2 screen, and the lower window is minimized.
  • the user realizes the arrangement scene that needs to be performed multiple times before, in one operation.
  • the window control module specifically includes: a determining unit, configured to determine, according to the window arrangement rule corresponding to the drag operation, the at least two windows and the at least The size and position of the two windows;
  • a control unit configured to perform window control on the at least two windows according to the determined sizes and positions of the at least two windows and the at least two windows.
  • a trigger module is further configured to determine whether the drag operation is valid according to an operation parameter of the drag operation, and trigger the trigger operation when the drag operation is valid. Window control module.
  • the operating parameter is a drag time or a drag distance.
  • the user manages the window, and more wants to see the content in the target window. If the window control operation is performed on the at least two windows, each window is very small, at this time, the user Sense of The acceptance is relatively poor, because the screen area is certain, the more windows are displayed, the smaller the area occupied by each window. In this case, further processing measures should be set, using the judgment module to execute on the at least two windows.
  • the module After the window control operation, determining whether the size of the window displayed on the screen in the at least two windows is smaller than a preset size, and when the size of the window displayed on the screen in the at least two windows is smaller than a preset size, using window control
  • the module performs a window control operation on the window, so that the size of the window after the window control operation is performed is greater than or equal to the preset size.
  • the size of the window after the window control operation is performed is greater than or equal to the preset size, which can be achieved in various ways, such as: reducing the number of windows displayed on the screen.
  • the loop displays some of the windows in the window to the screen, assuming that there are 8 windows, if all the windows are displayed, the screen assigned to each window is very small, and the content displayed in the window workspace is very small, but if Display 4 windows directly. At this time, the 4 windows are not necessarily the most needed window for the user. In this case, first select 4 windows (such as 1, 2, 3, 4) to display to the screen, if the user does not After approval, after 4 hours (such as 2s), another 4 (such as 5, 6, 7, 8) will be displayed on the screen. If the user does not approve, select another 4 windows after a certain time (such as 2s). (such as 1, 3, 5, 7) to the screen, until the user is satisfied.
  • 4 windows such as 1, 2, 3, 4
  • the above window is an example of an application window, but the window may also be a large icon corresponding to a file or an application, and an information presentation unit is disposed on the window. Used to display the status of the corresponding file or application, as illustrated below:
  • the window corresponds to a WORD document.
  • the shape and surface of the window are the same as the normal Word icon, but the size is inconsistent.
  • an information presentation unit is displayed at a certain position of the Word icon, and the information presentation unit displays "This file needs to be processed before X and X days of X.” Through the above processing, the user's identification of more information about the file is added.
  • the window management apparatus may further include a window element presentation management means for managing presentation of elements within the window when the target window is zoomed.
  • a window element presentation management means 303 according to an embodiment of the present invention will be described below.
  • FIG. 11 is a schematic structural diagram of a window element presentation management apparatus according to an embodiment of the present invention.
  • the window element presentation management device 303 includes: a window size detection module 1101, when the target window is zoomed, Detecting the size of the target window after scaling; the display type determining module 1102 is configured to determine, by using a preset correspondence between the window size and the element display type, a display type of the element in the zoomed target window; the presentation module 1103 And for displaying an element in the target window according to the determined display type.
  • the element presentation management apparatus 303 provided by the embodiment of the present invention can change the display type of the elements in the window according to the scaling of the window, the amount of information that the elements of different display types can provide to the user may be different, and therefore, to utilize the window to the user It is possible to display more information, which is beneficial to improve the utilization of the window, and thus effectively ensure the utilization of resources.
  • FIG. 12 is a schematic structural diagram of a window element presentation management apparatus according to another embodiment of the present invention.
  • the window element presentation management apparatus may further include:
  • the element scaling module 1104 is configured to detect a scaling ratio of the target window, and determine a scaling ratio of an element in the target window by using a correspondence between a preset window scaling and an element scaling ratio; The scale of the element, determining the size of the element in the target window.
  • the presentation module 1103 may specifically display the elements in the target window according to the display type and size of the determined element.
  • the number of elements displayed in the visible area of the window may also be changed.
  • the element scaling may be smaller than the window scaling, and the device may further include:
  • a presentation number determining module configured to determine a number of presentation elements in a visible area of the target window according to the size of the target window after the scaling and the size of an element in the target window;
  • the presentation module 1103 is specifically configured to display elements in the target window according to the display type, size and number of the determined elements.
  • the presentation module 1103 is specifically configured to: when the number of elements of the target window visible area is reduced after the scaling is performed, the presentation module 1103 is specifically configured to:
  • the presentation module 1103 is specifically used to:
  • the element index is queried according to the number of elements that need to be added, a corresponding number of elements are taken, these elements are marked as display attributes, and are displayed in the visible area of the target window.
  • the preset threshold may be preset. Accordingly, the device further includes:
  • a judging module configured to determine a scaling ratio of the element as the preset reading value when a scaling ratio of an element determined according to a scaling ratio of the target window exceeds a preset threshold.
  • the element scaling module 1104 can include:
  • the object splitting unit is configured to determine the level of the image and the text, and determine the image layer and the text layer as different objects;
  • the subunits are respectively scaled for changing the size of the image layer object according to the scale of the determined element, and keeping the size of the text layer object unchanged.
  • the image formed by the target window or the edge of the element may be treated as a processing object; if the processing object has at least one rounded corner, the apparatus may further include: a module, configured to scale a non-rounded area of the processing object according to a scaling ratio of the target window or the element;
  • a second scaling module configured to learn a radius and an angle of a rounded corner of the processing object, and scale a radius of the rounded corner according to a scaling ratio of the target window or the element, and maintain the rounded corner The angle is unchanged.
  • the window element of the present invention will be described below with reference to the window element presentation management apparatus of FIGS. 11 and 12 described above and the operation flowcharts of the window element presentation management apparatus for FIGS. 11 and 12 respectively shown in FIGS. 13 and 14. Demonstrate management devices and their operation.
  • step 1301 when the target window is zoomed, the scaled size of the target window is detected;
  • the window may include a window on a desktop (such as an application window, a folder window) created by an operating system (such as Windows or the like), or a document window created by an application, or the like.
  • a desktop such as an application window, a folder window
  • an operating system such as Windows or the like
  • a document window created by an application, or the like.
  • a file list window, a picture preview window, and the like may be specifically included.
  • the elements in the window are usually some link information.
  • the elements displayed in the folder are usually icons of subfolders and/or files under the folder, by double clicking on them. An icon can open one of the folders or A file, therefore, acts as a link.
  • Zooming in the window can mean that the user zooms the window by dragging the window with a mouse, keyboard, etc., or can also refer to the automatic scaling of the window under the instruction of certain computer programs, and the like.
  • the embodiment of the present invention can detect the size of the window change as long as the size of the window changes.
  • the target window may refer to any window currently opened on the user interface, and the size of the window may be monitored by using a function provided by the system.
  • the function provided by the system may also be used to obtain the zoomed window. size. Since the shape formed by the edge of the window is usually a rectangle, the size of the window is usually also represented by the size of the rectangle. For example, the window size can be expressed as 200*120, which is equivalent to the length of the window being 200 and the width being 120.
  • the length and width of the above window may be simultaneously scaled, and the length and width of the zoom direction may be the same, or may be different, the length and width of the zoom ratio It can also be the same and can be different. For example, you can enlarge or reduce the length and width of the window at the same time, and change the original 200*120 window to a 240*160 or 180*160 window. You can also enlarge the length of the window and reduce the width of the window.
  • the original 200*120 window becomes a 240*80 window; the window length can be reduced, and the window width can be enlarged at the same time, and the original 200*120 window can be changed to a 180*160 window, etc.,
  • the example applies to the various scaling situations described above.
  • a display type of an element in the zoomed target window is determined by using a correspondence between a preset window size and an element display type
  • step 1303 elements in the target window are presented in accordance with the determined display type.
  • the display type may include icon information, summary information, or complete information.
  • the icon information usually refers to the icon displayed by the system in the default state.
  • the icon style may be different for folders or specific files. These icon styles can be used to easily distinguish each folder from the folder. It is also a specific file. For a specific file, you can also easily distinguish the type of the file. For example, you can distinguish whether the file pointed to by a link is a picture, a word document, or an excel table.
  • the summary information is usually for a specific file. For example, for a picture file, it can refer to a thumbnail of a picture, for a word document, a summary of a document, and so on.
  • the complete information is also usually for a specific file, for example, for a picture file, it can refer to a complete picture, or for a word document, the entire content of the first page can be documented, and the like.
  • the display type in the window is complete information
  • the amount of information that the element displayed through the window can provide to the user is the largest, because the complete content of the file has been displayed in the window.
  • the display type in the window is summary information
  • the user can also get a larger letter.
  • the amount of interest because the user can know the approximate content of the file through the summary information
  • the display type in the window is the icon information
  • the amount of information obtained by the user is the smallest, because the user can only know the type of the file, each file The specific content in it cannot be prompted from this window.
  • the window may also display the file name information of the file, and the file names of the files may be customized by the user, and therefore, the user may also be prompted with certain information; however, the embodiment of the present invention Only the amount of information that the link information itself can provide to the user is considered, and therefore, the file name information can be ignored.
  • the display type of the element when the size of the target window changes, the display type of the element may be changed.
  • the display type may be changed to achieve the following purposes: The amount of information that the displayed elements can provide is greater.
  • the embodiment of the present invention pre-sets the correspondence between the window size and the element display type, for example, pre-set when the size of the target window is less than 100*100, the display type is icon information; when the size of the target window is When it is greater than 100*100, but less than 200*200, the display type is summary information; when the size of the target window is greater than 300*300, the display type is complete information.
  • the display type of the element in a target window is icon information in the initial state
  • the display type of the element can be changed from the icon information to the summary information.
  • the summary information of the file may be displayed in the target window; or, if the display type of the element in the target window is summary information in the initial state, when the window is reduced, if the size of the target window is detected as 100*80, The display type of the element is changed from the summary information to the icon information, and the icon information of the file is displayed in the target window.
  • the settings may be set according to actual needs, or other rules may be used to represent the corresponding relationship, which is not limited herein.
  • the scaling of the window may be a continuous action
  • the size of the window may be continuously changed, but the display type of the element may be limited. Therefore, as the continuity of the window size changes, the display type of the element Make a phase change so that a display type may correspond to an interval of the window size.
  • the summary information and the complete information corresponding to each element may be generated in advance and saved, so that when a certain display type information is needed, the data is directly taken out. And it can be displayed.
  • the details of how to generate summary information and complete information are known to those skilled in the art, and therefore, details are not described herein.
  • the change in the display type affects the amount of information that the link information can prompt.
  • the complete information and the summary information can provide a larger amount of information relative to the icon information, since there is more information to be displayed, a larger display area is required correspondingly; if the display size of the element is small , it may not be possible to clearly display all the information within the display size range, so that the purpose of providing more information to the user cannot be achieved.
  • the original purpose is to prompt the user for the specific content of the picture, but if the thumbnail is too small, the user may not be able to clearly distinguish which information is displayed in the thumbnail, so that the information is reduced.
  • the thumbnail loses its original meaning; if the file displayed in the window has both a picture and a document, if it is displayed in the form of a thumbnail, it may not even be possible to distinguish which links point to the picture, and which links point to the document. Instead, it reduces the effective utilization of the window. Therefore, the effective utilization of the window is also reflected in the recognition of the elements that are displayed. That is, the elements should not only be displayed, but also should be easy for the user to clearly distinguish the elements that are displayed.
  • the zoom ratio of the target window may also be detected, and the correspondence between the preset window zoom ratio and the element zoom ratio is utilized. a relationship, determining a scaling of an element in the target window, and determining a size of an element in the target window according to the determined scaling of the element. The steps of the method are described in detail below.
  • step 1301 when the target window is zoomed, the scaled size of the target window is detected, and the zoom ratio of the target window is detected;
  • the scaling of the target window can also be obtained by using the functions provided by the system.
  • the scaling of the target window is equivalent to including two specific values, one being the long scaling of the target window.
  • the other is the wide zoom of the target window.
  • the long scaling of the target window is referred to as the horizontal scaling of the target window
  • the wide scaling of the target window is referred to as the vertical scaling of the target window.
  • a display type of an element in the zoomed target window is determined by using a correspondence between a preset window size and an element display type
  • step 1304 using a correspondence between a preset window scaling and an element scaling, Determining a scale of an element in the target window, and determining a size of an element in the target window according to the determined scaling ratio of the element;
  • the size of the element can also be changed.
  • the zoom direction of the element can be the same as the zoom direction of the window, that is, when the window is enlarged, the element can also be enlarged.
  • the elements shrink.
  • the correspondence between the window scaling and the element scaling may be preset.
  • Element scaling window scaling *0. 8 , where, elements Similar to a window, it is usually expressed in terms of length * width. Therefore, the element scaling can also be divided into horizontal scaling and vertical scaling.
  • the left side of the equation is the horizontal scaling of the element.
  • the right side of the equation corresponds to the horizontal scaling of the window.
  • the left side of the equation is the vertical scaling of the element
  • the right side of the equation corresponds to the vertical scaling of the window.
  • the "0. 8" in the formula is for illustrative purposes only. It can be changed to other values as needed, or other formulas can be used. Different standards can be set according to the file type pointed to by the element, such as pictures.
  • the scaling of the element can be calculated according to the above formula, and then the initial display size of the element before the scaling is multiplied by the calculated element scaling. Get the size of the scaled element.
  • step 1302 and step 1304 can be performed in parallel.
  • elements in the target window are presented in accordance with the determined display type and size. Since the display type and size of the element have been determined, in the scaled target window, the element can be displayed according to the display type and size determined above.
  • the following objects can be achieved: As the window is scaled, the size of the element can be scaled accordingly, and the display type of the element may also change.
  • the target window displays the icon information of many pictures in the default state.
  • the display size of the icon will also be enlarged.
  • the display type of the element will be The summary information is displayed.
  • a thumbnail of the image is displayed in the target window; if the target window continues to be enlarged, the display size of the thumbnail is also enlarged, and when the target window is enlarged to a certain extent, The display type of the element will become complete information.
  • one of the complete pictures can be displayed in the target window.
  • the thumbnails of other pictures can also be displayed in the remaining position of the visible area of the target window. Information.
  • the target window displays thumbnails of many images in the default state.
  • the display size of the thumbnails will also shrink.
  • the display of the elements The type changes to icon information, and the icon for the picture is displayed in the target window.
  • the target window When the target window is enlarged, since the elements therein are also enlarged, when the target window is large enough, the target window can be provided with more information.
  • the display type of the quantity exhibits the elements therein, so that it is possible to avoid the situation that the user cannot clearly distinguish because the display size of the element is too small, and the recognition degree of the displayed element can be guaranteed, that is, the summary information, the complete information, and the like can be provided.
  • the amount of information is really used by users, reflecting the value of summary information and complete information.
  • the target window is zoomed out, since the elements are also shrinking, when the target window is reduced to a certain extent, in order to avoid a situation in which the user cannot be clearly distinguished due to the element display size being too small, the The elements in the target window show the elements in a display type that provides a small amount of information.
  • the display type of a larger amount of information may require an element to have a larger display size
  • the element display type in the target window becomes such a display type
  • the display size of the element is sufficient to display the same.
  • the information provided under the display type therefore, after the element display type in the target window is already complete information, if the target window is still zoomed in, the actual display size of the element is no longer necessary to be enlarged;
  • a display type of a small amount of information such as information does not require an element to have a large display size, but if the display size of the element is too small, it is also possible that the user cannot clearly recognize the icon. Therefore, in the embodiment of the present invention, the upper and lower limits of the element scaling can also be set.
  • the minimum of the element can be reduced to only 0.2 times, and the maximum can only be enlarged to 1.5 times.
  • the reduction ratio of the element becomes 0.2 times, the reduction ratio of the element will not become smaller even if the window continues to shrink, keeping it at the original 0. . 2 times can be, and vice versa.
  • the correspondence between the window scaling and the element scaling is required to be preset.
  • the element scaling may be equal to the window scaling, that is, scaled proportionally to the window.
  • the display size of the element changes in proportion to it, and therefore, the ratio between the size of the target window and the display size of the element does not change. Since the ratio affects the layout of the visible area of the window to some extent (including the number of rows displayed, the number of columns, the distance between elements, etc.), and the number of elements that the visible area of the window can exhibit, for example, the target window width is 100.
  • the element width is 30, then each line can display 3 elements; therefore, in this case, the layout of the visible area of the target window and the number of elements displayed are It does not change, it is the same as before scaling.
  • the element scaling may be smaller than the window scaling ratio, that is, the scaling ratio of the element to the window. slow.
  • the window scaling ratio that is, the scaling ratio of the element to the window. slow.
  • the display size of the element changes slowly, which causes the ratio between the size of the target window and the display size of the element to change. Therefore, in this case, Changes in the size of the target window, changes in the size of the display of the elements, and changes in the display type of the elements cause the layout and/or number of presentations of the elements in the visible area of the target window to change accordingly.
  • the actual content contained in the window may not be just the content currently displayed.
  • the scenery is infinite, but only the part that is large and consistent with the window is visible. This part is the visible area. Therefore, it can be said that the area in the window where the content actually visible to the user is located is the visible area of the window. If the content in the window needs to be displayed more than the content that can be displayed in the visible area, a scroll bar appears on the right side and/or the lower side of the window, and the content displayed in the visible area of the window can be changed by dragging the scroll bar.
  • the display size of the element therein is determined, according to the size of the target window after the scaling and the display size of the element in the target window, The number of elements in the visible area of the target window.
  • the size of the target window after scaling may be divided by the display size of the element, and the obtained quotient takes its integer part as the number of elements displayed in the visible area of the target window.
  • the target may also be changed.
  • the layout of the elements in the window may be changed.
  • the corresponding number of elements displayed in the visible area of the original target window may be marked as a hidden attribute after determining the number of elements that need to be reduced. Thus, these elements will not appear in the visible area of the target window.
  • the number of elements displayed by the visible area of the target window is increased after the scaling, after determining the number of elements to be added, it is necessary to display elements that are not originally displayed in the visible area of the target window.
  • all the elements that need to be displayed in the target window may be known in advance, and an element index may be established.
  • the element index may be queried, and a corresponding number of elements are taken out and displayed.
  • the target window can be viewed in the visible area. For example, in the created element index, there are 1 to 20 elements, and the elements 1 to 8 are displayed before zooming.
  • the window is enlarged, it is determined that the visible area of the window can display one more element. According to the index of the element, the element No. 9 is marked as a display attribute, and it can be displayed in the visible area.
  • the size element is, one or more reduced elements are also displayed to indicate that there are other elements in the window that have not yet been rendered.
  • an element smaller than the normal size can display its color as gray, and can also set its operability to be inoperable, that is, it cannot operate on the element, or it can be said that when it is operated by clicking or the like When this element is used, it does not jump to the file pointed to by the element.
  • the link information icon, thumbnail, etc.
  • the name of the folder or file to which the element points may be displayed, and the name is usually represented by text. Therefore, in the process of implementing the embodiment of the present invention, when the element is scaled, only the link information such as the icon and the thumbnail may be scaled, and the size of the text may remain unchanged, but the window is re-arranged. When you change the position of the text accordingly.
  • the summary information may also have text.
  • a thumbnail of a video file may contain some text information in addition to the image. In order to prevent the change of the text size from affecting the display of the thumbnails, you can also keep the text unchanged and only zoom the image part.
  • the premise is that the image in the summary information is displayed at a different level from the text (specifically, when the summary information is generated, the image and the text are set to different levels), so that The size of the text may be maintained as follows: determining the level of the image and the text, determining the image layer and the text layer as different elements; changing the image layer according to the scaling of the determined element The size of the element, keeping the size of the text layer element unchanged. That is, the image layer and the text layer can be processed as separate objects.
  • the layout of the elements in the window changes, the position of the text layer can be changed accordingly, which means that the relative position of the image layer remains substantially equal.
  • the content displayed in the visible area of the target window before zooming is divided into four visible areas, and the links displayed in the respective visible areas are pointed to different types of files, for example, the visible area in the upper left corner.
  • the thumbnail of the picture file is displayed
  • the thumbnail of the audio file is displayed in the visible area in the upper right corner
  • the thumbnail of the video file is displayed in the visible area of the lower left corner
  • the visible area is displayed in the lower right corner.
  • Fig. 15b the visible area of the upper left corner of the target window is enlarged, and the visible area is displayed.
  • Fig. 15c the visible area of the upper left corner of the target window is enlarged based on Fig. 15b, and the visible area is displayed.
  • Fig. 15d it is a representation of the visible area after the visible area of the upper left corner of the target window is reduced.
  • the visible area shows six normal size thumbnails and four reduced thumbnails; in Fig. 15b, which enlarges the visible area, the visible area shows 10 normal sizes Thumbnails, and 4 thumbnails that are reduced; and, the size of the thumbnails normally displayed in Fig. 15b is larger than the size of the thumbnails normally displayed in Fig. 15a.
  • the thumbnail displayed normally in the middle can be operated, that is, the picture browsing mode can be activated by clicking, and the small thumbnails on the left and right sides only indicate the link information of other pictures on both sides of the visible area, but the dark color is small. The picture is not accepted by the user, and can only be clicked when the viewable area continues to grow so that they are displayed normally.
  • FIG. 15c After the visible area in the upper left corner of the target window is further enlarged on the basis of FIG. 15b, it can be seen from FIG. 15c that the visible area in the upper left corner displays a complete picture and, at the same time, is visible. A row of thumbnails is also displayed below the area, and a small, dark thumbnail is displayed on each of the left and right sides.
  • the presentation style can be different, such as the thumbnail of the image can be distorted, and the thumbnail of the video can be backlit.
  • the elements to be displayed or disappeared can be made to be gradual.
  • the image displayed on the outermost side can be gradually smaller as the edge of the window is squeezed. , darken and disappear, and so on.
  • the graphics formed by the edges of elements are usually standard rectangles.
  • the scaled shape of the window or element can also maintain a standard rectangle.
  • some of the edges of windows or elements may not be standard rectangles.
  • some windows may have rounded corners instead of right angles. The effect of rounded edges makes the user feel visually more beautiful.
  • a window with rounded edges is referred to as a rounded window, as shown in FIG.
  • FIG. 16a which is assumed to be a rounded window of 120*120, wherein each rounded corner is an angle It is a 90 degree arc; however, these rounded windows also cause a problem when scaling, that is, if the scales of the length and width are not equal, the shape of the rounded corner changes, making the window after zooming
  • Figure 16b which is a schematic diagram of the non-equal scaling of the length and width of the rounded window in Figure 16a, assuming that the window becomes normal after scaling
  • this fourth embodiment is to provide a solution to the problem.
  • the following is an example of a window. If the pattern formed by the edge of the element has a similar situation, it can be processed by referring to the window method.
  • the radius and angle of the rounded corner need to be known, and then the non-rounded area of the rounded window is scaled according to the scaling of the window; and according to the scaling of the window, the radius of the rounded corner is Scale and keep the angle of the fillet unchanged.
  • the zoom ratio of the window may include the horizontal scaling ratio and the vertical scaling ratio
  • the scaling of the radius may be the same as the horizontal or vertical scaling .
  • the original rounded window is divided according to the portion drawn by the dotted line in the figure to obtain 7 regions.
  • 1, 3, 5, and 7 in the figure are rounded areas
  • 2, 4, and 6 are non-rounded areas.
  • the cut point of each edge and the rounded corner can be found first, and then the respective tangent points are respectively
  • the two connections are shown, and only the horizontal and vertical connecting lines are retained, and the seven areas shown in Fig. 17a can be obtained.
  • Step 1 When the rounding window is zoomed, the zoom ratio of the rounded window is known, and the non-rounded areas 2, 4, and 6 are scaled according to the zoom ratio of the window;
  • the scaling of the rounded window refers to the scaling of the rounded window as a whole.
  • Step 2 The horizontal or vertical scaling of the window is determined as the scaling of the radius of the rounded corner;
  • Step 3 The radius of the rounded corner is scaled according to the scaling determined in step 2;
  • Step 4 Move the zoomed areas and combine the scaled areas together according to the original position.
  • the horizontal or vertical scaling of the window is used as the scaling of the fillet radius.
  • the radius of the rounded corner is enlarged too large, it may affect the overall rounding window. nice Observatory. Therefore, in other embodiments of the present invention, the following method can also be used to control the change of the fillet radius: if the length and width of the window after scaling are greater than 2 times the fillet radius, the radius of the four rounded corners is maintained.
  • the radius of the four rounded corners is changed only when MIN (length, width) ⁇ 2* fillet radius, where the length and width are the scaled length and width, and the circle
  • the corner radius is the radius of the fillet before scaling.
  • the scaled fillet radius calculated above is denoted by r, and the overall length and width of the scaled rounded window are respectively w and h.
  • the size and relative position information of the seven regions in Fig. 17b can be as Table 1 shows.
  • MIN length, width
  • L L is a value greater than 2 * fillet radius
  • the window is assumed to have four rounded corners. In practical applications, the window may have only one or two or three rounded corners. For such a rounded window with less than four rounded corners, When zooming, refer to the above scaling method for the rounded window. Due to space limitations, it will not be described here.
  • Embodiments of the present invention also provide a computing device, including a processor, an input device, a storage device, and a display.
  • the device displays at least two windows on the display device
  • the processor is configured to detect an input operation input through the input device, and perform a window management operation on the at least two windows according to the detected input operation, to simultaneously Changing the size and position of each of the at least two windows.
  • the computing device can also change the presentation of at least the elements in the target window when the target window for which the input operation is targeted.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Description

窗口管理方法、 装置及计算设备 技术领域
本发明涉及操作系统中应用程序的窗口管理, 特别是一种窗口管理方法、 装置及 计算设备。 背景技术
操作系统的窗口的管理是一个重要的问题。
在各种类型的操作系统中, 任意一个窗口都包括标题栏、 菜单栏、 窗口工作区等 几大部分。
对于单一窗口,用户可以通过鼠标拖拽的方式进行窗口大小的缩放,位置的移动, 也可以通过鼠标双击窗口的标题栏来进行大小控制, 甚至还可以通过标题栏的还原按 钮来进行窗口大小调整。
然而现有技术的窗口管理至少存在如下的问题:
在窗口数量较多时, 用户只能一个一个的进行窗口管理, 得到用户预期的窗口位 置及大小, 操作极为繁瑣, 举例说明如下。
如图 la所示, 假定从左到右排列了 3个窗口, 现在用户想把 3个窗口并排排列, 在这种情况下, 用户首先要选择其中一个窗口 (最下方的窗口), 对该窗口进行大小 管理, 得到图 lb所示的排列图;
然后用户选择中间的窗口, 对该窗口进行大小管理, 得到图 lc 所示的排列图; 最后用户选择最上方的窗口, 对该窗口进行大小管理, 得到图 Id所示的排列图; 应当理解的是, 对每一个窗口的大小及位置进行管理时, 还需要用户进行多次。 上述仅仅是 3个窗口, 如果窗口更多, 用户需要进行的操作越多, 因此, 现有的 窗口管理方案在窗口较多时, 用户需要进行大量的操作, 极为不便。
此外, 窗口是计算机系统的用户界面中最重要的部分, 它是向用户提供的可视界 面, 通过窗口, 用户可以查看到系统所提供的资源。 其中, 系统提供的资源在窗口中 展现时, 称为窗口中的元素。 对于系统而言, 窗口是一种工具, 通过窗口向用户提供 的信息越多, 窗口的利用率就越高, 系统的资源利用率也就越高。
现有技术中只能向用户提供最基本的信息, 例如, 当打开某文件夹时, 在窗口中 以图表的方式显示出该文件夹中的内容。 当用户对窗口进行缩放时, 通过改变元素在 窗口中的布局, 实现在窗口的可视区域显示出尽可能多的图标, 参见图 2。
该现有技术虽然考虑到了通过改变元素的布局来改变窗口可视区域显示元素的数 目, 但是, 这种方法并不能很好地利用窗口为用户提供更多的信息。 发明内容
本发明实施例提供了一种窗口管理方法、 装置及计算设备, 减少用户进行窗口管 理时的操作, 并有利于提高窗口的利用率, 进而有效地保证资源的利用率。
为了实现上述目的, 本发明实施例提供了一种窗口管理装置, 用于管理电子设备 中打开的至少两个窗口, 窗口管理装置包括:
窗口展现管理装置, 用于响应于输入操作, 对所述至少两个窗口进行管理, 以改 变所述至少两个窗口中输入操作所针对的目标窗口的大小和位置, 并同时适应性地改 变所述至少两个窗口中至少一个其他窗口的大小和位置。
根据本发明实施例, 窗口展现管理装置包括:
输入检测模块, 用于检测输入操作;
窗口控制模块, 用于根据所述检测模块检测到的输入操作, 对目标窗口、 以及至 少一个其他窗口执行窗口控制操作, 以改变目标窗口的大小和位置, 同时改变所述至 少一个其他窗口的大小和位置。
根据本发明实施例, 窗口管理装置还包括窗口元素展现管理装置,用于在目标窗 口发生缩放时, 至少对目标窗口中的元素的展现进行管理。
根据本发明实施例, 窗口元素展现管理装置包括:
窗口大小检测模块,用于当目标窗口发生缩放时,检测所述目标窗口缩放后的大 小;
显示类型确定模块, 用于利用预先设定的窗口大小与元素显示类型的对应关系, 确定所述缩放后目标窗口中的元素的显示类型;
展现模块, 用于按照所述确定的显示类型, 展现所述目标窗口中的元素。
根据本发明实施例 , 窗口元素展现管理装置在对目标窗口中的元素的展现进行管 理的同时, 也对发生缩放的至少一个其他窗口中的元素的展现进行管理。
为了实现上述目的, 本发明实施例还提供了一种窗口管理方法, 用于管理电子设 备中打开的至少两个窗口, 窗口管理方法包括:
窗口展现管理步骤, 用于响应于输入操作, 对所述至少两个窗口进行管理, 以改 变所述至少两个窗口中输入操作所针对的目标窗口的大小和位置, 并同时适应性地改 变所述至少两个窗口中至少一个其他窗口的大小和位置。
根据本发明实施例, 窗口展现管理步骤包括:
检测输入操作;
根据检测到的输入操作,对目标窗口、以及至少一个其他窗口执行窗口控制操作, 以改变目标窗口的大小和位置, 同时改变所述至少一个其他窗口的大小和位置。
根据本发明实施例, 窗口管理装置还包括窗口元素展现管理步骤, 在目标窗口发 生缩放时, 至少对目标窗口中的元素的展现进行管理。
根据本发明实施例, 窗口元素展现管理步骤包括:
当目标窗口发生缩放时, 检测所述目标窗口缩放后的大小;
利用预先设定的窗口大小与元素显示类型的对应关系,确定缩放后目标窗口中的 元素的显示类型;
按照确定的元素的显示类型, 展现所述目标窗口中的元素。
为了实现上述目的, 本发明实施例还提供了一种计算设备, 包括处理器、 输入装 置、 存储装置和显示装置, 所述显示装置上显示有至少两个窗口, 所述处理器用于检 测通过输入装置输入的输入操作, 并根据检测到的输入操作, 对所述至少两个打开窗 口执行窗口管理操作, 以同时改变所述至少两个打开的窗口中的每一个窗口的大小和 位置。
根据本发明实施例, 处理器进一步用于在输入操作所针对的目标窗口发生缩放 时, 至少改变目标窗口中的元素的展现。
本发明实施例具有以下的有益效果:
本发明实施例中, 对于打开的至少两个窗口, 在检测到输入操作时, 对所述至少 两个窗口执行窗口控制操作, 同时改变所述至少两个窗口中的每一个窗口的大小和位 置, 利用数量极少的操作即可实现多个窗口的统一管理, 大大降低了用户的操作量。
进一步, 本发明实施例中能够在目标窗口发生缩放时, 检测所述目标窗口缩放后 的大小, 然后利用预先设定的窗口大小与元素显示类型的对应关系, 确定所述缩放后 目标窗口中的元素的显示类型, 并按照所述确定的显示类型, 展现所述目标窗口中的 元素。 因此, 在本发明提供的方法中, 随着窗口大小的改变, 窗口中展现的元素的显 示类型也可以发生变化, 例如, 假设初始状态下, 窗口中显示的是文件的图标, 当窗 口放大到一定程度时, 可以在窗口中显示文件的缩略图等摘要信息, 再放大到一定程 度时, 还可以显示文件的完整信息等。 因此, 为利用窗口向用户展现更多的信息提供 了可能, 有利于提高窗口的利用率, 进而有效地保证资源的利用率。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根 据这些附图获得其他的附图。
图 la-图 Id为现有的窗口管理过程示意图;
图 2是现有技术中窗口缩放前后示意图;
图 3是本发明实施例的窗口管理装置的结构示意图;
图 4a-图 4d 为根据本发明实施例的窗口展现管理的第一种可能的窗口变化示意 图;
图 4e-图 4g 为根据本发明实施例的窗口展现管理的第二种可能的窗口变化示意 图;
图 5为本发明实施例的窗口展现管理装置的结构示意图;
图 6为本发明实施例的窗口展现管理方法的流程示意图;
图 7为本发明实施例中当前打开的 4个窗口以平铺方式排列的示意图; 图 8为本发明实施例中在图 6基础上新打开一个窗口后当前打开的 5个窗口以平 铺方式排列的示意图;
图 9为位置确定控件呈现到屏幕后与窗口之间的位置的示意图;
图 10为通过位置确定控件操作后呈现到屏幕的窗口的示意图;
图 11为本发明实施例的窗口元素展现管理装置的结构示意图;
图 12为本发明另一实施例的窗口元素展现管理装置的结构示意图;
图 13为本发明实施例的窗口元素展现管理方法的流程图;
图 14为本发明另一实施例的窗口元素展现管理方法的流程图;
图 15a-图 15d为本发明实施例的窗口元素展现管理中窗口缩放过程中元素的变化 情况示意图;
图 16a-图 16b为现有技术中圓角窗口缩放前后示意图;
图 17a-图 17b为本发明实施例的窗口元素展现管理中圆角窗口缩放前后示意图。 具体实施方式
下面结合附图, 描述本发明实施例。 显然, 所描述的实施例仅仅是本发明一部分 实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有 做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
根据本发明实施例, 提供了一种窗口管理装置。 如图 3所示, 窗口管理装置包括 窗口展现管理装置 301, 用于响应于输入操作, 对输入操作所针对的目标窗口、 以及 至少一个打开的其他窗口的大小和位置进行管理。 利用本发明实施例的窗口管理装 置, 对于已经打开的至少两个的窗口, 在用户执行操作时, 对所述至少两个窗口执行 窗口控制操作, 同时改变所述至少两个窗口中的每一个窗口的大小和位置, 使用户通 过少量的操作即可实现多个窗口的管理。
此外, 窗口管理装置还可以包括窗口元素展现管理装置 303 (图 3中以虚线示出, 说明该窗口元素展现管理装置 303是可选的), 用于在目标窗口发生缩放时, 至少对 目标窗口中的元素的展现进行管理。 利用本发明实施例的窗口管理装置。 在具有窗口 元素展现管理装置 303的情况下, 利用本发明实施例的窗口管理装置, 在改变窗口的 大小和位置的同时, 能够随着窗口大小的改变, 自动改变窗口中展现的元素的显示类 型、 大小、 数目等, 为利用窗口向用户展现更多的信息提供了可能, 有利于提高窗口 的利用率, 进而有效地保证资源的利用率。
下面首先对根据本发明实施例的窗口管理装置的窗口展现管理装置 301进行详细 描述。 本领域技术人员可以理解, 本发明实施例不限于下面的详细描述。
首先描述根据本发明实施例的窗口展现管理装置 301。 窗口展现管理装置 301管 理电子设备中打开的至少两个窗口, 所述窗口展现管理装置包括: 输入检测模块, 用 于检测输入操作;
窗口控制模块, 用于根据所述输入检测模块检测到的输入操作, 对所述至少两个 窗口执行窗口控制操作, 同时改变所述至少两个窗口中的每一个窗口的大小和位置。 输入检测模块检测输出操作后, 窗口控制模块根据所述输入检测模块检测到的输入操 作, 对所述至少两个窗口执行窗口控制操作, 同时改变所述至少两个窗口中的每一个 窗口的大小和位置。
结合图 4a-图 4d举例说明如下 4a-图 4d为根据本发明实施例的窗口展现管理的第 一种可能的窗口变化示意图。 如图 4a所示, 在初始状态下, 屏幕上显示有平铺的 4个窗口, 假定用户利用鼠 标选中右上方窗口的左下角, 并向左下方进行拖拉操作, 在拖拉到第一位置时, 屏幕 上显示的 4个窗口如图 4b所示, 可以看出, 不但右上方的窗口变大了, 同时其他 3 个窗口的位置和大小也同时发生了变化, 用户进一步向左下方进行拖拉操作, 在拖拉 到第二位置时, 屏幕上显示的 4个窗口如图 4c所示, 可以看出, 不但右上方的窗口 变大了, 同时其他 3个窗口的位置和大小也同时发生了变化, 用户进一步向左下方进 行拖拉操作, 在拖拉到第三位置时, 屏幕上显示的窗口如图 4d所示, 可以看出, 此 时, 原本在右上方的窗口独占了屏幕, 其他 3个窗口已经最小化了。
在上述的举例说明中, 是以 4个点为例进行的说明, 但应当理解的是, 上述的变 化可以是一个连续变化的过程。
因此, 利用本发明实施例的窗口展现管理装置, 用户通过一次或者非常少量的操 作即可实现多个窗口的协同管理, 大大降低了用户管理窗口的复杂度和操作量。
上述是以鼠标操作为例进行的说明, 但应当理解的是, 也可以在触摸屏上实现, 说明如下。
在触摸屏上, 可能无法通过鼠标操作, 此时可以通过检测触摸焦点的位置变化来 检测输入操作, 如图 4a所示, 假定用户先点击右上方窗口, 然后在第二位置点击, 此时可以发现焦点的变化到第二位置, 则窗口控制模块执行如下操作:
将图 4a中的窗口排布改变为图 4c中的窗口排布。
下面结合图 4e-到图 4g进一步举例说明本发明实施例。 图 4e-图 4g为根据本发明 实施例的窗口展现管理的第二种可能的窗口变化示意图。
如图 4e所示, 在初始状态下, 该平铺的 4个窗口 (分别为图象显示窗口、 音乐 窗口、 视频窗口和文件窗口)将屏幕 4等分, 4个窗口的交点处设置有位置确定控件 (图中示为圆圈, 这将在后续进一步详细说明);
如图 4f所示, 用户拖拽该位置确定控件到第二位置, 此时, 对该 4个窗口进行实 时的窗口控制, 使得 4个窗口还是平铺方式显示, 而且其交点还是为位置确定控件当 前所在的位置, 可以发现, 图像窗口变大, 而其他 3 个窗口变小, 在这种情况下, 4 个窗口中显示的内容也相应发生了变化, 图像窗口中展现的缩略图变多, 而其他 3个 窗口中显示的内容或者变少、 或者变小, 以适应窗口大小的变化。
如图 4g所示, 用户拖拽该位置确定控件到第三位置, 此时, 对该 4个窗口进行 实时的窗口控制, 使得 4个窗口还是平铺方式显示, 而且其交点还是为位置确定控件 当前所在的位置, 可以发现, 图像窗口变大, 而其他 3个窗口变小, 在这种情况下,
4个窗口中显示的内容也相应发生了变化, 图像窗口中展现的缩略图变多, 而其他 3 个窗口中显示的内容也相应变化, 以适应窗口大小的变化。
在上述的举例说明中, 是以 3个点为例进行的说明, 但应当理解的是, 在用户持 续拖动位置确定控件的过程中, 上述的变化也是连续变化的。
对上述图 4e到图 4g的过程进行了描述, 下面对其具体实现进行详细说明。
如图 4e所示, 4个窗口以平铺方式显示, 且相交于位置确定控件所在的位置, 这 种情况下, 4个窗口的大小和位置就可以直接通过位置确定控件的位置来确定, 说明 如下。
设置一定的坐标系, 假定图 4e中, 屏幕左下方坐标为 (0, 0), 右下方坐标为(X, 0 ), 左上方坐标为 (0, Y) , 左上方坐标为 (X, Y)。
假定在上述的坐标系下, 每个窗口的大小和位置都可以通过 4个顶点的坐标来确 定。
假定位置确定控件的当前坐标为 (Xl, Y1), 则在这种情况下, 屏幕左下方的窗口 的 4个顶点的坐标分别为: (0, 0)、 (XI , 0) 、 (XI , Y1) 和 (0, Y1) , 屏幕左上方的 窗口的 4个顶点的坐标分别为: (0, Yl) 、 (XI , Yl) 、 (XI , Υ)和 (0, Υ) , 屏幕右 下方的窗口的 4个顶点的坐标分别为: (XI , 0)、 (X, 0) 、 (X, Y1)和 (XI , Y1) , 屏幕右上方的窗口的 4个顶点的坐标分别为: (XI , Yl)、 (X, Yl) 、 (X, Y) 和 (XI , Υ)。
从以上可以看到, 所有的窗口中都有三个点和位置确定控件的当前坐标发生关 系, 则在本发明的具体实施例中, 该输入检测模块随时检测位置确定控件的坐标, 并 根据位置确定控件的坐标修改平铺方式显示的窗口的与位置确定控件坐标相关的坐 标, 然后根据修改后的窗口的坐标来执行窗口控制操作, 同时改变所述至少两个窗口 中的每一个窗口的大小和位置。
假定将位置确定控件的当前坐标改变为 (Χ2, Υ2) (也就是被拖拉到 (Χ2, Υ2)处), 此时, 屏幕左下方的窗口的 4个顶点的坐标分别为: (0, 0)、 (Χ2, 0) 、 (Χ2, Υ2)和 (0, Υ2) , 屏幕左上方的窗口的 4个顶点的坐标分别为: (0, Υ2) 、 (Χ2, Υ2) 、 (Χ2, Υ) 和 (0, Υ) , 屏幕右下方的窗口的 4个顶点的坐标分别为: (Χ2, 0)、 (X, 0) 、 (X, Υ2) 和 (Χ2, Υ2) ,屏幕右上方的窗口的 4个顶点的坐标分别为:(Χ2, Υ2)、(X, Υ2) 、 (X, Υ) 和 (Χ2, Υ)。 坐标确定后, 即可进行窗口大小和位置的调整。
一般而言, 用户对窗口进行管理, 都是为了调整窗口占据屏幕的比例, 因此本发 明实施例中, 窗口控制模块执行窗口控制操作后, 至少两个窗口存在至少一个窗口保 留显示于屏幕。
同时, 在本发明的具体实施例中, 由于是对多个窗口进行窗口控制操作, 而一般 而言, 如果显示的多个窗口之间相互重叠, 则无法让用户同时对多个窗口进行完整的 观察, 因此, 在本发明的具体实施例中, 窗口控制模块对当前打开的至少两个窗口中 的至少两个第一窗口执行窗口控制操作, 使窗口排列满足与所述输入操作对应的窗口 排列规则后, 在屏幕显示的窗口互不重叠。
也就是说上述的窗口排列规则能够使得在屏幕显示的窗口互不重叠, 如平铺方 式, 间隔一定距离排列的方式等。
由于显示的窗口互不重叠, 所以相互之间的内容不会相互遮挡, 所以用户能够完 全看到显示的内容, 提高了用户的视觉感受。
上述是本发明实施例实现窗口管理的一个方面, 但在另一方面, 可以通过预先设 置输入操作与窗口排列规则之间的对应关系 , 在输入操作被检测到之后 , 即可按照与 输入操作对应的窗口排列规则直接对窗口进行协同管理, 降低用户的操作量。
本发明实施例中, 输入操作对应于窗口排列规则, 根据与所述输入检测模块检测 到的输入操作对应的窗口排列规则对所述至少两个窗口执行窗口控制操作, 同时改变 所述至少两个窗口中的每一个窗口的大小和位置, 这种情况下, 本发明实施例的窗口 管理装置如图 5所示, 包括:
保存模块 503 , 用于预先保存输入操作与记录至少两个窗口的窗口排列方式的窗 口排列规则之间的对应关系;
输入检测模块 501 , 用于检测输入操作;
窗口控制模块 502, 用于对当前打开的至少两个窗口执行窗口控制操作, 使窗口 排列满足与所述输入操作对应的窗口排列规则, 所述窗口控制操作包括窗口大小控制 操作和窗口位置控制操作。
本发明实施例的窗口展现管理方法如图 6所示, 包括:
步骤 601, 预先保存输入操作与记录至少两个窗口的窗口排列之间的对应关系; 步骤 602, 检测输入操作;
步骤 603, 对当前打开的至少两个窗口执行窗口控制操作, 使窗口排列满足与所 述输入操作对应的窗口排列规则, 所述窗口控制操作包括窗口大小控制操作和窗口位 置控制操作。
下面对本发明实施例进行进一步详细说明。
如在本发明的具体实施例中, 需要根据所述输入操作确定对应的窗口排列规则, 在本发明的具体实施例中, 输入操作对应的窗口排列规则可以是如下的对应关系: 光标的运动轨迹为垂直方向的直线时, 将当前打开的窗口均分屏幕, 且按照从上 到下顺序排列;
光标的运动轨迹为水平方向的直线时, 将当前打开的窗口均分屏幕, 且按照从左 到右顺序排列。
按照上述的对应的关系, 对于图 la所示的窗口排布, 用户仅需要利用鼠标控制 光标执行垂直方向的运动, 则通过检测光标的运动, 则可确定当前打开的窗口的排布 方式为: 窗口在垂直方向均分屏幕, 此时才艮据该窗口排列产生相应的指令, 通知操作 系统对窗口进行大小和位置的控制, 最后使得 3个窗口在垂直方向以均分屏幕的方式 呈现。
当然, 应当理解的是, 上述仅仅是列举了两种可能的对应关系, 该对应关系还可 以是多种多样, 如: 光标的运动轨迹为顺时钟方向弧线时, 将当前打开的窗口以一定 间距均分屏幕, 且按照从上到下顺序排列等。
在本发明实施例中, 该输入操作可以通过光标的运动轨迹、 按键操作或者指点物 在触摸屏上的轨迹来表示, 在后续的说明中, 仅以鼠标动作为例进行详细说明。
在本发明的具体实施例中, 考虑到电子设备中打开的窗口的类型多种多样, 而本 发明的具体实施例中, 可以在当前打开的至少两个窗口属于不同类型的窗口应用距离 说明如下。
以图 la为例, 从左到右排列了 3个窗口可以是相同类型的窗口, 也可以是不同 类型的窗口,如 Word程序窗口、 Excel程序窗口、音乐播放软件窗口、视频播放窗口、 实时聊天程序窗口等。
在本发明的具体实施例中,为了保证后续更为直观、方便的实现窗口的统一管理, 在本发明具体实施例中, 在窗口控制模块执行窗口控制操作前, 所述当前打开的至少 两个窗口以平铺方式显示。
在图 1所示的例子中, 窗口的排列方式没有任何的规则, 其中, 3个窗口存在互 相覆盖的情况, 为了便于后续的窗口管理, 在本发明的具体实施例中, 窗口控制模块 还可以被设置为对被同时打开的多个窗口进行窗口控制操作, 使被同时打开的多个窗 口以平铺方式显示, 得到所述当前打开的至少两个窗口, 如图 7所示, 图 7为本发明 实施例中当前打开的 4个窗口以平铺方式排列的示意图。 在图 7中, 在设置有上述窗 口控制模块的情况下, 本发明实施例的窗口排列就会变得规则, 也便于后续的操作, 这将在后续进行详细说明。
当然, 窗口控制模块还能够在新的窗口打开后, 对新窗口和已经打开的窗口进行 窗口控制操作, 使被同时打开的多个窗口以平铺方式显示, 得到所述当前打开的至少 两个窗口, 如图 8所示, 为新打开一个窗口后得到的以平铺方式显示的多个窗口的示 意图。
在本发明的具体实施例中,为了方便用户用鼠标进行操作,还包括位置确定控件, 该位置确定控件呈现到屏幕, 其可被用户使用鼠标进行操作, 在本发明的具体实施例 中, 在打开的多个窗口以平铺方式显示时, 该位置确定控件位于 "交点" 处, 如图 9 所示, 其中的圆圏为本发明实施例中设置的位置确定控件, 该交点为 4个窗口的交点 所在的区域。
在设置该位置确定控件之后, 本发明实施例中, 所述输入操作为对所述位置确定 控件的拖拽操作, 而且根据用户对所述位置确定控件的拖拽操作可以确定用户意图已 经对应的窗口排列规则, 说明如下。
下面结合图 9来说明本发明的具体实施例中的拖拽操作与窗口排列规则的对应关 系, 如下所示:
拖拽操作 窗口排列规则
向左下方拖拽 右上方窗口最大化, 其他窗口最小化
向右下方拖^ ( 左上方窗口最大化, 其他窗口最小化
向正下方拖拽 上方的两个窗口各占 1/2屏幕, 下方窗口最小化
向正上方拖拽 下方的两个窗口各占 1/2屏幕, 上方窗口最小化
向左边拖拽 右方的两个窗口各占 1/2屏幕, 左方窗口最小化
向右方拖拽 左方的两个窗口各占 1/2屏幕, 右方窗口最小化
旋转拖拽 显示的窗口数目不变, 每个窗口移动到下一位置
利用上方的规则, 用户可以利用一次操作即可实现对 4个屏幕的统一管理, 举例 说明如下:
假定对于图 9所示的现在的 4个窗口, 其中上方两个为两个文档编辑窗口, 下方 两个分别为即时聊天窗口和音乐播放窗口, 此时, 用户想对照两个文档来进行编辑, 在这种情况下, 用户即可使用鼠标(当然也可以使用触摸板等其他方式)向下方拖拽 控位置确定控件, 在检测到该输入操作后, 查找对应关系, 发现向正下方拖拽所对应 的窗口排列规则为: 上方的两个窗口各占 1/2屏幕, 下方窗口最小化, 因此, 根据该 排列规则即可确定需要上方的两个窗口及所述至少两个窗口的大小和位置, 进而向操 作系统发出指令,控制上方窗口各占 1/2屏幕, 下方窗口最小化,如图 10所示, 至此, 用户通过一次操作就实现了以前需要多次操作才能实现的排列场景。
当然, 在上述的实施例中, 仅仅是列举了几种可能的操作以及可能的窗口排列方 式, 但应当理解的是, 本发明并不局限于上述列举的拖拽操作以及窗口排列方式。
因此, 在上述的实现方式下, 本发明实施例中, 所述窗口控制模块具体包括: 确定单元, 用于根据所述拖拽操作对应的窗口排列规则确定所述至少两个窗口及 所述至少两个窗口的大小和位置;
控制单元, 用于根据确定的所述至少两个窗口及所述至少两个窗口的大小和位置 对所述至少两个窗口进行窗口控制。
当然, 由于上述位置确定控件的设置, 大大方便了用户的操作, 同时, 也符合用 户的操作意愿 , 用于不用记忆哪一种操作对应于哪一种窗口排列规则。
然而, 上述的位置确定控件有可能造成误操作, 如用户偶然将鼠标放在控件上, 并拖拽了一小 ·¾5巨离, 而此时用户并不想对窗口进行大小或位置的管理, 为了避免这 种情况的发生, 在本发明的具体实施例中, 进一步设置触发模块, 其用于根据拖拽操 作的操作参数判断所述拖拽操作是否有效, 并在拖拽操作有效时触发所述窗口控制模 块。
所述操作参数为拖拽时间或拖拽距离。
举例说明如下。
假定预先设置如下的规则,只有在拖拽所述控件模块超过 2s才判断为有效,在这 种情况, 如果用户仅仅是偶然点击该控件模块并随意拉动了一下, 这种情况一般操作 时间都非常短, 即使监测到输入操作, 但由于拖拽时间小于预先设置的时间门限, 因 此触发模块会判断拖拽操作无效, 因此也就不会触发窗口控制模块进行后续的窗口管 理, 因此, 能够有效地避免误触发。
一般而言, 用户对窗口进行管理, 更多的是想看到目标窗口中的内容, 如果在对 所述至少两个窗口执行窗口控制操作后, 每个窗口都非常小, 此时, 对用户而言, 感 受会比较差, 因为屏幕面积一定, 显示的窗口越多, 每个窗口占据的面积越小, 这种 情况下, 应该设置进一步的处理措施, 利用判断模块, 在对所述至少两个窗口执行窗 口控制操作后, 判断所述至少两个窗口中显示于屏幕的窗口的尺寸是否小于预设尺 寸, 当所述至少两个窗口中显示于屏幕的窗口的尺寸小于预设尺寸时, 利用窗口控制 模块对所述窗口执行窗口控制操作, 使执行窗口控制操作后的窗口的尺寸大于或等于 预设尺寸。
而使执行窗口控制操作后的窗口的尺寸大于或等于预设尺寸可以通过多种方式 来实现, 如: 降低显示在屏幕的窗口的数量。
降低显示在屏幕的窗口的数量比较直接, 能够扩大显示在屏幕的窗口占据的屏幕 的面积, 但还是可能违背用户的意愿, 此时可以通过下述的方法来解决上述的问题。
如循环将窗口中的部分窗口显示到屏幕, 假定窗口为 8个, 此时如果所有的窗口 都显示, 则每个窗口分配到的屏幕非常小, 窗口工作区中显示的内容非常少, 但如果 直接显示 4个窗口, 此时这 4个窗口又不一定是用户最需要的窗口, 在这种情况, 首 先选择 4 个窗口(如 1、 2、 3、 4 ), 展现到屏幕, 如果用户不认可, 则在一定时间(如 2s )后, 将另外 4个(如 5、 6、 7、 8 )展现到屏幕, 如果用户不认可, 则在一定时间 (如 2s )后, 选择另外 4个窗口 (如 1、 3、 5、 7 )展现到屏幕, 直到用户满意。
当然, 用户满意或不满意都可以通过一定的输入操作来体现。
同时, 上述的窗口都是以应用程序窗口为例进行的说明, 但该窗口也可以是一个 大型的图标, 该图标对应于一个文件或者一个应用程序, 同时该在窗口上设置有一信 息呈现单元, 用于显示对应的文件或应用程序的状态, 举例说明如下:
假定该窗口对应于一 WORD文档,此时该窗口的形状和表面都与通常的 Word图 标相同, 只不过大小不一致, 同时, 在 Word图标的某一位置显示有一信息呈现单元, 信息呈现单元显示有 "该文件需要在 X年 X月 X日之前处理", 通过上述的处理, 增 加了用户对文件的更多信息的标识。
以上对根据本发明实施例的窗口管理装置的窗口展现管理装置进行了详细描述。 如上所述, 根据本发明实施例的窗口管理装置还可以包括窗口元素展现管理装置, 用 于在目标窗口发生缩放时, 对窗口内元素的展现进行管理。 下面描述根据本发明实施 例的窗口元素展现管理装置 303。
图 11为本发明实施例的窗口元素展现管理装置的结构示意图。如图 11所示, 窗 口元素展现管理装置 303包括:窗口大小检测模块 1101 ,用于当目标窗口发生缩放时, 检测所述目标窗口缩放后的大小; 显示类型确定模块 1102, 用于利用预先设定的窗口 大小与元素显示类型的对应关系, 确定所述缩放后目标窗口中的元素的显示类型; 展 现模块 1103, 用于按照所述确定的显示类型, 展现所述目标窗口中的元素。
由于本发明实施例提供的元素展现管理装置 303 能够随着窗口的缩放改变窗口 中元素的显示类型, 而不同显示类型的元素能够提供给用户的信息量可能会不同, 因 此, 为利用窗口向用户展现更多的信息提供了可能, 有利于提高窗口的利用率, 进而 有效地保证资源的利用率。
由于在能够清晰显示的前提下, 不同显示类型所需的显示面积可能会有所不同, 例如, 在某种现实类型下提供的信息量较大时, 则可能需要更大的显示面积, 因此, 为了更清晰地展现出各种显示类型的元素, 同时, 避免窗口显示面积的浪费, 还可以 随着窗口的缩放, 对元素的大小进行缩放。 此时, 参见图 12, 图 12为本发明另一实 施例的窗口元素展现管理装置的结构示意图, 相比于图 11 所示的组件, 该窗口元素 展现管理装置还可以包括:
元素缩放模块 1104 , 用于检测所述目标窗口的缩放比例; 利用预先设定的窗口 缩放比例与元素缩放比例之间的对应关系, 确定所述目标窗口中的元素的缩放比例; 根据所述确定的元素的缩放比例, 确定所述目标窗口中元素的大小。
相应的, 展现模块 1103具体可以按照所述确定的元素的显示类型及大小, 展现 所述目标窗口中的元素。
在实际应用中, 还可以改变窗口的可视区域展现的元素数目, 为此, 可以使元素 缩放比例小于窗口缩放比例, 并且, 该装置还可以包括:
展现数目确定模块,用于根据所述缩放后所述目标窗口的大小及所述目标窗口中 元素的大小, 确定所述目标窗口的可视区域中展现元素的数目;
相应的,展现模块 1103具体用于按照所述确定的元素的显示类型、大小及数目, 展现所述目标窗口中的元素。
其中, 当所述缩放后所述目标窗口可视区域展现的元素数目减少时, 展现模块 1103具体用于:
按照需要减少的元素数目,将原目标窗口可视区域中展现的相应数目的元素标记 为隐藏属性。
为了便于应对需要展现更多的元素的情况,可以预先获知所述目标窗口中需要展 现的所有元素, 建立元素索引; 当所述缩放后所述目标窗口可视区域展现的元素数目 增加时, 展现模块 1103具体用于:
按照需要增加的元素数目查询所述元素索引,取出相应数目的元素,将这些元素 标记为显示属性, 并展现在所述目标窗口可视区域。
为了避免元素被放大地太大,或缩小地太小,可以预先设定预置的阈值,相应的, 该装置还包括:
判断模块,用于当根据所述目标窗口的缩放比例确定出的元素的缩放比例超出预 置的阈值时, 将所述元素的缩放比例确定为所述预置阅值。
如果元素中即包含图像又包含文字,并且图像与文字在不同的层次显示时,元素 缩放模块 1104可以包括:
对象拆分子单元,用于确定所述图像及所述文字所在的层次,将图像层与文字层 确定为不同的对象;
分别缩放子单元,用于根据所述确定的元素的缩放比例改变所述图像层对象的大 小, 保持所述文字层对象的大小不变。
为了保持缩放后窗口或元素的美观,可以将所述目标窗口或所述元素的边缘构成 的图形作为处理对象; 如果所述处理对象具有至少一个圆角, 则该装置还可以包括: 第一缩放模块,用于按照所述目标窗口或所述元素的缩放比例,对所述处理对象 的非圆角区域进行缩放;
第二缩放模块, 用于获知所述处理对象的圆角的半径及角度, 根据所述目标窗口 或所述元素的缩放比例, 对所述圆角的半径进行缩放, 并保持所述圆角的角度不变。
下面结合上述图 11和 12的窗口元素展现管理装置以及图 13和 14分别示出的针 对图 11和 12的窗口元素展现管理装置的操作流程图, 通过多个实施例来描述本发明 的窗口元素展现管理装置及其操作。
第一实施例
首先参见图 13所示的窗口元素展现管理方法。 在该方法中, 在步骤 1301 , 当目 标窗口发生缩放时, 检测所述目标窗口缩放后的大小;
在本发明实施例中, 窗口可以包括由操作系统(如 Windows等)创建的桌面上的 窗口 (如应用程序窗口、 文件夹窗口), 或者, 由应用程序创建的文档窗口等。 例如, 具体可以包括文件列表窗口、 图片预览窗口等。 其中, 窗口中的元素通常是一些链接 信息, 例如, 对于某文件夹的窗口而言, 该文件夹中显示的元素通常是该文件夹下的 子文件夹和 /或文件的图标, 通过双击其中的某个图标可以打开其中的某个文件夹或 某个文件, 因此, 相当于起到了链接的作用。
窗口发生缩放可以是指, 用户利用鼠标、 键盘等拖拽窗口, 对窗口进行缩放, 或 者, 也可以指窗口在某些计算机程序的指令下发生的自动缩放, 等等。 总之, 只要当 窗口的大小发生变化时, 本发明实施例就可以去检测窗口变化后的大小。
其中, 所述目标窗口可以是指当前在用户界面上打开的任意窗口, 可以利用系统 提供的函数对窗口的大小进行监控, 当窗口发生缩放时, 还可以利用系统提供的函数 获取窗口缩放后的大小。 由于窗口边缘所构成的形状通常为矩形, 因此, 窗口的大小 通常也是由该矩形的大小表示, 例如, 可以将窗口大小表示为 200*120, 相当于该窗 口的长是 200, 宽是 120。
需要说明的是, 当窗口发生缩放时, 上述窗口的长和宽可能是同时进行缩放的, 并且, 长和宽的缩放方向可以是相同的, 也可以是不相同的, 长和宽的缩放比例也是 可以相同可以不同。例如,可以将窗口的长和宽同时放大或同时缩小,将原来 200* 120 的窗口变为 240*160或 180*160的窗口; 也可以将窗口的长放大, 同时将窗口的宽缩 小, 将原来 200*120的窗口变为 240*80的窗口; 还可以将窗口的长缩小, 同时将窗 口的宽放大, 将原来 200*120的窗口变为 180*160的窗口, 等等, 本发明实施例适用 于上述各种缩放情况。
在步骤 1302, 利用预先设定的窗口大小与元素显示类型的对应关系, 确定所述缩 放后目标窗口中的元素的显示类型;
在步骤 1303, 按照所述确定的显示类型, 展现所述目标窗口中的元素。
其中, 显示类型可以包括图标信息、 摘要信息或完整信息等。 其中, 图标信息通 常是指系统在默认状态下显示出的图标, 对于文件夹或具体的文件, 图标样式可能会 有所不同, 通过这些图标样式可以简单地区分出每个链接指向的是文件夹还是具体的 文件, 对于具体的文件, 还可以简单地区分出文件的类型, 例如, 可以区分出某链接 指向的文件是图片、 word文档还是 excel表格等等。摘要信息通常是对于具体的文件 而言的, 例如, 对于图片文件可以是指图片的缩略图, 对于某 word 文档, 可以文档 的摘要等等。 完整信息也通常是对于具体的文件而言的, 例如, 对于图片文件, 可以 是指完整的图片, 或者对于 word文档可以文档第一页的全部内容等等。
显然, 对于一个特定文件而言, 当窗口中的显示类型为完整信息时, 通过窗口展 现出的元素能够提供给用户的信息量是最大的, 因为在窗口中已经将该文件的完整内 容都展现给用户了; 当窗口中的显示类型为摘要信息时, 用户也可以获得比较大的信 息量, 因为用户能够通过摘要信息知道文件的大概内容是怎样的; 当窗口中的显示类 型是图标信息时, 用户获得的信息量是最小的, 因为用户只能知道文件的类型, 每个 文件中的具体内容无法从该窗口中获得提示。 当然, 窗口中除了显示链接信息以外, 还可以显示文件的文件名信息, 这些文件的文件名可能是由用户自定义的, 因此, 也 能够向用户提示出某些信息; 但是, 本发明实施例仅考虑链接信息本身能够提供给用 户的信息量, 因此, 可以将文件名信息忽略不计。
通过以上描述可以看出, 在本发明实施例中, 当目标窗口的大小发生变化时, 可 以改变其中的元素的显示类型, 例如, 可以通过显示类型的改变, 达到以下目的: 窗 口越大, 则展现出的元素能够提供的信息量就越多。 为了达到这一目的, 本发明实施 例预先设定窗口大小与元素显示类型的对应关系, 例如, 预先设定当目标窗口的大小 小于 100*100 时, 显示类型为图标信息; 当目标窗口的大小大于 100*100, 但小于 200*200时, 显示类型为摘要信息; 当目标窗口的大小大于 300*300时, 显示类型为 完整信息。 如果初始状态下, 某目标窗口中元素的显示类型为图标信息, 当窗口放大 时, 如果检测到目标窗口的大小为 150*180, 则可以将元素的显示类型由图标信息改 变为摘要信息, 在该目标窗口中显示文件的摘要信息即可; 或者, 如果初始状态下, 某目标窗口中元素的显示类型为摘要信息, 当窗口缩小时, 如果检测到目标窗口的大 小为 100*80, 则可以将元素的显示类型由摘要信息改变为图标信息, 在该目标窗口中 显示文件的图标信息即可。 当然, 上述涉及的具体数字只是举例说明, 具体实现时, 可以根据实际需要进行设定, 或者, 也可以使用其他规则来体现该对应关系, 这里不 做限定。
需要说明的是, 由于窗口的缩放可能是连续性动作, 使得窗口的大小可能是连续 性变化的, 但是元素的显示类型可能比较有限, 因此, 随着窗口大小的连续性变化, 元素的显示类型做阶段性变化, 使得一种显示类型可能会与窗口大小的一个区间相对 应。
当然, 除了需要预先设定窗口大小与元素显示类型的对应关系, 还可以预先生成 每个元素对应的摘要信息及完整信息, 并进行保存, 这样, 当需要某种显示类型的信 息时, 直接取出并显示即可。 其中, 具体如何生成摘要信息及完整信息对于本领域技 术人员而言属于现有技术, 因此, 这里不再赘述。
第二实施例
接下来, 参见图 14 , 在图 14所示方法中考虑到如下情况。 对于窗口中显示的一个特定文件的链接信息而言, 显示类型的变化会影响该链接 信息能够提示的信息量。 但是, 虽然完整信息和摘要信息相对于图标信息而言, 能够 提供更大的信息量, 但是由于需要显示的信息较多, 因此也相应的需要较大的显示面 积; 如果元素的显示尺寸很小, 则可能无法在显示尺寸范围内清晰地显示出全部的信 息, 以至于无法达到向用户提供更多信息量的目的。
例如, 如果在窗口中显示某图片的缩略图, 本来的目的是提示用户图片的具体内 容, 但是如果缩略图太小, 则可能会导致用户无法清晰地分辨缩略图中显示了哪些信 息, 使得缩略图失去了原有的意义; 如果窗口中显示的文件既有图片又有文档, 则如 果都采用缩略图的方式展现, 则甚至可能无法分辨出哪些链接指向的是图片, 哪些链 接指向的是文档, 反而降低了窗口的有效利用率。 因此, 窗口的有效利用率还体现在 展现出的元素的辨识度上。 即元素不仅要展现出来, 还应该便于用户清晰地分辨出各 展现出的元素。
基于上述考虑, 当目标窗口发生缩放时, 除了可以根据窗口的大小改变元素的显 示类型, 还可以检测所述目标窗口的缩放比例, 利用预先设定的窗口缩放比例与元素 缩放比例之间的对应关系, 确定所述目标窗口中的元素的缩放比例, 据所述确定的 元素的缩放比例, 确定所述目标窗口中元素的大小。 下面对该方法的步骤进行详细地 介绍。
在步骤 1301 , 当目标窗口发生缩放时, 检测所述目标窗口缩放后的大小, 以及所 述目标窗口的缩放比例;
其中, 目标窗口的缩放比例同样可以利用系统提供的函数获得。 其中, 由于目标 窗口的长和宽可能同时发生缩放, 并且缩放的方向和比例都可能不同, 因此, 目标窗 口的缩放比例相当于包括两个具体的值, 一个是目标窗口的长的缩放比例, 另一个是 目标窗口的宽的缩放比例。 为方面描述, 在本发明实施例中, 将目标窗口的长的缩放 比例称为目标窗口的横向缩放比例, 将目标窗口的宽的缩放比例称为目标窗口的纵向 缩放比例。
例如, 如果将一个( 100*120 )的窗口缩放为( 150*90 )的窗口, 则该窗口的横向 缩放比例为 150/100=1. 5 , 纵向缩放比例为 90/120=0. 75。
在步骤 1302 , 利用预先设定的窗口大小与元素显示类型的对应关系, 确定所述缩 放后目标窗口中的元素的显示类型;
在步骤 1304 , 利用预先设定的窗口缩放比例与元素缩放比例之间的对应关系, 确 定所述目标窗口中的元素的缩放比例, 根据所述确定的元素的缩放比例, 确定所述目 标窗口中元素的大小;
通过该步骤可以实现以下目的: 随着窗口的缩放,元素的大小也可以改变, 例如, 元素的缩放方向可以与窗口的缩放方向相同, 即, 当窗口放大时, 元素也可以随之放 大, 当窗口缩小时, 元素也随之缩小。
为了达到该目的,可以在预先设定窗口缩放比例与元素缩放比例之间的对应关系, 例如, 可以通过以下公式来表示该对应关系: 元素缩放比例=窗口缩放比例 *0. 8 , 其 中, 元素与窗口类似, 也通常是以长 *宽来表示其大小, 因此, 元素缩放比例也是也 可以分为横向缩放比例及纵向缩放比例, 在上述公式中, 当等式左边为元素的横向缩 放比例时, 等式右边对应的是窗口的横向缩放比例, 当等式左边为元素的纵向缩放比 例时, 等式右边对应的是窗口的纵向缩放比例。 其中, 公式中的 "0. 8" 只是为了举 例说明, 可以根据需要改为其他的值, 或者也可以使用其他的公式, 还可以根据元素 指向的文件类型的不同设定不同的标准, 比如图片和电影图标的缩放比例计算公式可 以不同, 等等, 这里不做限定。
总之, 当窗口发生缩放时, 在获取到窗口的缩放比例之后, 可以根据上述公式计 算出元素的缩放比例, 然后再利用缩放前元素的初始显示尺寸, 乘以计算出的元素缩 放比例, 就可以得到缩放后元素的大小。
需要说明的是, 由于窗口的缩放可能是连续性动作, 因此, 元素的缩放也可以是 随着窗口的缩放连续进行的。 此外, 步骤 1302与步骤 1304可以是并行执行的。
在步骤 1303, 按照所述确定的显示类型及大小, 展现所述目标窗口中的元素。 由于已经确定了元素的显示类型及大小, 因此, 在缩放后的目标窗口中, 按照上 述确定出的显示类型及大小来显示元素即可。
从该第二实施例可以看出, 通过步骤 1302与步骤 1304, 可以实现以下目的: 随 着窗口的缩放,元素的大小可以随之缩放, 同时,元素的显示类型也可能会发生变化。
例如, 假设目标窗口在默认状态下显示的是很多图片的图标信息, 当该目标窗口 放大时, 图标的显示尺寸也会随之放大, 当该目标窗口放大到一定程度时, 元素的显 示类型会变为摘要信息, 此时, 在该目标窗口中会显示出图片的缩略图; 如果该目标 窗口继续放大,则缩略图的显示尺寸也会随之放大, 当该目标窗口放大到一定程度时, 元素的显示类型会变为完整信息, 此时, 可以在该目标窗口中显示出其中一张完整的 图片, 当然, 同时还可以在该目标窗口可视区域的剩余位置, 显示其他图片的缩略图 信息。
又如, 假设目标窗口在默认状态下显示的是很多图片的缩略图, 当该目标窗口缩 小时, 缩略图的显示尺寸也会随之缩小, 当该目标窗口缩小到一定程度时, 元素的显 示类型会变为图标信息, 此时, 在该目标窗口中会显示出图片的图标。
可见, 通过该第二实施例, 可以达到以下效果: 当目标窗口放大时, 由于其中的 元素也在放大, 因此当该目标窗口足够大时, 就可以在该目标窗口中以能够提供较多 信息量的显示类型展现其中的元素, 因此, 可以避免出现由于元素显示尺寸过小而导 致用户无法清晰分辨的情况, 可以保证展现出的元素的辨识度, 即, 能够使得摘要信 息、 完整信息等提供的信息量真正为用户所用, 体现出摘要信息、 完整信息的价值。
相反的, 当目标窗口缩小时, 由于其中的元素也在缩小, 因此当该目标窗口缩小 到一定程度时, 为了避免出现由于元素显示尺寸过小而导致用户无法清晰分辨的情 况, 就可以在该目标窗口中以提供较小信息量的显示类型展现其中的元素。
当然, 虽然较大信息量的显示类型可能需要元素具有较大的显示尺寸, 但是, 在 目标窗口中的元素显示类型变为这种显示类型时, 就意味着元素的显示尺寸已经足够 显示这种显示类型下提供的信息了; 因此, 当目标窗口中的元素显示类型已经是完整 信息之后, 如果目标窗口仍然在放大, 则实际上元素的显示尺寸已经没有必要再放大 了; 再者, 虽然图标信息等较小信息量的显示类型不需要元素具有较大的显示尺寸, 但是, 如果元素的显示尺寸太小, 则也有可能使得用户无法清晰辨认出图标。 因此, 在本发明实施例中, 还可以设定元素缩放的上下限, 例如, 可以设定元素最小只能缩 小到原来的 0. 2倍,最大只能放大到原来的 1. 5倍。这样,在进行元素缩放的过程中, 如果元素的缩小比例变成了原来的 0. 2倍, 则即使窗口还在继续缩小, 元素的缩小比 例也不再变小, 将其保持在原来的 0. 2倍即可, 反之类似。
第三实施例
在第二实施例中, 需要预先设定窗口缩放比例与元素缩放比例之间的对应关系, 在具体实现时,元素缩放比例可以与窗口缩放比例相等,即与窗口进行等比例地缩放。 在这种情况下, 当目标窗口的尺寸改变时, 元素的显示尺寸与其进行同比例的变化, 因此, 目标窗口的尺寸与元素的显示尺寸之间的比值不变。 由于该比值在一定程度上 影响着窗口可视区域的布局 (包括展现的行数、 列数、 元素间的距离等), 以及窗口 可视区域可以展现的元素的数目, 例如, 目标窗口宽 100, 元素宽 30, 则每行可显 示 3个元素; 因此, 在这种情况下, 目标窗口的可视区域的布局及展现的元素数目都 不会发生变化, 还与缩放前相同。
但是, 由于窗口的可视区域中展现出的元素的数目也是影响窗口利用率的一个重 要因素, 因此, 在该实施例三中, 元素缩放比例可以小于窗口缩放比例, 即元素比窗 口的缩放速度慢。 这样, 当目标窗口发生缩放时, 由于元素的显示尺寸的变化速度较 慢, 会使得目标窗的尺寸与元素的显示尺寸之间的比值发生变化, 因此, 在这种情况 下, 还可以随着目标窗口尺寸的变化、 元素显示尺寸的变化以及元素的显示类型的变 化, 使目标窗口可视区域中各元素的布局和 /或展现数目随之发生变化。
为了避免造成混淆, 下面简单介绍一下窗口与窗口的可视区域之间的关系。 窗口 中实际所容纳的内容可能并不只是当前展现出的内容, 通俗地将, 就像透过窗户看风 景一样, 风景是无限大的, 只不过只能看到与窗口大、一致的部分而已, 这部分就是 可视区域。 因此, 可以说, 窗口中实际能够被用户看到的内容所在的区域就是窗口的 可视区域。 如果窗口中需要展现的内容多于其可视区域能够展现的内容, 则窗口的右 侧和 /或下侧会出现滚动条, 可以通过拖动滚动条, 改变窗口的可视区域展现的内容。
具体实现时, 可以在获知了缩放后目标窗口的大小, 并确定了其中的元素的显示 尺寸之后, 根据所述缩放后所述目标窗口的尺寸及所述目标窗口中元素的显示尺寸, 确定所述目标窗口的可视区域中展现元素的数目。 例如, 可以用缩放后所述目标窗口 的尺寸除以所述元素的显示尺寸, 所得的商取其整数部分, 作为所述目标窗口的可视 区域中展现元素的数目, 当然, 还可以改变目标窗口中元素的布局。
其中, 当所述缩放后所述目标窗口可视区域展现的元素数目减少时, 可以在确定 出需要减少的元素数目之后, 将原目标窗口可视区域中展现的相应数目的元素标记为 隐藏属性, 这样, 这些元素将不会展现在所述目标窗口的可视区域中。
当所述缩放后所述目标窗口可视区域展现的元素数目增加时, 则在确定了需要增 加的元素数目之后, 需要将原来没有展现在目标窗口可视区域的元素展现出来。 在这 种情况下, 为了便于实现, 可以预先获知所述目标窗口中需要展现的所有元素, 建立 元素索引; 当需要增加元素数目时, 可以查询所述元素索引, 取出相应数目的元素展 现在所述目标窗口可视区域即可。 例如, 在建立的元素索引中, 共有 1到 20号元素, 缩放前展现的是 1到 8号元素, 当窗口放大后, 确定出窗口的可视区域能够多显示一 个元素, 此时, 就可以根据该元素索引, 将 9号元素标记为显示属性, 在该可视区域 展现出来即可。
当然, 为了更加充分地利用窗口可视区域的显示空间, 在不能完整显示一个正常 大小元素的地方, 还会显示一个或多个被缩小的元素, 以表示该窗口中还有其他的元 素尚未被展现。 其中, 这种小于正常大小的元素, 可以将其颜色显示为灰色, 还可以 将其可操作性设置为不可操作, 即不可以对该元素进行操作, 或者也可以说, 当通过 点击等方法操作该元素时, 不会跳转到该元素指向的文件。
此外, 如前文所述, 窗口中展现元素时, 除了链接信息(图标、 缩略图等)之外, 还会可能会展现元素所指向的文件夹或文件的名称, 名称通常是以文字的方式表示 的, 因此, 在实现本发明实施例的过程中, 在对元素进行缩放时, 可以仅对图标、 缩 略图等链接信息进行缩放, 文字的大小可以保持不变, 只是在对窗口进行重新的布局 时, 相应地改变文字的位置即可。
再者, 当链接信息的显示类型为摘要信息时, 摘要信息上也可能有文字, 例如, 某视频文件的缩略图中除了图像以外, 还可能包含一些文字信息。 为了避免文字大小 的改变影响缩略图的显示效果, 也可以保持这些文字不变, 仅将其中的图像部分进行 缩放。 当然, 要实现该目的, 前提是所述摘要信息中的图像与所述文字在不同的层次 显示 (具体的, 可以在生成摘要信息时, 将图像与文字设置为不同的层次), 这样, 就可以通过以下方式保持所述文字大小不变: 确定所述图像及所述文字所在的层次, 将图像层与文字层确定为不同的元素; 根据所述确定的元素的缩放比例改变所述图像 层元素的大小, 保持所述文字层元素的大小不变。 即, 可以将图像层及文字层作为独 立的对象进行处理。 当然, 如果窗口中元素的布局发生了变化, 也可以相应地改变文 字层的位置, 是指与图像层的相对位置保持基本相等即可。
为了更好地体现本发明实施例三提供的方法实现的效果, 下面通过一些效果图进 行对比说明。 参见图 15a, 其为缩放前目标窗口可视区域显示的内容, 该窗口分为 4 个可视区域, 在各个可视区域展现的链接所指向的文件类型不同, 例如, 左上角的可 视区域中展现的是图片文件的缩略图, 右上角的可视区域中展现的是音频文件的缩略 图, 左下角的可视区域中展现的是视频文件的缩略图, 右下角的可视区域中展现的是 文档文件的缩略图。 参见图 15b, 其为将该目标窗口左上角的可视区域进行放大后, 该可视区域的展现情况。 参见图 15c, 其为将该目标窗口左上角的可视区域在图 15b 的基础上继续进行放大后, 该可视区域的展现情况。 参见图 15d, 其为将该目标窗口 左上角的可视区域进行缩小后, 该可视区域的展现情况。
可以看出, 在图 15a中, 可视区域展现了 6个正常大小的缩略图, 以及 4个被缩 小的缩略图; 在将该可视区域放大后的图 15b中, 该可视区域展现了 10个正常大小 的缩略图, 以及 4个被缩小的缩略图; 并且, 图 15b中正常显示的缩略图的大小要大 于图 15a中正常显示的缩略图的大小。 其中, 中间正常显示的缩略图可以被操作的, 即可以被点击而启动图片浏览模式, 而左右两边的暗色小缩略图只是表明可视区域的 两边还有其他图片的链接信息, 但这个暗色小图片是不接受用户点击操作的, 只有当 该可视区域继续变大使得他们正常显示后, 才能点击。
将该目标窗口左上角的可视区域在图 15b的基础上继续进行放大后, 从图 15c可 以看出, 在该左上角的可视区域显示出了一张完整的图片, 同时, 在可视区域下方还 显示出了一排缩略图, 同时, 左右两边还各显示了一个暗色的小缩略图。
从图 15a到图 15b,再到图 15c,体现了目标窗口在由小变大的过程中, 其中的元 素的变化情况。 此外, 从图 15d还可以看出, 当该左上角的可视区域在图 15a的 上缩小时, 该可视区域中展现出的元素变成了图片的图标, 并且图标的大小要小于窗 口缩小前缩略图的大小。
在实际应用中, 还可以通过程序增加更多的视觉效果。 例如, 对于指向不同类型 文件的元素, 展现风格也可以不同, 如可以将图片的缩略图扭曲显示, 为视频的缩略 图加背光效果等。 同时, 当窗口缩放时或拖动滚动条时, 还可以使得将要展现或消失 的元素是渐变的, 如当窗口缩小是, 展现在最边上的图片可以随着窗口边缘的挤压逐 渐变小、 变暗最后消失, 等等。
第四实施例
在前述三个实施例中, 在窗口发生缩放时, 都是在对窗口中展现的元素进行一系 列的调整。在该实施例四中,还考虑到了发生缩放后, 窗口或元素显示形状的美观性。
在实际应用中, 窗口或缩略图等元素的边缘构成的图形通常为标准的矩形, 这种 情况下, 窗口或元素缩放后的形状也可以保持标准的矩形。 但是, 也有些窗口或元素 的边缘构成的图形可能并不是标准的矩形, 例如, 有些窗口的边缘可能是圆角而并非 直角, 圆角边缘的效果让用户在视觉上感觉这个窗口更加美观(为方面描述, 本发明 实施例中将带有圆角边缘的窗口称为圆角窗口), 如图 16a 所示, 假设其为 120*120 的圆角窗口, 其中, 每个圆角都是一个角度为 90度的圆弧; 但是这些圆角窗口在进 行缩放的时候也会带来一个问题, 那就是, 如果长和宽的缩放比例不相等, 则圆角的 形状会发生变化, 使得缩放后窗口的形状变得不再美观, 参见图 16b, 其为对图 16a 中的圆角窗口的长和宽进行非等比例缩放后的示意图, 假设缩放后该窗口变为
200*64 , 从图中可以看出, 原来的圆角区域已经不再是 90度的圆弧, 其美观程度受 到了影响。 同样, 对于窗口中的元素也有类似的问题, 该实施例四的目的就是提供一 种解决该问题的方法。 为了便于描述, 下面均以窗口为例进行介绍, 如果是元素边缘 构成的图形具有类似的情况, 参照窗口的方法进行处理即可。
首先, 假设圆角窗口缩放前如图 16a所示, 其为 120*120的圓角窗口, 其中, 每 个圆角都是一个角度为 90度的圆弧; 现在需要将其尺寸缩放为 200*80。 在该实施例 四中, 可以通过以下步骤进行:
首先, 需要获知所述圓角的半径及角度, 然后, 按照该窗口的缩放比例, 对该圆 角窗口的非圓角区域进行缩放; 再根据该窗口的缩放比例, 对所述圆角的半径进行缩 放, 并保持所述圓角的角度不变。其中, 由于窗口的缩放比例可能包括横向缩放比例, 以及纵向缩放比例, 在根据所述窗口的缩放比例, 对所述圆角的半径进行缩放时, 半 径的缩放比例可以与横向或纵向缩放比例相同。 缩放之后, 再将缩放后的圆角及非圓 角区域重新组合在一起即可。 下面进行更加详细地介绍。
为了便于实现, 可以按照以下方法进行:
首先, 需要进行以下准备工作: 参见图 17a , 将原圆角窗口按照图中虚线所画的 部分进行切分, 得到 7个区域。 其中, 图中的①、 ③、 ⑤、 ⑦就是圆角区域, ②、 ④、 ⑥就是非圓角区域。 具体在切分时, 由于在初始状态下, 圓角窗口的边与该边两端的 圆角是相切的, 因此, 可以首先找到各个边与圆角的切点, 再分别将各个切点两两连 接, 并且只保留水平及垂直方向上的连接线, 就可以得到图 17a所示的 7个区域。
上述准备工作结束之后, 就可以按照以下步驟进行:
步骤 1 : 当圆角窗口发生缩放时, 获知圓角窗口的缩放比例, 将非圆角区域②、 ④、 ⑥按照该窗口的缩放比例进行缩放;
其中, 圆角窗口的缩放比例是指从整体上讲, 圆角窗口的缩放比例。
步骤 2: 将所述窗口的横向或纵向缩放比例, 确定为圆角的半径的缩放比例; 步骤 3: 将圓角的半径按照步骤 2中确定的缩放比例进行缩放;
步骤 4: 移动缩放后的各个区域, 将缩放后的各个区域按照原来的位置组合在一 起。
假设缩放后为 200*80,则最终得到的缩放后的效果如图 6-2所示,与图 5-2相比, 显然, 美观性提高了。
在上述方法中, 将窗口的横向或纵向缩放比例作为圆角半径的缩放比例, 但是, 在在实际应用中, 如果圆角的半径被放大地太大, 则可能会影响圆角窗口整体上的美 观性。 因此,在本发明的其他实施例中,还可以采用以下方法来控制圆角半径的变化: 如果缩放后窗口的长和宽都大于 2倍的圆角半径, 则保持四个圆角的半径大小不 变, 只改变圓角的位置即可; 如果缩放后窗口的长或者宽小于 2倍的圓角半径, 则从 缩放后的长或宽中选择长度较小者, 四个圆角的半径就都取为该长度较小者的长度的 二分之一(也可以是二分之一以外的其他值), 此时, 需要同时改变四个圓角的大小 和位置。
即, 在这种方式下, 只有当 MIN (长, 宽) < 2*圆角半径时才会改变 4个圆角的半 径的大小, 其中的长和宽是指缩放后的长和宽, 圆角半径是指缩放前的圓角半径。
将以上计算出来的缩放后的圓角半径记为 r, 缩放后的圆角窗口的总体长宽分别 为 w和 h, 则缩放后, 图 17b中的 7个区域的大小及相对位置信息可以如表 1所示。
表 1
Figure imgf000026_0001
此外, 还可以使用其他的方法对圓角半径进行缩放, 例如, 在对某圓角窗口进行 缩放的过程中, 当 MIN (长, 宽) < L (L为一个大于 2*圓角半径的值)时就开始缩小圆 角半径, 圓角半径的缩放比例等于圓角窗口整体的缩放比例 *一个小于 1 的系数, 这 样圓角的缩小速度比窗口整体的缩小速度更快。
当然, 除了前述几种方法之外, 还寸以有其他的缩放圆角半径的方法, 本领域技 术人员可以根据需要进行选取, 这里不再一一列举。
需要说明的是, 上述的例子中假设窗口具有四个圆角, 在实际应用中, 窗口可能 仅具有一个或两个或三个圆角, 对于这种圆角数目小于四个的圆角窗口, 在缩放时, 参照上述对圆角窗口的缩放方法进行即可, 由于篇幅限制, 这里不再赘述。
本发明实施例还提供了一种计算设备, 包括处理器、 输入装置、 存储装置和显示 装置, 所述显示装置上显示有至少两个窗口, 所述处理器用于检测通过输入装置输入 的输入操作, 并根据检测到的输入操作, 对所述至少两个窗口执行窗口管理操作, 以 同时改变所述至少两个窗口中的每一个窗口的大小和位置。
此外, 该计算设备还可以在输入操作所针对的目标窗口发生缩放时, 至少改变目 标窗口中的元素的展现。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技术人 员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进和润饰, 这些改进和润 饰也应视为本发明的保护范围。

Claims

权 利 要 求
1. 一种窗口管理装置, 用于管理电子设备中打开的至少两个窗口, 窗口管理装 置包括:
窗口展现管理装置, 用于响应于输入操作, 对所述至少两个窗口进行管理, 以改 变所述至少两个窗口中输入操作所针对的目标窗口的大小和位置, 并同时适应性地改 变所述至少两个窗口中至少一个其他窗口的大小和位置。
2. 根据权利要求 1所述的窗口管理装置, 其中, 所述窗口展现管理装置包括: 输入检测模块, 用于检测输入操作;
窗口控制模块, 用于根据所述输入检测模块检测到的输入操作, 对目标窗口、 以 及至少一个其他窗口执行窗口控制操作, 以改变目标窗口的大小和位置, 同时改变所 述至少一个其他窗口的大小和位置。
3. 根据权利要求 2所述的窗口管理装置, 其中, 所述窗口控制模块执行所述窗口 控制操作后, 所述目标窗口和所述至少一个其他窗口中保留显示在屏幕的窗口互不重 叠。
4. 根据权利要求 2所述的窗口管理装置, 其中, 所述窗口控制模块执行所述窗口 控制操作前, 所述目标窗口和^ "述至少一个其他窗口以平铺方式显示。
5. 根据权利要求 2所述的窗口管理装置, 其中, 所述检测模块用于检测触摸焦点 的位置变化。
6. 根据权利要求 2所述的窗口管理装置, 其中, 输入操作对应于窗口排列规则, 所述窗口控制模块根据与所述检测模块检测到的输入操作对应的窗口排列规则 , 对所 述目标窗口和所述至少一个其他窗口执行窗口控制操作, 以同时改变每一个窗口的大 小和位置。
7. 根据权利要求 6所述的窗口管理装置, 其中, 还包括:
在屏幕上呈现的位置确定控件;
所述输入操作是对所述位置确定控件的拖拽操作;
所述窗口控制模块包括: '
确定单元, 用于根据所述拖拽操作对应的窗口排列规则确定所述目标窗口和所述 至少一个其他窗口的目标大小和目标位置;
控制单元, 用于根据确定的目标大小和目标位置对所述目标窗口和所述至少一个 其他窗口进行窗口控制操作。
8. 根据权利要求 7所述的窗口管理装置, 其中, 所述窗口展现管理装置还包括: 触发模块, 用于根据拖拽操作的操作参数判断所述拖拽操作是否有效, 并在拖拽 操作有效时触发所述窗口控制模块。
9. 根据权利要求 2所述的窗口管理装置, 其中, 所述窗口展现管理装置还包括: 调整模块, 用于在所述窗口控制模块执行所述窗口控制操作后, 保留显示在屏幕 的窗口的尺寸小于预设尺寸时, 对保留显示在屏幕的窗口执行窗口调整操作, 使最终 保留显示在屏幕的窗口的尺寸大于或等于所述预设尺寸。
10. 根据权利要求 2所述的窗口管理装置, 其中, 每个窗口对应于文件或应用程 序, 在所述窗口上设置有信息呈现单元, 用于显示对应的文件或应用程序的状态。
11. 根据权利要求 1所述的窗口管理装置, 还包括:
窗口元素展现管理装置, 用于在目标窗口发生缩放时, 至少对目标窗口中的元素 的展现进行管理。
12. 根据权利要求 11所述的窗口管理装置, 其中, 所述窗口元素展现管理装置 包括:
窗口大小检测模块,用于当目标窗口发生缩放时,检测所述目标窗口缩放后的大 小;
显示类型确定模块, 用于利用预先设定的窗口大小与元素显示类型的对应关系, 确定所述缩放后目标窗口中的元素的显示类型;
展现模块, 用于按照所述确定的显示类型, 展现所述目标窗口中的元素。
13、 根据权利要求 11所述的窗口管理装置, 其中, 窗口元素展现管理装置还包 括:
元素缩放模块,用于检测所述目标窗口的缩放比例; 利用预先设定的窗口缩放比 例与元素缩放比例之间的对应关系, 确定所述目标窗口中的元素的缩放比例; 并根据 确定的元素的缩放比例, 确定所述目标窗口中元素的大小;
所述展现模块按照确定的元素的显示类型及大小, 展现所述目标窗口中的元素。
14、根据权利要求 13所述的窗口管理装置, 其中, 当所述元素缩放比例小于所述 窗口缩放比例时, 元素缩放模块进一步根据缩放后所述目标窗口的大小及所述目标窗 口中元素的大小, 确定所述目标窗口的可视区域中展现元素的数目;
所述展现模块按照确定的元素的显示类型、 大小及数目, 展现所述目标窗口中的 元素。
15、 根据权利要求 14所述的窗口管理装置, 其中,
当缩放后所述目标窗口可视区域展现的元素数目减少时,所述展现模块按照需要 减少的元素数目 , 将原目标窗口可视区域中展现的相应数目的元素标记为隐藏属性。
16、根据权利要求 14所述的窗口管理装置, 其中,预先获知所述目标窗口中需要 展现的所有元素, 建立元素索引;
当缩放后所述目标窗口可视区域展现的元素数目增加时,所述展现模块按照需要 增加的元素数目查询所述元素索引, 取出相应数目的元素, 将所述取出的元素标记为 显示属性, 展现在所述目标窗口可视区域中。
17、 根据权利要求 13所述的窗口管理装置, 其中, 当元素缩放模块根据所述目 标窗口的缩放比例确定出的元素的缩放比例超出预置的阈值时, 元素缩放模块将所述 元素的缩放比例确定为所述预置阈值。
18、根据权利要求 13所述的窗口管理装置, 其中, 当所述目标窗口中的元素中包 含图像及文字, 且所述图像与所述文字在不同的层次显示时, 元素缩放模块确定所述 图像及所述文字所在的层次, 将图像层与文字层确定为不同的对象, 并才 据所述确定 的元素的缩放比例改变所述图像层对象的大小, 而保持所述文字层对象的大小不变。
19、根据权利要求 11所述的窗口管理装置, 其中, 将所述目标窗口或所述元素的 边缘构成的图形作为处理对象; 如果所述处理对象具有至少一个圆角, 则所述窗口元 素展现管理装置还包括:
第一缩放模块,用于按照所述目标窗口或所述元素的缩放比例,对所述处理对象 的非圆角区域进行缩放;
第二缩放模块, 用于获知所述处理对象的圆角的半径及角度, 根据所述目标窗口 或所述元素的缩放比例, 对所述圆角的半径进行缩放, 并保持所述圆角的角度不变。
20、 根据权利要求 11 所述的窗口管理装置, 其中, 窗口元素展现管理装置在对 目标窗口中的元素的展现进行管理的同时, 也对发生缩放的至少一个其他窗口中的元 素的展现进行管理。
21、 一种窗口管理方法, 用于管理电子设备中打开的至少两个窗口, 窗口管理方 法包括:
窗口展现管理步骤, 用于响应于输入操作, 对所述至少两个窗口进行管理, 以改 变所述至少两个窗口中输入操作所针对的目标窗口的大小和位置, 并同时适应性地改 变所述至少两个窗口中至少一个其他窗口的大小和位置。
22.根据权利要求 21所述窗口管理方法, 其中, 窗口展现管理步骤包括: 检测输入操作;
根据检测到的输入操作,对目标窗口、以及至少一个其他窗口执行窗口控制操作, 以改变目标窗口的大小和位置, 同时改变所述至少一个其他窗口的大小和位置。
23. 根据权利要求 22所述的窗口管理方法, 其中, 执行所述窗口控制操作后, 所 述目标窗口和所述至少一个其他窗口中保留显示在屏幕的窗口互不重叠。
24.根据权利要求 22所述的窗口管理方法, 其中, 通过检测触摸焦点的位置变化 来检测输入操作。
25. 根据权利要求 22所述的窗口管理方法,其中,输入操作对应于窗口排列规则, 根据检测到的输入操作, 对所述目标窗口和所述至少一个其他窗口执行窗口控制操 作, 以同时改变每一个窗口的大小和位置包括: 根据与检测到的输入操作对应的窗口 排列规则对所述目标窗口和打开的所述至少一个其他窗口执行窗口控制操作, 以同时 改变每一个窗口的大小和位置。
26. 根据权利要求 25所述的窗口管理方法, 其中, 窗口展现管理步骤还包括: 将位置确定控件呈现到屏幕;
所述输入操作是对所述位置确定控件单元的拖拽操作;
根据检测到的输入操作, 对所述目标窗口和所述至少一个其他窗口执行窗口控制 操作, 以同时改变每一个窗口的大小和位置包括:
根据所述拖拽操作对应的窗口排列规则确定所述目标窗口和所述至少一个其他 窗口的目标大小和目标位置;
根据确定的目标大小和目标位置对所述目标窗口和所述至少一个其他窗口进行 窗口控制。
27. 根据权利要求 26所述的窗口管理方法, 其中, 窗口展现管理步骤还包括: 根据拖拽操作的操作参数判断所述拖拽操作是否有效, 并在拖拽操作有效时执行 所述根据检测到的输入操作, 对目标窗口和所述至少一个其他窗口执行窗口控制操 作, 以同时改变每一个窗口的大小和位置的操作。
28. 根据权利要求 22所述的窗口管理方法, 其中, 窗口展现管理步骤还包括: 在执行所述窗口控制操作后, 保留显示在屏幕的窗口的尺寸小于预设尺寸时, 对 保留显示在屏幕的窗口执行窗口控制操作, 使最终保留显示在屏幕的窗口的尺寸大于 或等于所述预设尺寸。
29、根据权利要求 22所述的窗口管理方法, 其中, 每个窗口对应于文件或应用 程序, 在窗口上设置有信息呈现单元, 用于显示对应的文件或应用程序的状态。
30、 根据权利要求 21所述的窗口管理方法, 还包括:
窗口元素展现管理步骤, 在目标窗口发生缩放时, 至少对目标窗口中的元素的 展现进行管理。
31、根据权利要求 30所述的窗口管理方法,其中, 窗口元素展现管理步骤包括: 当目标窗口发生缩放时, 检测所述目标窗口缩放后的大小;
利用预先设定的窗口大小与元素显示类型的对应关系 , 确定缩放后目标窗口中 的元素的显示类型;
按照确定的元素的显示类型, 展现所述目标窗口中的元素。
32、 根据权利要求 30所述的窗口管理方法, 其中, 窗口元素展现管理步骤还包 括:
检测所述目标窗口的缩放比例; 利用预先设定的窗口缩放比例与元素缩放比例 之间的对应关系, 确定所述目标窗口中的元素的缩放比例; 根据所述确定的元素的缩 放比例, 确定所述目标窗口中元素的大小;
所述按照所述确定的显示类型, 展现所述目标窗口中的元素包括: 按照确定的 元素的显示类型及大小, 展现所述目标窗口中的元素。
33、 根据权利要求 32所述的窗口管理方法, 其中, 当所述元素缩放比例小于所 述窗口缩放比例时, 窗口元素展现管理步骤还包括:
才艮据缩放后所述目标窗口的大小及所述目标窗口中元素的大小, 确定所述目标 窗口的可视区域中展现元素的数目;
所述按照确定的元素的显示类型及大小, 展现所述目标窗口中的元素包括: 按 照确定的元素的显示类型、 大小及数目, 展现所述目标窗口中的元素。
34、 根据权利要求 33所述的窗口管理方法, 其中, 所述按照确定的元素的显示 类型、 大小及数目, 展现所述目标窗口中的元素包括:
当缩放后所述目标窗口可视区域展现的元素数目减少时, 按照需要减少的元素 数目, 将原目标窗口可视区域中展现的相应数目的元素标记为隐藏属性。
35、 根据权利要求 33所述的窗口管理方法, 其中, 预先获知所述目标窗口中需 要展现的所有元素, 建立元素索引; 所述按照确定的元素的显示类型、 大小及数目, 展现所述目标窗口中的元素包:
当缩放后所述目标窗口可视区域展现的元素数目增加时, 按照需要增加的元素 数目查询所述元素索引, 取出相应数目的元素, 将取出的元素标记为显示属性, 展现 在所述目标窗口可视区域。
36、 根据权利要求 32所述的窗口管理方法, 其中, 在所述利用预先设定的窗口 缩放比例与元素缩放比例之间的对应关系, 确定所述目标窗口中的元素的缩放比例之 后, 窗口元素展现管理步骤还包括:
当根据所述目标窗口的缩放比例确定出的元素的缩放比例超出预置的阁值时, 将所述元素的缩放比例确定为所述预置阁值。
37、 根据权利要求 32所述的窗口管理方法, 其中, 当所述目标窗口中的元素中 包含图像及文字, 且所述图像与所述文字在不同的层次显示时, 所述根据确定的元素 的缩放比例, 确定所述目标窗口中元素的大小包括:
确定所述图像及所述文字所在的层次, 将图像层与文字层确定为不同的对象; 根据确定的元素的缩放比例改变所述图像层对象的大小, 保持所述文字层对象 的大小不变。
38、 根据权利要求 32所述的窗口管理方法, 其中, 将所述目标窗口或所述元素 的边缘构成的图形作为处理对象; 如果所述处理对象具有至少一个圆角, 则窗口元素 展现管理步骤还包括:
按照所述目标窗口或所述元素的缩放比例, 对所述处理对象的非圆角区域进行 缩放;
获知所述处理对象的圆角的半径及角度, 根据所述目标窗口或所述元素的缩放 比例, 对所述圆角的半径进行缩放, 并保持所述圆角的角度不变。
39、根据权利要求 30所述的窗口管理装置,其中,在窗口元素展现管理步骤中, 在对目标窗口中的元素的展现进行管理的同时, 也对发生缩放的至少一个其他窗口中 的元素的展现进行管理。
40、 一种计算设备, 包括处理器、输入装置、存储装置和显示装置,其特征在于, 所述显示装置上显示有至少两个打开的窗口, 所述处理器用于检测通过输入装置输入 的输入操作,并根据检测到的输入操作,对所述至少两个打开窗口执行窗口管理操作, 以同时改变所述至少两个打开的窗口中的每一个窗口的大小和位置。
41、 根据权利要求 40所述的计算设备, 其中, 所述处理器进一步用于在输入操 作所针对的目标窗口发生缩放时, 至少改变目标窗口中的元素的展现。
PCT/CN2010/002091 2009-12-18 2010-12-20 窗口管理方法、装置及计算设备 WO2011072497A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/259,601 US9069437B2 (en) 2009-12-18 2010-12-20 Window management method, apparatus and computing device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200910242879XA CN102103456B (zh) 2009-12-18 2009-12-18 一种展现窗口中的元素的方法及装置
CN200910242879.X 2009-12-18
CN 200910243834 CN102109944A (zh) 2009-12-23 2009-12-23 一种窗口管理方法、装置及计算机
CN200910243834.4 2009-12-23

Publications (1)

Publication Number Publication Date
WO2011072497A1 true WO2011072497A1 (zh) 2011-06-23

Family

ID=44166749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/002091 WO2011072497A1 (zh) 2009-12-18 2010-12-20 窗口管理方法、装置及计算设备

Country Status (2)

Country Link
US (1) US9069437B2 (zh)
WO (1) WO2011072497A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140118403A1 (en) * 2012-10-31 2014-05-01 Microsoft Corporation Auto-adjusting content size rendered on a display

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009083382A (ja) * 2007-10-01 2009-04-23 Brother Ind Ltd 画像形成装置および画像処理プログラム
CN102496169A (zh) * 2011-11-30 2012-06-13 威盛电子股份有限公司 重迭对象的绘制方法及装置
US20130167072A1 (en) * 2011-12-22 2013-06-27 Sap Portals Israel Ltd. Smart and Flexible Layout Context Manager
CN102866829B (zh) * 2012-08-29 2015-10-21 珠海市君天电子科技有限公司 一种移动设备交互界面的显示方法、显示系统及其实现方法
US9612713B2 (en) * 2012-09-26 2017-04-04 Google Inc. Intelligent window management
CN104798129B (zh) * 2012-11-27 2018-10-19 索尼公司 显示装置、显示方法和计算机可读介质
KR20140073398A (ko) * 2012-12-06 2014-06-16 삼성전자주식회사 디스플레이 장치 및 그 제어 방법
US8984439B2 (en) * 2013-02-14 2015-03-17 Citibank, N.A. Methods and systems for managing a graphical user interface
JP6263897B2 (ja) * 2013-08-09 2018-01-24 ソニー株式会社 情報処理装置、情報処理方法及びプログラム
KR102153366B1 (ko) 2013-08-30 2020-10-15 삼성전자 주식회사 전자 기기의 화면 전환 방법 및 장치
KR102202899B1 (ko) 2013-09-02 2021-01-14 삼성전자 주식회사 복수의 어플리케이션 제공 방법 및 장치
USD749109S1 (en) * 2013-09-03 2016-02-09 Samsung Electronics Co., Ltd. Display screen or portion thereof with graphical user interface
USD749610S1 (en) * 2013-09-03 2016-02-16 Samsung Electronics Co., Ltd. Display screen or portion thereof with graphical user interface
KR102133826B1 (ko) * 2013-09-23 2020-07-14 팬텍 주식회사 멀티 윈도우의 디스플레이를 제어하는 단말기 및 방법
USD769275S1 (en) * 2014-04-30 2016-10-18 Tencent Technology (Shenzhen) Company Limited Portion of a display screen with graphical user interface
US9648062B2 (en) 2014-06-12 2017-05-09 Apple Inc. Systems and methods for multitasking on an electronic device with a touch-sensitive display
JP6151221B2 (ja) * 2014-06-16 2017-06-21 富士フイルム株式会社 画像処理装置、画像処理方法、画像処理プログラム、及びプリント注文受付装置
US9619120B1 (en) * 2014-06-30 2017-04-11 Google Inc. Picture-in-picture for operating systems
US20160349931A1 (en) * 2015-05-28 2016-12-01 Rockwell Automation Technologies, Inc. Responsive user interface for an industrial environment
US10809875B2 (en) * 2015-08-03 2020-10-20 Lenovo (Beijing) Co., Ltd. Display control method and device, and electronic apparatus
KR102648349B1 (ko) * 2015-11-13 2024-03-15 하만인터내셔날인더스트리스인코포레이티드 차량 내 시스템용 사용자 인터페이스
CN106803234B (zh) * 2015-11-26 2020-06-16 腾讯科技(深圳)有限公司 图片编辑中的图片显示控制方法及装置
CN105955756A (zh) * 2016-05-18 2016-09-21 广州视睿电子科技有限公司 图像擦除方法和系统
USD933688S1 (en) * 2016-12-30 2021-10-19 Samsung Electronics Co., Ltd. Display screen or portion thereof with graphical user interface
KR102391965B1 (ko) * 2017-02-23 2022-04-28 삼성전자주식회사 가상현실 서비스를 위한 화면 제어 방법 및 장치
US11966578B2 (en) 2018-06-03 2024-04-23 Apple Inc. Devices and methods for integrating video with user interface navigation
JP7093690B2 (ja) * 2018-07-05 2022-06-30 フォルシアクラリオン・エレクトロニクス株式会社 情報制御装置、及び表示変更方法
USD945470S1 (en) * 2018-12-27 2022-03-08 Sony Corporation Display panel or screen with animated graphical user interface
CA3045835A1 (en) * 2019-06-10 2020-12-10 Peter Tertzakian Method and system for structuring, displaying, and navigating information
CN111641797B (zh) 2020-05-25 2022-02-18 北京字节跳动网络技术有限公司 视频通话界面显示控制方法、装置、存储介质及设备
CN113055615B (zh) * 2021-02-01 2024-05-03 广州朗国电子科技股份有限公司 会议一体机、屏幕切分显示方法以及存储装置
WO2023060454A1 (en) * 2021-10-13 2023-04-20 Citrix Systems, Inc. Computing device with window docking and related systems and methods
CN116841440A (zh) * 2023-07-03 2023-10-03 甘肃旭禾网络科技有限公司 基于人工智能的软件窗口调整方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6008809A (en) * 1997-09-22 1999-12-28 International Business Machines Corporation Apparatus and method for viewing multiple windows within a dynamic window
CN1802691A (zh) * 2003-04-08 2006-07-12 费弗里特系统公司 包括计算机设备的开窗口及其控制系统
CN101021765A (zh) * 2006-02-14 2007-08-22 三星电子株式会社 用于管理窗口布局的设备和方法

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2175148C (en) * 1996-04-26 2002-06-11 Robert Cecco User interface control for creating split panes in a single window
US20020018051A1 (en) 1998-09-15 2002-02-14 Mona Singh Apparatus and method for moving objects on a touchscreen display
US6456305B1 (en) * 1999-03-18 2002-09-24 Microsoft Corporation Method and system for automatically fitting a graphical display of objects to the dimensions of a display window
US6262724B1 (en) * 1999-04-15 2001-07-17 Apple Computer, Inc. User interface for presenting media information
JP2004223110A (ja) * 2003-01-27 2004-08-12 Nintendo Co Ltd ゲーム装置、ゲームシステムおよびゲームプログラム
US7343567B2 (en) * 2003-04-25 2008-03-11 Microsoft Corporation System and method for providing dynamic user information in an interactive display
JP4193629B2 (ja) * 2003-07-25 2008-12-10 ソニー株式会社 画面表示装置,プログラム,および画面表示方法
US7839419B2 (en) * 2003-10-23 2010-11-23 Microsoft Corporation Compositing desktop window manager
US7398478B2 (en) * 2003-11-14 2008-07-08 Microsoft Corporation Controlled non-proportional scaling display
US7184031B2 (en) * 2004-07-06 2007-02-27 Sentelic Corporation Method and controller for identifying a drag gesture
US7791620B2 (en) * 2005-06-07 2010-09-07 Ids Scheer Aktiengesellschaft Systems and methods for rendering symbols using non-linear scaling
US8510669B2 (en) * 2006-02-06 2013-08-13 Yahoo! Inc. Method and system for presenting photos on a website
US20070214431A1 (en) * 2006-03-08 2007-09-13 Microsoft Corporation Smart gadget resizing
US8527907B2 (en) * 2006-07-31 2013-09-03 Adobe Systems Incorporated Screen relayout
US8887087B2 (en) * 2007-03-28 2014-11-11 Sap Se Column layout
JP4361945B2 (ja) 2007-07-24 2009-11-11 株式会社エヌ・ティ・ティ・ドコモ 情報処理装置およびプログラム
AU2008338296A1 (en) * 2007-12-14 2009-06-25 Doubleiq Pty Ltd A method and apparatus for the display and/or processing of information, such as data
US8547347B2 (en) * 2008-09-26 2013-10-01 Htc Corporation Method for generating multiple windows frames, electronic device thereof, and computer program product using the method
CN101477436A (zh) 2008-12-18 2009-07-08 腾讯科技(深圳)有限公司 对程序窗口的客户区进行交互的方法与系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6008809A (en) * 1997-09-22 1999-12-28 International Business Machines Corporation Apparatus and method for viewing multiple windows within a dynamic window
CN1802691A (zh) * 2003-04-08 2006-07-12 费弗里特系统公司 包括计算机设备的开窗口及其控制系统
CN101021765A (zh) * 2006-02-14 2007-08-22 三星电子株式会社 用于管理窗口布局的设备和方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140118403A1 (en) * 2012-10-31 2014-05-01 Microsoft Corporation Auto-adjusting content size rendered on a display
US9516271B2 (en) * 2012-10-31 2016-12-06 Microsoft Technology Licensing, Llc Auto-adjusting content size rendered on a display

Also Published As

Publication number Publication date
US9069437B2 (en) 2015-06-30
US20120084717A1 (en) 2012-04-05

Similar Documents

Publication Publication Date Title
WO2011072497A1 (zh) 窗口管理方法、装置及计算设备
DK178784B1 (en) Devices and Methods for Navigating Between User Interfaces
EP3835934B1 (en) Device, method, and graphical user interface for providing handwriting support in document editing
CN107391008B (zh) 用于在用户界面之间导航的设备和方法
US9035887B1 (en) Interactive user interface
WO2008064610A1 (fr) Procédé, système et appareil pour commander le fond d&#39;un bureau
EP2383638B1 (en) Information processing apparatus
WO2023092992A1 (zh) 一种页面元素的处理方法、设备及计算机可读存储介质
EP2791773B1 (en) Remote display area including input lenses each depicting a region of a graphical user interface
AU2020257134B2 (en) Devices and methods for navigating between user interfaces
AU2016100652A4 (en) Devices and methods for navigating between user interfaces
JP2020507174A (ja) 表示コンテンツのパネルをナビゲートする方法
US20230393700A1 (en) Systems and Methods for Interacting with Multiple Applications on an Electronic Device
WO2008064613A1 (fr) Procédé et appareil pour traiter des fonds de bureau et système d&#39;interface pour un bureau de système d&#39;exploitation
DK179116B1 (en) Devices and Methods for Navigating Between User Interfaces

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13259601

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10836936

Country of ref document: EP

Kind code of ref document: A1